From 7413280c52c1f759395572a384165023d24eeb57 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 27 Jan 2020 08:26:12 -0500 Subject: Googletest export Adds missing `#define` guard around `TEST_F(...)` PiperOrigin-RevId: 291703056 --- googletest/include/gtest/gtest.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index 464b3169..981dbd71 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -2364,9 +2364,11 @@ constexpr bool StaticAssertTypeEq() noexcept { // } // // GOOGLETEST_CM0011 DO NOT DELETE +#if !GTEST_DONT_DEFINE_TEST #define TEST_F(test_fixture, test_name)\ GTEST_TEST_(test_fixture, test_name, test_fixture, \ ::testing::internal::GetTypeId()) +#endif // !GTEST_DONT_DEFINE_TEST // Returns a path to temporary directory. // Tries to determine an appropriate directory for the platform. -- cgit v1.2.3 cted='selected'>master clone of https://github.com/ghdl/ghdl
aboutsummaryrefslogtreecommitdiffstats
blob: f7b44210f80bfaaf86d793a9e300cf8ffbaa83d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105