7#include <test/util/setup_common.h>
9#include <boost/test/unit_test.hpp>
21 const char *
argv_test[] = {
"bitcoind",
"-deprecatedrpc=foo",
22 "-deprecatedrpc=bar"};
void AddArg(const std::string &name, const std::string &help, unsigned int flags, const OptionsCategory &cat)
Add argument.
bool error(const char *fmt, const Args &...args)
#define BOOST_CHECK(expr)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
bool IsDeprecatedRPCEnabled(const ArgsManager &args, const std::string &method)
BOOST_AUTO_TEST_CASE(server_IsDeprecatedRPCEnabled)