|
| static constexpr auto | idOne |
| |
Definition at line 26 of file Ticket_test.cpp.
◆ checkTicketMeta()
| auto ripple::Ticket_test::checkTicketMeta |
( |
test::jtx::Env & |
env, |
|
|
bool |
other_target = false, |
|
|
bool |
expiration = false |
|
) |
| |
|
private |
validate metadata for a create/cancel ticket transaction and return the 3 or 4 nodes that make-up the metadata (AffectedNodes)
- Parameters
-
| env | current jtx env (meta will be extracted from it) |
| other_target | flag to indicate whether a Target different from the Account was specified for the ticket (when created) |
| expiration | flag to indicate a cancellation with expiration which causes two of the affected nodes to be swapped (in order). |
- Return values
-
| std::array | size 4 of json object values representing each meta node entry. When the transaction was a cancel with differing target and account, there will be 4 complete items, otherwise the last entry will be an empty object |
Definition at line 48 of file Ticket_test.cpp.
◆ testTicketNotEnabled()
| void ripple::Ticket_test::testTicketNotEnabled |
( |
| ) |
|
|
private |
◆ testTicketCancelNonexistent()
| void ripple::Ticket_test::testTicketCancelNonexistent |
( |
| ) |
|
|
private |
◆ testTicketCreatePreflightFail()
| void ripple::Ticket_test::testTicketCreatePreflightFail |
( |
| ) |
|
|
private |
◆ testTicketCreateNonexistent()
| void ripple::Ticket_test::testTicketCreateNonexistent |
( |
| ) |
|
|
private |
◆ testTicketToSelf()
| void ripple::Ticket_test::testTicketToSelf |
( |
| ) |
|
|
private |
◆ testTicketCancelByCreator()
| void ripple::Ticket_test::testTicketCancelByCreator |
( |
| ) |
|
|
private |
◆ testTicketInsufficientReserve()
| void ripple::Ticket_test::testTicketInsufficientReserve |
( |
| ) |
|
|
private |
◆ testTicketCancelByTarget()
| void ripple::Ticket_test::testTicketCancelByTarget |
( |
| ) |
|
|
private |
◆ testTicketWithExpiration()
| void ripple::Ticket_test::testTicketWithExpiration |
( |
| ) |
|
|
private |
◆ testTicketZeroExpiration()
| void ripple::Ticket_test::testTicketZeroExpiration |
( |
| ) |
|
|
private |
◆ testTicketWithPastExpiration()
| void ripple::Ticket_test::testTicketWithPastExpiration |
( |
| ) |
|
|
private |
◆ testTicketAllowExpiration()
| void ripple::Ticket_test::testTicketAllowExpiration |
( |
| ) |
|
|
private |
◆ run()
| void ripple::Ticket_test::run |
( |
| ) |
|
|
override |
◆ idOne
| constexpr auto ripple::Ticket_test::idOne |
|
staticconstexprprivate |
Initial value:=
"00000000000000000000000000000000"
"00000000000000000000000000000001"
Definition at line 28 of file Ticket_test.cpp.