|
Monero
|
Classes | |
| class | GTestListTestsUnitTest |
Functions | |
| Run (args) | |
Variables | |
| str | __author__ = 'phanna@google.com (Patrick Hanna)' |
| str | LIST_TESTS_FLAG = 'gtest_list_tests' |
| EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_') | |
| EXPECTED_OUTPUT_NO_FILTER_RE = re.compile() | |
| 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.
| gtest_list_tests_unittest.Run | ( | args | ) |
Runs gtest_list_tests_unittest_ and returns the list of tests printed.
|
private |
| gtest_list_tests_unittest.EXE_PATH = gtest_test_utils.GetTestExecutablePath('gtest_list_tests_unittest_') |
| gtest_list_tests_unittest.EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile() |
| gtest_list_tests_unittest.EXPECTED_OUTPUT_NO_FILTER_RE = re.compile() |
| str gtest_list_tests_unittest.LIST_TESTS_FLAG = 'gtest_list_tests' |