xrpld
Loading...
Searching...
No Matches
beast::unit_test::Suite Class Referenceabstract

A testsuite class. More...

#include <suite.h>

Inherited by beast::AgedAssociativeContainerTestBase, beast::BasicSecondsClock_test, beast::IP::IPEndpoint_test, beast::Journal_test, beast::LexicalCast_test, beast::PropertyStream_test, beast::SemanticVersion_test, beast::XXHasher_test, beast::Zero_test, beast::abstract_clock_test, beast::unit_test::print_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::CheckMPT_test, xrpl::Check_test, xrpl::ClawbackMPT_test, xrpl::Clawback_test, xrpl::ConfidentialTransferTestBase, xrpl::Connect_test, xrpl::Discrepancy_test, xrpl::Feature_test, xrpl::FileUtilities_test, xrpl::FixNFTokenPageLinks_test, xrpl::Freeze_test, xrpl::GetCounts_test, xrpl::Hooks_test, xrpl::IOUAmount_test, xrpl::InnerObjectFormatsParsedJSON_test, xrpl::InnerObjectFormatsSerializer_test, xrpl::Issue_test, xrpl::KeyCache_test, xrpl::LedgerClosed_test, xrpl::LedgerData_test, xrpl::LedgerHeader_test, xrpl::LedgerLoad_test, xrpl::LoadFeeTrack_test, xrpl::Memo_test, xrpl::NFTokenAuth_test, xrpl::NFTokenBaseUtil_test, xrpl::NFTokenBurn_test, xrpl::NFTokenDir_test, xrpl::NoRippleCheckLimits_test, xrpl::NoRippleCheck_test, xrpl::NodeStore::TestBase, xrpl::NodeStore::Timing_test, xrpl::NodeStore::tests::varint_test, xrpl::Number_test, xrpl::OfferStream_test, xrpl::OwnerInfo_test, xrpl::PeerFinder::Livecache_test, xrpl::PeerFinder::PeerFinder_test, xrpl::Peers_test, xrpl::PerfLog_test, xrpl::ProtocolVersion_test, xrpl::PublicKey_test, xrpl::Quality_test, xrpl::RPC::AccountLines_test, xrpl::RPC::JSONRPC_test, xrpl::RPC::LedgerRequest_test, xrpl::RPC::codeString_test, xrpl::RPC::fillJson_test, xrpl::Resource::ResourceManager_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::SecretKey_test, xrpl::Seed_test, xrpl::SeqProxy_test, xrpl::Serializer_test, xrpl::SetRegularKey_test, xrpl::StringUtilities_test, xrpl::TER_test, xrpl::TaggedCache_test, xrpl::TestSuite, xrpl::Ticket_test, xrpl::TransactionEntry_test, xrpl::TransactionHistory_test, xrpl::Transaction_test, xrpl::TrustAndBalance_test, xrpl::Vault_test, xrpl::Version_test, xrpl::Workers_test, xrpl::XRPAmount_test, xrpl::cryptoconditions::PreimageSha256_test, xrpl::hardened_hash_test, xrpl::short_read_test, xrpl::test::AMMCalc_test, xrpl::test::AMMClawbackMPT_test, xrpl::test::AMMClawback_test, xrpl::test::AccountDelete_test, xrpl::test::AccountInfo_test, xrpl::test::AccountObjects_test, xrpl::test::AccountOffers_test, xrpl::test::AccountTx_test, xrpl::test::ApiVersion_test, xrpl::test::BasicNetwork_test, xrpl::test::Batch_test, xrpl::test::BookChanges_test, xrpl::test::BookDirs_test, xrpl::test::Book_test, xrpl::test::Buffer_test, xrpl::test::ByzantineFailureSim_test, xrpl::test::ClosureCounter_test, xrpl::test::Consensus_test, xrpl::test::Coroutine_test, xrpl::test::Credentials_test, xrpl::test::CrossingLimitsMPT_test, xrpl::test::CrossingLimits_test, xrpl::test::CurrentThreadName_test, xrpl::test::DID_test, xrpl::test::DNS_test, xrpl::test::Delegate_test, xrpl::test::DeliverMin_test, xrpl::test::DeliveredAmount_test, xrpl::test::DepositAuth_test, xrpl::test::DepositAuthorized_test, xrpl::test::DepositPreauth_test, xrpl::test::DetectCrash_test, xrpl::test::Digraph_test, xrpl::test::Directory_test, xrpl::test::DistributedValidators_test, xrpl::test::Env_test, xrpl::test::EscrowToken_test, xrpl::test::Escrow_test, xrpl::test::FeeVote_test, xrpl::test::FindOversizeCross_test, xrpl::test::FlowMPT_test, xrpl::test::Flow_test, xrpl::test::GRPCServerTLS_test, xrpl::test::GatewayBalances_test, xrpl::test::GetAmendments_test, xrpl::test::Handler_test, xrpl::test::HashRouter_test, xrpl::test::Histogram_test, xrpl::test::Invariants_test, xrpl::test::JobQueue_test, xrpl::test::LedgerEntry_XChain_test, xrpl::test::LedgerEntry_test, xrpl::test::LedgerHistory_test, xrpl::test::LedgerMaster_test, xrpl::test::LedgerRPC_test, xrpl::test::LedgerReplay_test, xrpl::test::LedgerReplayerLong_test, xrpl::test::LedgerReplayerTimeout_test, xrpl::test::LedgerReplayer_test, xrpl::test::LedgerTiming_test, xrpl::test::LedgerTrie_test, xrpl::test::LendingHelpers_test, xrpl::test::LoanBroker_test, xrpl::test::Loan_test, xrpl::test::MPToken_test, xrpl::test::ManifestRPC_test, xrpl::test::Manifest_test, xrpl::test::MultiApiJson_test, xrpl::test::MultiSign_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::NegativeUNL_test, xrpl::test::NetworkID_test, xrpl::test::NetworkOPs_test, xrpl::test::NoRipple_test, xrpl::test::OfferBaseUtil_test, xrpl::test::OfferMPT_test, xrpl::test::OversizeMeta_test, xrpl::test::PathMPT_test, xrpl::test::Path_test, xrpl::test::PayChan_test, xrpl::test::PayStrandMPT_test, xrpl::test::PayStrand_test, xrpl::test::PaymentSandbox_test, xrpl::test::PendingSaves_test, xrpl::test::PermissionedDEX_test, xrpl::test::PermissionedDomains_test, xrpl::test::PlumpBook_test, xrpl::test::PseudoTx_test, xrpl::test::RCLCensorshipDetector_test, xrpl::test::RCLValidations_test, xrpl::test::RPCCall_test, xrpl::test::RPCHelpers_test, xrpl::test::RPCOverload_test, xrpl::test::ReducedOffer_test, xrpl::test::Regression_test, xrpl::test::RobustTransaction_test, xrpl::test::Roles_test, xrpl::test::SHAMapStore_test, xrpl::test::STIssue_test, xrpl::test::ScaleFreeSim_test, xrpl::test::Scheduler_test, xrpl::test::ServerDefinitions_test, xrpl::test::ServerInfo_test, xrpl::test::ServerStatus_test, xrpl::test::Server_test, xrpl::test::SetAuth_test, xrpl::test::Simulate_test, xrpl::test::SkipList_test, xrpl::test::Submit_test, xrpl::test::Subscribe_test, xrpl::test::TMGetObjectByHash_test, xrpl::test::TheoreticalQuality_test, xrpl::test::Transaction_ordering_test, xrpl::test::TrustSet_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::XChainSim_test, xrpl::test::XChain_test, xrpl::test::base_uint_test, xrpl::test::compression_test, xrpl::test::csf::Validations_test, xrpl::test::handshake_test, xrpl::test::join_test, xrpl::test::jtx::AMMTestBase, xrpl::test::jtx::oracle::GetAggregatePrice_test, xrpl::test::jtx::oracle::Oracle_test, xrpl::test::reduce_relay_test, xrpl::test::traffic_count_test, xrpl::test::tx_reduce_relay_test, xrpl::test::units_test, xrpl::tests::FetchPack_test, xrpl::tests::IntrusiveShared_test, xrpl::tests::SHAMapPathProof_test, xrpl::tests::SHAMapSync_test, and xrpl::tests::SHAMap_test.

Collaboration diagram for beast::unit_test::Suite:

Classes

struct  AbortException
class  LogBuf
class  LogOs
class  TestcaseT
class  ScopedTestcase

Public Member Functions

 Suite ()
virtual ~Suite ()=default
 Suite (Suite const &)=delete
Suiteoperator= (Suite const &)=delete
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 SuitethisSuite ()
 Returns the "current" running suite.

Public Attributes

LogOs< char > log
 Logging output stream.
TestcaseT testcase
 Memberspace for declaring test cases.

Private Member Functions

virtual void run ()=0
 Runs the suite.
void propagateAbort () const
template<class = void>
void run (Runner &r)

Static Private Member Functions

static Suite ** pThisSuite ()

Private Attributes

bool abort_ = false
bool aborted_ = false
Runnerrunner_ = nullptr

Friends

class Thread

Detailed Description

A testsuite class.

Derived classes execute a series of testcases, where each testcase is a series of pass/fail tests. To provide a unit test using this class, derive from it and use the BEAST_DEFINE_UNIT_TEST macro in a translation unit.

Definition at line 49 of file suite.h.

Constructor & Destructor Documentation

◆ Suite() [1/2]

beast::unit_test::Suite::Suite ( )

Definition at line 160 of file suite.h.

◆ ~Suite()

virtual beast::unit_test::Suite::~Suite ( )
virtualdefault

◆ Suite() [2/2]

beast::unit_test::Suite::Suite ( Suite const & )
delete

Member Function Documentation

◆ thisSuite()

Suite * beast::unit_test::Suite::thisSuite ( )
static

Returns the "current" running suite.

If no suite is running, nullptr is returned.

Definition at line 155 of file suite.h.

◆ operator=()

Suite & beast::unit_test::Suite::operator= ( Suite const & )
delete

◆ operator()()

template<class>
void beast::unit_test::Suite::operator() ( Runner & r)

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.

Definition at line 388 of file suite.h.

◆ pass()

template<class>
void beast::unit_test::Suite::pass ( )

Record a successful test condition.

Definition at line 500 of file suite.h.

◆ fail() [1/2]

template<class String>
void beast::unit_test::Suite::fail ( String const & reason,
char const * file,
int line )

Record a failure.

Parameters
reasonOptional text added to the output on a failure.
fileThe source code file where the test failed.
lineThe source code line number where the test failed.

Definition at line 522 of file suite.h.

◆ fail() [2/2]

template<class>
void beast::unit_test::Suite::fail ( std::string const & reason = "")

Definition at line 509 of file suite.h.

◆ expect() [1/4]

template<class Condition>
bool beast::unit_test::Suite::expect ( Condition const & shouldBeTrue)

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.

Parameters
shouldBeTrueThe condition to test. The condition is evaluated in a boolean context.
reasonOptional added text to output on a failure.
fileThe source code file where the test failed.
lineThe source code line number where the test failed.
Returns
true if the test condition indicates success.

Definition at line 223 of file suite.h.

◆ expect() [2/4]

template<class Condition, class String>
bool beast::unit_test::Suite::expect ( Condition const & shouldBeTrue,
String const & reason )

Definition at line 405 of file suite.h.

◆ expect() [3/4]

template<class Condition>
bool beast::unit_test::Suite::expect ( Condition const & shouldBeTrue,
char const * file,
int line )

Definition at line 234 of file suite.h.

◆ expect() [4/4]

template<class Condition, class String>
bool beast::unit_test::Suite::expect ( Condition const & shouldBeTrue,
String const & reason,
char const * file,
int line )

Definition at line 418 of file suite.h.

◆ except() [1/4]

template<class F, class String>
bool beast::unit_test::Suite::except ( F && f,
String const & reason )

Definition at line 433 of file suite.h.

◆ except() [2/4]

template<class F>
bool beast::unit_test::Suite::except ( F && f)

Definition at line 253 of file suite.h.

◆ except() [3/4]

template<class E, class F, class String>
bool beast::unit_test::Suite::except ( F && f,
String const & reason )

Definition at line 450 of file suite.h.

◆ except() [4/4]

template<class E, class F>
bool beast::unit_test::Suite::except ( F && f)

Definition at line 262 of file suite.h.

◆ unexcept() [1/2]

template<class F, class String>
bool beast::unit_test::Suite::unexcept ( F && f,
String const & reason )

Definition at line 467 of file suite.h.

◆ unexcept() [2/2]

template<class F>
bool beast::unit_test::Suite::unexcept ( F && f)

Definition at line 271 of file suite.h.

◆ arg()

std::string const & beast::unit_test::Suite::arg ( ) const

Return the argument associated with the runner.

Definition at line 278 of file suite.h.

◆ unexpected() [1/2]

template<class Condition, class String>
bool beast::unit_test::Suite::unexpected ( Condition shouldBeFalse,
String const & reason )

Definition at line 484 of file suite.h.

◆ unexpected() [2/2]

template<class Condition>
bool beast::unit_test::Suite::unexpected ( Condition shouldBeFalse)

Definition at line 291 of file suite.h.

◆ pThisSuite()

Suite ** beast::unit_test::Suite::pThisSuite ( )
staticprivate

Definition at line 300 of file suite.h.

◆ run() [1/2]

virtual void beast::unit_test::Suite::run ( )
privatepure virtual

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::LexicalCast_test, beast::PropertyStream_test, beast::SemanticVersion_test, beast::unit_test::print_test, beast::XXHasher_test, beast::Zero_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::FileUtilities_test, xrpl::FixNFTokenPageLinks_test, xrpl::Freeze_test, xrpl::GetCounts_test, xrpl::hardened_hash_test, xrpl::Hooks_test, xrpl::InnerObjectFormatsParsedJSON_test, xrpl::InnerObjectFormatsSerializer_test, xrpl::IOUAmount_test, xrpl::Issue_test, xrpl::KeyCache_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::NodeStore::Backend_test, xrpl::NodeStore::Database_test, xrpl::NodeStore::NodeStoreBasic_test, xrpl::NodeStore::NuDBFactory_test, xrpl::NodeStore::tests::varint_test, xrpl::NodeStore::Timing_test, xrpl::NoRippleCheck_test, xrpl::NoRippleCheckLimits_test, xrpl::Number_test, xrpl::OfferStream_test, xrpl::OwnerInfo_test, xrpl::PeerFinder::Livecache_test, xrpl::PeerFinder::PeerFinder_test, xrpl::Peers_test, xrpl::PerfLog_test, xrpl::ProtocolVersion_test, xrpl::PublicKey_test, xrpl::Quality_test, xrpl::Resource::ResourceManager_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::Serializer_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::StringUtilities_test, xrpl::STTx_test, xrpl::STValidation_test, xrpl::TaggedCache_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::ApiVersion_test, xrpl::test::base_uint_test, xrpl::test::BasicNetwork_test, xrpl::test::Batch_test, xrpl::test::Book_test, xrpl::test::BookChanges_test, xrpl::test::BookDirs_test, xrpl::test::Buffer_test, xrpl::test::ByzantineFailureSim_test, xrpl::test::ClosureCounter_test, xrpl::test::compression_test, xrpl::test::Consensus_test, xrpl::test::Coroutine_test, xrpl::test::Credentials_test, xrpl::test::CrossingLimits_test, xrpl::test::CrossingLimitsMPT_test, xrpl::test::csf::Validations_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::Digraph_test, xrpl::test::Directory_test, xrpl::test::DistributedValidators_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::Histogram_test, xrpl::test::Invariants_test, xrpl::test::JobQueue_test, xrpl::test::join_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::LedgerTiming_test, xrpl::test::LedgerTrie_test, xrpl::test::LendingHelpers_test, xrpl::test::Loan_test, xrpl::test::LoanArbitrary_test, xrpl::test::LoanBatch_test, xrpl::test::LoanBroker_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::RCLCensorshipDetector_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::ScaleFreeSim_test, xrpl::test::Scheduler_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::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::units_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::FetchPack_test, xrpl::tests::IntrusiveShared_test, xrpl::tests::SHAMap_test, xrpl::tests::SHAMapPathProof_test, xrpl::tests::SHAMapSync_test, xrpl::Ticket_test, xrpl::Transaction_test, xrpl::TransactionEntry_test, xrpl::TransactionHistory_test, xrpl::TrustAndBalance_test, xrpl::Vault_test, xrpl::Version_test, xrpl::Workers_test, and xrpl::XRPAmount_test.

◆ propagateAbort()

void beast::unit_test::Suite::propagateAbort ( ) const
private

Definition at line 528 of file suite.h.

◆ run() [2/2]

template<class>
void beast::unit_test::Suite::run ( Runner & r)
private

Definition at line 536 of file suite.h.

◆ Thread

friend class Thread
friend

Definition at line 297 of file suite.h.

Member Data Documentation

◆ abort_

bool beast::unit_test::Suite::abort_ = false
private

Definition at line 52 of file suite.h.

◆ aborted_

bool beast::unit_test::Suite::aborted_ = false
private

Definition at line 53 of file suite.h.

◆ runner_

Runner* beast::unit_test::Suite::runner_ = nullptr
private

Definition at line 54 of file suite.h.

◆ log

LogOs<char> beast::unit_test::Suite::log

Logging output stream.

Text sent to the log output stream will be forwarded to the output stream associated with the runner.

Definition at line 146 of file suite.h.

◆ testcase

TestcaseT beast::unit_test::Suite::testcase

Memberspace for declaring test cases.

Definition at line 149 of file suite.h.