20#ifndef RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
21#define RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
23#include <test/jtx/requires.h>
34template <
class Cond,
class... Args>
39 if constexpr (
sizeof...(args) > 0)
46template <
class... Args>
52 return [vec](
Env& env) {
53 for (
auto const& f : vec)
70 template <
class... Args>
A transaction testing environment.
Check a set of conditions.
require(Args const &... args)
void operator()(Env &, JTx &jt) const
T emplace_back(T... args)
void require_args(requires_t &vec, Cond const &cond, Args const &... args)
require_t required(Args const &... args)
Compose many condition functors into one.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Execution context for applying a JSON transaction.