Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
9b23e3cc
Commit
9b23e3cc
authored
May 05, 2009
by
zhanyong.wan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version before…
Removes dead code (by Vlad Losev). Fixes tr1 tuple's path on gcc version before 4.0.0 (by Zhanyong Wan).
parent
fbaedd2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
12 deletions
+4
-12
gtest-port.h
include/gtest/internal/gtest-port.h
+4
-4
gtest_output_test.py
test/gtest_output_test.py
+0
-1
gtest_output_test_.cc
test/gtest_output_test_.cc
+0
-7
No files found.
include/gtest/internal/gtest-port.h
View file @
9b23e3cc
...
...
@@ -359,12 +359,12 @@
// gtest-port.h's responsibility to #include the header implementing
// tr1/tuple.
#if GTEST_HAS_TR1_TUPLE
#if defined(__GNUC__)
// GCC
implements tr1/tuple in the <tr1/tuple> header. This does not
// conform to the TR1 spec, which requires the header to be <tuple>.
#if defined(__GNUC__)
&& (GTEST_GCC_VER_ >= 40000)
// GCC
4.0+ implements tr1/tuple in the <tr1/tuple> header. This does
//
not
conform to the TR1 spec, which requires the header to be <tuple>.
#include <tr1/tuple>
#else
// If the compiler is not GCC, we assume the user is using a
// If the compiler is not GCC
4.0+
, we assume the user is using a
// spec-conforming TR1 implementation.
#include <tuple>
#endif // __GNUC__
...
...
test/gtest_output_test.py
View file @
9b23e3cc
...
...
@@ -262,7 +262,6 @@ class GTestOutputTest(unittest.TestCase):
if
SUPPORTS_DEATH_TESTS
and
SUPPORTS_TYPED_TESTS
:
self
.
assert_
(
golden
==
output
)
else
:
print
RemoveTestCounts
(
self
.
RemoveUnsupportedTests
(
golden
))
self
.
assert_
(
RemoveTestCounts
(
self
.
RemoveUnsupportedTests
(
golden
))
==
RemoveTestCounts
(
output
))
...
...
test/gtest_output_test_.cc
View file @
9b23e3cc
...
...
@@ -50,13 +50,6 @@
#include <pthread.h>
#endif // GTEST_HAS_PTHREAD
#if GTEST_OS_LINUX
#include <string.h>
#include <signal.h>
#include <string>
#include <vector>
#endif // GTEST_OS_LINUX
using
testing
::
ScopedFakeTestPartResultReporter
;
using
testing
::
TestPartResultArray
;
...
...
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