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 testNetworkID ()
 
void testValidatorsFile ()
 
void testSetup (bool explicitPath)
 
void testPort ()
 
void testWhitespace ()
 
void testColons ()
 
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 269 of file Config_test.cpp.

Member Typedef Documentation

◆ path

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

Definition at line 272 of file Config_test.cpp.

Member Function Documentation

◆ testLegacy()

void ripple::Config_test::testLegacy ( )

Definition at line 276 of file Config_test.cpp.

◆ testDbPath()

void ripple::Config_test::testDbPath ( )

Definition at line 303 of file Config_test.cpp.

◆ testValidatorKeys()

void ripple::Config_test::testValidatorKeys ( )

Definition at line 371 of file Config_test.cpp.

◆ testNetworkID()

void ripple::Config_test::testNetworkID ( )

Definition at line 415 of file Config_test.cpp.

◆ testValidatorsFile()

void ripple::Config_test::testValidatorsFile ( )

Definition at line 480 of file Config_test.cpp.

◆ testSetup()

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

Definition at line 745 of file Config_test.cpp.

◆ testPort()

void ripple::Config_test::testPort ( )

Definition at line 864 of file Config_test.cpp.

◆ testWhitespace()

void ripple::Config_test::testWhitespace ( )

Definition at line 883 of file Config_test.cpp.

◆ testColons()

void ripple::Config_test::testColons ( )

Definition at line 913 of file Config_test.cpp.

◆ testComments()

void ripple::Config_test::testComments ( )

Definition at line 965 of file Config_test.cpp.

◆ testGetters()

void ripple::Config_test::testGetters ( )

Definition at line 1026 of file Config_test.cpp.

◆ testAmendment()

void ripple::Config_test::testAmendment ( )

Definition at line 1120 of file Config_test.cpp.

◆ testOverlay()

void ripple::Config_test::testOverlay ( )

Definition at line 1171 of file Config_test.cpp.

◆ run()

void ripple::Config_test::run ( )
override

Definition at line 1245 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.