tesseract v5.3.3.20231005
|
Public Member Functions | |
def | testNonEmptyXmlOutput (self) |
def | testNoTestXmlOutput (self) |
def | testTimestampValue (self) |
def | testDefaultOutputFile (self) |
def | testSuppressedXmlOutput (self) |
def | testFilteredTestXmlOutput (self) |
def | testShardedTestXmlOutput (self) |
![]() | |
def | AssertEquivalentNodes (self, expected_node, actual_node) |
def | NormalizeXml (self, element) |
Additional Inherited Members | |
![]() | |
dictionary | identifying_attribute |
Unit test for Google Test's XML output functionality.
Definition at line 240 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testDefaultOutputFile | ( | self | ) |
Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified.
Definition at line 289 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testFilteredTestXmlOutput | ( | self | ) |
Verifies XML output when a filter is applied. Runs a test program that executes only some tests and verifies that non-selected tests do not show up in the XML output.
Definition at line 341 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testNonEmptyXmlOutput | ( | self | ) |
Runs a test program that generates a non-empty XML output, and tests that the XML output is expected.
Definition at line 248 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testNoTestXmlOutput | ( | self | ) |
Verifies XML output for a Google Test binary without actual tests. Runs a test program that generates an XML output for a binary without tests, and tests that the XML output is expected.
Definition at line 255 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testShardedTestXmlOutput | ( | self | ) |
Verifies XML output when run using multiple shards. Runs a test program that executes only one shard and verifies that tests from other shards do not show up in the XML output.
Definition at line 351 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testSuppressedXmlOutput | ( | self | ) |
Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked.
Definition at line 312 of file gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest.testTimestampValue | ( | self | ) |
Checks whether the timestamp attribute in the XML output is valid. Runs a test program that generates an empty XML output, and checks if the timestamp attribute in the testsuites tag is valid.
Definition at line 264 of file gtest_xml_output_unittest.py.