|
xrpld
|


Public Member Functions | |
| void | testDisabled () |
| void | testInvalidSponsorshipSet () |
| void | testPseudoAccountSponsorship () |
| void | testSingleSigning (FeatureBitset features) |
| void | testMultiSigning (FeatureBitset features) |
| void | testInvalidSponsorField () |
| void | testSimpleSponsorshipSet () |
| void | testRemainingOwnerCountOverflow () |
| void | testConsequences () |
| void | testPreFundAndCosign () |
| void | testSponsoredFreeTierReserve () |
| void | testTransferSponsor (FeatureBitset features) |
| 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 | testBytecodeEscrowReserve () |
| 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 6019 of file Sponsor_test.cpp.
|
overrideprivatevirtual |
Runs the suite.
Reimplemented from xrpl::test::Sponsor_test.
Definition at line 6022 of file Sponsor_test.cpp.
|
inherited |
Definition at line 116 of file Sponsor_test.cpp.
|
inherited |
Definition at line 142 of file Sponsor_test.cpp.
|
inherited |
Definition at line 342 of file Sponsor_test.cpp.
|
inherited |
Definition at line 383 of file Sponsor_test.cpp.
|
inherited |
Definition at line 475 of file Sponsor_test.cpp.
|
inherited |
Definition at line 551 of file Sponsor_test.cpp.
|
inherited |
Definition at line 596 of file Sponsor_test.cpp.
|
inherited |
Definition at line 880 of file Sponsor_test.cpp.
|
inherited |
Definition at line 974 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1034 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1110 of file Sponsor_test.cpp.
|
inherited |
Definition at line 1151 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2008 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2460 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2585 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2660 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2714 of file Sponsor_test.cpp.
|
inherited |
Definition at line 2886 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3122 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3188 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3304 of file Sponsor_test.cpp.
|
inherited |
Definition at line 3469 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4047 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4245 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4359 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4436 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4507 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4588 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4638 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4687 of file Sponsor_test.cpp.
|
inherited |
Definition at line 4877 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5046 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5101 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5144 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5222 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5546 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5578 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5594 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5640 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5739 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5822 of file Sponsor_test.cpp.
|
inherited |
Definition at line 5872 of file Sponsor_test.cpp.
|
protectedinherited |
Definition at line 5947 of file Sponsor_test.cpp.
|
protectedinherited |
Definition at line 5997 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 |