9#include <boost/test/unit_test.hpp>
43 m_node.args->SetConfigFilePath({});
46 m_node.args->ForceSetArg(
"-server",
"0");
47 m_node.args->ForceSetArg(
"-listen",
"0");
#define Assert(val)
Identity function.
void DisconnectTestLogger() EXCLUSIVE_LOCKS_REQUIRED(!m_cs)
Only for testing.
TestInit(NodeContext &node)
std::unique_ptr< interfaces::WalletLoader > makeWalletLoader(interfaces::Chain &chain) override
std::unique_ptr< interfaces::Chain > makeChain() override
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
bool AppInitInterfaces(NodeContext &node)
Initialize node and wallet interface pointers.
bool AppInitMain(NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info)
Bitcoin core main initialization.
void InitContext(NodeContext &node)
Initialize node context shutdown and args variables.
BCLog::Logger & LogInstance()
std::unique_ptr< Chain > MakeChain(node::NodeContext &node)
Return implementation of Chain interface.
BOOST_AUTO_TEST_CASE(init_test)
#define BOOST_CHECK(expr)
BasicTestingSetup(ChainType chainType=ChainType::MAIN, TestOpts={})
Like BasicTestingSetup, but using regtest network instead of mainnet.