Support JSON output format in addition to XML

This change allows emitting output in JSON format in addition to the
already supported XML format. The implementation as well as the file
structure is intentionally modelled after the XML one.
This commit is contained in:
Petr Hosek
2018-02-26 01:15:50 -08:00
parent fe1144246e
commit 6baf17e9d1
6 changed files with 1403 additions and 10 deletions

View File

@@ -306,7 +306,9 @@ if (gtest_build_tests)
cxx_executable(gtest_xml_outfile1_test_ test gtest_main)
cxx_executable(gtest_xml_outfile2_test_ test gtest_main)
py_test(gtest_xml_outfiles_test)
py_test(gtest_json_outfiles_test)
cxx_executable(gtest_xml_output_unittest_ test gtest)
py_test(gtest_xml_output_unittest)
py_test(gtest_json_output_unittest)
endif()