Test of readout_types.h types. More...
Go to the source code of this file.
Macros | |
#define | READOUT_TYPES_TEST_SKIP_COMPILATION_ERRORS 1 |
#define | BOOST_TEST_MODULE ( readout_types_test ) |
Functions | |
template<typename ID > | |
constexpr bool | assertGeoIDlevel () |
void | TestIDvalidity (readout::CryostatID const &id, bool answer) |
template<typename TESTID , typename REFID = TESTID> | |
void | TestCompareSmallerID (TESTID const &id, REFID const &smaller) |
Test comparison operators. More... | |
template<typename TESTID , typename REFID = TESTID> | |
void | TestCompareSameID (TESTID const &id, REFID const &same) |
Test comparison operators. More... | |
template<typename TESTID > | |
void | TestCompareSelfID (TESTID const &id) |
Test comparison operators. More... | |
template<typename TESTID , typename REFID = TESTID> | |
void | TestCompareLargerID (TESTID const &id, REFID const &larger) |
Test comparison operators. More... | |
template<typename TESTID , typename REFID = TESTID> | |
void | TestIDcomparison (TESTID const &id, REFID const &smaller, REFID const &same, REFID const &larger) |
Test comparison operators. More... | |
void | test_CryostatID_defaultConstructor () |
void | test_CryostatID_directConstructor () |
void | test_TPCsetID_defaultConstructor () |
void | test_TPCsetID_integralConstructor () |
void | test_TPCsetID_nestedConstructor () |
void | test_TPCsetID_directConstructor () |
void | test_ROPID_defaultConstructor () |
void | test_ROPID_integralConstructor () |
void | test_ROPID_nestedConstructor () |
void | test_ROPID_directConstructor () |
BOOST_AUTO_TEST_CASE (CryostatIDtest) | |
BOOST_AUTO_TEST_CASE (TPCsetIDtest) | |
BOOST_AUTO_TEST_CASE (ROPIDtest) | |
#define BOOST_TEST_MODULE ( readout_types_test ) |
Definition at line 24 of file readout_types_test.cc.
#define READOUT_TYPES_TEST_SKIP_COMPILATION_ERRORS 1 |
Definition at line 11 of file readout_types_test.cc.
constexpr bool assertGeoIDlevel | ( | ) |
Definition at line 33 of file readout_types_test.cc.
BOOST_AUTO_TEST_CASE | ( | CryostatIDtest | ) |
Definition at line 442 of file readout_types_test.cc.
BOOST_AUTO_TEST_CASE | ( | TPCsetIDtest | ) |
Definition at line 450 of file readout_types_test.cc.
BOOST_AUTO_TEST_CASE | ( | ROPIDtest | ) |
Definition at line 460 of file readout_types_test.cc.
void test_CryostatID_defaultConstructor | ( | ) |
Definition at line 165 of file readout_types_test.cc.
void test_CryostatID_directConstructor | ( | ) |
Definition at line 183 of file readout_types_test.cc.
void test_ROPID_defaultConstructor | ( | ) |
Definition at line 315 of file readout_types_test.cc.
void test_ROPID_directConstructor | ( | ) |
Definition at line 372 of file readout_types_test.cc.
void test_ROPID_integralConstructor | ( | ) |
Definition at line 327 of file readout_types_test.cc.
void test_ROPID_nestedConstructor | ( | ) |
Definition at line 347 of file readout_types_test.cc.
void test_TPCsetID_defaultConstructor | ( | ) |
Definition at line 215 of file readout_types_test.cc.
void test_TPCsetID_directConstructor | ( | ) |
Definition at line 272 of file readout_types_test.cc.
void test_TPCsetID_integralConstructor | ( | ) |
Definition at line 227 of file readout_types_test.cc.
void test_TPCsetID_nestedConstructor | ( | ) |
Definition at line 247 of file readout_types_test.cc.
void TestCompareLargerID | ( | TESTID const & | id, |
REFID const & | larger | ||
) |
Test comparison operators.
Definition at line 140 of file readout_types_test.cc.
void TestCompareSameID | ( | TESTID const & | id, |
REFID const & | same | ||
) |
Test comparison operators.
Definition at line 124 of file readout_types_test.cc.
void TestCompareSelfID | ( | TESTID const & | id | ) |
Test comparison operators.
Definition at line 135 of file readout_types_test.cc.
void TestCompareSmallerID | ( | TESTID const & | id, |
REFID const & | smaller | ||
) |
Test comparison operators.
Definition at line 113 of file readout_types_test.cc.
void TestIDcomparison | ( | TESTID const & | id, |
REFID const & | smaller, | ||
REFID const & | same, | ||
REFID const & | larger | ||
) |
Test comparison operators.
Definition at line 152 of file readout_types_test.cc.
void TestIDvalidity | ( | readout::CryostatID const & | id, |
bool | answer | ||
) |
Definition at line 102 of file readout_types_test.cc.