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
7001dff4
Commit
7001dff4
authored
Aug 01, 2018
by
Gennadiy Civil
Browse files
adding googletest-json-output unitest
parent
09fc73dd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
639 additions
and
0 deletions
+639
-0
googletest/test/BUILD.bazel
googletest/test/BUILD.bazel
+21
-0
googletest/test/googletest-json-output-unittest.py
googletest/test/googletest-json-output-unittest.py
+618
-0
No files found.
googletest/test/BUILD.bazel
View file @
7001dff4
...
@@ -449,6 +449,7 @@ py_test(
...
@@ -449,6 +449,7 @@ py_test(
deps
=
[
":gtest_test_utils"
],
deps
=
[
":gtest_test_utils"
],
)
)
py_test
(
py_test
(
name
=
"googletest-json-outfiles-test"
,
name
=
"googletest-json-outfiles-test"
,
size
=
"small"
,
size
=
"small"
,
...
@@ -462,3 +463,23 @@ py_test(
...
@@ -462,3 +463,23 @@ py_test(
],
],
deps
=
[
":gtest_test_utils"
],
deps
=
[
":gtest_test_utils"
],
)
)
py_test
(
name
=
"googletest-json-output-unittest"
,
size
=
"medium"
,
srcs
=
[
"googletest-json-output-unittest.py"
,
"gtest_json_test_utils.py"
,
],
data
=
[
# We invoke gtest_no_test_unittest to verify the JSON output
# when the test program contains no test definition.
":gtest_no_test_unittest"
,
":gtest_xml_output_unittest_"
,
],
args
=
select
({
":has_absl"
:
[],
"//conditions:default"
:
[
"--no_stacktrace_support"
],
}),
deps
=
[
":gtest_test_utils"
],
)
googletest/test/googletest-json-output-unittest.py
0 → 100644
View file @
7001dff4
This diff is collapsed.
Click to expand it.
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