Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
d4144d4e
Commit
d4144d4e
authored
Feb 09, 2021
by
Abseil Team
Committed by
Andy Soffer
Feb 11, 2021
Browse files
Googletest export
Revert include guard fix PiperOrigin-RevId: 356588893
parent
0b4ecf54
Changes
46
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
18 deletions
+19
-18
googletest/samples/sample3-inl.h
googletest/samples/sample3-inl.h
+3
-3
googletest/samples/sample4.h
googletest/samples/sample4.h
+3
-3
googletest/src/gtest-internal-inl.h
googletest/src/gtest-internal-inl.h
+3
-3
googletest/test/googletest-param-test-test.h
googletest/test/googletest-param-test-test.h
+3
-3
googletest/test/gtest-typed-test_test.h
googletest/test/gtest-typed-test_test.h
+4
-3
googletest/test/production.h
googletest/test/production.h
+3
-3
No files found.
googletest/samples/sample3-inl.h
View file @
d4144d4e
...
...
@@ -29,8 +29,8 @@
// A sample program demonstrating using Google C++ testing framework.
#ifndef G
OOGLE
TEST_SAMPLES_SAMPLE3_INL_H_
#define G
OOGLE
TEST_SAMPLES_SAMPLE3_INL_H_
#ifndef GTEST_SAMPLES_SAMPLE3_INL_H_
#define GTEST_SAMPLES_SAMPLE3_INL_H_
#include <stddef.h>
...
...
@@ -169,4 +169,4 @@ class Queue {
const
Queue
&
operator
=
(
const
Queue
&
);
};
#endif // G
OOGLE
TEST_SAMPLES_SAMPLE3_INL_H_
#endif // GTEST_SAMPLES_SAMPLE3_INL_H_
googletest/samples/sample4.h
View file @
d4144d4e
...
...
@@ -28,8 +28,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// A sample program demonstrating using Google C++ testing framework.
#ifndef G
OOGLE
TEST_SAMPLES_SAMPLE4_H_
#define G
OOGLE
TEST_SAMPLES_SAMPLE4_H_
#ifndef GTEST_SAMPLES_SAMPLE4_H_
#define GTEST_SAMPLES_SAMPLE4_H_
// A simple monotonic counter.
class
Counter
{
...
...
@@ -50,4 +50,4 @@ class Counter {
void
Print
()
const
;
};
#endif // G
OOGLE
TEST_SAMPLES_SAMPLE4_H_
#endif // GTEST_SAMPLES_SAMPLE4_H_
googletest/src/gtest-internal-inl.h
View file @
d4144d4e
...
...
@@ -31,8 +31,8 @@
// This file contains purely Google Test's internal implementation. Please
// DO NOT #INCLUDE IT IN A USER PROGRAM.
#ifndef G
OOGLE
TEST_SRC_GTEST_INTERNAL_INL_H_
#define G
OOGLE
TEST_SRC_GTEST_INTERNAL_INL_H_
#ifndef GTEST_SRC_GTEST_INTERNAL_INL_H_
#define GTEST_SRC_GTEST_INTERNAL_INL_H_
#ifndef _WIN32_WCE
# include <errno.h>
...
...
@@ -1218,4 +1218,4 @@ class StreamingListener : public EmptyTestEventListener {
GTEST_DISABLE_MSC_WARNINGS_POP_
()
// 4251
#endif // G
OOGLE
TEST_SRC_GTEST_INTERNAL_INL_H_
#endif // GTEST_SRC_GTEST_INTERNAL_INL_H_
googletest/test/googletest-param-test-test.h
View file @
d4144d4e
...
...
@@ -32,8 +32,8 @@
// This header file provides classes and functions used internally
// for testing Google Test itself.
#ifndef G
OOGLE
TEST_TEST_G
OOGLE
TEST_PARAM_TEST_TEST_H_
#define G
OOGLE
TEST_TEST_G
OOGLE
TEST_PARAM_TEST_TEST_H_
#ifndef GTEST_TEST_GTEST_PARAM_TEST_TEST_H_
#define GTEST_TEST_GTEST_PARAM_TEST_TEST_H_
#include "gtest/gtest.h"
...
...
@@ -48,4 +48,4 @@ class InstantiationInMultipleTranslationUnitsTest
:
public
::
testing
::
TestWithParam
<
int
>
{
};
#endif // G
OOGLE
TEST_TEST_G
OOGLE
TEST_PARAM_TEST_TEST_H_
#endif // GTEST_TEST_GTEST_PARAM_TEST_TEST_H_
googletest/test/gtest-typed-test_test.h
View file @
d4144d4e
...
...
@@ -27,8 +27,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef GOOGLETEST_TEST_GTEST_TYPED_TEST_TEST_H_
#define GOOGLETEST_TEST_GTEST_TYPED_TEST_TEST_H_
#ifndef GTEST_TEST_GTEST_TYPED_TEST_TEST_H_
#define GTEST_TEST_GTEST_TYPED_TEST_TEST_H_
#include "gtest/gtest.h"
...
...
@@ -57,4 +58,4 @@ TYPED_TEST_P(ContainerTest, InitialSizeIsZero) {
REGISTER_TYPED_TEST_SUITE_P
(
ContainerTest
,
CanBeDefaultConstructed
,
InitialSizeIsZero
);
#endif // G
OOGLE
TEST_TEST_GTEST_TYPED_TEST_TEST_H_
#endif // GTEST_TEST_GTEST_TYPED_TEST_TEST_H_
googletest/test/production.h
View file @
d4144d4e
...
...
@@ -30,8 +30,8 @@
//
// This is part of the unit test for gtest_prod.h.
#ifndef G
OOGLE
TEST_TEST_PRODUCTION_H_
#define G
OOGLE
TEST_TEST_PRODUCTION_H_
#ifndef GTEST_TEST_PRODUCTION_H_
#define GTEST_TEST_PRODUCTION_H_
#include "gtest/gtest_prod.h"
...
...
@@ -51,4 +51,4 @@ class PrivateCode {
int
x_
;
};
#endif // G
OOGLE
TEST_TEST_PRODUCTION_H_
#endif // GTEST_TEST_PRODUCTION_H_
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment