Changeset View
Changeset View
Standalone View
Standalone View
src/test/util/setup_common.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | struct BasicTestingSetup { | ||||
ECCVerifyHandle globalVerifyHandle; | ECCVerifyHandle globalVerifyHandle; | ||||
NodeContext m_node; | NodeContext m_node; | ||||
explicit BasicTestingSetup( | explicit BasicTestingSetup( | ||||
const std::string &chainName = CBaseChainParams::MAIN, | const std::string &chainName = CBaseChainParams::MAIN, | ||||
const std::vector<const char *> &extra_args = {}); | const std::vector<const char *> &extra_args = {}); | ||||
~BasicTestingSetup(); | ~BasicTestingSetup(); | ||||
private: | |||||
const fs::path m_path_root; | const fs::path m_path_root; | ||||
}; | }; | ||||
/** | /** | ||||
* Testing setup that configures a complete environment. | * Testing setup that configures a complete environment. | ||||
* Included are coins database, script check threads setup. | * Included are coins database, script check threads setup. | ||||
*/ | */ | ||||
struct TestingSetup : public BasicTestingSetup { | struct TestingSetup : public BasicTestingSetup { | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |