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
0f656795
Commit
0f656795
authored
Mar 22, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more merges
parent
691e38e5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+1
-1
gtest-port.cc
googletest/src/gtest-port.cc
+1
-1
gtest.cc
googletest/src/gtest.cc
+1
-1
gtest_list_tests_unittest.py
googletest/test/gtest_list_tests_unittest.py
+2
-2
No files found.
googletest/include/gtest/internal/gtest-port.h
View file @
0f656795
...
@@ -2675,7 +2675,7 @@ bool ParseInt32(const Message& src_text, const char* str, Int32* value);
...
@@ -2675,7 +2675,7 @@ bool ParseInt32(const Message& src_text, const char* str, Int32* value);
// corresponding to the given Google Test flag.
// corresponding to the given Google Test flag.
bool
BoolFromGTestEnv
(
const
char
*
flag
,
bool
default_val
);
bool
BoolFromGTestEnv
(
const
char
*
flag
,
bool
default_val
);
GTEST_API_
Int32
Int32FromGTestEnv
(
const
char
*
flag
,
Int32
default_val
);
GTEST_API_
Int32
Int32FromGTestEnv
(
const
char
*
flag
,
Int32
default_val
);
std
::
string
SpecialCase_Output_Flag_XML_OUTPUT_FILE_Env
();
std
::
string
OutputFlagAlsoCheckEnvVar
();
const
char
*
StringFromGTestEnv
(
const
char
*
flag
,
const
char
*
default_val
);
const
char
*
StringFromGTestEnv
(
const
char
*
flag
,
const
char
*
default_val
);
}
// namespace internal
}
// namespace internal
...
...
googletest/src/gtest-port.cc
View file @
0f656795
...
@@ -1228,7 +1228,7 @@ Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
...
@@ -1228,7 +1228,7 @@ Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
// not check that the flag is 'output'
// not check that the flag is 'output'
// In essence this checks env. variable called XML_OUTPUT_FILE
// In essence this checks env. variable called XML_OUTPUT_FILE
// if it is set we prepend "xml:" to its value , if it not set we return ""
// if it is set we prepend "xml:" to its value , if it not set we return ""
std
::
string
SpecialCase_Output_Flag_XML_OUTPUT_FILE_Env
(){
std
::
string
OutputFlagAlsoCheckEnvVar
(){
std
::
string
default_value_for_output_flag
=
""
;
std
::
string
default_value_for_output_flag
=
""
;
const
char
*
xml_output_file_env
=
posix
::
GetEnv
(
"XML_OUTPUT_FILE"
);
const
char
*
xml_output_file_env
=
posix
::
GetEnv
(
"XML_OUTPUT_FILE"
);
if
(
NULL
!=
xml_output_file_env
)
{
if
(
NULL
!=
xml_output_file_env
)
{
...
...
googletest/src/gtest.cc
View file @
0f656795
...
@@ -238,7 +238,7 @@ GTEST_DEFINE_bool_(list_tests, false,
...
@@ -238,7 +238,7 @@ GTEST_DEFINE_bool_(list_tests, false,
GTEST_DEFINE_string_
(
GTEST_DEFINE_string_
(
output
,
output
,
internal
::
StringFromGTestEnv
(
"output"
,
internal
::
StringFromGTestEnv
(
"output"
,
internal
::
SpecialCase_Output_Flag_XML_OUTPUT_FILE_Env
().
c_str
()),
internal
::
OutputFlagAlsoCheckEnvVar
().
c_str
()),
"A format (defaults to
\"
xml
\"
but can be specified to be
\"
json
\"
), "
"A format (defaults to
\"
xml
\"
but can be specified to be
\"
json
\"
), "
"optionally followed by a colon and an output file name or directory. "
"optionally followed by a colon and an output file name or directory. "
"A directory is indicated by a trailing pathname separator. "
"A directory is indicated by a trailing pathname separator. "
...
...
googletest/test/gtest_list_tests_unittest.py
View file @
0f656795
...
@@ -70,7 +70,7 @@ FooTest\.
...
@@ -70,7 +70,7 @@ FooTest\.
TypedTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\.
TypedTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\.
TestA
TestA
TestB
TestB
TypedTest/1\. # TypeParam = int\s*\*
( __ptr64)?
TypedTest/1\. # TypeParam = int\s*\*
TestA
TestA
TestB
TestB
TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
@@ -79,7 +79,7 @@ TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
@@ -79,7 +79,7 @@ TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
My/TypeParamTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\.
My/TypeParamTest/0\. # TypeParam = (VeryLo{245}|class VeryLo{239})\.\.\.
TestA
TestA
TestB
TestB
My/TypeParamTest/1\. # TypeParam = int\s*\*
( __ptr64)?
My/TypeParamTest/1\. # TypeParam = int\s*\*
TestA
TestA
TestB
TestB
My/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42>
My/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
...
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