4#include <test/jtx/CaptureLogs.h>
5#include <test/jtx/Env.h>
7#include <xrpld/app/misc/HashRouter.h>
26 testcase(
"No valid transactions in batch");
32 auto const alice =
Account{
"alice"};
43 auto transacionId = jtx.stx->getTransactionID();
44 env.app().getHashRouter().setFlags(
49 env.app().getHashRouter().setFlags(
56 logs.
find(
"No transaction to process!") != std::string::npos);
testcase_t testcase
Memberspace for declaring test cases.
Provides server functionality for clients.
void testAllBadHeldTransactions()
void run() override
Runs the suite.
Immutable cryptographic account descriptor.
A transaction testing environment.
void memoize(Account const &account)
Associate AccountID with account.
Set the expected result code for a JTx The test will fail if the code doesn't match.
Json::Value create(Account const &account, std::uint32_t count)
Create one of more tickets.
std::unique_ptr< Config > envconfig()
creates and initializes a default configuration for jtx::Env
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Set the sequence number on a JTx.