xrpld
Loading...
Searching...
No Matches
xrpl::test::ApplyContextTests Class Reference

A funded alice over an open ledger, plus a signed transaction to build an ApplyContext around. More...

Inheritance diagram for xrpl::test::ApplyContextTests:
Collaboration diagram for xrpl::test::ApplyContextTests:

Protected Member Functions

 ApplyContextTests ()
SLE::pointer makeTicket (std::uint32_t seq) const
 Build a ticket entry that is not in the ledger.

Protected Attributes

TxTest env_
Account const alice_ {"alice"}
XRPAmount const fee_ {10}
std::shared_ptr< STTx const > tx_

Detailed Description

A funded alice over an open ledger, plus a signed transaction to build an ApplyContext around.

Definition at line 30 of file tests/libxrpl/tx/ApplyContext.cpp.

Constructor & Destructor Documentation

◆ ApplyContextTests()

xrpl::test::ApplyContextTests::ApplyContextTests ( )
protected

Definition at line 38 of file tests/libxrpl/tx/ApplyContext.cpp.

Member Function Documentation

◆ makeTicket()

SLE::pointer xrpl::test::ApplyContextTests::makeTicket ( std::uint32_t seq) const
protected

Build a ticket entry that is not in the ledger.

Parameters
seqThe raw ticket sequence.
Returns
The new entry.

Definition at line 54 of file tests/libxrpl/tx/ApplyContext.cpp.

Member Data Documentation

◆ env_

TxTest xrpl::test::ApplyContextTests::env_
protected

Definition at line 33 of file tests/libxrpl/tx/ApplyContext.cpp.

◆ alice_

Account const xrpl::test::ApplyContextTests::alice_ {"alice"}
protected

Definition at line 34 of file tests/libxrpl/tx/ApplyContext.cpp.

◆ fee_

XRPAmount const xrpl::test::ApplyContextTests::fee_ {10}
protected

Definition at line 35 of file tests/libxrpl/tx/ApplyContext.cpp.

◆ tx_

std::shared_ptr<STTx const> xrpl::test::ApplyContextTests::tx_
protected

Definition at line 36 of file tests/libxrpl/tx/ApplyContext.cpp.