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
6b4967a2
Unverified
Commit
6b4967a2
authored
Jan 04, 2018
by
Gennadiy Civil
Committed by
GitHub
Jan 04, 2018
Browse files
Merge branch 'master' into missing-declarations
parents
b3d9be5c
abbc0f81
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
51 deletions
+0
-51
googletest/test/gtest-port_test.cc
googletest/test/gtest-port_test.cc
+0
-8
googletest/test/gtest_color_test_.cc
googletest/test/gtest_color_test_.cc
+0
-8
googletest/test/gtest_env_var_test_.cc
googletest/test/gtest_env_var_test_.cc
+0
-3
googletest/test/gtest_environment_test.cc
googletest/test/gtest_environment_test.cc
+0
-3
googletest/test/gtest_output_test_.cc
googletest/test/gtest_output_test_.cc
+0
-8
googletest/test/gtest_repeat_test.cc
googletest/test/gtest_repeat_test.cc
+0
-8
googletest/test/gtest_stress_test.cc
googletest/test/gtest_stress_test.cc
+0
-5
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+0
-8
No files found.
googletest/test/gtest-port_test.cc
View file @
6b4967a2
...
...
@@ -45,15 +45,7 @@
#include "gtest/gtest.h"
#include "gtest/gtest-spi.h"
// Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// their code.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
using
std
::
make_pair
;
using
std
::
pair
;
...
...
googletest/test/gtest_color_test_.cc
View file @
6b4967a2
...
...
@@ -36,15 +36,7 @@
#include <stdio.h>
#include "gtest/gtest.h"
// Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// their code.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
using
testing
::
internal
::
ShouldUseColor
;
...
...
googletest/test/gtest_env_var_test_.cc
View file @
6b4967a2
...
...
@@ -35,10 +35,7 @@
#include "gtest/gtest.h"
#include <iostream>
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
using
::
std
::
cout
;
...
...
googletest/test/gtest_environment_test.cc
View file @
6b4967a2
...
...
@@ -34,10 +34,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "gtest/gtest.h"
#define GTEST_IMPLEMENTATION_ 1 // Required for the next #include.
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
namespace
testing
{
GTEST_DECLARE_string_
(
filter
);
...
...
googletest/test/gtest_output_test_.cc
View file @
6b4967a2
...
...
@@ -37,15 +37,7 @@
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
// Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// their code.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
#include <stdlib.h>
...
...
googletest/test/gtest_repeat_test.cc
View file @
6b4967a2
...
...
@@ -34,15 +34,7 @@
#include <stdlib.h>
#include <iostream>
#include "gtest/gtest.h"
// Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// their code.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
namespace
testing
{
...
...
googletest/test/gtest_stress_test.cc
View file @
6b4967a2
...
...
@@ -37,12 +37,7 @@
#include <iostream>
#include <vector>
// We must define this macro in order to #include
// gtest-internal-inl.h. This is how Google Test prevents a user from
// accidentally depending on its internal implementation.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
#if GTEST_IS_THREADSAFE
...
...
googletest/test/gtest_unittest.cc
View file @
6b4967a2
...
...
@@ -66,15 +66,7 @@ TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) {
#include <ostream>
#include "gtest/gtest-spi.h"
// Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is
// included, or there will be a compiler error. This trick is to
// prevent a user from accidentally including gtest-internal-inl.h in
// their code.
#define GTEST_IMPLEMENTATION_ 1
#include "src/gtest-internal-inl.h"
#undef GTEST_IMPLEMENTATION_
namespace testing {
namespace internal {
...
...
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