Teuchos - Trilinos Tools Package
Version of the Day
|
Macros for defining unit tests. More...
Go to the source code of this file.
Macros | |
#define | TEUCHOS_UNIT_TEST(TEST_GROUP, TEST_NAME) |
Macro for defining a (non-templated) unit test. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(TEST_GROUP, TEST_NAME, TYPE) |
Macro for defining a templated unit test with one template parameter. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(TEST_GROUP, TEST_NAME, TYPE) |
Instantiate a templated unit test with one template parameter. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT_REAL_SCALAR_TYPES(TEST_GROUP, TEST_NAME) |
Instantiate a whole group of tests for supported real Scalar types. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT_SCALAR_TYPES(TEST_GROUP, TEST_NAME) |
Instantiate a whole group of tests for supported Scalar types. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL(TEST_GROUP, TEST_NAME, TYPE1, TYPE2) |
Macro for defining a templated unit test with two template parameters. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(TEST_GROUP, TEST_NAME, TYPE1, TYPE2) |
Instantiate a templated unit test with two template parameters. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_3_DECL(TEST_GROUP, TEST_NAME, TYPE1, TYPE2, TYPE3) |
Macro for defining a templated unit test with three template parameters. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_3_INSTANT(TEST_GROUP, TEST_NAME, TYPE1, TYPE2, TYPE3) |
Instantiate a templated unit test with three template parameters. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(TEST_GROUP, TEST_NAME, TYPE1, TYPE2, TYPE3, TYPE4) |
Macro for defining a templated unit test with four template parameters. More... | |
#define | TEUCHOS_UNIT_TEST_TEMPLATE_4_INSTANT(TEST_GROUP, TEST_NAME, TYPE1, TYPE2, TYPE3, TYPE4) |
Instantiate a templated unit test with four template parameters. More... | |
Macros for defining unit tests.
The macros in this file are for naming and defining unit tests. They give your unit test a group and name, so that you can identify it in the test output. You are responsible for filling in the actual test.
For macros (like TEST_NOTHROW) to help you write the actual unit test, see Teuchos_LocalTestingHelpers.hpp and Teuchos_TestingHelpers.hpp.
Definition in file Teuchos_UnitTestHelpers.hpp.