|
xrpld
|


Classes | |
| struct | CompT |
| class | HashT |
| struct | EqualT |
| struct | AllocT |
| class | MaybeUnordered |
| class | MaybeUnordered< Base, true > |
| class | MaybeMulti |
| class | MaybeMulti< Base, true > |
| class | MaybeMap |
| class | MaybeMap< Base, true > |
| struct | ContType |
| struct | ContType< Base, true > |
| struct | TestTraitsBase |
| struct | TestTraitsHelper |
| struct | TestTraits |
| struct | EqualValue |
Public Member Functions | |
| template<class Container, class Values> requires (Container::is_map::value && !Container::is_multi::value) | |
| void | checkMapContents (Container &c, Values const &v) |
| template<class Container, class Values> requires (!(Container::is_map::value && !Container::is_multi::value)) | |
| void | checkMapContents (Container, Values const &) |
| template<class C, class Values> requires (std::remove_reference_t<C>::is_unordered::value) | |
| void | checkUnorderedContentsRefRef (C &&c, Values const &v) |
| template<class C, class Values> requires (!std::remove_reference_t<C>::is_unordered::value) | |
| void | checkUnorderedContentsRefRef (C &&, Values const &) |
| template<class C, class Values> | |
| void | checkContentsRefRef (C &&c, Values const &v) |
| template<class Cont, class Values> | |
| void | checkContents (Cont &c, Values const &v) |
| template<class Cont> | |
| void | checkContents (Cont &c) |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testConstructEmpty () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testConstructEmpty () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testConstructRange () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testConstructRange () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testConstructInitList () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testConstructInitList () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testCopyMove () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testIterator () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testReverseIterator () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testReverseIterator () |
| template<class Container, class Values> | |
| void | checkInsertCopy (Container &c, Values const &v) |
| template<class Container, class Values> | |
| void | checkInsertMove (Container &c, Values const &v) |
| template<class Container, class Values> | |
| void | checkInsertHintCopy (Container &c, Values const &v) |
| template<class Container, class Values> | |
| void | checkInsertHintMove (Container &c, Values const &v) |
| template<class Container, class Values> | |
| void | checkEmplace (Container &c, Values const &v) |
| template<class Container, class Values> | |
| void | checkEmplaceHint (Container &c, Values const &v) |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testModifiers () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testChronological () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (IsMap && !IsMulti) | |
| void | testArrayCreate () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsMap || IsMulti) | |
| void | testArrayCreate () |
| template<class Container, class Values> | |
| void | reverseFillAgedContainer (Container &c, Values const &v) |
| template<class Iter> | |
| Iter | nextToEndIter (Iter const beginIter, Iter const endItr) |
| template<class Container, class Iter> | |
| bool | doElementErase (Container &c, Iter const beginItr, Iter const endItr) |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testElementErase () |
| template<class Container, class BeginEndSrc> | |
| void | doRangeErase (Container &c, BeginEndSrc const &beginEndSrc) |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testRangeErase () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testCompare () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testCompare () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires (!IsUnordered) | |
| void | testObservers () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> requires IsUnordered | |
| void | testObservers () |
| template<bool IsUnordered, bool IsMulti, bool IsMap> | |
| void | testMaybeUnorderedMultiMap () |
| template<bool IsUnordered, bool IsMulti> | |
| void | testMaybeUnorderedMulti () |
| template<bool IsUnordered> | |
| void | testMaybeUnordered () |
| 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 | |
| template<class Cont> | |
| static std::string | name (Cont const &) |
| template<class Cont> | |
| static std::vector< typename Cont::value_type > | makeList (Cont const &c) |
| 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 | |
| virtual void | run ()=0 |
| Runs the suite. | |
| template<class = void> | |
| void | run (Runner &r) |
| void | propagateAbort () const |
Static Private Member Functions | |
| static Suite ** | pThisSuite () |
Private Attributes | |
| bool | abort_ = false |
| bool | aborted_ = false |
| Runner * | runner_ = nullptr |
Definition at line 43 of file aged_associative_container_test.cpp.
|
static |
Definition at line 382 of file aged_associative_container_test.cpp.
|
static |
Definition at line 399 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkMapContents | ( | Container & | c, |
| Values const & | v ) |
Definition at line 638 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkMapContents | ( | Container | , |
| Values const & | ) |
Definition at line 413 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkUnorderedContentsRefRef | ( | C && | c, |
| Values const & | v ) |
Definition at line 665 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkUnorderedContentsRefRef | ( | C && | , |
| Values const & | ) |
Definition at line 426 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkContentsRefRef | ( | C && | c, |
| Values const & | v ) |
Definition at line 691 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkContents | ( | Cont & | c, |
| Values const & | v ) |
Definition at line 713 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkContents | ( | Cont & | c | ) |
Definition at line 722 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testConstructEmpty | ( | ) |
Definition at line 739 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testConstructEmpty | ( | ) |
| void beast::AgedAssociativeContainerTestBase::testConstructRange | ( | ) |
Definition at line 835 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testConstructRange | ( | ) |
| void beast::AgedAssociativeContainerTestBase::testConstructInitList | ( | ) |
Definition at line 950 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testConstructInitList | ( | ) |
| void beast::AgedAssociativeContainerTestBase::testCopyMove | ( | ) |
Definition at line 988 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testIterator | ( | ) |
Definition at line 1058 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testReverseIterator | ( | ) |
Definition at line 1114 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testReverseIterator | ( | ) |
Definition at line 501 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkInsertCopy | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1200 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkInsertMove | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1209 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkInsertHintCopy | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1219 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkInsertHintMove | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1228 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkEmplace | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1238 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::checkEmplaceHint | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1247 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testModifiers | ( | ) |
Definition at line 1256 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testChronological | ( | ) |
Definition at line 1315 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testArrayCreate | ( | ) |
Definition at line 1379 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testArrayCreate | ( | ) |
Definition at line 552 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::reverseFillAgedContainer | ( | Container & | c, |
| Values const & | v ) |
Definition at line 1414 of file aged_associative_container_test.cpp.
| Iter beast::AgedAssociativeContainerTestBase::nextToEndIter | ( | Iter const | beginIter, |
| Iter const | endItr ) |
Definition at line 1440 of file aged_associative_container_test.cpp.
| bool beast::AgedAssociativeContainerTestBase::doElementErase | ( | Container & | c, |
| Iter const | beginItr, | ||
| Iter const | endItr ) |
Definition at line 1472 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testElementErase | ( | ) |
Definition at line 1518 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::doRangeErase | ( | Container & | c, |
| BeginEndSrc const & | beginEndSrc ) |
Definition at line 1603 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testRangeErase | ( | ) |
Definition at line 1631 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testCompare | ( | ) |
Definition at line 1663 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testCompare | ( | ) |
Definition at line 598 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testObservers | ( | ) |
Definition at line 1695 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testObservers | ( | ) |
| void beast::AgedAssociativeContainerTestBase::testMaybeUnorderedMultiMap | ( | ) |
Definition at line 1738 of file aged_associative_container_test.cpp.
| void beast::AgedAssociativeContainerTestBase::testMaybeUnorderedMulti | ( | ) |
| void beast::AgedAssociativeContainerTestBase::testMaybeUnordered | ( | ) |
|
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 |
|
privatepure virtualinherited |
Runs the suite.
Implemented in beast::abstract_clock_test, beast::aged_map_test, beast::aged_multimap_test, beast::aged_multiset_test, beast::aged_set_test, beast::aged_unordered_map_test, beast::aged_unordered_multimap_test, beast::aged_unordered_multiset_test, beast::aged_unordered_set_test, beast::BasicSecondsClock_test, beast::ip::IPEndpoint_test, beast::Journal_test, beast::PropertyStream_test, beast::unit_test::print_test, beast::XXHasher_test, io_latency_probe_test, xrpl::AccountCurrencies_test, xrpl::AccountSet_test, xrpl::AccountTxPaging_test, xrpl::AmendmentBlocked_test, xrpl::AmendmentTable_test, xrpl::Apply_test, xrpl::BuildInfo_test, xrpl::Check_test, xrpl::CheckMPT_test, xrpl::Clawback_test, xrpl::ClawbackMPT_test, xrpl::ConfidentialTransfer_test, xrpl::ConfidentialTransferExtended_test, xrpl::Config_test, xrpl::Connect_test, xrpl::cryptoconditions::PreimageSha256_test, xrpl::Discrepancy_test, xrpl::Feature_test, xrpl::FixNFTokenPageLinks_test, xrpl::Freeze_test, xrpl::GetCounts_test, xrpl::InnerObjectFormatsParsedJSON_test, xrpl::InnerObjectFormatsSerializer_test, xrpl::Issue_test, xrpl::LedgerClosed_test, xrpl::LedgerData_test, xrpl::LedgerHeader_test, xrpl::LedgerLoad_test, xrpl::LoadFeeTrack_test, xrpl::Memo_test, xrpl::NFTokenAllFeatures_test, xrpl::NFTokenAuth_test, xrpl::NFTokenBaseUtil_test, xrpl::NFTokenBurn_test, xrpl::NFTokenDir_test, xrpl::NFTokenDisallowIncoming_test, xrpl::NfTokenWoExpiredOfferRemovalTest, xrpl::NFTokenWOMintOffer_test, xrpl::NFTokenWOModify_test, xrpl::node_store::DatabaseConfig_test, xrpl::NoRippleCheck_test, xrpl::NoRippleCheckLimits_test, xrpl::OfferStream_test, xrpl::OwnerInfo_test, xrpl::Peers_test, xrpl::PerfLog_test, xrpl::ProtocolVersion_test, xrpl::PublicKey_test, xrpl::Quality_test, xrpl::rpc::AccountLines_test, xrpl::rpc::codeString_test, xrpl::rpc::fillJson_test, xrpl::rpc::JSONRPC_test, xrpl::rpc::LedgerRequest_test, xrpl::rpc::WalletPropose_test, xrpl::SecretKey_test, xrpl::Seed_test, xrpl::SeqProxy_test, xrpl::SetRegularKey_test, xrpl::short_read_test, xrpl::SociDB_test, xrpl::STAccount_test, xrpl::STAmount_test, xrpl::STInteger_test, xrpl::STNumber_test, xrpl::STObject_test, xrpl::STParsedJSON_test, xrpl::STTx_test, xrpl::STValidation_test, xrpl::TER_test, xrpl::test::AccountDelete_test, xrpl::test::AccountInfo_test, xrpl::test::AccountObjects_test, xrpl::test::AccountOffers_test, xrpl::test::AccountTx_test, xrpl::test::AMM_test, xrpl::test::AMMCalc_test, xrpl::test::AMMClawback_test, xrpl::test::AMMClawbackMPT_test, xrpl::test::AMMExtended_test, xrpl::test::AMMExtendedMPT_test, xrpl::test::AMMInfo_test, xrpl::test::AMMMPT_test, xrpl::test::Batch_test, xrpl::test::Book_test, xrpl::test::BookChanges_test, xrpl::test::BookDirs_test, xrpl::test::ClosureCounter_test, xrpl::test::compression_test, xrpl::test::Coroutine_test, xrpl::test::Credentials_test, xrpl::test::CrossingLimits_test, xrpl::test::CrossingLimitsMPT_test, xrpl::test::CurrentThreadName_test, xrpl::test::Delegate_test, xrpl::test::DeliveredAmount_test, xrpl::test::DeliverMin_test, xrpl::test::DepositAuth_test, xrpl::test::DepositAuthorized_test, xrpl::test::DepositPreauth_test, xrpl::test::DetectCrash_test, xrpl::test::DID_test, xrpl::test::Directory_test, xrpl::test::DNS_test, xrpl::test::Env_test, xrpl::test::Escrow_test, xrpl::test::EscrowToken_test, xrpl::test::FeeVote_test, xrpl::test::FindOversizeCross_test, xrpl::test::Flow_manual_test, xrpl::test::Flow_test, xrpl::test::FlowMPT_test, xrpl::test::GatewayBalances_test, xrpl::test::GetAmendments_test, xrpl::test::GRPCServerTLS_test, xrpl::test::Handler_test, xrpl::test::handshake_test, xrpl::test::HashRouter_test, xrpl::test::Invariants_test, xrpl::test::JobQueue_test, xrpl::test::jtx::oracle::GetAggregatePrice_test, xrpl::test::jtx::oracle::Oracle_test, xrpl::test::LedgerEntry_test, xrpl::test::LedgerEntry_XChain_test, xrpl::test::LedgerHistory_test, xrpl::test::LedgerMaster_test, xrpl::test::LedgerReplay_test, xrpl::test::LedgerReplayer_test, xrpl::test::LedgerReplayerLong_test, xrpl::test::LedgerReplayerTimeout_test, xrpl::test::LedgerRPC_test, xrpl::test::LendingHelpers_test, xrpl::test::Loan_test, xrpl::test::LoanArbitrary_test, xrpl::test::LoanBatch_test, xrpl::test::LoanBroker_test, xrpl::test::LoanCashBasis_test, xrpl::test::LoanCoverFreezeAuth_test, xrpl::test::LoanInvariants_test, xrpl::test::LoanLifecycle_test, xrpl::test::LoanMisc_test, xrpl::test::LoanPay_test, xrpl::test::LoanRounding_test, xrpl::test::LoanSecurity_test, xrpl::test::LoanSet_test, xrpl::test::LoanValidation_test, xrpl::test::LPTokenTransfer_test, xrpl::test::Manifest_test, xrpl::test::ManifestRPC_test, xrpl::test::MPToken_test, xrpl::test::MultiApiJson_test, xrpl::test::MultiSign_test, xrpl::test::NegativeUNL_test, xrpl::test::NegativeUNLVoteFilterValidations_test, xrpl::test::NegativeUNLVoteGoodScore_test, xrpl::test::NegativeUNLVoteInternal_test, xrpl::test::NegativeUNLVoteMaxListed_test, xrpl::test::NegativeUNLVoteNewValidator_test, xrpl::test::NegativeUNLVoteOffline_test, xrpl::test::NegativeUNLVoteRetiredValidator_test, xrpl::test::NegativeUNLVoteScoreTable_test, xrpl::test::NetworkID_test, xrpl::test::NetworkOPs_test, xrpl::test::NoRipple_test, xrpl::test::Offer_manual_test, xrpl::test::OfferAllFeatures_test, xrpl::test::OfferBaseUtil_test, xrpl::test::OfferMPT_test, xrpl::test::OfferWOSmallQOffers_test, xrpl::test::OversizeMeta_test, xrpl::test::Path_test, xrpl::test::PathMPT_test, xrpl::test::PayChan_test, xrpl::test::PaymentSandbox_test, xrpl::test::PayStrand_test, xrpl::test::PayStrandMPT_test, xrpl::test::PendingSaves_test, xrpl::test::PermissionedDEX_test, xrpl::test::PermissionedDomains_test, xrpl::test::PlumpBook_test, xrpl::test::PseudoTx_test, xrpl::test::RCLValidations_test, xrpl::test::reduce_relay_simulate_test, xrpl::test::reduce_relay_test, xrpl::test::ReducedOffer_test, xrpl::test::Regression_test, xrpl::test::RobustTransaction_test, xrpl::test::Roles_test, xrpl::test::RPCCall_test, xrpl::test::RPCHelpers_test, xrpl::test::RPCOverload_test, xrpl::test::Server_test, xrpl::test::ServerDefinitions_test, xrpl::test::ServerInfo_test, xrpl::test::ServerStatus_test, xrpl::test::SetAuth_test, xrpl::test::SHAMapStore_test, xrpl::test::Simulate_test, xrpl::test::SkipList_test, xrpl::test::Sponsor_test, xrpl::test::SponsorTxCosigning_test, xrpl::test::SponsorTxPrefunded_test, xrpl::test::STIssue_test, xrpl::test::Submit_test, xrpl::test::Subscribe_test, xrpl::test::TheoreticalQuality_test, xrpl::test::ThinBook_test, xrpl::test::TMGetObjectByHash_test, xrpl::test::traffic_count_test, xrpl::test::Transaction_ordering_test, xrpl::test::TrustSet_test, xrpl::test::tx_reduce_relay_test, xrpl::test::TxQMetaInfo_test, xrpl::test::TxQPosNegFlows_test, xrpl::test::ValidatorInfo_test, xrpl::test::ValidatorKeys_test, xrpl::test::ValidatorList_test, xrpl::test::ValidatorRPC_test, xrpl::test::ValidatorSite_test, xrpl::test::View_test, xrpl::test::WSClient_test, xrpl::test::XChain_test, xrpl::test::XChainSim_test, xrpl::tests::cluster_test, xrpl::tests::LedgerNodeHelpers_test, xrpl::Ticket_test, xrpl::Transaction_test, xrpl::TransactionEntry_test, xrpl::TransactionHistory_test, xrpl::TrustAndBalance_test, xrpl::Vault_test, xrpl::Version_test, and xrpl::Workers_test.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
inherited |