Googletest export

Adds missing `#define` guard around `TEST_F(...)`

PiperOrigin-RevId: 291703056
This commit is contained in:
Abseil Team 2020-01-27 08:26:12 -05:00 committed by Andy Getz
parent 87061810f4
commit 7413280c52

View File

@ -2364,9 +2364,11 @@ constexpr bool StaticAssertTypeEq() noexcept {
// } // }
// //
// GOOGLETEST_CM0011 DO NOT DELETE // GOOGLETEST_CM0011 DO NOT DELETE
#if !GTEST_DONT_DEFINE_TEST
#define TEST_F(test_fixture, test_name)\ #define TEST_F(test_fixture, test_name)\
GTEST_TEST_(test_fixture, test_name, test_fixture, \ GTEST_TEST_(test_fixture, test_name, test_fixture, \
::testing::internal::GetTypeId<test_fixture>()) ::testing::internal::GetTypeId<test_fixture>())
#endif // !GTEST_DONT_DEFINE_TEST
// Returns a path to temporary directory. // Returns a path to temporary directory.
// Tries to determine an appropriate directory for the platform. // Tries to determine an appropriate directory for the platform.