![]() |
Bitcoin Core
26.99.0
P2P Digital Currency
|
Save the log level and the value of CreateSock and restore them when the test ends. More...
Public Member Functions | |
EnvTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={}) | |
~EnvTestingSetup () | |
![]() | |
BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={}) | |
~BasicTestingSetup () | |
Private Attributes | |
const BCLog::Level | m_prev_log_level |
const std::function< std::unique_ptr< Sock >const CService &)> | m_create_sock_orig |
Additional Inherited Members | |
![]() | |
node::NodeContext | m_node |
const fs::path | m_path_root |
ArgsManager | m_args |
Save the log level and the value of CreateSock and restore them when the test ends.
Definition at line 21 of file i2p_tests.cpp.
|
inlineexplicit |
Definition at line 24 of file i2p_tests.cpp.
|
inline |
|
private |
Definition at line 41 of file i2p_tests.cpp.
|
private |
Definition at line 40 of file i2p_tests.cpp.