#include "TError.h"#include "TInterpreter.h"#include <iostream>#include <stdexcept>#include <vector>Classes | |
| class | ROOT::TestSupport::CheckDiagsRAII |
| Install a ROOT diagnostic handler to analyse diagnostics. More... | |
| struct | ROOT::TestSupport::CheckDiagsRAII::Diag_t |
| class | ROOT::TestSupport::FileRaii |
| An RAII wrapper around an open temporary file on disk. More... | |
| class | ROOT::TestSupport::FilterDiagsRAII |
| Allows a user function to catch and filter/analyse ROOT and cling diagnostics, e.g. More... | |
Namespaces | |
| namespace | ROOT |
| namespace | ROOT::TestSupport |
The file contains facilities allowing easier writing of in-tree unit tests.
Definition in file TestSupport.hxx.
| #define ROOT_EXPECT_DIAG | ( | diag_class, | |
| expression, | |||
| where, | |||
| expected_diag, | |||
| match_full ) |
Definition at line 185 of file TestSupport.hxx.
| #define ROOT_EXPECT_ERROR | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kError, expression, where, expected_diag, true) |
Definition at line 199 of file TestSupport.hxx.
| #define ROOT_EXPECT_ERROR_PARTIAL | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kError, expression, where, expected_diag, false) |
Definition at line 202 of file TestSupport.hxx.
| #define ROOT_EXPECT_INFO | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kInfo, expression, where, expected_diag, true) |
Definition at line 211 of file TestSupport.hxx.
| #define ROOT_EXPECT_INFO_PARTIAL | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kInfo, expression, where, expected_diag, false) |
Definition at line 214 of file TestSupport.hxx.
| #define ROOT_EXPECT_NODIAG | ( | expression | ) |
Definition at line 192 of file TestSupport.hxx.
| #define ROOT_EXPECT_SYSERROR | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kSysError, expression, where, expected_diag, true) |
Definition at line 217 of file TestSupport.hxx.
| #define ROOT_EXPECT_SYSERROR_PARTIAL | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kSysError, expression, where, expected_diag, false) |
Definition at line 220 of file TestSupport.hxx.
| #define ROOT_EXPECT_WARNING | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kWarning, expression, where, expected_diag, true) |
Definition at line 205 of file TestSupport.hxx.
| #define ROOT_EXPECT_WARNING_PARTIAL | ( | expression, | |
| where, | |||
| expected_diag ) ROOT_EXPECT_DIAG(kWarning, expression, where, expected_diag, false) |
Definition at line 208 of file TestSupport.hxx.