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