Tests the --help flag and its equivalent forms.
Definition at line 98 of file gtest_help_test.py.
def 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.
Definition at line 101 of file gtest_help_test.py.
def 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.
Definition at line 125 of file gtest_help_test.py.
Definition at line 139 of file gtest_help_test.py.
Definition at line 154 of file gtest_help_test.py.
Definition at line 145 of file gtest_help_test.py.
Definition at line 142 of file gtest_help_test.py.
Definition at line 151 of file gtest_help_test.py.
Definition at line 148 of file gtest_help_test.py.
Verifies that the tests are run and no help message is printed when a flag starting with Google Test prefix and 'internal_' is supplied.
Definition at line 164 of file gtest_help_test.py.
Verifies that when no help flag is specified, the tests are run and the help message is not printed.
Definition at line 158 of file gtest_help_test.py.