- 3.0.1 core module.
|
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) |
Tests using the --gtest_list_tests flag to list all tests.
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 | ) |
Tests the behavior of the default mode.
References googletest-break-on-failure-unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), googletest-list-tests-unittest.GTestListTestsUnitTest.RunAndVerify(), and googletest-filter-unittest.GTestFilterUnitTest.RunAndVerify().
def googletest-list-tests-unittest.GTestListTestsUnitTest.testFlag | ( | self | ) |
Tests using the --gtest_list_tests flag.
References googletest-break-on-failure-unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), googletest-list-tests-unittest.GTestListTestsUnitTest.RunAndVerify(), and googletest-filter-unittest.GTestFilterUnitTest.RunAndVerify().
def googletest-list-tests-unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags | ( | self | ) |
Tests that --gtest_list_tests overrides the non-filter flags.
References googletest-break-on-failure-unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), googletest-list-tests-unittest.GTestListTestsUnitTest.RunAndVerify(), and googletest-filter-unittest.GTestFilterUnitTest.RunAndVerify().
def googletest-list-tests-unittest.GTestListTestsUnitTest.testWithFilterFlags | ( | self | ) |
Tests that --gtest_list_tests takes into account the --gtest_filter flag.
References gtest_test_utils.Main(), googletest-break-on-failure-unittest.GTestBreakOnFailureUnitTest.RunAndVerify(), googletest-list-tests-unittest.GTestListTestsUnitTest.RunAndVerify(), and googletest-filter-unittest.GTestFilterUnitTest.RunAndVerify().