Commit 7413280c authored by Abseil Team's avatar Abseil Team Committed by Andy Getz
Browse files

Googletest export

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

PiperOrigin-RevId: 291703056
parent 87061810
...@@ -2364,9 +2364,11 @@ constexpr bool StaticAssertTypeEq() noexcept { ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment