summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_xml_output_unittest_.cc
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-01-26 21:24:04 (GMT)
committerDino Radaković <dinor@google.com>2021-02-05 18:39:30 (GMT)
commitd1143988003cad7be2f22cd2d9cc73ed2f256da4 (patch)
treee447bd236240278ce1b364bf35a6a8c69fb7e07b /googletest/test/gtest_xml_output_unittest_.cc
parent273f8cb059a4e7b089731036392422b5ef489791 (diff)
downloadgoogletest-d1143988003cad7be2f22cd2d9cc73ed2f256da4.zip
googletest-d1143988003cad7be2f22cd2d9cc73ed2f256da4.tar.gz
googletest-d1143988003cad7be2f22cd2d9cc73ed2f256da4.tar.bz2
Googletest export
Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST. PiperOrigin-RevId: 353935996
Diffstat (limited to 'googletest/test/gtest_xml_output_unittest_.cc')
-rw-r--r--googletest/test/gtest_xml_output_unittest_.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/googletest/test/gtest_xml_output_unittest_.cc b/googletest/test/gtest_xml_output_unittest_.cc
index 2b6634b..c0036aa 100644
--- a/googletest/test/gtest_xml_output_unittest_.cc
+++ b/googletest/test/gtest_xml_output_unittest_.cc
@@ -163,16 +163,13 @@ TEST_P(ValueParamTest, HasValueParamAttribute) {}
TEST_P(ValueParamTest, AnotherTestThatHasValueParamAttribute) {}
INSTANTIATE_TEST_SUITE_P(Single, ValueParamTest, Values(33, 42));
-#if GTEST_HAS_TYPED_TEST
// Verifies that the type parameter name is output in the 'type_param'
// XML attribute for typed tests.
template <typename T> class TypedTest : public Test {};
typedef testing::Types<int, long> TypedTestTypes;
TYPED_TEST_SUITE(TypedTest, TypedTestTypes);
TYPED_TEST(TypedTest, HasTypeParamAttribute) {}
-#endif
-#if GTEST_HAS_TYPED_TEST_P
// Verifies that the type parameter name is output in the 'type_param'
// XML attribute for type-parameterized tests.
template <typename T>
@@ -183,7 +180,6 @@ REGISTER_TYPED_TEST_SUITE_P(TypeParameterizedTestSuite, HasTypeParamAttribute);
typedef testing::Types<int, long> TypeParameterizedTestSuiteTypes; // NOLINT
INSTANTIATE_TYPED_TEST_SUITE_P(Single, TypeParameterizedTestSuite,
TypeParameterizedTestSuiteTypes);
-#endif
int main(int argc, char** argv) {
InitGoogleTest(&argc, argv);