MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / EnvTestingSetup

Method EnvTestingSetup

src/test/i2p_tests.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24{
25public:
26 explicit EnvTestingSetup(const ChainType chainType = ChainType::MAIN,
27 TestOpts opts = {})
28 : BasicTestingSetup{chainType, opts},
29 m_prev_log_level{LogInstance().LogLevel()},
30 m_create_sock_orig{CreateSock}
31 {
32 LogInstance().SetLogLevel(BCLog::Level::Trace);
33 }
34
35 ~EnvTestingSetup()
36 {

Callers

nothing calls this directly

Calls 2

LogLevelMethod · 0.80
SetLogLevelMethod · 0.45

Tested by

no test coverage detected