xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::MptBalance Class Reference

Test helper that checks MPT issuance or holder balances. More...

#include <mpt.h>

Collaboration diagram for xrpl::test::jtx::MptBalance:

Public Member Functions

 MptBalance (MPTTester &tester, Account const &account, std::int64_t amount, std::source_location const &testLoc=std::source_location::current(), std::source_location const &checkLoc=std::source_location::current())
void operator() (Env &env) const

Private Attributes

MPTTester const & tester_
Account const & account_
std::int64_t const amount_
std::source_location testLoc_
std::source_location checkLoc_

Detailed Description

Test helper that checks MPT issuance or holder balances.

Definition at line 102 of file mpt.h.

Constructor & Destructor Documentation

◆ MptBalance()

xrpl::test::jtx::MptBalance::MptBalance ( MPTTester & tester,
Account const & account,
std::int64_t amount,
std::source_location const & testLoc = std::source_location::current(),
std::source_location const & checkLoc = std::source_location::current() )

Definition at line 114 of file mpt.h.

Member Function Documentation

◆ operator()()

void xrpl::test::jtx::MptBalance::operator() ( Env & env) const

Definition at line 201 of file mpt.cpp.

Member Data Documentation

◆ tester_

MPTTester const& xrpl::test::jtx::MptBalance::tester_
private

Definition at line 105 of file mpt.h.

◆ account_

Account const& xrpl::test::jtx::MptBalance::account_
private

Definition at line 106 of file mpt.h.

◆ amount_

std::int64_t const xrpl::test::jtx::MptBalance::amount_
private

Definition at line 107 of file mpt.h.

◆ testLoc_

std::source_location xrpl::test::jtx::MptBalance::testLoc_
private

Definition at line 109 of file mpt.h.

◆ checkLoc_

std::source_location xrpl::test::jtx::MptBalance::checkLoc_
private

Definition at line 111 of file mpt.h.