class_docstr: Unit test for Google Test's list tests with output to file functionality.
    
docstr: Verifies XML output for listing tests in a Google Test binary.
  
  Runs a test program that generates an empty XML output, and
  tests that the XML output is expected.
docstr_tok: ["Verifies","XML","output","for","listing","tests","in","a","Google","Test","binary",".","Runs","a","test","program","that","generates","an","empty","XML","output",",","and","tests","that","the","XML","output","is","expected","."]
code: def testJSON(self):
      """Verifies XML output for listing tests in a Google Test binary.
  
      Runs a test program that generates an empty XML output, and
      tests that the XML output is expected.
      """
      self._TestOutput("json", EXPECTED_JSON)
  
file_path: infinity/third_party/googletest/googletest/test/gtest_list_output_unittest.py
imports: import os
  import re
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 2 for calling the GTestListTestsOutputUnitTest obj's underlying member method code with example usage: obj.testJSON() without return types