#include "TError.h"
#include "TInterpreter.h"
#include <stdexcept>
#include <vector>
#include "gtest/gtest.h"
|
namespace | ROOT |
| This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
|
|
namespace | ROOT::TestSupport |
|
The file contains facilities allowing easier writing of in-tree unit tests.
- Author
- Pratyush Das reikd.nosp@m.as@g.nosp@m.mail..nosp@m.com
-
Vassil Vassilev vvasi.nosp@m.lev@.nosp@m.cern..nosp@m.ch
-
Stephan Hageboeck steph.nosp@m.an.h.nosp@m.agebo.nosp@m.eck@.nosp@m.cern..nosp@m.ch
- Date
- April, 2020
Definition in file TestSupport.hxx.
◆ ROOT_EXPECT_ERROR
#define ROOT_EXPECT_ERROR |
( |
|
expression, |
|
|
|
where, |
|
|
|
expected_diag |
|
) |
| |
Value:{ \
expected_diag); \
expression; \
}
Install a ROOT diagnostic handler to analyse diagnostics.
Definition at line 154 of file TestSupport.hxx.
◆ ROOT_EXPECT_INFO
#define ROOT_EXPECT_INFO |
( |
|
expression, |
|
|
|
where, |
|
|
|
expected_diag |
|
) |
| |
Value:{ \
expected_diag); \
expression; \
}
Definition at line 170 of file TestSupport.hxx.
◆ ROOT_EXPECT_NODIAG
#define ROOT_EXPECT_NODIAG |
( |
|
expression | ) |
|
◆ ROOT_EXPECT_SYSERROR
#define ROOT_EXPECT_SYSERROR |
( |
|
expression, |
|
|
|
where, |
|
|
|
expected_diag |
|
) |
| |
Value:{ \
expected_diag); \
expression; \
}
Definition at line 185 of file TestSupport.hxx.
◆ ROOT_EXPECT_WARNING
#define ROOT_EXPECT_WARNING |
( |
|
expression, |
|
|
|
where, |
|
|
|
expected_diag |
|
) |
| |
Value:{ \
expected_diag); \
expression; \
}
Definition at line 162 of file TestSupport.hxx.