|
xrpld
|


Public Member Functions | |
| void | testDisabled () |
| void | testInvalidSponsorshipSet () |
| void | testPseudoAccountSponsorship () |
| void | testSingleSigning () |
| void | testMultiSigning () |
| void | testInvalidSponsorField () |
| void | testSimpleSponsorshipSet () |
| void | testRemainingOwnerCountOverflow () |
| void | testConsequences () |
| void | testPreFundAndCosign () |
| void | testSponsoredFreeTierReserve () |
| void | testTransferSponsor () |
| void | testSponsorFee () |
| void | testSponsorAccount () |
| void | testRequireFlag () |
| void | testSponsorReserveSimple (bool cosigning) |
| template<typename SubmitCallback> | |
| void | testEachSponsorship (test::jtx::Env &env, bool cosigning, jtx::Account const &sponsor, jtx::Account const &sponsee, uint32_t reserveCount, uint32_t sponsorReserveCount, TER insufficientReserveResult, SubmitCallback callback, std::optional< std::function< void()> > expected=std::nullopt) |
| void | testCheck (bool cosigning) |
| void | testDelegate (bool cosigning) |
| void | testDepositPreauth (bool cosigning) |
| void | testCredential (bool cosigning) |
| void | testEscrow (bool cosigning) |
| void | testMPToken (bool cosigning) |
| void | testPayChan (bool cosigning) |
| void | testSignerList (bool cosigning) |
| void | testLegacySignerListReserve () |
| void | testSponsoredTrustLineNoFreeReserve () |
| void | testCoSignReserveBoundedBySponsorshipBudget () |
| void | testTrustSet (bool cosigning) |
| void | testAccountDelete () |
| void | testDelegatePermission () |
| void | testDelegateBlockReserveSponsor () |
| void | testDelegateSponsorFeePayer () |
| void | testBatch () |
| void | testReserveSponsorGate () |
| void | testSponsorReserve (bool cosigning) |
| void | testZeroBalanceSponsoredPaymentFeePayerCheck () |
| void | testTrustSetCounterpartySponsorMisroute () |
| void | testSelfEscrowFinishReserveGate () |
| void | testFeeSponsoredVaultInvariant () |
| void | testSponsoredObjectDeletionRefund () |
| template<class = void> | |
| void | operator() (Runner &r) |
| Invokes the test using the specified runner. | |
| template<class = void> | |
| void | pass () |
| Record a successful test condition. | |
| template<class F, class String> | |
| bool | except (F &&f, String const &reason) |
| template<class F> | |
| bool | except (F &&f) |
| template<class E, class F, class String> | |
| bool | except (F &&f, String const &reason) |
| template<class E, class F> | |
| bool | except (F &&f) |
| template<class F, class String> | |
| bool | unexcept (F &&f, String const &reason) |
| template<class F> | |
| bool | unexcept (F &&f) |
| std::string const & | arg () const |
| Return the argument associated with the runner. | |
| template<class Condition, class String> | |
| bool | unexpected (Condition shouldBeFalse, String const &reason) |
| DEPRECATED. | |
| template<class Condition> | |
| bool | unexpected (Condition shouldBeFalse) |
| template<class String> | |
| void | fail (String const &reason, char const *file, int line) |
| Record a failure. | |
| template<class = void> | |
| void | fail (std::string const &reason="") |
| template<class Condition> | |
| bool | expect (Condition const &shouldBeTrue) |
| Evaluate a test condition. | |
| template<class Condition, class String> | |
| bool | expect (Condition const &shouldBeTrue, String const &reason) |
| template<class Condition> | |
| bool | expect (Condition const &shouldBeTrue, char const *file, int line) |
| template<class Condition, class String> | |
| bool | expect (Condition const &shouldBeTrue, String const &reason, char const *file, int line) |
Static Public Member Functions | |
| static Suite * | thisSuite () |
| Returns the "current" running suite. | |
Public Attributes | |
| LogOs< char > | log |
| Logging output stream. | |
| TestcaseT | testcase |
| Memberspace for declaring test cases. | |
Protected Member Functions | |
| void | testSponsor () |
| void | testTxSponsor (bool cosigning) |
| Runner & | runner () const |
| Lets a suite compose other suites (e.g. | |
Private Member Functions | |
| void | run () override |
| Runs the suite. | |
| void | propagateAbort () const |
Static Private Member Functions | |
| static Suite ** | pThisSuite () |
Private Attributes | |
| bool | abort_ = false |
| bool | aborted_ = false |
| Runner * | runner_ = nullptr |
Definition at line 5722 of file Sponsor_test.cpp.
|
overrideprivatevirtual |
Runs the suite.
Reimplemented from xrpl::test::Sponsor_test.
Definition at line 5725 of file Sponsor_test.cpp.
|
inherited |
Definition at line 113 of file Sponsor_test.cpp.
|
inherited |
Definition at line 139 of file Sponsor_test.cpp.
|
inherited |
Definition at line 338 of file Sponsor_test.cpp.
|
inherited |
Definition at line 379 of file Sponsor_test.cpp.
|
inherited |
Definition at line 418 of file Sponsor_test.cpp.
|
inherited |
Definition at line 476 of file Sponsor_test.cpp.
|
inherited |
Definition at line 521 of file Sponsor_test.cpp.
|
inherited |
Definition at line 805 of file Sponsor_test.cpp.
|
inherited |
Definition at line 899 of file Sponsor_test.cpp.
|
inherited |
Definition at line 959 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1035 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1076 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1895 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2346 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2471 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2546 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2600 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2772 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3008 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3074 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3188 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3353 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3836 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4034 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4148 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4225 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4294 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4344 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4393 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4583 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4752 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4807 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4850 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4928 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5252 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5284 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5300 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5346 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5445 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5531 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5581 of file Sponsor_test.cpp.
|
protectedinherited |
Definition at line 5656 of file Sponsor_test.cpp.
|
protectedinherited |
Definition at line 5700 of file Sponsor_test.cpp.
|
staticinherited |
|
inherited |
Invokes the test using the specified runner.
Data members are set up here instead of the constructor as a convenience to writing the derived class to avoid repetition of forwarded constructor arguments to the base. Normally this is called by the framework for you.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Evaluate a test condition.
This function provides improved logging by incorporating the file name and line number into the reported output on failure, as well as additional text specified by the caller.
| shouldBeTrue | The condition to test. The condition is evaluated in a boolean context. |
| reason | Optional added text to output on a failure. |
| file | The source code file where the test failed. |
| line | The source code line number where the test failed. |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
staticprivateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
inherited |