|
xrpld
|


Public Member Functions | |
| void | testRmFundedOffer (FeatureBitset features) |
| void | testCanceledOffer (FeatureBitset features) |
| void | testTinyPayment (FeatureBitset features) |
| void | testXRPTinyPayment (FeatureBitset features) |
| void | testRmSmallIncreasedQOffersXRP (FeatureBitset features) |
| void | testRmSmallIncreasedQOffersIOU (FeatureBitset features) |
| void | testEnforceNoRipple (FeatureBitset features) |
| void | testInsufficientReserve (FeatureBitset features) |
| void | testFillModes (FeatureBitset features) |
| void | testMalformed (FeatureBitset features) |
| void | testExpiration (FeatureBitset features) |
| void | testUnfundedCross (FeatureBitset features) |
| void | testSelfCross (bool usePartner, FeatureBitset features) |
| void | testNegativeBalance (FeatureBitset features) |
| void | testOfferCrossWithXRP (bool reverseOrder, FeatureBitset features) |
| void | testOfferCrossWithLimitOverride (FeatureBitset features) |
| void | testOfferAcceptThenCancel (FeatureBitset features) |
| void | testOfferCancelPastAndFuture (FeatureBitset features) |
| void | testCurrencyConversionEntire (FeatureBitset features) |
| void | testCurrencyConversionIntoDebt (FeatureBitset features) |
| void | testCurrencyConversionInParts (FeatureBitset features) |
| void | testCrossCurrencyStartXRP (FeatureBitset features) |
| void | testCrossCurrencyEndXRP (FeatureBitset features) |
| void | testCrossCurrencyBridged (FeatureBitset features) |
| void | testBridgedSecondLegDry (FeatureBitset features) |
| void | testOfferFeesConsumeFunds (FeatureBitset features) |
| void | testOfferCreateThenCross (FeatureBitset features) |
| void | testSellFlagBasic (FeatureBitset features) |
| void | testSellFlagExceedLimit (FeatureBitset features) |
| void | testGatewayCrossCurrency (FeatureBitset features) |
| void | verifyDefaultTrustline (jtx::Env &env, jtx::Account const &account, jtx::PrettyAmount const &expectBalance) |
| void | testPartialCross (FeatureBitset features) |
| void | testXRPDirectCross (FeatureBitset features) |
| void | testDirectCross (FeatureBitset features) |
| void | testBridgedCross (FeatureBitset features) |
| void | testSellOffer (FeatureBitset features) |
| void | testSellWithFillOrKill (FeatureBitset features) |
| void | testTransferRateOffer (FeatureBitset features) |
| void | testSelfCrossOffer1 (FeatureBitset features) |
| void | testSelfCrossOffer2 (FeatureBitset features) |
| void | testSelfCrossOffer (FeatureBitset features) |
| void | testSelfIssueOffer (FeatureBitset features) |
| void | testBadPathAssert (FeatureBitset features) |
| void | testDirectToDirectPath (FeatureBitset features) |
| void | testSelfCrossLowQualityOffer (FeatureBitset features) |
| void | testOfferInScaling (FeatureBitset features) |
| void | testOfferInScalingWithXferRate (FeatureBitset features) |
| void | testOfferThresholdWithReducedFunds (FeatureBitset features) |
| void | testTinyOffer (FeatureBitset features) |
| void | testSelfPayXferFeeOffer (FeatureBitset features) |
| void | testSelfPayUnlimitedFunds (FeatureBitset features) |
| void | testRequireAuth (FeatureBitset features) |
| void | testMissingAuth (FeatureBitset features) |
| void | testRCSmoketest (FeatureBitset features) |
| void | testSelfAuth (FeatureBitset features) |
| void | testDeletedOfferIssuer (FeatureBitset features) |
| void | testTickSize (FeatureBitset features) |
| void | testTicketOffer (FeatureBitset features) |
| void | testTicketCancelOffer (FeatureBitset features) |
| void | testFalseAssert () |
| void | testFillOrKill (FeatureBitset features) |
| void | testAll (FeatureBitset features) |
| 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) |
| 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 std::vector< SLE::const_pointer > | offersOnAccount (jtx::Env &env, jtx::Account const &account) |
| static std::vector< SLE::const_pointer > | sortedOffersOnAccount (jtx::Env &env, jtx::Account const &acct) |
| static Suite * | thisSuite () |
| Returns the "current" running suite. | |
Public Attributes | |
| FeatureBitset const | allFeatures {jtx::testableAmendments()} |
| LogOs< char > | log |
| Logging output stream. | |
| TestcaseT | testcase |
| Memberspace for declaring test cases. | |
Private Member Functions | |
| void | run () override |
| Runs the suite. | |
| void | propagateAbort () const |
Static Private Member Functions | |
| static XRPAmount | reserve (jtx::Env &env, std::uint32_t count) |
| static std::uint32_t | lastClose (jtx::Env &env) |
| static auto | ledgerEntryOffer (jtx::Env &env, jtx::Account const &acct, std::uint32_t offerSeq) |
| static auto | getBookOffers (jtx::Env &env, Issue const &takerPays, Issue const &takerGets) |
| static Suite ** | pThisSuite () |
Private Attributes | |
| bool | abort_ = false |
| bool | aborted_ = false |
| Runner * | runner_ = nullptr |
Definition at line 5209 of file Offer_test.cpp.
|
overrideprivatevirtual |
|
staticprivateinherited |
Definition at line 61 of file Offer_test.cpp.
|
staticprivateinherited |
Definition at line 67 of file Offer_test.cpp.
|
staticprivateinherited |
Definition at line 73 of file Offer_test.cpp.
|
staticprivateinherited |
Definition at line 82 of file Offer_test.cpp.
|
inherited |
Definition at line 95 of file Offer_test.cpp.
|
inherited |
Definition at line 155 of file Offer_test.cpp.
|
inherited |
Definition at line 231 of file Offer_test.cpp.
|
inherited |
Definition at line 266 of file Offer_test.cpp.
|
inherited |
Definition at line 338 of file Offer_test.cpp.
|
inherited |
Definition at line 448 of file Offer_test.cpp.
|
inherited |
Definition at line 573 of file Offer_test.cpp.
|
inherited |
Definition at line 649 of file Offer_test.cpp.
|
staticinherited |
Definition at line 758 of file Offer_test.cpp.
|
inherited |
Definition at line 769 of file Offer_test.cpp.
|
inherited |
Definition at line 1011 of file Offer_test.cpp.
|
inherited |
Definition at line 1087 of file Offer_test.cpp.
|
inherited |
Definition at line 1161 of file Offer_test.cpp.
|
inherited |
Definition at line 1219 of file Offer_test.cpp.
|
inherited |
Definition at line 1326 of file Offer_test.cpp.
|
inherited |
Definition at line 1427 of file Offer_test.cpp.
|
inherited |
Definition at line 1482 of file Offer_test.cpp.
|
inherited |
Definition at line 1521 of file Offer_test.cpp.
|
inherited |
Definition at line 1545 of file Offer_test.cpp.
|
inherited |
Definition at line 1569 of file Offer_test.cpp.
|
inherited |
Definition at line 1620 of file Offer_test.cpp.
|
inherited |
Definition at line 1649 of file Offer_test.cpp.
|
inherited |
Definition at line 1726 of file Offer_test.cpp.
|
inherited |
Definition at line 1766 of file Offer_test.cpp.
|
inherited |
Definition at line 1811 of file Offer_test.cpp.
|
inherited |
Definition at line 1874 of file Offer_test.cpp.
|
inherited |
Definition at line 1941 of file Offer_test.cpp.
|
inherited |
Definition at line 1995 of file Offer_test.cpp.
|
inherited |
Definition at line 2034 of file Offer_test.cpp.
|
inherited |
Definition at line 2076 of file Offer_test.cpp.
|
inherited |
Definition at line 2120 of file Offer_test.cpp.
|
inherited |
Definition at line 2193 of file Offer_test.cpp.
|
inherited |
Definition at line 2223 of file Offer_test.cpp.
|
inherited |
Definition at line 2380 of file Offer_test.cpp.
|
inherited |
Definition at line 2457 of file Offer_test.cpp.
|
inherited |
Definition at line 2572 of file Offer_test.cpp.
|
inherited |
Definition at line 2670 of file Offer_test.cpp.
|
inherited |
Definition at line 2858 of file Offer_test.cpp.
|
inherited |
Definition at line 2941 of file Offer_test.cpp.
|
inherited |
Definition at line 3249 of file Offer_test.cpp.
|
inherited |
Definition at line 3319 of file Offer_test.cpp.
|
inherited |
Definition at line 3431 of file Offer_test.cpp.
|
inherited |
Definition at line 3439 of file Offer_test.cpp.
|
inherited |
Definition at line 3484 of file Offer_test.cpp.
|
inherited |
Definition at line 3555 of file Offer_test.cpp.
|
inherited |
Definition at line 3608 of file Offer_test.cpp.
|
inherited |
Definition at line 3644 of file Offer_test.cpp.
|
inherited |
Definition at line 3691 of file Offer_test.cpp.
|
inherited |
Definition at line 3743 of file Offer_test.cpp.
|
inherited |
Definition at line 3810 of file Offer_test.cpp.
|
inherited |
Definition at line 3858 of file Offer_test.cpp.
|
inherited |
Definition at line 4010 of file Offer_test.cpp.
|
inherited |
Definition at line 4156 of file Offer_test.cpp.
|
inherited |
Definition at line 4207 of file Offer_test.cpp.
|
inherited |
Definition at line 4328 of file Offer_test.cpp.
|
inherited |
Definition at line 4412 of file Offer_test.cpp.
|
inherited |
Definition at line 4476 of file Offer_test.cpp.
|
inherited |
Definition at line 4581 of file Offer_test.cpp.
|
staticinherited |
Definition at line 4686 of file Offer_test.cpp.
|
inherited |
Definition at line 4696 of file Offer_test.cpp.
|
inherited |
Definition at line 4816 of file Offer_test.cpp.
|
inherited |
Definition at line 4928 of file Offer_test.cpp.
|
inherited |
Definition at line 4946 of file Offer_test.cpp.
|
inherited |
Definition at line 5118 of file Offer_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 |
|
inherited |
|
inherited |
|
staticprivateinherited |
|
privateinherited |
|
inherited |
Definition at line 5181 of file Offer_test.cpp.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
inherited |