Lab_1 0.1.1
Matrix Library
|
Public Member Functions | |
TestHelpFlag (self, flag) | |
TestUnknownFlagWithAbseil (self, flag) | |
TestNonHelpFlag (self, flag) | |
testPrintsHelpWithFullFlag (self) | |
testPrintsHelpWithUnrecognizedGoogleTestFlag (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.testRunsTestsWithGtestInternalFlag | ( | self | ) |
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 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.