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
b535c176
"googlemock/git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "d01e356e155a84b196cf17435b7ebea35ccf9668"
Commit
b535c176
authored
Sep 06, 2012
by
vladlosev
Browse files
Removes obsolete debug code.
parent
ff8d732c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
include/gtest/internal/gtest-internal.h
include/gtest/internal/gtest-internal.h
+1
-1
test/gtest_env_var_test.py
test/gtest_env_var_test.py
+1
-2
test/gtest_output_test.py
test/gtest_output_test.py
+1
-1
test/gtest_shuffle_test.py
test/gtest_shuffle_test.py
+1
-2
No files found.
include/gtest/internal/gtest-internal.h
View file @
b535c176
...
...
@@ -73,7 +73,7 @@
// This allows a user to use his own types in Google Test assertions by
// overloading the << operator.
//
// util/gtl/stl_logging
-inl
.h overloads << for STL containers. These
// util/gtl/stl_logging.h overloads << for STL containers. These
// overloads cannot be defined in the std namespace, as that will be
// undefined behavior. Therefore, they are defined in the global
// namespace instead.
...
...
test/gtest_env_var_test.py
View file @
b535c176
...
...
@@ -67,8 +67,7 @@ def GetFlag(flag):
args
=
[
COMMAND
]
if
flag
is
not
None
:
args
+=
[
flag
]
return
gtest_test_utils
.
Subprocess
(
args
,
env
=
environ
,
capture_stderr
=
False
).
output
return
gtest_test_utils
.
Subprocess
(
args
,
env
=
environ
).
output
def
TestFlag
(
flag
,
test_val
,
default_val
):
...
...
test/gtest_output_test.py
View file @
b535c176
...
...
@@ -213,7 +213,7 @@ def GetShellCommandOutput(env_cmd):
# Set and save the environment properly.
environ
=
os
.
environ
.
copy
()
environ
.
update
(
env_cmd
[
0
])
p
=
gtest_test_utils
.
Subprocess
(
env_cmd
[
1
],
env
=
environ
,
capture_stderr
=
False
)
p
=
gtest_test_utils
.
Subprocess
(
env_cmd
[
1
],
env
=
environ
)
return
p
.
output
...
...
test/gtest_shuffle_test.py
View file @
b535c176
...
...
@@ -81,8 +81,7 @@ def RunAndReturnOutput(extra_env, args):
environ_copy
=
os
.
environ
.
copy
()
environ_copy
.
update
(
extra_env
)
return
gtest_test_utils
.
Subprocess
([
COMMAND
]
+
args
,
env
=
environ_copy
,
capture_stderr
=
False
).
output
return
gtest_test_utils
.
Subprocess
([
COMMAND
]
+
args
,
env
=
environ_copy
).
output
def
GetTestsForAllIterations
(
extra_env
,
args
):
...
...
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