diff options
author | Abseil Team <absl-team@google.com> | 2021-01-26 21:24:04 (GMT) |
---|---|---|
committer | Dino Radaković <dinor@google.com> | 2021-02-05 18:39:30 (GMT) |
commit | d1143988003cad7be2f22cd2d9cc73ed2f256da4 (patch) | |
tree | e447bd236240278ce1b364bf35a6a8c69fb7e07b /googletest/samples/sample6_unittest.cc | |
parent | 273f8cb059a4e7b089731036392422b5ef489791 (diff) | |
download | googletest-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/samples/sample6_unittest.cc')
-rw-r--r-- | googletest/samples/sample6_unittest.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/googletest/samples/sample6_unittest.cc b/googletest/samples/sample6_unittest.cc index 0266e27..da317ee 100644 --- a/googletest/samples/sample6_unittest.cc +++ b/googletest/samples/sample6_unittest.cc @@ -73,8 +73,6 @@ class PrimeTableTest : public testing::Test { PrimeTable* const table_; }; -#if GTEST_HAS_TYPED_TEST - using testing::Types; // Google Test offers two ways for reusing tests for different types. @@ -134,10 +132,6 @@ TYPED_TEST(PrimeTableTest, CanGetNextPrime) { // in the type list specified in TYPED_TEST_SUITE. Sit back and be // happy that you don't have to define them multiple times. -#endif // GTEST_HAS_TYPED_TEST - -#if GTEST_HAS_TYPED_TEST_P - using testing::Types; // Sometimes, however, you don't yet know all the types that you want @@ -220,5 +214,4 @@ INSTANTIATE_TYPED_TEST_SUITE_P(OnTheFlyAndPreCalculated, // Instance name PrimeTableTest2, // Test case name PrimeTableImplementations); // Type list -#endif // GTEST_HAS_TYPED_TEST_P } // namespace |