test: Add ASSERT_DEBUG_LOG to unit test framework

This commit is contained in:
MarcoFalke
2019-08-02 17:06:37 -04:00
parent fa1936f57b
commit fa2c44c3cc
7 changed files with 97 additions and 25 deletions

View File

@@ -17,10 +17,10 @@ void noui_InitMessage(const std::string& message);
/** Connect all bitcoind signal handlers */
void noui_connect();
/** Suppress all bitcoind signal handlers. Used to suppress output during test runs that produce expected errors */
void noui_suppress();
/** Redirect all bitcoind signal handlers to LogPrintf. Used to check or suppress output during test runs that produce expected errors */
void noui_test_redirect();
/** Reconnects the regular Non-GUI handlers after having used noui_suppress */
/** Reconnects the regular Non-GUI handlers after having used noui_test_redirect */
void noui_reconnect();
#endif // BITCOIN_NOUI_H