Error handler for gtests that generates failures for every received diagnostic > kInfo when this file is linked to.
Definition at line 24 of file TestSupport.cxx.
Public Member Functions | |
ForbidDiagnostics () | |
~ForbidDiagnostics () | |
Static Public Member Functions | |
static void | handler (int level, bool abort, const char *location, const char *msg) |
Diagnostic handler that's installed for all google tests. | |
Public Attributes | |
ErrorHandlerFunc_t const | sOldErrorHandler |
|
inline |
Definition at line 25 of file TestSupport.cxx.
|
inline |
Definition at line 30 of file TestSupport.cxx.
|
inlinestatic |
Diagnostic handler that's installed for all google tests.
It will generate a test failure when a diagnostic message is issued.
Definition at line 36 of file TestSupport.cxx.
ErrorHandlerFunc_t const ROOT::TestSupport::ForbidDiagnostics::sOldErrorHandler |
Definition at line 82 of file TestSupport.cxx.