rippled
Public Member Functions | Private Types | Static Private Member Functions | List of all members
ripple::Config_test Class Referencefinal
Inheritance diagram for ripple::Config_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::Config_test:
Collaboration graph
[legend]

Public Member Functions

void testLegacy ()
 
void testDbPath ()
 
void testValidatorKeys ()
 
void testValidatorsFile ()
 
void testSetup (bool explicitPath)
 
void testPort ()
 
void testWhitespace ()
 
void testComments ()
 
void testGetters ()
 
void testAmendment ()
 
void testOverlay ()
 
void run () override
 
template<class S , class T >
bool expectEquals (S actual, T expected, std::string const &message="")
 
template<class S , class T >
bool expectNotEquals (S actual, T expected, std::string const &message="")
 
template<class Collection >
bool expectCollectionEquals (Collection const &actual, Collection const &expected, std::string const &message="")
 
template<class Exception , class Functor >
bool expectException (Functor f, std::string const &message="")
 
template<class Functor >
bool expectException (Functor f, std::string const &message="")
 

Private Types

using path = boost::filesystem::path
 

Static Private Member Functions

static std::string addPrefix (std::string const &message)
 

Detailed Description

Definition at line 272 of file Config_test.cpp.

Member Typedef Documentation

◆ path

using ripple::Config_test::path = boost::filesystem::path
private

Definition at line 275 of file Config_test.cpp.

Member Function Documentation

◆ testLegacy()

void ripple::Config_test::testLegacy ( )

Definition at line 279 of file Config_test.cpp.

◆ testDbPath()

void ripple::Config_test::testDbPath ( )

Definition at line 306 of file Config_test.cpp.

◆ testValidatorKeys()

void ripple::Config_test::testValidatorKeys ( )

Definition at line 374 of file Config_test.cpp.

◆ testValidatorsFile()

void ripple::Config_test::testValidatorsFile ( )

Definition at line 418 of file Config_test.cpp.

◆ testSetup()

void ripple::Config_test::testSetup ( bool  explicitPath)

Definition at line 683 of file Config_test.cpp.

◆ testPort()

void ripple::Config_test::testPort ( )

Definition at line 802 of file Config_test.cpp.

◆ testWhitespace()

void ripple::Config_test::testWhitespace ( )

Definition at line 821 of file Config_test.cpp.

◆ testComments()

void ripple::Config_test::testComments ( )

Definition at line 851 of file Config_test.cpp.

◆ testGetters()

void ripple::Config_test::testGetters ( )

Definition at line 912 of file Config_test.cpp.

◆ testAmendment()

void ripple::Config_test::testAmendment ( )

Definition at line 1006 of file Config_test.cpp.

◆ testOverlay()

void ripple::Config_test::testOverlay ( )

Definition at line 1057 of file Config_test.cpp.

◆ run()

void ripple::Config_test::run ( )
override

Definition at line 1131 of file Config_test.cpp.

◆ expectEquals()

template<class S , class T >
bool ripple::TestSuite::expectEquals ( actual,
expected,
std::string const &  message = "" 
)
inherited

Definition at line 33 of file TestSuite.h.

◆ expectNotEquals()

template<class S , class T >
bool ripple::TestSuite::expectNotEquals ( actual,
expected,
std::string const &  message = "" 
)
inherited

Definition at line 51 of file TestSuite.h.

◆ expectCollectionEquals()

template<class Collection >
bool ripple::TestSuite::expectCollectionEquals ( Collection const &  actual,
Collection const &  expected,
std::string const &  message = "" 
)
inherited

Definition at line 69 of file TestSuite.h.

◆ expectException() [1/2]

template<class Exception , class Functor >
bool ripple::TestSuite::expectException ( Functor  f,
std::string const &  message = "" 
)
inherited

Definition at line 99 of file TestSuite.h.

◆ expectException() [2/2]

template<class Functor >
bool ripple::TestSuite::expectException ( Functor  f,
std::string const &  message = "" 
)
inherited

Definition at line 115 of file TestSuite.h.

◆ addPrefix()

static std::string ripple::TestSuite::addPrefix ( std::string const &  message)
staticprivateinherited

Definition at line 131 of file TestSuite.h.