- 3.0.1 core module.
googletest-list-tests-unittest.GTestListTestsUnitTest Class Reference
Inheritance diagram for googletest-list-tests-unittest.GTestListTestsUnitTest:

Public Member Functions

def RunAndVerify (self, flag_value, expected_output_re, other_flag)
 
def testDefaultBehavior (self)
 
def testFlag (self)
 
def testOverrideNonFilterFlags (self)
 
def testWithFilterFlags (self)
 

Detailed Description

Tests using the --gtest_list_tests flag to list all tests.

Member Function Documentation

def googletest-list-tests-unittest.GTestListTestsUnitTest.RunAndVerify (   self,
  flag_value,
  expected_output_re,
  other_flag 
)
Runs googletest-list-tests-unittest_ and verifies that it prints
the correct tests.

Args:
  flag_value:         value of the --gtest_list_tests flag;
                  None if the flag should not be present.
  expected_output_re: regular expression that matches the expected
                  output after running command;
  other_flag:         a different flag to be passed to command
                  along with gtest_list_tests;
                  None if the flag should not be present.

References googletest-list-tests-unittest.Run().

Referenced by googletest-throw-on-failure-test.ThrowOnFailureTest.testDefaultBehavior(), googletest-list-tests-unittest.GTestListTestsUnitTest.testDefaultBehavior(), googletest-list-tests-unittest.GTestListTestsUnitTest.testFlag(), googletest-list-tests-unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags(), googletest-throw-on-failure-test.ThrowOnFailureTest.testThrowOnFailureEnvVar(), googletest-throw-on-failure-test.ThrowOnFailureTest.testThrowOnFailureFlag(), googletest-throw-on-failure-test.ThrowOnFailureTest.testThrowOnFailureFlagOverridesEnvVar(), and googletest-list-tests-unittest.GTestListTestsUnitTest.testWithFilterFlags().

def googletest-list-tests-unittest.GTestListTestsUnitTest.testDefaultBehavior (   self)
def googletest-list-tests-unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags (   self)
def googletest-list-tests-unittest.GTestListTestsUnitTest.testWithFilterFlags (   self)

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