|
|
|
@ -241,9 +241,10 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes); |
|
|
|
|
namespace GTEST_CASE_NAMESPACE_(CaseName) { \
|
|
|
|
|
typedef ::testing::internal::Templates<__VA_ARGS__>::type gtest_AllTests_; \
|
|
|
|
|
} \
|
|
|
|
|
static const char* const GTEST_REGISTERED_TEST_NAMES_(CaseName) = \
|
|
|
|
|
GTEST_TYPED_TEST_CASE_P_STATE_(CaseName).VerifyRegisteredTestNames(\
|
|
|
|
|
__FILE__, __LINE__, #__VA_ARGS__) |
|
|
|
|
static const char* const GTEST_REGISTERED_TEST_NAMES_(CaseName) \
|
|
|
|
|
GTEST_ATTRIBUTE_UNUSED = \
|
|
|
|
|
GTEST_TYPED_TEST_CASE_P_STATE_(CaseName).VerifyRegisteredTestNames(\
|
|
|
|
|
__FILE__, __LINE__, #__VA_ARGS__) |
|
|
|
|
|
|
|
|
|
// The 'Types' template argument below must have spaces around it
|
|
|
|
|
// since some compilers may choke on '>>' when passing a template
|
|
|
|
|