![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Go to the source code of this file.
Macros to help define test cases that are run or not depending on a generic condition.
| #define CONDITIONAL_TYPED_TEST | ( | testsuite, | |
| testcase, | |||
| ... ) |
Adds a type-parameterized test to a Google Test suite which is conditionally run based on the third parameter.
| SuiteName | The name of a Google Test suite previously defined with TYPED_TEST_SUITE |
| TestName | The name of this test |
| Condition | A condition convertible to bool which depends on TypeParam |
| #define CONDITIONAL_TYPED_TEST_P | ( | SuiteName, | |
| TestName, | |||
| ... ) |
Adds a type-parameterized test to a Google Test suite which is conditionally run based on the third parameter.
| SuiteName | The name of a Google Test suite previously defined with TYPED_TEST_SUITE_P |
| TestName | The name of this test; needs to be registered later with REGISTER_TYPED_TEST_SUITE_P |
| Condition | A condition convertible to bool which depends on TypeParam |