|
Monero
|
Classes | |
| class | GTestHelpTest |
Functions | |
| RunWithFlag (flag) | |
Variables | |
| str | __author__ = 'wan@google.com (Zhanyong Wan)' |
| str | IS_LINUX = 'Linux' |
| str | IS_WINDOWS = 'nt' |
| PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_') | |
| str | FLAG_PREFIX = '--gtest_' |
| str | DEATH_TEST_STYLE_FLAG = FLAG_PREFIX + 'death_test_style' |
| str | STREAM_RESULT_TO_FLAG = FLAG_PREFIX + 'stream_result_to' |
| str | UNKNOWN_FLAG = FLAG_PREFIX + 'unknown_flag_for_testing' |
| str | LIST_TESTS_FLAG = FLAG_PREFIX + 'list_tests' |
| list | INCORRECT_FLAG_VARIANTS |
| str | INTERNAL_FLAG_FOR_TESTING = FLAG_PREFIX + 'internal_flag_for_testing' |
| str | SUPPORTS_DEATH_TESTS |
| HELP_REGEX | |
Tests the --help flag of Google C++ Testing Framework.
SYNOPSIS
gtest_help_test.py --build_dir=BUILD/DIR
# where BUILD/DIR contains the built gtest_help_test_ file.
gtest_help_test.py
| gtest_help_test.RunWithFlag | ( | flag | ) |
Runs gtest_help_test_ with the given flag. Returns: the exit code and the text output as a tuple. Args: flag: the command-line flag to pass to gtest_help_test_, or None.
|
private |
| str gtest_help_test.DEATH_TEST_STYLE_FLAG = FLAG_PREFIX + 'death_test_style' |
| str gtest_help_test.FLAG_PREFIX = '--gtest_' |
| gtest_help_test.HELP_REGEX |
| list gtest_help_test.INCORRECT_FLAG_VARIANTS |
| str gtest_help_test.INTERNAL_FLAG_FOR_TESTING = FLAG_PREFIX + 'internal_flag_for_testing' |
| str gtest_help_test.IS_LINUX = 'Linux' |
| str gtest_help_test.IS_WINDOWS = 'nt' |
| str gtest_help_test.LIST_TESTS_FLAG = FLAG_PREFIX + 'list_tests' |
| gtest_help_test.PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_') |
| str gtest_help_test.STREAM_RESULT_TO_FLAG = FLAG_PREFIX + 'stream_result_to' |
| str gtest_help_test.SUPPORTS_DEATH_TESTS |
| str gtest_help_test.UNKNOWN_FLAG = FLAG_PREFIX + 'unknown_flag_for_testing' |