|
Torque2D Reference
|
Classes | |
| class | GTestHelpTest |
Functions | |
| def | RunWithFlag (flag) |
Variables | |
| string | __author__ = 'wan@google.com (Zhanyong Wan)' |
| string | IS_LINUX = 'posix' |
| string | IS_WINDOWS = 'nt' |
| tuple | PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_') |
| string | FLAG_PREFIX = '--gtest_' |
| string | DEATH_TEST_STYLE_FLAG = FLAG_PREFIX+'death_test_style' |
| string | STREAM_RESULT_TO_FLAG = FLAG_PREFIX+'stream_result_to' |
| string | UNKNOWN_FLAG = FLAG_PREFIX+'unknown_flag_for_testing' |
| string | LIST_TESTS_FLAG = FLAG_PREFIX+'list_tests' |
| list | INCORRECT_FLAG_VARIANTS |
| string | INTERNAL_FLAG_FOR_TESTING = FLAG_PREFIX+'internal_flag_for_testing' |
| string | SUPPORTS_DEATH_TESTS = "DeathTest" |
| tuple | HELP_REGEX |
| def 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.
| string __author__ = 'wan@google.com (Zhanyong Wan)' |
| string DEATH_TEST_STYLE_FLAG = FLAG_PREFIX+'death_test_style' |
| string FLAG_PREFIX = '--gtest_' |
| tuple HELP_REGEX |
| list INCORRECT_FLAG_VARIANTS |
| string INTERNAL_FLAG_FOR_TESTING = FLAG_PREFIX+'internal_flag_for_testing' |
| string IS_LINUX = 'posix' |
| string IS_WINDOWS = 'nt' |
| string LIST_TESTS_FLAG = FLAG_PREFIX+'list_tests' |
| tuple PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_') |
| string STREAM_RESULT_TO_FLAG = FLAG_PREFIX+'stream_result_to' |
| string SUPPORTS_DEATH_TESTS = "DeathTest" |
| string UNKNOWN_FLAG = FLAG_PREFIX+'unknown_flag_for_testing' |
1.8.10