rippled
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ripple::test::CheckDeliveredAmount Class Reference

Public Member Functions

 CheckDeliveredAmount (bool afterSwitchTime)
 
void adjCountersSuccess ()
 
void adjCountersFail ()
 
void adjCountersPartialPayment ()
 
bool checkExpectedCounters () const
 
bool checkTxn (Json::Value const &t, Json::Value const &metaData)
 

Private Member Functions

void adjCounters (bool success, bool partial)
 

Private Attributes

bool afterSwitchTime_
 
int numExpectedAvailable_ = 0
 
int numExpectedSetUnavailable_ = 0
 
int numExpectedNotSet_ = 0
 

Detailed Description

Definition at line 30 of file DeliveredAmount_test.cpp.

Constructor & Destructor Documentation

◆ CheckDeliveredAmount()

ripple::test::CheckDeliveredAmount::CheckDeliveredAmount ( bool  afterSwitchTime)
explicit

Definition at line 67 of file DeliveredAmount_test.cpp.

Member Function Documentation

◆ adjCounters()

void ripple::test::CheckDeliveredAmount::adjCounters ( bool  success,
bool  partial 
)
private

Definition at line 47 of file DeliveredAmount_test.cpp.

◆ adjCountersSuccess()

void ripple::test::CheckDeliveredAmount::adjCountersSuccess ( )

Definition at line 73 of file DeliveredAmount_test.cpp.

◆ adjCountersFail()

void ripple::test::CheckDeliveredAmount::adjCountersFail ( )

Definition at line 79 of file DeliveredAmount_test.cpp.

◆ adjCountersPartialPayment()

void ripple::test::CheckDeliveredAmount::adjCountersPartialPayment ( )

Definition at line 84 of file DeliveredAmount_test.cpp.

◆ checkExpectedCounters()

bool ripple::test::CheckDeliveredAmount::checkExpectedCounters ( ) const

Definition at line 92 of file DeliveredAmount_test.cpp.

◆ checkTxn()

bool ripple::test::CheckDeliveredAmount::checkTxn ( Json::Value const &  t,
Json::Value const &  metaData 
)

Definition at line 103 of file DeliveredAmount_test.cpp.

Member Data Documentation

◆ afterSwitchTime_

bool ripple::test::CheckDeliveredAmount::afterSwitchTime_
private

Definition at line 33 of file DeliveredAmount_test.cpp.

◆ numExpectedAvailable_

int ripple::test::CheckDeliveredAmount::numExpectedAvailable_ = 0
private

Definition at line 35 of file DeliveredAmount_test.cpp.

◆ numExpectedSetUnavailable_

int ripple::test::CheckDeliveredAmount::numExpectedSetUnavailable_ = 0
private

Definition at line 38 of file DeliveredAmount_test.cpp.

◆ numExpectedNotSet_

int ripple::test::CheckDeliveredAmount::numExpectedNotSet_ = 0
private

Definition at line 40 of file DeliveredAmount_test.cpp.