xrpld
Loading...
Searching...
No Matches
xrpl::ConfidentialTransfer_test Class Reference
Inheritance diagram for xrpl::ConfidentialTransfer_test:
Collaboration diagram for xrpl::ConfidentialTransfer_test:

Public Member Functions

void run () override
 Runs the suite.
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.

Static Protected Member Functions

template<class T>
static T requireOptional (std::optional< T > value, char const *message)
template<class T>
static T const & requireOptionalRef (std::optional< T > const &value, char const *message)
static Buffer getForgedBulletproof (std::array< uint64_t, 2 > const &values, std::array< Buffer, 2 > const &blindingFactors, uint256 const &contextHash)
static Buffer const & getBadCiphertext ()
static Buffer const & getTrivialCiphertext ()
static Buffer const & getTrivialCommitment ()
static std::string getTrivialSendProofHex ()
static void setupBatchEnv (test::jtx::MPTTester &mpt, test::jtx::Account const &alice, test::jtx::Account const &bob, test::jtx::Account const &carol, test::jtx::Account const &dave, std::uint64_t bobAmt, std::uint64_t carolAmt)

Static Protected Attributes

static constexpr size_t kBulletproofOffset = kEcSendProofLength - kEcDoubleBulletproofLength

Private Member Functions

void testConvert (FeatureBitset features)
void testConvertWithAuditor (FeatureBitset features)
void testConvertPreflight (FeatureBitset features)
void testConvertInvalidProofContextBinding (FeatureBitset features)
void testSet (FeatureBitset features)
void testSetPreflight (FeatureBitset features)
void testSetPreclaim (FeatureBitset features)
void testTransferFee (FeatureBitset features)
void testConvertPreclaim (FeatureBitset features)
void testMergeInbox (FeatureBitset features)
void testMergeInboxPreflight (FeatureBitset features)
void testMergeInboxPreclaim (FeatureBitset features)
void testSend (FeatureBitset features)
void testSendWithAuditor (FeatureBitset features)
void testSendPreflight (FeatureBitset features)
void testSendPreclaim (FeatureBitset features)
void testSendRangeProof (FeatureBitset features)
void testSendZeroAmount (FeatureBitset features)
void testDelete (FeatureBitset features)
void testConvertBack (FeatureBitset features)
void testConvertBackWithAuditor (FeatureBitset features)
void testConvertBackPreflight (FeatureBitset features)
void testConvertBackPreclaim (FeatureBitset features)
void testClawback (FeatureBitset features)
void testClawbackWithAuditor (FeatureBitset features)
void testClawbackInvalidProofContextBinding (FeatureBitset features)
void testClawbackPreflight (FeatureBitset features)
void testClawbackPreclaim (FeatureBitset features)
void testClawbackProof (FeatureBitset features)
void testPublicTransfersAfterClearingConfidentialFlag (FeatureBitset features)
void testMutatePrivacy (FeatureBitset features)
void testConvertBackPedersenProof (FeatureBitset features)
void testConvertBackBulletproof (FeatureBitset features)
void testConvertBackInvalidProofContextBinding (FeatureBitset features)
void testConvertBackProofCiphertextBinding (FeatureBitset features)
void testConvertBackProofVersionMismatch (FeatureBitset features)
void testConvertBackHomomorphicCiphertextModification (FeatureBitset features)
void testSendHomomorphicOverflow (FeatureBitset features)
void testConvertBackHomomorphicUnderflow (FeatureBitset features)
void testSendInvalidCurvePoints (FeatureBitset features)
void testSendWrongGroupPointInjection (FeatureBitset features)
void testConvertIdentityElementRejection (FeatureBitset features)
void testSendWrongIssuerPublicKey (FeatureBitset features)
void testSendSharedRandomnessViolation (FeatureBitset features)
void testConfidentialMPTBaseFee (FeatureBitset features)
void testSendForgedEqualityProof (FeatureBitset features)
void testSendForgedRangeProof (FeatureBitset features)
void testSendNegativeValueMalleability (FeatureBitset features)
void testSendInvalidProofContextBinding (FeatureBitset features)
void testSendFiatShamirBinding (FeatureBitset features)
void testSendProofComponentReuse (FeatureBitset features)
void testSendSpecialWitnessValues (FeatureBitset features)
void testSendCrossStatementProofSubstitution (FeatureBitset features)
void testSendCiphertextMalleability (FeatureBitset features)
void testSendCiphertextNegation (FeatureBitset features)
void testSendCiphertextCombination (FeatureBitset features)
void testSendCiphertextRerandomization (FeatureBitset features)
void testSendZeroRandomnessCiphertext (FeatureBitset features)
void testSendRerandomizesRecipientInboxAgainstMergeCancellation (FeatureBitset features)
void testWithFeats (FeatureBitset features)
void propagateAbort () const

Static Private Member Functions

static Suite ** pThisSuite ()

Private Attributes

bool abort_ = false
bool aborted_ = false
Runner * runner_ = nullptr

Detailed Description

Definition at line 59 of file ConfidentialTransfer_test.cpp.

Member Function Documentation

◆ testConvert()

void xrpl::ConfidentialTransfer_test::testConvert ( FeatureBitset features)
private

Definition at line 62 of file ConfidentialTransfer_test.cpp.

◆ testConvertWithAuditor()

void xrpl::ConfidentialTransfer_test::testConvertWithAuditor ( FeatureBitset features)
private

Definition at line 200 of file ConfidentialTransfer_test.cpp.

◆ testConvertPreflight()

void xrpl::ConfidentialTransfer_test::testConvertPreflight ( FeatureBitset features)
private

Definition at line 256 of file ConfidentialTransfer_test.cpp.

◆ testConvertInvalidProofContextBinding()

void xrpl::ConfidentialTransfer_test::testConvertInvalidProofContextBinding ( FeatureBitset features)
private

Definition at line 510 of file ConfidentialTransfer_test.cpp.

◆ testSet()

void xrpl::ConfidentialTransfer_test::testSet ( FeatureBitset features)
private

Definition at line 579 of file ConfidentialTransfer_test.cpp.

◆ testSetPreflight()

void xrpl::ConfidentialTransfer_test::testSetPreflight ( FeatureBitset features)
private

Definition at line 658 of file ConfidentialTransfer_test.cpp.

◆ testSetPreclaim()

void xrpl::ConfidentialTransfer_test::testSetPreclaim ( FeatureBitset features)
private

Definition at line 765 of file ConfidentialTransfer_test.cpp.

◆ testTransferFee()

void xrpl::ConfidentialTransfer_test::testTransferFee ( FeatureBitset features)
private

Definition at line 936 of file ConfidentialTransfer_test.cpp.

◆ testConvertPreclaim()

void xrpl::ConfidentialTransfer_test::testConvertPreclaim ( FeatureBitset features)
private

Definition at line 1031 of file ConfidentialTransfer_test.cpp.

◆ testMergeInbox()

void xrpl::ConfidentialTransfer_test::testMergeInbox ( FeatureBitset features)
private

Definition at line 1682 of file ConfidentialTransfer_test.cpp.

◆ testMergeInboxPreflight()

void xrpl::ConfidentialTransfer_test::testMergeInboxPreflight ( FeatureBitset features)
private

Definition at line 1770 of file ConfidentialTransfer_test.cpp.

◆ testMergeInboxPreclaim()

void xrpl::ConfidentialTransfer_test::testMergeInboxPreclaim ( FeatureBitset features)
private

Definition at line 1816 of file ConfidentialTransfer_test.cpp.

◆ testSend()

void xrpl::ConfidentialTransfer_test::testSend ( FeatureBitset features)
private

Definition at line 2038 of file ConfidentialTransfer_test.cpp.

◆ testSendWithAuditor()

void xrpl::ConfidentialTransfer_test::testSendWithAuditor ( FeatureBitset features)
private

Definition at line 2078 of file ConfidentialTransfer_test.cpp.

◆ testSendPreflight()

void xrpl::ConfidentialTransfer_test::testSendPreflight ( FeatureBitset features)
private

Definition at line 2123 of file ConfidentialTransfer_test.cpp.

◆ testSendPreclaim()

void xrpl::ConfidentialTransfer_test::testSendPreclaim ( FeatureBitset features)
private

Definition at line 2413 of file ConfidentialTransfer_test.cpp.

◆ testSendRangeProof()

void xrpl::ConfidentialTransfer_test::testSendRangeProof ( FeatureBitset features)
private

Definition at line 2897 of file ConfidentialTransfer_test.cpp.

◆ testSendZeroAmount()

void xrpl::ConfidentialTransfer_test::testSendZeroAmount ( FeatureBitset features)
private

Definition at line 3008 of file ConfidentialTransfer_test.cpp.

◆ testDelete()

void xrpl::ConfidentialTransfer_test::testDelete ( FeatureBitset features)
private

Definition at line 3085 of file ConfidentialTransfer_test.cpp.

◆ testConvertBack()

void xrpl::ConfidentialTransfer_test::testConvertBack ( FeatureBitset features)
private

Definition at line 3348 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackWithAuditor()

void xrpl::ConfidentialTransfer_test::testConvertBackWithAuditor ( FeatureBitset features)
private

Definition at line 3509 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackPreflight()

void xrpl::ConfidentialTransfer_test::testConvertBackPreflight ( FeatureBitset features)
private

Definition at line 3533 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackPreclaim()

void xrpl::ConfidentialTransfer_test::testConvertBackPreclaim ( FeatureBitset features)
private

Definition at line 3658 of file ConfidentialTransfer_test.cpp.

◆ testClawback()

void xrpl::ConfidentialTransfer_test::testClawback ( FeatureBitset features)
private

Definition at line 3995 of file ConfidentialTransfer_test.cpp.

◆ testClawbackWithAuditor()

void xrpl::ConfidentialTransfer_test::testClawbackWithAuditor ( FeatureBitset features)
private

Definition at line 4113 of file ConfidentialTransfer_test.cpp.

◆ testClawbackInvalidProofContextBinding()

void xrpl::ConfidentialTransfer_test::testClawbackInvalidProofContextBinding ( FeatureBitset features)
private

Definition at line 4227 of file ConfidentialTransfer_test.cpp.

◆ testClawbackPreflight()

void xrpl::ConfidentialTransfer_test::testClawbackPreflight ( FeatureBitset features)
private

Definition at line 4313 of file ConfidentialTransfer_test.cpp.

◆ testClawbackPreclaim()

void xrpl::ConfidentialTransfer_test::testClawbackPreclaim ( FeatureBitset features)
private

Definition at line 4417 of file ConfidentialTransfer_test.cpp.

◆ testClawbackProof()

void xrpl::ConfidentialTransfer_test::testClawbackProof ( FeatureBitset features)
private

Definition at line 4746 of file ConfidentialTransfer_test.cpp.

◆ testPublicTransfersAfterClearingConfidentialFlag()

void xrpl::ConfidentialTransfer_test::testPublicTransfersAfterClearingConfidentialFlag ( FeatureBitset features)
private

Definition at line 4977 of file ConfidentialTransfer_test.cpp.

◆ testMutatePrivacy()

void xrpl::ConfidentialTransfer_test::testMutatePrivacy ( FeatureBitset features)
private

Definition at line 5085 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackPedersenProof()

void xrpl::ConfidentialTransfer_test::testConvertBackPedersenProof ( FeatureBitset features)
private

Definition at line 5253 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackBulletproof()

void xrpl::ConfidentialTransfer_test::testConvertBackBulletproof ( FeatureBitset features)
private

Definition at line 5473 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackInvalidProofContextBinding()

void xrpl::ConfidentialTransfer_test::testConvertBackInvalidProofContextBinding ( FeatureBitset features)
private

Definition at line 5634 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackProofCiphertextBinding()

void xrpl::ConfidentialTransfer_test::testConvertBackProofCiphertextBinding ( FeatureBitset features)
private

Definition at line 5737 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackProofVersionMismatch()

void xrpl::ConfidentialTransfer_test::testConvertBackProofVersionMismatch ( FeatureBitset features)
private

Definition at line 5800 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackHomomorphicCiphertextModification()

void xrpl::ConfidentialTransfer_test::testConvertBackHomomorphicCiphertextModification ( FeatureBitset features)
private

Definition at line 5876 of file ConfidentialTransfer_test.cpp.

◆ testSendHomomorphicOverflow()

void xrpl::ConfidentialTransfer_test::testSendHomomorphicOverflow ( FeatureBitset features)
private

Definition at line 5953 of file ConfidentialTransfer_test.cpp.

◆ testConvertBackHomomorphicUnderflow()

void xrpl::ConfidentialTransfer_test::testConvertBackHomomorphicUnderflow ( FeatureBitset features)
private

Definition at line 6013 of file ConfidentialTransfer_test.cpp.

◆ testSendInvalidCurvePoints()

void xrpl::ConfidentialTransfer_test::testSendInvalidCurvePoints ( FeatureBitset features)
private

Definition at line 6095 of file ConfidentialTransfer_test.cpp.

◆ testSendWrongGroupPointInjection()

void xrpl::ConfidentialTransfer_test::testSendWrongGroupPointInjection ( FeatureBitset features)
private

Definition at line 6302 of file ConfidentialTransfer_test.cpp.

◆ testConvertIdentityElementRejection()

void xrpl::ConfidentialTransfer_test::testConvertIdentityElementRejection ( FeatureBitset features)
private

Definition at line 6410 of file ConfidentialTransfer_test.cpp.

◆ testSendWrongIssuerPublicKey()

void xrpl::ConfidentialTransfer_test::testSendWrongIssuerPublicKey ( FeatureBitset features)
private

Definition at line 6487 of file ConfidentialTransfer_test.cpp.

◆ testSendSharedRandomnessViolation()

void xrpl::ConfidentialTransfer_test::testSendSharedRandomnessViolation ( FeatureBitset features)
private

Definition at line 6544 of file ConfidentialTransfer_test.cpp.

◆ testConfidentialMPTBaseFee()

void xrpl::ConfidentialTransfer_test::testConfidentialMPTBaseFee ( FeatureBitset features)
private

Definition at line 6648 of file ConfidentialTransfer_test.cpp.

◆ testSendForgedEqualityProof()

void xrpl::ConfidentialTransfer_test::testSendForgedEqualityProof ( FeatureBitset features)
private

Definition at line 6768 of file ConfidentialTransfer_test.cpp.

◆ testSendForgedRangeProof()

void xrpl::ConfidentialTransfer_test::testSendForgedRangeProof ( FeatureBitset features)
private

Definition at line 6834 of file ConfidentialTransfer_test.cpp.

◆ testSendNegativeValueMalleability()

void xrpl::ConfidentialTransfer_test::testSendNegativeValueMalleability ( FeatureBitset features)
private

Definition at line 6902 of file ConfidentialTransfer_test.cpp.

◆ testSendInvalidProofContextBinding()

void xrpl::ConfidentialTransfer_test::testSendInvalidProofContextBinding ( FeatureBitset features)
private

Definition at line 6960 of file ConfidentialTransfer_test.cpp.

◆ testSendFiatShamirBinding()

void xrpl::ConfidentialTransfer_test::testSendFiatShamirBinding ( FeatureBitset features)
private

Definition at line 7063 of file ConfidentialTransfer_test.cpp.

◆ testSendProofComponentReuse()

void xrpl::ConfidentialTransfer_test::testSendProofComponentReuse ( FeatureBitset features)
private

Definition at line 7124 of file ConfidentialTransfer_test.cpp.

◆ testSendSpecialWitnessValues()

void xrpl::ConfidentialTransfer_test::testSendSpecialWitnessValues ( FeatureBitset features)
private

Definition at line 7180 of file ConfidentialTransfer_test.cpp.

◆ testSendCrossStatementProofSubstitution()

void xrpl::ConfidentialTransfer_test::testSendCrossStatementProofSubstitution ( FeatureBitset features)
private

Definition at line 7284 of file ConfidentialTransfer_test.cpp.

◆ testSendCiphertextMalleability()

void xrpl::ConfidentialTransfer_test::testSendCiphertextMalleability ( FeatureBitset features)
private

Definition at line 7405 of file ConfidentialTransfer_test.cpp.

◆ testSendCiphertextNegation()

void xrpl::ConfidentialTransfer_test::testSendCiphertextNegation ( FeatureBitset features)
private

Definition at line 7503 of file ConfidentialTransfer_test.cpp.

◆ testSendCiphertextCombination()

void xrpl::ConfidentialTransfer_test::testSendCiphertextCombination ( FeatureBitset features)
private

Definition at line 7607 of file ConfidentialTransfer_test.cpp.

◆ testSendCiphertextRerandomization()

void xrpl::ConfidentialTransfer_test::testSendCiphertextRerandomization ( FeatureBitset features)
private

Definition at line 7719 of file ConfidentialTransfer_test.cpp.

◆ testSendZeroRandomnessCiphertext()

void xrpl::ConfidentialTransfer_test::testSendZeroRandomnessCiphertext ( FeatureBitset features)
private

Definition at line 7813 of file ConfidentialTransfer_test.cpp.

◆ testSendRerandomizesRecipientInboxAgainstMergeCancellation()

void xrpl::ConfidentialTransfer_test::testSendRerandomizesRecipientInboxAgainstMergeCancellation ( FeatureBitset features)
private

Definition at line 7934 of file ConfidentialTransfer_test.cpp.

◆ testWithFeats()

void xrpl::ConfidentialTransfer_test::testWithFeats ( FeatureBitset features)
private

Definition at line 8102 of file ConfidentialTransfer_test.cpp.

◆ run()

void xrpl::ConfidentialTransfer_test::run ( )
overridevirtual

Runs the suite.

Implements beast::unit_test::Suite.

Definition at line 8197 of file ConfidentialTransfer_test.cpp.

◆ requireOptional()

template<class T>
T xrpl::ConfidentialTransferTestBase::requireOptional ( std::optional< T > value,
char const * message )
staticprotectedinherited

Definition at line 63 of file src/test/jtx/ConfidentialTransfer.h.

◆ requireOptionalRef()

template<class T>
T const & xrpl::ConfidentialTransferTestBase::requireOptionalRef ( std::optional< T > const & value,
char const * message )
staticprotectedinherited

Definition at line 72 of file src/test/jtx/ConfidentialTransfer.h.

◆ getForgedBulletproof()

Buffer xrpl::ConfidentialTransferTestBase::getForgedBulletproof ( std::array< uint64_t, 2 > const & values,
std::array< Buffer, 2 > const & blindingFactors,
uint256 const & contextHash )
staticprotectedinherited

Definition at line 88 of file src/test/jtx/ConfidentialTransfer.h.

◆ getBadCiphertext()

Buffer const & xrpl::ConfidentialTransferTestBase::getBadCiphertext ( )
staticprotectedinherited

Definition at line 122 of file src/test/jtx/ConfidentialTransfer.h.

◆ getTrivialCiphertext()

Buffer const & xrpl::ConfidentialTransferTestBase::getTrivialCiphertext ( )
staticprotectedinherited

Definition at line 140 of file src/test/jtx/ConfidentialTransfer.h.

◆ getTrivialCommitment()

Buffer const & xrpl::ConfidentialTransferTestBase::getTrivialCommitment ( )
staticprotectedinherited

Definition at line 161 of file src/test/jtx/ConfidentialTransfer.h.

◆ getTrivialSendProofHex()

std::string xrpl::ConfidentialTransferTestBase::getTrivialSendProofHex ( )
staticprotectedinherited

Definition at line 178 of file src/test/jtx/ConfidentialTransfer.h.

◆ setupBatchEnv()

void xrpl::ConfidentialTransferTestBase::setupBatchEnv ( test::jtx::MPTTester & mpt,
test::jtx::Account const & alice,
test::jtx::Account const & bob,
test::jtx::Account const & carol,
test::jtx::Account const & dave,
std::uint64_t bobAmt,
std::uint64_t carolAmt )
staticprotectedinherited

Definition at line 418 of file src/test/jtx/ConfidentialTransfer.h.

◆ thisSuite()

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

Returns the "current" running suite.

If no suite is running, nullptr is returned.

Definition at line 155 of file suite.h.

◆ operator()()

template<class>
void beast::unit_test::Suite::operator() ( Runner & r)
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.

Definition at line 388 of file suite.h.

◆ pass()

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

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 )
inherited

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 = "")
inherited

Definition at line 509 of file suite.h.

◆ expect() [1/4]

template<class Condition>
bool beast::unit_test::Suite::expect ( Condition const & shouldBeTrue)
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.

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 )
inherited

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 )
inherited

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 )
inherited

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 )
inherited

Definition at line 433 of file suite.h.

◆ except() [2/4]

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

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 )
inherited

Definition at line 450 of file suite.h.

◆ except() [4/4]

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

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 )
inherited

Definition at line 467 of file suite.h.

◆ unexcept() [2/2]

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

Definition at line 271 of file suite.h.

◆ arg()

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

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 )
inherited

Definition at line 484 of file suite.h.

◆ unexpected() [2/2]

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

Definition at line 291 of file suite.h.

◆ pThisSuite()

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

Definition at line 300 of file suite.h.

◆ propagateAbort()

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

Definition at line 528 of file suite.h.

Member Data Documentation

◆ kBulletproofOffset

size_t xrpl::ConfidentialTransferTestBase::kBulletproofOffset = kEcSendProofLength - kEcDoubleBulletproofLength
staticconstexprprotectedinherited

Definition at line 81 of file src/test/jtx/ConfidentialTransfer.h.

◆ abort_

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

Definition at line 52 of file suite.h.

◆ aborted_

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

Definition at line 53 of file suite.h.

◆ runner_

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

Definition at line 54 of file suite.h.

◆ log

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

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
inherited

Memberspace for declaring test cases.

Definition at line 149 of file suite.h.