Googletest export
Adds missing `#define` guard around `TEST_F(...)` PiperOrigin-RevId: 291703056
This commit is contained in:
parent
87061810f4
commit
7413280c52
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user