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
9bc86661
Commit
9bc86661
authored
Jan 22, 2018
by
Gennadiy Civil
Browse files
more merging
parent
a0435a54
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
googletest/test/gtest_list_tests_unittest.py
googletest/test/gtest_list_tests_unittest.py
+4
-4
googletest/test/gtest_test_utils.py
googletest/test/gtest_test_utils.py
+0
-2
No files found.
googletest/test/gtest_list_tests_unittest.py
View file @
9bc86661
...
@@ -39,8 +39,9 @@ Google Test) the command line flags.
...
@@ -39,8 +39,9 @@ Google Test) the command line flags.
__author__
=
'phanna@google.com (Patrick Hanna)'
__author__
=
'phanna@google.com (Patrick Hanna)'
import
re
import
gtest_test_utils
import
gtest_test_utils
import
re
# Constants.
# Constants.
...
@@ -70,7 +71,7 @@ FooTest\.
...
@@ -70,7 +71,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*\*
TypedTest/1\. # TypeParam = int\s*\*
( __ptr64)?
TestA
TestA
TestB
TestB
TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
@@ -79,7 +80,7 @@ TypedTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
@@ -79,7 +80,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*\*
My/TypeParamTest/1\. # TypeParam = int\s*\*
( __ptr64)?
TestA
TestA
TestB
TestB
My/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42>
My/TypeParamTest/2\. # TypeParam = .*MyArray<bool,\s*42>
...
@@ -122,7 +123,6 @@ def Run(args):
...
@@ -122,7 +123,6 @@ def Run(args):
# The unit test.
# The unit test.
class
GTestListTestsUnitTest
(
gtest_test_utils
.
TestCase
):
class
GTestListTestsUnitTest
(
gtest_test_utils
.
TestCase
):
"""Tests using the --gtest_list_tests flag to list all tests."""
"""Tests using the --gtest_list_tests flag to list all tests."""
...
...
googletest/test/gtest_test_utils.py
View file @
9bc86661
...
@@ -145,8 +145,6 @@ atexit.register(_RemoveTempDir)
...
@@ -145,8 +145,6 @@ atexit.register(_RemoveTempDir)
def
GetTempDir
():
def
GetTempDir
():
"""Returns a directory for temporary files."""
global
_temp_dir
global
_temp_dir
if
not
_temp_dir
:
if
not
_temp_dir
:
_temp_dir
=
tempfile
.
mkdtemp
()
_temp_dir
=
tempfile
.
mkdtemp
()
...
...
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