tesseract v5.3.3.20231005
gtest_list_output_unittest.GTestListTestsOutputUnitTest Class Reference
Inheritance diagram for gtest_list_output_unittest.GTestListTestsOutputUnitTest:

Public Member Functions

def testXml (self)
 
def testJSON (self)
 

Detailed Description

Unit test for Google Test's list tests with output to file functionality.

Definition at line 226 of file gtest_list_output_unittest.py.

Member Function Documentation

◆ testJSON()

def gtest_list_output_unittest.GTestListTestsOutputUnitTest.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.

Definition at line 238 of file gtest_list_output_unittest.py.

238 def testJSON(self):
239 """Verifies XML output for listing tests in a Google Test binary.
240
241 Runs a test program that generates an empty XML output, and
242 tests that the XML output is expected.
243 """
244 self._TestOutput('json', EXPECTED_JSON)
245

◆ testXml()

def gtest_list_output_unittest.GTestListTestsOutputUnitTest.testXml (   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.

Definition at line 230 of file gtest_list_output_unittest.py.

230 def testXml(self):
231 """Verifies XML output for listing tests in a Google Test binary.
232
233 Runs a test program that generates an empty XML output, and
234 tests that the XML output is expected.
235 """
236 self._TestOutput('xml', EXPECTED_XML)
237

The documentation for this class was generated from the following file: