tesseract v5.3.3.20231005
googletest-catch-exceptions-test Namespace Reference

Classes

class  CatchCxxExceptionsTest
 
class  CatchSehExceptionsTest
 

Variables

string FLAG_PREFIX = '--gtest_'
 
string LIST_TESTS_FLAG = FLAG_PREFIX + 'list_tests'
 
string NO_CATCH_EXCEPTIONS_FLAG = FLAG_PREFIX + 'catch_exceptions=0'
 
string FILTER_FLAG = FLAG_PREFIX + 'filter'
 
 EX_EXE_PATH
 
 EXE_PATH
 
 environ = gtest_test_utils.environ
 
 SetEnvVar = gtest_test_utils.SetEnvVar
 
 TEST_LIST
 
string SUPPORTS_SEH_EXCEPTIONS = 'ThrowsSehException' in TEST_LIST
 
 BINARY_OUTPUT = gtest_test_utils.Subprocess([EXE_PATH], env=environ).output
 
 EX_BINARY_OUTPUT
 

Variable Documentation

◆ BINARY_OUTPUT

googletest-catch-exceptions-test.BINARY_OUTPUT = gtest_test_utils.Subprocess([EXE_PATH], env=environ).output

Definition at line 72 of file googletest-catch-exceptions-test.py.

◆ environ

googletest-catch-exceptions-test.environ = gtest_test_utils.environ

Definition at line 56 of file googletest-catch-exceptions-test.py.

◆ EX_BINARY_OUTPUT

googletest-catch-exceptions-test.EX_BINARY_OUTPUT
Initial value:
2 [EX_EXE_PATH], env=environ).output

Definition at line 74 of file googletest-catch-exceptions-test.py.

◆ EX_EXE_PATH

googletest-catch-exceptions-test.EX_EXE_PATH
Initial value:
2 'googletest-catch-exceptions-ex-test_')
def GetTestExecutablePath(executable_name, build_dir=None)

Definition at line 48 of file googletest-catch-exceptions-test.py.

◆ EXE_PATH

googletest-catch-exceptions-test.EXE_PATH
Initial value:
2 'googletest-catch-exceptions-no-ex-test_')

Definition at line 53 of file googletest-catch-exceptions-test.py.

◆ FILTER_FLAG

string googletest-catch-exceptions-test.FILTER_FLAG = FLAG_PREFIX + 'filter'

Definition at line 44 of file googletest-catch-exceptions-test.py.

◆ FLAG_PREFIX

string googletest-catch-exceptions-test.FLAG_PREFIX = '--gtest_'

Definition at line 41 of file googletest-catch-exceptions-test.py.

◆ LIST_TESTS_FLAG

string googletest-catch-exceptions-test.LIST_TESTS_FLAG = FLAG_PREFIX + 'list_tests'

Definition at line 42 of file googletest-catch-exceptions-test.py.

◆ NO_CATCH_EXCEPTIONS_FLAG

string googletest-catch-exceptions-test.NO_CATCH_EXCEPTIONS_FLAG = FLAG_PREFIX + 'catch_exceptions=0'

Definition at line 43 of file googletest-catch-exceptions-test.py.

◆ SetEnvVar

googletest-catch-exceptions-test.SetEnvVar = gtest_test_utils.SetEnvVar

Definition at line 57 of file googletest-catch-exceptions-test.py.

◆ SUPPORTS_SEH_EXCEPTIONS

string googletest-catch-exceptions-test.SUPPORTS_SEH_EXCEPTIONS = 'ThrowsSehException' in TEST_LIST

Definition at line 69 of file googletest-catch-exceptions-test.py.

◆ TEST_LIST

googletest-catch-exceptions-test.TEST_LIST
Initial value:
2 [EXE_PATH, LIST_TESTS_FLAG], env=environ).output

Definition at line 66 of file googletest-catch-exceptions-test.py.