#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::FilterDiagsRAII |
Allows a user function to catch and filter/analyse ROOT and cling diagnostics, e.g. More... | |
Namespaces | |
namespace | ROOT |
Namespace for new ROOT classes and functions. | |
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 158 of file TestSupport.hxx.
#define ROOT_EXPECT_ERROR | ( | expression, | |
where, | |||
expected_diag ) ROOT_EXPECT_DIAG(kError, expression, where, expected_diag, true) |
Definition at line 172 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 175 of file TestSupport.hxx.
#define ROOT_EXPECT_INFO | ( | expression, | |
where, | |||
expected_diag ) ROOT_EXPECT_DIAG(kInfo, expression, where, expected_diag, true) |
Definition at line 184 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 187 of file TestSupport.hxx.
#define ROOT_EXPECT_NODIAG | ( | expression | ) |
Definition at line 165 of file TestSupport.hxx.
#define ROOT_EXPECT_SYSERROR | ( | expression, | |
where, | |||
expected_diag ) ROOT_EXPECT_DIAG(kSysError, expression, where, expected_diag, true) |
Definition at line 190 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 193 of file TestSupport.hxx.
#define ROOT_EXPECT_WARNING | ( | expression, | |
where, | |||
expected_diag ) ROOT_EXPECT_DIAG(kWarning, expression, where, expected_diag, true) |
Definition at line 178 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 181 of file TestSupport.hxx.