|
xrpld
|


Static Public Member Functions | |
| static std::vector< SLE::const_pointer > | offersOnAccount (jtx::Env &env, jtx::Account 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 | |
| LogOs< char > | log |
| Logging output stream. | |
| TestcaseT | testcase |
| Memberspace for declaring test cases. | |
Protected Member Functions | |
| Runner & | runner () const |
| Lets a suite compose other suites (e.g. | |
Private Member Functions | |
| 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 Suite ** | pThisSuite () |
Private Attributes | |
| bool | abort_ = false |
| bool | aborted_ = false |
| Runner * | runner_ = nullptr |
Definition at line 68 of file OfferMPT_test.cpp.
|
staticprivate |
Definition at line 71 of file OfferMPT_test.cpp.
|
staticprivate |
Definition at line 77 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testRmFundedOffer | ( | FeatureBitset | features | ) |
Definition at line 84 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCanceledOffer | ( | FeatureBitset | features | ) |
Definition at line 148 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTinyPayment | ( | FeatureBitset | features | ) |
Definition at line 223 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testXRPTinyPayment | ( | FeatureBitset | features | ) |
Definition at line 275 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testRmSmallIncreasedQOffersXRP | ( | FeatureBitset | features | ) |
Definition at line 351 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testRmSmallIncreasedQOffersMPT | ( | FeatureBitset | features | ) |
Definition at line 460 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTIssuerOfferUsesRemainingCapacity | ( | FeatureBitset | features | ) |
Definition at line 631 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFeeZeroOutRemoved | ( | FeatureBitset | features | ) |
Definition at line 694 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFeeZeroOutUnblocksBook | ( | FeatureBitset | features | ) |
Definition at line 756 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTHolderOfferFeeZeroOutUnblocksBook | ( | FeatureBitset | features | ) |
Definition at line 822 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTIssuerOfferZeroSelfDebit | ( | FeatureBitset | features | ) |
Definition at line 887 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testIOUOfferFeeZeroOutSlice | ( | FeatureBitset | features | ) |
Definition at line 948 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFeeZeroInRemoved | ( | FeatureBitset | features | ) |
Definition at line 1049 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFeeZeroInUnblocksBook | ( | FeatureBitset | features | ) |
Definition at line 1125 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFeePartialInStillFills | ( | FeatureBitset | features | ) |
Definition at line 1192 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFundsLimitedOwnerPays | ( | FeatureBitset | features | ) |
Definition at line 1240 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferFundsLimitedDustUnblocksBook | ( | FeatureBitset | features | ) |
Definition at line 1292 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testXRPOfferFeeZeroInSlice | ( | FeatureBitset | features | ) |
Definition at line 1354 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeTakerPaysQuality | ( | FeatureBitset | features | ) |
Definition at line 1441 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testPartiallyFundedMPTInputOfferZeroInput | ( | FeatureBitset | features | ) |
Definition at line 1492 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testDestroyedMPTIssuanceBookInput | ( | FeatureBitset | features | ) |
Definition at line 1699 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testInsufficientReserve | ( | FeatureBitset | features | ) |
Definition at line 1750 of file OfferMPT_test.cpp.
|
static |
Definition at line 1863 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testFillModes | ( | FeatureBitset | features | ) |
Definition at line 1874 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTAMMLimitQualityRounding | ( | FeatureBitset | features | ) |
Definition at line 2088 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMalformed | ( | FeatureBitset | features | ) |
Definition at line 2247 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testExpiration | ( | FeatureBitset | features | ) |
Definition at line 2287 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testUnfundedCross | ( | FeatureBitset | features | ) |
Definition at line 2363 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfCross | ( | bool | usePartner, |
| FeatureBitset | features ) |
Definition at line 2415 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testNegativeBalance | ( | FeatureBitset | features | ) |
Definition at line 2541 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferCrossWithXRP | ( | bool | reverseOrder, |
| FeatureBitset | features ) |
Definition at line 2603 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferCrossWithLimitOverride | ( | FeatureBitset | features | ) |
Definition at line 2655 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferAcceptThenCancel | ( | FeatureBitset | features | ) |
Definition at line 2692 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCurrencyConversionEntire | ( | FeatureBitset | features | ) |
Definition at line 2716 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCurrencyConversionIntoDebt | ( | FeatureBitset | features | ) |
Definition at line 2766 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCurrencyConversionInParts | ( | FeatureBitset | features | ) |
Definition at line 2801 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCrossCurrencyStartXRP | ( | FeatureBitset | features | ) |
Definition at line 2877 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCrossCurrencyEndXRP | ( | FeatureBitset | features | ) |
Definition at line 2914 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testCrossCurrencyBridged | ( | FeatureBitset | features | ) |
Definition at line 2956 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBridgedSecondLegDry | ( | FeatureBitset | features | ) |
Definition at line 3012 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferFeesConsumeFunds | ( | FeatureBitset | features | ) |
Definition at line 3079 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferCreateThenCross | ( | FeatureBitset | features | ) |
Definition at line 3129 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSellFlagBasic | ( | FeatureBitset | features | ) |
Definition at line 3159 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSellFlagExceedLimit | ( | FeatureBitset | features | ) |
Definition at line 3198 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testGatewayCrossCurrency | ( | FeatureBitset | features | ) |
Definition at line 3239 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testPartialCross | ( | FeatureBitset | features | ) |
Definition at line 3303 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testXRPDirectCross | ( | FeatureBitset | features | ) |
Definition at line 3457 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testDirectCross | ( | FeatureBitset | features | ) |
Definition at line 3531 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBridgedCross | ( | FeatureBitset | features | ) |
Definition at line 3658 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSellOffer | ( | FeatureBitset | features | ) |
Definition at line 3758 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSellWithFillOrKill | ( | FeatureBitset | features | ) |
Definition at line 3946 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTransferRateOffer | ( | FeatureBitset | features | ) |
Definition at line 4024 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTransferRateOverflowOffer | ( | FeatureBitset | features | ) |
Definition at line 4452 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfCrossOffer1 | ( | FeatureBitset | features | ) |
Definition at line 5161 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfCrossOffer2 | ( | FeatureBitset | features | ) |
Definition at line 5233 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfCrossOffer | ( | FeatureBitset | features | ) |
Definition at line 5368 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfIssueOffer | ( | FeatureBitset | features | ) |
Definition at line 5376 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testDirectToDirectPath | ( | FeatureBitset | features | ) |
Definition at line 5422 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfCrossLowQualityOffer | ( | FeatureBitset | features | ) |
Definition at line 5478 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferInScaling | ( | FeatureBitset | features | ) |
Definition at line 5512 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testOfferInScalingWithXferRate | ( | FeatureBitset | features | ) |
Definition at line 5557 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfPayXferFeeOffer | ( | FeatureBitset | features | ) |
Definition at line 5630 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfPayUnlimitedFunds | ( | FeatureBitset | features | ) |
Definition at line 5813 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testRequireAuth | ( | FeatureBitset | features | ) |
Definition at line 5982 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMissingAuth | ( | FeatureBitset | features | ) |
Definition at line 6031 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testSelfAuth | ( | FeatureBitset | features | ) |
Definition at line 6123 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testDeletedOfferIssuer | ( | FeatureBitset | features | ) |
Definition at line 6182 of file OfferMPT_test.cpp.
|
static |
Definition at line 6294 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTicketOffer | ( | FeatureBitset | features | ) |
Definition at line 6304 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTicketCancelOffer | ( | FeatureBitset | features | ) |
Definition at line 6421 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testFillOrKill | ( | FeatureBitset | features | ) |
Definition at line 6532 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testTickSize | ( | FeatureBitset | features | ) |
Definition at line 6696 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferZeroRate | ( | FeatureBitset | features | ) |
Definition at line 6836 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testZeroRateXrpIouOffer | ( | FeatureBitset | features | ) |
Definition at line 6932 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testAutoCreateReserve | ( | FeatureBitset | features | ) |
Definition at line 7056 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeRemainderCross | ( | FeatureBitset | features | ) |
Definition at line 7151 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testPartiallyFundedLargeMPTAsk | ( | FeatureBitset | features | ) |
Definition at line 7217 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBookOffersMPTFunding | ( | FeatureBitset | features | ) |
Definition at line 7289 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBookBaseMixedAssetCollision | ( | FeatureBitset | ) |
Definition at line 7630 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBookBaseMptMptDistinct | ( | FeatureBitset | ) |
Definition at line 7667 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testBookBaseDomainMptDistinct | ( | FeatureBitset | ) |
Definition at line 7691 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeRateCrossable | ( | FeatureBitset | features | ) |
Definition at line 7726 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeRatePartialCross | ( | FeatureBitset | features | ) |
Definition at line 7793 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeRateTickSizeCross | ( | FeatureBitset | features | ) |
Definition at line 7854 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testMPTOfferLargeRateFlags | ( | FeatureBitset | features | ) |
Definition at line 7908 of file OfferMPT_test.cpp.
| void xrpl::test::OfferMPT_test::testAll | ( | FeatureBitset | features | ) |
Definition at line 7967 of file OfferMPT_test.cpp.
|
overridevirtual |
Runs the suite.
Implements beast::unit_test::Suite.
Definition at line 8055 of file OfferMPT_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 |