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
14c2fba7
Commit
14c2fba7
authored
Jan 02, 2019
by
misterg
Committed by
Gennadiy Civil
Jan 02, 2019
Browse files
Googletest export
Internal Change PiperOrigin-RevId: 227575279
parent
f8b1c1af
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1 addition
and
16 deletions
+1
-16
googletest/test/googletest-options-test.cc
googletest/test/googletest-options-test.cc
+0
-1
googletest/test/googletest-output-test.py
googletest/test/googletest-output-test.py
+0
-1
googletest/test/googletest-test-part-test.cc
googletest/test/googletest-test-part-test.cc
+0
-2
googletest/test/googletest-throw-on-failure-test.py
googletest/test/googletest-throw-on-failure-test.py
+1
-2
googletest/test/gtest_assert_by_exception_test.cc
googletest/test/gtest_assert_by_exception_test.cc
+0
-1
googletest/test/gtest_repeat_test.cc
googletest/test/gtest_repeat_test.cc
+0
-1
googletest/test/gtest_test_utils.py
googletest/test/gtest_test_utils.py
+0
-2
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+0
-1
googletest/test/gtest_xml_outfiles_test.py
googletest/test/gtest_xml_outfiles_test.py
+0
-5
No files found.
googletest/test/googletest-options-test.cc
View file @
14c2fba7
...
...
@@ -111,7 +111,6 @@ TEST(OutputFileHelpersTest, GetCurrentExecutableName) {
#elif GTEST_OS_FUCHSIA
const
bool
success
=
exe_str
==
"app"
;
#else
// FIXME: remove the hard-coded "lt-" prefix when libtool replacement is ready
const
bool
success
=
exe_str
==
"googletest-options-test"
||
exe_str
==
"gtest_all_test"
||
...
...
googletest/test/googletest-output-test.py
View file @
14c2fba7
...
...
@@ -55,7 +55,6 @@ NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'
IS_LINUX
=
os
.
name
==
'posix'
and
os
.
uname
()[
0
]
==
'Linux'
IS_WINDOWS
=
os
.
name
==
'nt'
# FIXME: remove the _lin suffix.
GOLDEN_NAME
=
'googletest-output-test-golden-lin.txt'
PROGRAM_PATH
=
gtest_test_utils
.
GetTestExecutablePath
(
'googletest-output-test_'
)
...
...
googletest/test/googletest-test-part-test.cc
View file @
14c2fba7
...
...
@@ -227,6 +227,4 @@ TEST_F(TestPartResultArrayDeathTest, DiesWhenIndexIsOutOfBound) {
EXPECT_DEATH_IF_SUPPORTED
(
results
.
GetTestPartResult
(
1
),
""
);
}
// FIXME: Add a test for the class HasNewFatalFailureHelper.
}
// namespace
googletest/test/googletest-throw-on-failure-test.py
View file @
14c2fba7
...
...
@@ -73,8 +73,7 @@ def Run(command):
return
p
.
exited
and
p
.
exit_code
==
0
# The tests. FIXME: refactor the class to share common
# logic with code in googletest-break-on-failure-unittest.py.
# The tests.
class
ThrowOnFailureTest
(
gtest_test_utils
.
TestCase
):
"""Tests the throw-on-failure mode."""
...
...
googletest/test/gtest_assert_by_exception_test.cc
View file @
14c2fba7
...
...
@@ -96,7 +96,6 @@ TEST(Test, Test) {
int
kTestForContinuingTest
=
0
;
TEST
(
Test
,
Test2
)
{
// FIXME: how to force Test2 to be after Test?
kTestForContinuingTest
=
1
;
}
...
...
googletest/test/gtest_repeat_test.cc
View file @
14c2fba7
...
...
@@ -117,7 +117,6 @@ const int kNumberOfParamTests = 10;
class
MyParamTest
:
public
testing
::
TestWithParam
<
int
>
{};
TEST_P
(
MyParamTest
,
ShouldPass
)
{
// FIXME: Make parameter value checking robust WRT order of tests.
GTEST_CHECK_INT_EQ_
(
g_param_test_count
%
kNumberOfParamTests
,
GetParam
());
g_param_test_count
++
;
}
...
...
googletest/test/gtest_test_utils.py
View file @
14c2fba7
...
...
@@ -307,8 +307,6 @@ def Main():
_ParseAndStripGTestFlags
(
sys
.
argv
)
# The tested binaries should not be writing XML output files unless the
# script explicitly instructs them to.
# FIXME: Move this into Subprocess when we implement
# passing environment into it as a parameter.
if
GTEST_OUTPUT_VAR_NAME
in
os
.
environ
:
del
os
.
environ
[
GTEST_OUTPUT_VAR_NAME
]
...
...
googletest/test/gtest_unittest.cc
View file @
14c2fba7
...
...
@@ -7013,7 +7013,6 @@ GTEST_TEST(AlternativeNameTest, Works) { // GTEST_TEST is the same as TEST.
// Tests for internal utilities necessary for implementation of the universal
// printing.
// FIXME: Find a better home for them.
class
ConversionHelperBase
{};
class
ConversionHelperDerived
:
public
ConversionHelperBase
{};
...
...
googletest/test/gtest_xml_outfiles_test.py
View file @
14c2fba7
...
...
@@ -111,11 +111,6 @@ class GTestXMLOutFilesTest(gtest_xml_test_utils.GTestXMLTestCase):
self
.
assert_
(
p
.
exited
)
self
.
assertEquals
(
0
,
p
.
exit_code
)
# FIXME: libtool causes the built test binary to be
# named lt-gtest_xml_outfiles_test_ instead of
# gtest_xml_outfiles_test_. To account for this possibility, we
# allow both names in the following code. We should remove this
# when libtool replacement tool is ready.
output_file_name1
=
test_name
+
".xml"
output_file1
=
os
.
path
.
join
(
self
.
output_dir_
,
output_file_name1
)
output_file_name2
=
'lt-'
+
output_file_name1
...
...
Prev
1
2
Next
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