Public Member Functions | |
def | testDefaultOutputFile |
def | testDefaultOutputFile |
def | testEmptyXmlOutput |
def | testEmptyXmlOutput |
def | testFilteredTestXmlOutput |
def | testFilteredTestXmlOutput |
def | testNonEmptyXmlOutput |
def | testNonEmptyXmlOutput |
def | testSuppressedXmlOutput |
def | testSuppressedXmlOutput |
def | testTimestampValue |
def | testTimestampValue |
Private Member Functions | |
def | _GetXmlOutput |
def | _GetXmlOutput |
def | _TestXmlOutput |
def | _TestXmlOutput |
Unit test for Google Test's XML output functionality.
Definition at line 152 of file gmock/gtest/test/gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest._GetXmlOutput | ( | self, | |
gtest_prog_name, | |||
extra_args, | |||
expected_exit_code | |||
) | [private] |
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
Definition at line 262 of file gmock/gtest/test/gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest._GetXmlOutput | ( | self, | |
gtest_prog_name, | |||
extra_args, | |||
expected_exit_code | |||
) | [private] |
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
Definition at line 262 of file gtest/test/gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest._TestXmlOutput | ( | self, | |
gtest_prog_name, | |||
expected_xml, | |||
expected_exit_code, | |||
extra_args = None |
|||
) | [private] |
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.
Definition at line 286 of file gmock/gtest/test/gtest_xml_output_unittest.py.
def gtest_xml_output_unittest.GTestXMLOutputUnitTest._TestXmlOutput | ( | self, | |
gtest_prog_name, | |||
expected_xml, | |||
expected_exit_code, | |||
extra_args = None |
|||
) | [private] |
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.
Definition at line 286 of file gtest/test/gtest_xml_output_unittest.py.
Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified.
Definition at line 201 of file gtest/test/gtest_xml_output_unittest.py.
Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified.
Definition at line 201 of file gmock/gtest/test/gtest_xml_output_unittest.py.
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.
Definition at line 167 of file gmock/gtest/test/gtest_xml_output_unittest.py.
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.
Definition at line 167 of file gtest/test/gtest_xml_output_unittest.py.
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 252 of file gtest/test/gtest_xml_output_unittest.py.
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 252 of file gmock/gtest/test/gtest_xml_output_unittest.py.
Runs a test program that generates a non-empty XML output, and tests that the XML output is expected.
Definition at line 160 of file gtest/test/gtest_xml_output_unittest.py.
Runs a test program that generates a non-empty XML output, and tests that the XML output is expected.
Definition at line 160 of file gmock/gtest/test/gtest_xml_output_unittest.py.
Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked.
Definition at line 223 of file gmock/gtest/test/gtest_xml_output_unittest.py.
Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked.
Definition at line 223 of file gtest/test/gtest_xml_output_unittest.py.
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 176 of file gmock/gtest/test/gtest_xml_output_unittest.py.
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 176 of file gtest/test/gtest_xml_output_unittest.py.