- 3.0.1 core module.
gtest_help_test.GTestHelpTest Class Reference
Inheritance diagram for gtest_help_test.GTestHelpTest:

Public Member Functions

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

Detailed Description

Tests the --help flag and its equivalent forms.

Member Function Documentation

def gtest_help_test.GTestHelpTest.TestHelpFlag (   self,
  flag 
)
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.

References gtest_help_test.RunWithFlag().

Referenced by gtest_help_test.GTestHelpTest.testRunsTestsWithGtestInternalFlag(), and gtest_help_test.GTestHelpTest.testRunsTestsWithoutHelpFlag().

def gtest_help_test.GTestHelpTest.testPrintsHelpWithFullFlag (   self)
def gtest_help_test.GTestHelpTest.testPrintsHelpWithShortFlag (   self)
def gtest_help_test.GTestHelpTest.testPrintsHelpWithQuestionFlag (   self)
def gtest_help_test.GTestHelpTest.testPrintsHelpWithWindowsStyleQuestionFlag (   self)
def gtest_help_test.GTestHelpTest.testPrintsHelpWithUnrecognizedGoogleTestFlag (   self)
def gtest_help_test.GTestHelpTest.testPrintsHelpWithIncorrectFlagStyle (   self)
def 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.

References gtest_help_test.GTestHelpTest.TestNonHelpFlag().

def 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.

References gtest_test_utils.Main(), and gtest_help_test.GTestHelpTest.TestNonHelpFlag().


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