rippled
Classes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ripple::test::csf::Validations_test Class Reference
Inheritance diagram for ripple::test::csf::Validations_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::test::csf::Validations_test:
Collaboration graph
[legend]

Classes

class  Adaptor
 
class  Node
 
class  TestHarness
 

Private Types

using clock_type = beast::abstract_clock< std::chrono::steady_clock > const
 
using TestValidations = Validations< Adaptor >
 

Private Member Functions

void testAddValidation ()
 
void testOnStale ()
 
void testGetNodesAfter ()
 
void testCurrentTrusted ()
 
void testGetCurrentPublicKeys ()
 
void testTrustedByLedgerFunctions ()
 
void testExpire ()
 
void testFlush ()
 
void testGetPreferredLedger ()
 
void testGetPreferredLCL ()
 
void testAcquireValidatedLedger ()
 
void testNumTrustedForLedger ()
 
void testSeqEnforcer ()
 
void testTrustChanged ()
 
void run () override
 

Static Private Member Functions

static NetClock::time_point toNetClock (clock_type const &c)
 

Private Attributes

const Ledger genesisLedger {Ledger::MakeGenesis{}}
 

Detailed Description

Definition at line 34 of file Validations_test.cpp.

Member Typedef Documentation

◆ clock_type

Definition at line 36 of file Validations_test.cpp.

◆ TestValidations

Definition at line 211 of file Validations_test.cpp.

Member Function Documentation

◆ toNetClock()

static NetClock::time_point ripple::test::csf::Validations_test::toNetClock ( clock_type const &  c)
staticprivate

Definition at line 41 of file Validations_test.cpp.

◆ testAddValidation()

void ripple::test::csf::Validations_test::testAddValidation ( )
private

Definition at line 261 of file Validations_test.cpp.

◆ testOnStale()

void ripple::test::csf::Validations_test::testOnStale ( )
private

Definition at line 407 of file Validations_test.cpp.

◆ testGetNodesAfter()

void ripple::test::csf::Validations_test::testGetNodesAfter ( )
private

Definition at line 452 of file Validations_test.cpp.

◆ testCurrentTrusted()

void ripple::test::csf::Validations_test::testCurrentTrusted ( )
private

Definition at line 505 of file Validations_test.cpp.

◆ testGetCurrentPublicKeys()

void ripple::test::csf::Validations_test::testGetCurrentPublicKeys ( )
private

Definition at line 547 of file Validations_test.cpp.

◆ testTrustedByLedgerFunctions()

void ripple::test::csf::Validations_test::testTrustedByLedgerFunctions ( )
private

Definition at line 590 of file Validations_test.cpp.

◆ testExpire()

void ripple::test::csf::Validations_test::testExpire ( )
private

Definition at line 706 of file Validations_test.cpp.

◆ testFlush()

void ripple::test::csf::Validations_test::testFlush ( )
private

Definition at line 759 of file Validations_test.cpp.

◆ testGetPreferredLedger()

void ripple::test::csf::Validations_test::testGetPreferredLedger ( )
private

Definition at line 791 of file Validations_test.cpp.

◆ testGetPreferredLCL()

void ripple::test::csf::Validations_test::testGetPreferredLCL ( )
private

Definition at line 863 of file Validations_test.cpp.

◆ testAcquireValidatedLedger()

void ripple::test::csf::Validations_test::testAcquireValidatedLedger ( )
private

Definition at line 923 of file Validations_test.cpp.

◆ testNumTrustedForLedger()

void ripple::test::csf::Validations_test::testNumTrustedForLedger ( )
private

Definition at line 992 of file Validations_test.cpp.

◆ testSeqEnforcer()

void ripple::test::csf::Validations_test::testSeqEnforcer ( )
private

Definition at line 1009 of file Validations_test.cpp.

◆ testTrustChanged()

void ripple::test::csf::Validations_test::testTrustChanged ( )
private

Definition at line 1031 of file Validations_test.cpp.

◆ run()

void ripple::test::csf::Validations_test::run ( )
overrideprivate

Definition at line 1129 of file Validations_test.cpp.

Member Data Documentation

◆ genesisLedger

const Ledger ripple::test::csf::Validations_test::genesisLedger {Ledger::MakeGenesis{}}
private

Definition at line 258 of file Validations_test.cpp.