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
421f527d
Commit
421f527d
authored
Aug 01, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more test changes
parent
7001dff4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
BUILD.bazel
googletest/test/BUILD.bazel
+3
-3
googletest-message-test.cc
googletest/test/googletest-message-test.cc
+0
-0
googletest-options-test.cc
googletest/test/googletest-options-test.cc
+2
-2
googletest-port-test.cc
googletest/test/googletest-port-test.cc
+3
-3
googletest-printers-test.cc
googletest/test/googletest-printers-test.cc
+0
-0
googletest-tuple-test.cc
googletest/test/googletest-tuple-test.cc
+0
-0
No files found.
googletest/test/BUILD.bazel
View file @
421f527d
...
...
@@ -49,7 +49,7 @@ config_setting(
values = {"define": "absl=1"},
)
#on windows exclude gtest-tuple.h and g
test-tuple_
test.cc
#on windows exclude gtest-tuple.h and g
oogletest-tuple-
test.cc
cc_test(
name = "gtest_all_test",
size = "small",
...
...
@@ -62,7 +62,7 @@ cc_test(
],
exclude = [
"gtest-unittest-api_test.cc",
"g
test-tuple_
test.cc",
"g
oogletest-tuple-
test.cc",
"googletest/src/gtest-all.cc",
"gtest_all_test.cc",
"gtest-death-test_ex_test.cc",
...
...
@@ -85,7 +85,7 @@ cc_test(
"//:windows": [],
"//:windows_msvc": [],
"//conditions:default": [
"g
test-tuple_
test.cc",
"g
oogletest-tuple-
test.cc",
],
}),
copts = select({
...
...
googletest/test/g
test-message_
test.cc
→
googletest/test/g
oogletest-message-
test.cc
View file @
421f527d
File moved
googletest/test/g
test-options_
test.cc
→
googletest/test/g
oogletest-options-
test.cc
View file @
421f527d
...
...
@@ -99,7 +99,7 @@ TEST(OutputFileHelpersTest, GetCurrentExecutableName) {
const
std
::
string
exe_str
=
GetCurrentExecutableName
().
string
();
#if GTEST_OS_WINDOWS
const
bool
success
=
_strcmpi
(
"g
test-options_
test"
,
exe_str
.
c_str
())
==
0
||
_strcmpi
(
"g
oogletest-options-
test"
,
exe_str
.
c_str
())
==
0
||
_strcmpi
(
"gtest-options-ex_test"
,
exe_str
.
c_str
())
==
0
||
_strcmpi
(
"gtest_all_test"
,
exe_str
.
c_str
())
==
0
||
_strcmpi
(
"gtest_dll_test"
,
exe_str
.
c_str
())
==
0
;
...
...
@@ -109,7 +109,7 @@ TEST(OutputFileHelpersTest, GetCurrentExecutableName) {
// TODO(wan@google.com): remove the hard-coded "lt-" prefix when
// Chandler Carruth's libtool replacement is ready.
const
bool
success
=
exe_str
==
"g
test-options_
test"
||
exe_str
==
"g
oogletest-options-
test"
||
exe_str
==
"gtest_all_test"
||
exe_str
==
"lt-gtest_all_test"
||
exe_str
==
"gtest_dll_test"
;
...
...
googletest/test/g
test-port_
test.cc
→
googletest/test/g
oogletest-port-
test.cc
View file @
421f527d
...
...
@@ -346,11 +346,11 @@ TEST(GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) {
const
bool
a_false_condition
=
false
;
const
char
regex
[]
=
#ifdef _MSC_VER
"g
test-port_
test
\\
.cc
\\
(
\\
d+
\\
):"
"g
oogletest-port-
test
\\
.cc
\\
(
\\
d+
\\
):"
#elif GTEST_USES_POSIX_RE
"g
test-port_
test
\\
.cc:[0-9]+"
"g
oogletest-port-
test
\\
.cc:[0-9]+"
#else
"g
test-port_
test
\\
.cc:
\\
d+"
"g
oogletest-port-
test
\\
.cc:
\\
d+"
#endif // _MSC_VER
".*a_false_condition.*Extra info.*"
;
...
...
googletest/test/g
test-printers_
test.cc
→
googletest/test/g
oogletest-printers-
test.cc
View file @
421f527d
File moved
googletest/test/g
test-tuple_
test.cc
→
googletest/test/g
oogletest-tuple-
test.cc
View file @
421f527d
File moved
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