20 #ifndef RIPPLE_TEST_JTX_OWNERS_H_INCLUDED
21 #define RIPPLE_TEST_JTX_OWNERS_H_INCLUDED
23 #include <ripple/ledger/View.h>
24 #include <ripple/protocol/LedgerFormats.h>
25 #include <ripple/protocol/UintTypes.h>
27 #include <test/jtx/Env.h>
48 template <LedgerEntryType Type>
std::uint32_t owned_count_of(ReadView const &view, AccountID const &id, LedgerEntryType type)
Match the number of items in the account's owner directory.
void operator()(Env &env) const
void owned_count_helper(Env &env, AccountID const &id, LedgerEntryType type, std::uint32_t value)
owner_count(Account const &account, std::uint32_t value)
AccountID id() const
Returns the Account ID.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
LedgerEntryType
Identifiers for on-ledger objects.
Immutable cryptographic account descriptor.
void operator()(Env &env) const
owners(Account const &account, std::uint32_t value)
A transaction testing environment.