20 #ifndef RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
21 #define RIPPLE_TEST_JTX_REQUIRE_H_INCLUDED
24 #include <test/jtx/requires.h>
33 template <
class Cond,
class... Args>
38 if constexpr (
sizeof...(args) > 0)
45 template <
class... Args>
51 return [vec](
Env& env) {
52 for (
auto const& f : vec)
69 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.