MCPcopy Create free account
hub / github.com/ElementsProject/elements / ~BasicTestingSetup

Method ~BasicTestingSetup

src/test/util/setup_common.cpp:164–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164BasicTestingSetup::~BasicTestingSetup()
165{
166 ClearGlobalAssetDir();
167 SetMockTime(0s); // Reset mocktime for following tests
168 LogInstance().DisconnectTestLogger();
169 fs::remove_all(m_path_root);
170 gArgs.ClearArgs();
171 ECC_Stop();
172}
173
174ChainTestingSetup::ChainTestingSetup(const std::string& chainName, const std::string& fedpegscript, const std::vector<const char*>& extra_args)
175 : BasicTestingSetup(chainName, fedpegscript, extra_args)

Callers

nothing calls this directly

Calls 5

ClearGlobalAssetDirFunction · 0.85
SetMockTimeFunction · 0.85
ECC_StopFunction · 0.85
DisconnectTestLoggerMethod · 0.80
ClearArgsMethod · 0.80

Tested by

no test coverage detected