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
96f4ce02
Commit
96f4ce02
authored
Jul 22, 2021
by
Abseil Team
Committed by
CJ Johnson
Jul 22, 2021
Browse files
Googletest export
Delete GOOGLETEST_CM.* tags from C++ code. PiperOrigin-RevId: 386268534
parent
ce4895aa
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
5 additions
and
32 deletions
+5
-32
googletest/include/gtest/gtest-typed-test.h
googletest/include/gtest/gtest-typed-test.h
+0
-2
googletest/include/gtest/gtest.h
googletest/include/gtest/gtest.h
+0
-4
googletest/include/gtest/gtest_pred_impl.h
googletest/include/gtest/gtest_pred_impl.h
+0
-1
googletest/include/gtest/gtest_prod.h
googletest/include/gtest/gtest_prod.h
+0
-1
googletest/include/gtest/internal/gtest-death-test-internal.h
...letest/include/gtest/internal/gtest-death-test-internal.h
+0
-1
googletest/include/gtest/internal/gtest-filepath.h
googletest/include/gtest/internal/gtest-filepath.h
+0
-2
googletest/include/gtest/internal/gtest-internal.h
googletest/include/gtest/internal/gtest-internal.h
+0
-2
googletest/include/gtest/internal/gtest-param-util.h
googletest/include/gtest/internal/gtest-param-util.h
+0
-2
googletest/include/gtest/internal/gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+0
-4
googletest/include/gtest/internal/gtest-string.h
googletest/include/gtest/internal/gtest-string.h
+0
-2
googletest/include/gtest/internal/gtest-type-util.h
googletest/include/gtest/internal/gtest-type-util.h
+0
-2
googletest/scripts/gen_gtest_pred_impl.py
googletest/scripts/gen_gtest_pred_impl.py
+5
-8
googletest/src/gtest.cc
googletest/src/gtest.cc
+0
-1
No files found.
googletest/include/gtest/gtest-typed-test.h
View file @
96f4ce02
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_
...
...
googletest/include/gtest/gtest.h
View file @
96f4ce02
...
@@ -47,8 +47,6 @@
...
@@ -47,8 +47,6 @@
// registration from Barthelemy Dagenais' (barthelemy@prologique.com)
// registration from Barthelemy Dagenais' (barthelemy@prologique.com)
// easyUnit framework.
// easyUnit framework.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_H_
...
@@ -2383,8 +2381,6 @@ constexpr bool StaticAssertTypeEq() noexcept {
...
@@ -2383,8 +2381,6 @@ constexpr bool StaticAssertTypeEq() noexcept {
// EXPECT_EQ(a_.size(), 0);
// EXPECT_EQ(a_.size(), 0);
// EXPECT_EQ(b_.size(), 1);
// EXPECT_EQ(b_.size(), 1);
// }
// }
//
// GOOGLETEST_CM0011 DO NOT DELETE
#define GTEST_TEST_F(test_fixture, test_name)\
#define GTEST_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>())
...
...
googletest/include/gtest/gtest_pred_impl.h
View file @
96f4ce02
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
// 'gen_gtest_pred_impl.py 5'. DO NOT EDIT BY HAND!
// 'gen_gtest_pred_impl.py 5'. DO NOT EDIT BY HAND!
//
//
// Implements a family of generic predicate assertion macros.
// Implements a family of generic predicate assertion macros.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
...
...
googletest/include/gtest/gtest_prod.h
View file @
96f4ce02
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
//
//
// Google C++ Testing and Mocking Framework definitions useful in production code.
// Google C++ Testing and Mocking Framework definitions useful in production code.
// GOOGLETEST_CM0003 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PROD_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PROD_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PROD_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PROD_H_
...
...
googletest/include/gtest/internal/gtest-death-test-internal.h
View file @
96f4ce02
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
//
//
// This header file defines internal utilities needed for implementing
// This header file defines internal utilities needed for implementing
// death tests. They are subject to change without notice.
// death tests. They are subject to change without notice.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_
...
...
googletest/include/gtest/internal/gtest-filepath.h
View file @
96f4ce02
...
@@ -35,8 +35,6 @@
...
@@ -35,8 +35,6 @@
// This file is #included in gtest/internal/gtest-internal.h.
// This file is #included in gtest/internal/gtest-internal.h.
// Do not include this header file separately!
// Do not include this header file separately!
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
...
...
googletest/include/gtest/internal/gtest-internal.h
View file @
96f4ce02
...
@@ -32,8 +32,6 @@
...
@@ -32,8 +32,6 @@
// This header file declares functions and macros used internally by
// This header file declares functions and macros used internally by
// Google Test. They are subject to change without notice.
// Google Test. They are subject to change without notice.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_
...
...
googletest/include/gtest/internal/gtest-param-util.h
View file @
96f4ce02
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
// Type and function utilities for implementing parameterized tests.
// Type and function utilities for implementing parameterized tests.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PARAM_UTIL_H_
...
...
googletest/include/gtest/internal/gtest-port.h
View file @
96f4ce02
...
@@ -38,8 +38,6 @@
...
@@ -38,8 +38,6 @@
// files are expected to #include this. Therefore, it cannot #include
// files are expected to #include this. Therefore, it cannot #include
// any other Google Test header.
// any other Google Test header.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
...
@@ -168,7 +166,6 @@
...
@@ -168,7 +166,6 @@
// GTEST_HAS_TYPED_TEST - typed tests
// GTEST_HAS_TYPED_TEST - typed tests
// GTEST_HAS_TYPED_TEST_P - type-parameterized tests
// GTEST_HAS_TYPED_TEST_P - type-parameterized tests
// GTEST_IS_THREADSAFE - Google Test is thread-safe.
// GTEST_IS_THREADSAFE - Google Test is thread-safe.
// GOOGLETEST_CM0007 DO NOT DELETE
// GTEST_USES_POSIX_RE - enhanced POSIX regex is used. Do not confuse with
// GTEST_USES_POSIX_RE - enhanced POSIX regex is used. Do not confuse with
// GTEST_HAS_POSIX_RE (see above) which users can
// GTEST_HAS_POSIX_RE (see above) which users can
// define themselves.
// define themselves.
...
@@ -220,7 +217,6 @@
...
@@ -220,7 +217,6 @@
// Regular expressions:
// Regular expressions:
// RE - a simple regular expression class using the POSIX
// RE - a simple regular expression class using the POSIX
// Extended Regular Expression syntax on UNIX-like platforms
// Extended Regular Expression syntax on UNIX-like platforms
// GOOGLETEST_CM0008 DO NOT DELETE
// or a reduced regular exception syntax on other
// or a reduced regular exception syntax on other
// platforms, including Windows.
// platforms, including Windows.
// Logging:
// Logging:
...
...
googletest/include/gtest/internal/gtest-string.h
View file @
96f4ce02
...
@@ -36,8 +36,6 @@
...
@@ -36,8 +36,6 @@
// This header file is #included by gtest-internal.h.
// This header file is #included by gtest-internal.h.
// It should not be #included by other files.
// It should not be #included by other files.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
...
...
googletest/include/gtest/internal/gtest-type-util.h
View file @
96f4ce02
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
// Type utilities needed for implementing typed and type-parameterized
// Type utilities needed for implementing typed and type-parameterized
// tests.
// tests.
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
...
...
googletest/scripts/gen_gtest_pred_impl.py
View file @
96f4ce02
...
@@ -77,8 +77,8 @@ def HeaderPreamble(n):
...
@@ -77,8 +77,8 @@ def HeaderPreamble(n):
'n'
:
n
'n'
:
n
}
}
return
(
return
(
(
"""// Copyright 2006, Google Inc.
"""// Copyright 2006, Google Inc.
// All rights reserved.
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// Redistribution and use in source and binary forms, with or without
...
@@ -110,11 +110,8 @@ def HeaderPreamble(n):
...
@@ -110,11 +110,8 @@ def HeaderPreamble(n):
// This file is AUTOMATICALLY GENERATED on %(today)s by command
// This file is AUTOMATICALLY GENERATED on %(today)s by command
// '%(command)s'. DO NOT EDIT BY HAND!
// '%(command)s'. DO NOT EDIT BY HAND!
//
//
// Implements a family of generic predicate assertion macros.
// Implements a family of generic predicate assertion macros."""
+
// GOOGLETEST_CM0001 DO NOT DELETE
"""#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_
#include "gtest/gtest.h"
#include "gtest/gtest.h"
...
@@ -159,7 +156,7 @@ namespace testing {
...
@@ -159,7 +156,7 @@ namespace testing {
;
\\
;
\\
else
\\
else
\\
on_failure(gtest_ar.failure_message())
on_failure(gtest_ar.failure_message())
"""
%
DEFS
)
"""
)
%
DEFS
)
def
Arity
(
n
):
def
Arity
(
n
):
...
...
googletest/src/gtest.cc
View file @
96f4ce02
...
@@ -4091,7 +4091,6 @@ std::string XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters(
...
@@ -4091,7 +4091,6 @@ std::string XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters(
// The following routines generate an XML representation of a UnitTest
// The following routines generate an XML representation of a UnitTest
// object.
// object.
// GOOGLETEST_CM0009 DO NOT DELETE
//
//
// This is how Google Test concepts map to the DTD:
// This is how Google Test concepts map to the DTD:
//
//
...
...
Prev
1
2
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