|
xrpld
|
Test helper that accepts any condition supplied by a callback. More...
#include <mpt.h>

Public Member Functions | |
| RequireAny (std::function< bool()> const &cb, std::source_location const &testLoc=std::source_location::current(), std::source_location const &checkLoc=std::source_location::current()) | |
| void | operator() (Env &env) const |
Private Attributes | |
| std::function< bool()> | cb_ |
| std::source_location | testLoc_ |
| std::source_location | checkLoc_ |
Test helper that accepts any condition supplied by a callback.
| xrpl::test::jtx::RequireAny::RequireAny | ( | std::function< bool()> const & | cb, |
| std::source_location const & | testLoc = std::source_location::current(), | ||
| std::source_location const & | checkLoc = std::source_location::current() ) |
| void xrpl::test::jtx::RequireAny::operator() | ( | Env & | env | ) | const |
|
private |
|
private |
|
private |