|
Monero
|


Public Member Functions | |
| testNonEmptyXmlOutput (self) | |
| testEmptyXmlOutput (self) | |
| testTimestampValue (self) | |
| testDefaultOutputFile (self) | |
| testSuppressedXmlOutput (self) | |
| testFilteredTestXmlOutput (self) | |
| Public Member Functions inherited from gtest_xml_test_utils.GTestXMLTestCase | |
| AssertEquivalentNodes (self, expected_node, actual_node) | |
| NormalizeXml (self, element) | |
Protected Member Functions | |
| _GetXmlOutput (self, gtest_prog_name, extra_args, expected_exit_code) | |
| _TestXmlOutput (self, gtest_prog_name, expected_xml, expected_exit_code, extra_args=None) | |
| Protected Member Functions inherited from gtest_xml_test_utils.GTestXMLTestCase | |
| _GetChildren (self, element) | |
Additional Inherited Members | |
| Static Public Attributes inherited from gtest_xml_test_utils.GTestXMLTestCase | |
| dict | identifying_attribute |
Unit test for Google Test's XML output functionality.
|
protected |
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
|
protected |
Asserts that the XML document generated by running the program gtest_prog_name matches expected_xml, a string containing another XML document. Furthermore, the program's exit code must be expected_exit_code.
| 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.
| gtest_xml_output_unittest.GTestXMLOutputUnitTest.testEmptyXmlOutput | ( | self | ) |
Verifies XML output for a Google Test binary without actual tests. Runs a test program that generates an empty XML output, and tests that the XML output is expected.
| 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.
| 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.
| 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.
| 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.