xrpld
Loading...
Searching...
No Matches
xrpl::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()

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

Definition at line 71 of file DeliveredAmount_test.cpp.

Member Function Documentation

◆ adjCounters()

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

Definition at line 47 of file DeliveredAmount_test.cpp.

◆ adjCountersSuccess()

void xrpl::test::CheckDeliveredAmount::adjCountersSuccess ( )

Definition at line 76 of file DeliveredAmount_test.cpp.

◆ adjCountersFail()

void xrpl::test::CheckDeliveredAmount::adjCountersFail ( )

Definition at line 82 of file DeliveredAmount_test.cpp.

◆ adjCountersPartialPayment()

void xrpl::test::CheckDeliveredAmount::adjCountersPartialPayment ( )

Definition at line 87 of file DeliveredAmount_test.cpp.

◆ checkExpectedCounters()

bool xrpl::test::CheckDeliveredAmount::checkExpectedCounters ( ) const
nodiscard

Definition at line 95 of file DeliveredAmount_test.cpp.

◆ checkTxn()

bool xrpl::test::CheckDeliveredAmount::checkTxn ( json::Value const & t,
json::Value const & metaData )

Definition at line 106 of file DeliveredAmount_test.cpp.

Member Data Documentation

◆ afterSwitchTime_

bool xrpl::test::CheckDeliveredAmount::afterSwitchTime_
private

Definition at line 33 of file DeliveredAmount_test.cpp.

◆ numExpectedAvailable_

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

Definition at line 35 of file DeliveredAmount_test.cpp.

◆ numExpectedSetUnavailable_

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

Definition at line 38 of file DeliveredAmount_test.cpp.

◆ numExpectedNotSet_

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

Definition at line 40 of file DeliveredAmount_test.cpp.