20#include <test/jtx/flags.h>
22#include <xrpl/protocol/jss.h>
32 jv[jss::Account] = account.human();
33 jv[jss::TransactionType] = jss::AccountSet;
35 jv[jss::SetFlag] = on;
37 jv[jss::ClearFlag] = off;
47 else if (sle->isFieldPresent(sfFlags))
59 else if (sle->isFieldPresent(sfFlags))
void pass()
Record a successful test condition.
bool expect(Condition const &shouldBeTrue)
Evaluate a test condition.
void fail(String const &reason, char const *file, int line)
Record a failure.
Immutable cryptographic account descriptor.
A transaction testing environment.
beast::unit_test::suite & test
std::shared_ptr< SLE const > le(Account const &account) const
Return an account root.
void operator()(Env &env) const
void operator()(Env &env) const
Json::Value fset(Account const &account, std::uint32_t on, std::uint32_t off=0)
Add and/or remove flag.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.