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

Set the expected result code for a JTx The test will fail if the code doesn't match. More...

#include <ter.h>

Collaboration diagram for xrpl::test::jtx::Ter:

Public Member Functions

 Ter (decltype(std::ignore))
 Ter (TER v)
void operator() (Env &, JTx &jt) const

Private Attributes

std::optional< TERv_

Detailed Description

Set the expected result code for a JTx The test will fail if the code doesn't match.

Definition at line 12 of file ter.h.

Constructor & Destructor Documentation

◆ Ter() [1/2]

xrpl::test::jtx::Ter::Ter ( decltype(std::ignore) )
explicit

Definition at line 18 of file ter.h.

◆ Ter() [2/2]

xrpl::test::jtx::Ter::Ter ( TER v)
explicit

Definition at line 22 of file ter.h.

Member Function Documentation

◆ operator()()

void xrpl::test::jtx::Ter::operator() ( Env & ,
JTx & jt ) const

Definition at line 27 of file ter.h.

Member Data Documentation

◆ v_

std::optional<TER> xrpl::test::jtx::Ter::v_
private

Definition at line 15 of file ter.h.