|
rippled
|


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 use_partner, FeatureBitset features) |
| void | testNegativeBalance (FeatureBitset features) |
| void | testOfferCrossWithXRP (bool reverse_order, 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) |
| void | run (std::uint32_t instance, bool last=false) |
| template<class = void> | |
| void | operator() (runner &r) |
| Invokes the test using the specified runner. More... | |
| template<class = void> | |
| void | pass () |
| Record a successful test condition. More... | |
| 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. More... | |
| 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. More... | |
| template<class = void> | |
| void | fail (std::string const &reason="") |
| template<class Condition > | |
| bool | expect (Condition const &shouldBeTrue) |
| Evaluate a test condition. More... | |
| 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< std::shared_ptr< SLE const > > | offersOnAccount (jtx::Env &env, jtx::Account account) |
| static std::vector< std::shared_ptr< SLE const > > | sortedOffersOnAccount (jtx::Env &env, jtx::Account const &acct) |
| static suite * | this_suite () |
| Returns the "current" running suite. More... | |
Public Attributes | |
| log_os< char > | log |
| Logging output stream. More... | |
| testcase_t | testcase |
| Memberspace for declaring test cases. More... | |
Private Member Functions | |
| void | run () override |
| Runs the suite. More... | |
| XRPAmount | reserve (jtx::Env &env, std::uint32_t count) |
| std::uint32_t | lastClose (jtx::Env &env) |
| void | propagate_abort () |
Static Private Member Functions | |
| static auto | ledgerEntryOffer (jtx::Env &env, jtx::Account const &acct, std::uint32_t offer_seq) |
| static auto | getBookOffers (jtx::Env &env, Issue const &taker_pays, Issue const &taker_gets) |
| static suite ** | p_this_suite () |
Private Attributes | |
| bool | abort_ = false |
| bool | aborted_ = false |
| runner * | runner_ = nullptr |
Definition at line 5447 of file Offer_test.cpp.
|
overrideprivatevirtual |
Runs the suite.
Reimplemented from ripple::test::OfferBaseUtil_test.
Definition at line 5450 of file Offer_test.cpp.
|
privateinherited |
Definition at line 33 of file Offer_test.cpp.
|
privateinherited |
Definition at line 39 of file Offer_test.cpp.
|
staticprivateinherited |
Definition at line 45 of file Offer_test.cpp.
|
staticprivateinherited |
Definition at line 58 of file Offer_test.cpp.
|
inherited |
Definition at line 74 of file Offer_test.cpp.
|
inherited |
Definition at line 134 of file Offer_test.cpp.
|
inherited |
Definition at line 215 of file Offer_test.cpp.
|
inherited |
Definition at line 249 of file Offer_test.cpp.
|
inherited |
Definition at line 321 of file Offer_test.cpp.
|
inherited |
Definition at line 469 of file Offer_test.cpp.
|
inherited |
Definition at line 632 of file Offer_test.cpp.
|
inherited |
Definition at line 706 of file Offer_test.cpp.
|
staticinherited |
Definition at line 811 of file Offer_test.cpp.
|
inherited |
Definition at line 825 of file Offer_test.cpp.
|
inherited |
Definition at line 1057 of file Offer_test.cpp.
|
inherited |
Definition at line 1134 of file Offer_test.cpp.
|
inherited |
Definition at line 1212 of file Offer_test.cpp.
|
inherited |
Definition at line 1266 of file Offer_test.cpp.
|
inherited |
Definition at line 1382 of file Offer_test.cpp.
|
inherited |
Definition at line 1493 of file Offer_test.cpp.
|
inherited |
Definition at line 1547 of file Offer_test.cpp.
|
inherited |
Definition at line 1587 of file Offer_test.cpp.
|
inherited |
Definition at line 1611 of file Offer_test.cpp.
|
inherited |
Definition at line 1636 of file Offer_test.cpp.
|
inherited |
Definition at line 1689 of file Offer_test.cpp.
|
inherited |
Definition at line 1718 of file Offer_test.cpp.
|
inherited |
Definition at line 1803 of file Offer_test.cpp.
|
inherited |
Definition at line 1844 of file Offer_test.cpp.
|
inherited |
Definition at line 1891 of file Offer_test.cpp.
|
inherited |
Definition at line 1956 of file Offer_test.cpp.
|
inherited |
Definition at line 2028 of file Offer_test.cpp.
|
inherited |
Definition at line 2082 of file Offer_test.cpp.
|
inherited |
Definition at line 2137 of file Offer_test.cpp.
|
inherited |
Definition at line 2179 of file Offer_test.cpp.
|
inherited |
Definition at line 2223 of file Offer_test.cpp.
|
inherited |
Definition at line 2300 of file Offer_test.cpp.
|
inherited |
Definition at line 2331 of file Offer_test.cpp.
|
inherited |
Definition at line 2489 of file Offer_test.cpp.
|
inherited |
Definition at line 2566 of file Offer_test.cpp.
|
inherited |
Definition at line 2684 of file Offer_test.cpp.
|
inherited |
Definition at line 2782 of file Offer_test.cpp.
|
inherited |
Definition at line 2970 of file Offer_test.cpp.
|
inherited |
Definition at line 3055 of file Offer_test.cpp.
|
inherited |
Definition at line 3363 of file Offer_test.cpp.
|
inherited |
Definition at line 3433 of file Offer_test.cpp.
|
inherited |
Definition at line 3545 of file Offer_test.cpp.
|
inherited |
Definition at line 3553 of file Offer_test.cpp.
|
inherited |
Definition at line 3598 of file Offer_test.cpp.
|
inherited |
Definition at line 3671 of file Offer_test.cpp.
|
inherited |
Definition at line 3724 of file Offer_test.cpp.
|
inherited |
Definition at line 3760 of file Offer_test.cpp.
|
inherited |
Definition at line 3807 of file Offer_test.cpp.
|
inherited |
Definition at line 3859 of file Offer_test.cpp.
|
inherited |
Definition at line 3926 of file Offer_test.cpp.
|
inherited |
Definition at line 3974 of file Offer_test.cpp.
|
inherited |
Definition at line 4128 of file Offer_test.cpp.
|
inherited |
Definition at line 4285 of file Offer_test.cpp.
|
inherited |
Definition at line 4336 of file Offer_test.cpp.
|
inherited |
Definition at line 4474 of file Offer_test.cpp.
|
inherited |
Definition at line 4563 of file Offer_test.cpp.
|
inherited |
Definition at line 4635 of file Offer_test.cpp.
|
inherited |
Definition at line 4741 of file Offer_test.cpp.
|
staticinherited |
Definition at line 4848 of file Offer_test.cpp.
|
inherited |
Definition at line 4863 of file Offer_test.cpp.
|
inherited |
Definition at line 4983 of file Offer_test.cpp.
|
inherited |
Definition at line 5095 of file Offer_test.cpp.
|
inherited |
Definition at line 5113 of file Offer_test.cpp.
|
inherited |
Definition at line 5303 of file Offer_test.cpp.
|
inherited |
Definition at line 5367 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. |
true if the test condition indicates success.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticprivateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
inherited |
|
inherited |