|
Monero
|
Classes | |
| class | GTestListTestsUnitTest |
Functions | |
| def | Run (args) |
Variables | |
| str | __author__ = 'phanna@google.com (Patrick Hanna)' |
| str | LIST_TESTS_FLAG = 'gtest_list_tests' |
| gtest_test_utils | EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_') |
| re | EXPECTED_OUTPUT_NO_FILTER_RE = re.compile() |
| re | EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile() |
Unit test for Google Test's --gtest_list_tests flag. A user can ask Google Test to list all tests by specifying the --gtest_list_tests flag. This script tests such functionality by invoking gtest_list_tests_unittest_ (a program written with Google Test) the command line flags.
| def gtest_list_tests_unittest.Run | ( | args | ) |
Runs gtest_list_tests_unittest_ and returns the list of tests printed.
|
private |
| gtest_test_utils gtest_list_tests_unittest.EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_') |
| re gtest_list_tests_unittest.EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile() |
| re gtest_list_tests_unittest.EXPECTED_OUTPUT_NO_FILTER_RE = re.compile() |
| str gtest_list_tests_unittest.LIST_TESTS_FLAG = 'gtest_list_tests' |