tesseract v5.3.3.20231005
|
Classes | |
class | GTestHelpTest |
Functions | |
def | RunWithFlag (flag) |
Variables | |
string | IS_LINUX = 'Linux' |
string | IS_GNUKFREEBSD = 'GNU/kFreeBSD' |
string | IS_WINDOWS = 'nt' |
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 |
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.
Definition at line 81 of file gtest_help_test.py.
string gtest_help_test.DEATH_TEST_STYLE_FLAG = FLAG_PREFIX + 'death_test_style' |
Definition at line 51 of file gtest_help_test.py.
string gtest_help_test.FLAG_PREFIX = '--gtest_' |
Definition at line 50 of file gtest_help_test.py.
gtest_help_test.HELP_REGEX |
Definition at line 64 of file gtest_help_test.py.
list gtest_help_test.INCORRECT_FLAG_VARIANTS |
Definition at line 55 of file gtest_help_test.py.
string gtest_help_test.INTERNAL_FLAG_FOR_TESTING = FLAG_PREFIX + 'internal_flag_for_testing' |
Definition at line 58 of file gtest_help_test.py.
string gtest_help_test.IS_GNUKFREEBSD = 'GNU/kFreeBSD' |
Definition at line 46 of file gtest_help_test.py.
string gtest_help_test.IS_LINUX = 'Linux' |
Definition at line 45 of file gtest_help_test.py.
string gtest_help_test.IS_WINDOWS = 'nt' |
Definition at line 47 of file gtest_help_test.py.
string gtest_help_test.LIST_TESTS_FLAG = FLAG_PREFIX + 'list_tests' |
Definition at line 54 of file gtest_help_test.py.
gtest_help_test.PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('gtest_help_test_') |
Definition at line 49 of file gtest_help_test.py.
string gtest_help_test.STREAM_RESULT_TO_FLAG = FLAG_PREFIX + 'stream_result_to' |
Definition at line 52 of file gtest_help_test.py.
string gtest_help_test.SUPPORTS_DEATH_TESTS |
Definition at line 60 of file gtest_help_test.py.
string gtest_help_test.UNKNOWN_FLAG = FLAG_PREFIX + 'unknown_flag_for_testing' |
Definition at line 53 of file gtest_help_test.py.