Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
gtest_help_test.GTestHelpTest Class Reference
Inheritance diagram for gtest_help_test.GTestHelpTest:

Public Member Functions

 TestHelpFlag (self, flag)
 
 TestNonHelpFlag (self, flag)
 
 testPrintsHelpWithFullFlag (self)
 
 testPrintsHelpWithShortFlag (self)
 
 testPrintsHelpWithQuestionFlag (self)
 
 testPrintsHelpWithWindowsStyleQuestionFlag (self)
 
 testPrintsHelpWithUnrecognizedGoogleTestFlag (self)
 
 testPrintsHelpWithIncorrectFlagStyle (self)
 
 testRunsTestsWithoutHelpFlag (self)
 
 testRunsTestsWithGtestInternalFlag (self)
 

Detailed Description

Tests the --help flag and its equivalent forms.

Member Function Documentation

◆ TestHelpFlag()

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.

◆ TestNonHelpFlag()

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.

◆ testRunsTestsWithGtestInternalFlag()

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.

◆ testRunsTestsWithoutHelpFlag()

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.

The documentation for this class was generated from the following file: