googletest-list-tests-unittest.py (googletest-release-1.11.0) | : | googletest-list-tests-unittest.py (googletest-release-1.12.0) | ||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
"""Unit test for Google Test's --gtest_list_tests flag. | """Unit test for Google Test's --gtest_list_tests flag. | |||
A user can ask Google Test to list all tests by specifying the | A user can ask Google Test to list all tests by specifying the | |||
--gtest_list_tests flag. This script tests such functionality | --gtest_list_tests flag. This script tests such functionality | |||
by invoking googletest-list-tests-unittest_ (a program written with | by invoking googletest-list-tests-unittest_ (a program written with | |||
Google Test) the command line flags. | Google Test) the command line flags. | |||
""" | """ | |||
import re | import re | |||
import gtest_test_utils | from googletest.test import gtest_test_utils | |||
# Constants. | # Constants. | |||
# The command line flag for enabling/disabling listing all tests. | # The command line flag for enabling/disabling listing all tests. | |||
LIST_TESTS_FLAG = 'gtest_list_tests' | LIST_TESTS_FLAG = 'gtest_list_tests' | |||
# Path to the googletest-list-tests-unittest_ program. | # Path to the googletest-list-tests-unittest_ program. | |||
EXE_PATH = gtest_test_utils.GetTestExecutablePath('googletest-list-tests-unittes t_') | EXE_PATH = gtest_test_utils.GetTestExecutablePath('googletest-list-tests-unittes t_') | |||
# The expected output when running googletest-list-tests-unittest_ with | # The expected output when running googletest-list-tests-unittest_ with | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |