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

Test helper that checks MPT flag settings after creation. More...

#include <mpt.h>

Collaboration diagram for xrpl::test::jtx::MptFlags:

Public Member Functions

 MptFlags (MPTTester &tester, std::uint32_t flags, std::optional< Account > const &holder=std::nullopt, 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 & tester_
std::uint32_t flags_
std::optional< Account > holder_
std::source_location testLoc_
std::source_location checkLoc_

Detailed Description

Test helper that checks MPT flag settings after creation.

Definition at line 73 of file mpt.h.

Constructor & Destructor Documentation

◆ MptFlags()

xrpl::test::jtx::MptFlags::MptFlags ( MPTTester & tester,
std::uint32_t flags,
std::optional< Account > const & holder = std::nullopt,
std::source_location const & testLoc = std::source_location::current(),
std::source_location const & checkLoc = std::source_location::current() )

Definition at line 85 of file mpt.h.

Member Function Documentation

◆ operator()()

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

Definition at line 191 of file mpt.cpp.

Member Data Documentation

◆ tester_

MPTTester& xrpl::test::jtx::MptFlags::tester_
private

Definition at line 76 of file mpt.h.

◆ flags_

std::uint32_t xrpl::test::jtx::MptFlags::flags_
private

Definition at line 77 of file mpt.h.

◆ holder_

std::optional<Account> xrpl::test::jtx::MptFlags::holder_
private

Definition at line 78 of file mpt.h.

◆ testLoc_

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

Definition at line 80 of file mpt.h.

◆ checkLoc_

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

Definition at line 82 of file mpt.h.