tesseract v5.3.3.20231005
|
Public Member Functions | |
def | testNonEmptyJsonOutput (self) |
def | testNoTestJsonOutput (self) |
def | testTimestampValue (self) |
def | testDefaultOutputFile (self) |
def | testSuppressedJsonOutput (self) |
def | testFilteredTestJsonOutput (self) |
Unit test for Google Test's JSON output functionality.
Definition at line 676 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testDefaultOutputFile | ( | self | ) |
Verifies the default output file name. Confirms that Google Test produces an JSON output file with the expected default name if no name is explicitly specified.
Definition at line 725 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testFilteredTestJsonOutput | ( | self | ) |
Verifies JSON 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 JSON output.
Definition at line 779 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testNonEmptyJsonOutput | ( | self | ) |
Verifies JSON output for a Google Test binary with non-empty output. Runs a test program that generates a non-empty JSON output, and tests that the JSON output is expected.
Definition at line 684 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testNoTestJsonOutput | ( | self | ) |
Verifies JSON output for a Google Test binary without actual tests. Runs a test program that generates an JSON output for a binary with no tests, and tests that the JSON output is expected.
Definition at line 692 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testSuppressedJsonOutput | ( | self | ) |
Verifies that no JSON output is generated. Tests that no JSON file is generated if the default JSON listener is shut down before RUN_ALL_TESTS is invoked.
Definition at line 749 of file googletest-json-output-unittest.py.
def googletest-json-output-unittest.GTestJsonOutputUnitTest.testTimestampValue | ( | self | ) |
Checks whether the timestamp attribute in the JSON output is valid. Runs a test program that generates an empty JSON output, and checks if the timestamp attribute in the testsuites tag is valid.
Definition at line 701 of file googletest-json-output-unittest.py.