|
cMHN 1.2
C++ library for learning MHNs with pRC
|
Public Member Functions | |
| TestHelpFlag (self, flag) | |
| TestUnknownFlagWithAbseil (self, flag) | |
| TestNonHelpFlag (self, flag) | |
| testPrintsHelpWithFullFlag (self) | |
| testRunsTestsWithoutHelpFlag (self) | |
| testRunsTestsWithGtestInternalFlag (self) | |
Tests the --help flag and its equivalent forms.
| gtest_help_test.GTestHelpTest.TestHelpFlag | ( | self, | |
| flag ) |
Verifies correct behavior when help flag is specified. The right message must be printed and the tests must skipped when the given flag is specified. Args: flag: A flag to pass to the binary or None.
| gtest_help_test.GTestHelpTest.TestNonHelpFlag | ( | self, | |
| flag ) |
Verifies correct behavior when no help flag is specified. Verifies that when no help flag is specified, the tests are run and the help message is not printed. Args: flag: A flag to pass to the binary or None.
| gtest_help_test.GTestHelpTest.testPrintsHelpWithFullFlag | ( | self | ) |
| gtest_help_test.GTestHelpTest.testRunsTestsWithGtestInternalFlag | ( | self | ) |
Verifies correct behavior when internal testing flag is specified. Verifies that the tests are run and no help message is printed when a flag starting with Google Test prefix and 'internal_' is supplied.
| gtest_help_test.GTestHelpTest.testRunsTestsWithoutHelpFlag | ( | self | ) |
Verifies correct behavior when no help flag is specified. Verifies that when no help flag is specified, the tests are run and the help message is not printed.
| gtest_help_test.GTestHelpTest.TestUnknownFlagWithAbseil | ( | self, | |
| flag ) |
Verifies correct behavior when an unknown flag is specified. The right message must be printed and the tests must skipped when the given flag is specified. Args: flag: A flag to pass to the binary or None.