rippled
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ripple::NFToken_test Class Reference
Inheritance diagram for ripple::NFToken_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::NFToken_test:
Collaboration graph
[legend]

Public Member Functions

void run () override
 

Private Member Functions

std::uint32_t lastClose (test::jtx::Env &env)
 
void testEnabled (FeatureBitset features)
 
void testMintReserve (FeatureBitset features)
 
void testMintMaxTokens (FeatureBitset features)
 
void testMintInvalid (FeatureBitset features)
 
void testBurnInvalid (FeatureBitset features)
 
void testCreateOfferInvalid (FeatureBitset features)
 
void testCancelOfferInvalid (FeatureBitset features)
 
void testAcceptOfferInvalid (FeatureBitset features)
 
void testMintFlagBurnable (FeatureBitset features)
 
void testMintFlagOnlyXRP (FeatureBitset features)
 
void testMintFlagCreateTrustLine (FeatureBitset features)
 
void testMintFlagTransferable (FeatureBitset features)
 
void testMintTransferFee (FeatureBitset features)
 
void testMintTaxon (FeatureBitset features)
 
void testMintURI (FeatureBitset features)
 
void testCreateOfferDestination (FeatureBitset features)
 
void testCreateOfferDestinationDisallowIncoming (FeatureBitset features)
 
void testCreateOfferExpiration (FeatureBitset features)
 
void testCancelOffers (FeatureBitset features)
 
void testCancelTooManyOffers (FeatureBitset features)
 
void testBrokeredAccept (FeatureBitset features)
 
void testNFTokenOfferOwner (FeatureBitset features)
 
void testNFTokenWithTickets (FeatureBitset features)
 
void testNFTokenDeleteAccount (FeatureBitset features)
 
void testNftXxxOffers (FeatureBitset features)
 
void testFixNFTokenNegOffer (FeatureBitset features)
 
void testIOUWithTransferFee (FeatureBitset features)
 
void testBrokeredSaleToSelf (FeatureBitset features)
 
void testWithFeats (FeatureBitset features)
 

Static Private Member Functions

static std::uint32_t ownerCount (test::jtx::Env const &env, test::jtx::Account const &acct)
 
static std::uint32_t mintedCount (test::jtx::Env const &env, test::jtx::Account const &issuer)
 
static std::uint32_t burnedCount (test::jtx::Env const &env, test::jtx::Account const &issuer)
 
static std::uint32_t nftCount (test::jtx::Env &env, test::jtx::Account const &acct)
 
static std::uint32_t ticketCount (test::jtx::Env const &env, test::jtx::Account const &acct)
 

Private Attributes

const FeatureBitset disallowIncoming {featureDisallowIncoming}
 

Detailed Description

Definition at line 30 of file NFToken_test.cpp.

Member Function Documentation

◆ ownerCount()

static std::uint32_t ripple::NFToken_test::ownerCount ( test::jtx::Env const &  env,
test::jtx::Account const &  acct 
)
staticprivate

Definition at line 36 of file NFToken_test.cpp.

◆ mintedCount()

static std::uint32_t ripple::NFToken_test::mintedCount ( test::jtx::Env const &  env,
test::jtx::Account const &  issuer 
)
staticprivate

Definition at line 46 of file NFToken_test.cpp.

◆ burnedCount()

static std::uint32_t ripple::NFToken_test::burnedCount ( test::jtx::Env const &  env,
test::jtx::Account const &  issuer 
)
staticprivate

Definition at line 56 of file NFToken_test.cpp.

◆ nftCount()

static std::uint32_t ripple::NFToken_test::nftCount ( test::jtx::Env env,
test::jtx::Account const &  acct 
)
staticprivate

Definition at line 66 of file NFToken_test.cpp.

◆ ticketCount()

static std::uint32_t ripple::NFToken_test::ticketCount ( test::jtx::Env const &  env,
test::jtx::Account const &  acct 
)
staticprivate

Definition at line 77 of file NFToken_test.cpp.

◆ lastClose()

std::uint32_t ripple::NFToken_test::lastClose ( test::jtx::Env env)
private

Definition at line 87 of file NFToken_test.cpp.

◆ testEnabled()

void ripple::NFToken_test::testEnabled ( FeatureBitset  features)
private

Definition at line 93 of file NFToken_test.cpp.

◆ testMintReserve()

void ripple::NFToken_test::testMintReserve ( FeatureBitset  features)
private

Definition at line 206 of file NFToken_test.cpp.

◆ testMintMaxTokens()

void ripple::NFToken_test::testMintMaxTokens ( FeatureBitset  features)
private

Definition at line 447 of file NFToken_test.cpp.

◆ testMintInvalid()

void ripple::NFToken_test::testMintInvalid ( FeatureBitset  features)
private

Definition at line 502 of file NFToken_test.cpp.

◆ testBurnInvalid()

void ripple::NFToken_test::testBurnInvalid ( FeatureBitset  features)
private

Definition at line 578 of file NFToken_test.cpp.

◆ testCreateOfferInvalid()

void ripple::NFToken_test::testCreateOfferInvalid ( FeatureBitset  features)
private

Definition at line 638 of file NFToken_test.cpp.

◆ testCancelOfferInvalid()

void ripple::NFToken_test::testCancelOfferInvalid ( FeatureBitset  features)
private

Definition at line 888 of file NFToken_test.cpp.

◆ testAcceptOfferInvalid()

void ripple::NFToken_test::testAcceptOfferInvalid ( FeatureBitset  features)
private

Definition at line 1008 of file NFToken_test.cpp.

◆ testMintFlagBurnable()

void ripple::NFToken_test::testMintFlagBurnable ( FeatureBitset  features)
private

Definition at line 1372 of file NFToken_test.cpp.

◆ testMintFlagOnlyXRP()

void ripple::NFToken_test::testMintFlagOnlyXRP ( FeatureBitset  features)
private

Definition at line 1490 of file NFToken_test.cpp.

◆ testMintFlagCreateTrustLine()

void ripple::NFToken_test::testMintFlagCreateTrustLine ( FeatureBitset  features)
private

Definition at line 1584 of file NFToken_test.cpp.

◆ testMintFlagTransferable()

void ripple::NFToken_test::testMintFlagTransferable ( FeatureBitset  features)
private

Definition at line 1776 of file NFToken_test.cpp.

◆ testMintTransferFee()

void ripple::NFToken_test::testMintTransferFee ( FeatureBitset  features)
private

Definition at line 2066 of file NFToken_test.cpp.

◆ testMintTaxon()

void ripple::NFToken_test::testMintTaxon ( FeatureBitset  features)
private

Definition at line 2503 of file NFToken_test.cpp.

◆ testMintURI()

void ripple::NFToken_test::testMintURI ( FeatureBitset  features)
private

Definition at line 2576 of file NFToken_test.cpp.

◆ testCreateOfferDestination()

void ripple::NFToken_test::testCreateOfferDestination ( FeatureBitset  features)
private

Definition at line 2686 of file NFToken_test.cpp.

◆ testCreateOfferDestinationDisallowIncoming()

void ripple::NFToken_test::testCreateOfferDestinationDisallowIncoming ( FeatureBitset  features)
private

Definition at line 3020 of file NFToken_test.cpp.

◆ testCreateOfferExpiration()

void ripple::NFToken_test::testCreateOfferExpiration ( FeatureBitset  features)
private

Definition at line 3149 of file NFToken_test.cpp.

◆ testCancelOffers()

void ripple::NFToken_test::testCancelOffers ( FeatureBitset  features)
private

Definition at line 3623 of file NFToken_test.cpp.

◆ testCancelTooManyOffers()

void ripple::NFToken_test::testCancelTooManyOffers ( FeatureBitset  features)
private

Definition at line 3737 of file NFToken_test.cpp.

◆ testBrokeredAccept()

void ripple::NFToken_test::testBrokeredAccept ( FeatureBitset  features)
private

Definition at line 3856 of file NFToken_test.cpp.

◆ testNFTokenOfferOwner()

void ripple::NFToken_test::testNFTokenOfferOwner ( FeatureBitset  features)
private

Definition at line 4448 of file NFToken_test.cpp.

◆ testNFTokenWithTickets()

void ripple::NFToken_test::testNFTokenWithTickets ( FeatureBitset  features)
private

Definition at line 4529 of file NFToken_test.cpp.

◆ testNFTokenDeleteAccount()

void ripple::NFToken_test::testNFTokenDeleteAccount ( FeatureBitset  features)
private

Definition at line 4615 of file NFToken_test.cpp.

◆ testNftXxxOffers()

void ripple::NFToken_test::testNftXxxOffers ( FeatureBitset  features)
private

Definition at line 4708 of file NFToken_test.cpp.

◆ testFixNFTokenNegOffer()

void ripple::NFToken_test::testFixNFTokenNegOffer ( FeatureBitset  features)
private

Definition at line 4937 of file NFToken_test.cpp.

◆ testIOUWithTransferFee()

void ripple::NFToken_test::testIOUWithTransferFee ( FeatureBitset  features)
private

Definition at line 5181 of file NFToken_test.cpp.

◆ testBrokeredSaleToSelf()

void ripple::NFToken_test::testBrokeredSaleToSelf ( FeatureBitset  features)
private

Definition at line 5933 of file NFToken_test.cpp.

◆ testWithFeats()

void ripple::NFToken_test::testWithFeats ( FeatureBitset  features)
private

Definition at line 6042 of file NFToken_test.cpp.

◆ run()

void ripple::NFToken_test::run ( )
override

Definition at line 6076 of file NFToken_test.cpp.

Member Data Documentation

◆ disallowIncoming

const FeatureBitset ripple::NFToken_test::disallowIncoming {featureDisallowIncoming}
private

Definition at line 32 of file NFToken_test.cpp.