tesseract v5.3.3.20231005
googletest-json-output-unittest Namespace Reference

Classes

class  GTestJsonOutputUnitTest
 

Variables

string GTEST_FILTER_FLAG = '--gtest_filter'
 
string GTEST_LIST_TESTS_FLAG = '--gtest_list_tests'
 
string GTEST_OUTPUT_FLAG = '--gtest_output'
 
string GTEST_DEFAULT_OUTPUT_FILE = 'test_detail.json'
 
string GTEST_PROGRAM_NAME = 'gtest_xml_output_unittest_'
 
string NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'
 
string SUPPORTS_STACK_TRACES = NO_STACKTRACE_SUPPORT_FLAG not in sys.argv
 
string STACK_TRACE_TEMPLATE = '\nStack trace:\n*'
 
dictionary EXPECTED_NON_EMPTY
 
dictionary EXPECTED_FILTERED
 
dictionary EXPECTED_NO_TEST
 
 GTEST_PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath(GTEST_PROGRAM_NAME)
 
string SUPPORTS_TYPED_TESTS
 

Variable Documentation

◆ EXPECTED_FILTERED

dictionary googletest-json-output-unittest.EXPECTED_FILTERED

Definition at line 572 of file googletest-json-output-unittest.py.

◆ EXPECTED_NO_TEST

dictionary googletest-json-output-unittest.EXPECTED_NO_TEST

Definition at line 615 of file googletest-json-output-unittest.py.

◆ EXPECTED_NON_EMPTY

dictionary googletest-json-output-unittest.EXPECTED_NON_EMPTY

Definition at line 59 of file googletest-json-output-unittest.py.

◆ GTEST_DEFAULT_OUTPUT_FILE

string googletest-json-output-unittest.GTEST_DEFAULT_OUTPUT_FILE = 'test_detail.json'

Definition at line 46 of file googletest-json-output-unittest.py.

◆ GTEST_FILTER_FLAG

string googletest-json-output-unittest.GTEST_FILTER_FLAG = '--gtest_filter'

Definition at line 43 of file googletest-json-output-unittest.py.

◆ GTEST_LIST_TESTS_FLAG

string googletest-json-output-unittest.GTEST_LIST_TESTS_FLAG = '--gtest_list_tests'

Definition at line 44 of file googletest-json-output-unittest.py.

◆ GTEST_OUTPUT_FLAG

string googletest-json-output-unittest.GTEST_OUTPUT_FLAG = '--gtest_output'

Definition at line 45 of file googletest-json-output-unittest.py.

◆ GTEST_PROGRAM_NAME

string googletest-json-output-unittest.GTEST_PROGRAM_NAME = 'gtest_xml_output_unittest_'

Definition at line 47 of file googletest-json-output-unittest.py.

◆ GTEST_PROGRAM_PATH

googletest-json-output-unittest.GTEST_PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath(GTEST_PROGRAM_NAME)

Definition at line 670 of file googletest-json-output-unittest.py.

◆ NO_STACKTRACE_SUPPORT_FLAG

string googletest-json-output-unittest.NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support'

Definition at line 50 of file googletest-json-output-unittest.py.

◆ STACK_TRACE_TEMPLATE

string googletest-json-output-unittest.STACK_TRACE_TEMPLATE = '\nStack trace:\n*'

Definition at line 55 of file googletest-json-output-unittest.py.

◆ SUPPORTS_STACK_TRACES

string googletest-json-output-unittest.SUPPORTS_STACK_TRACES = NO_STACKTRACE_SUPPORT_FLAG not in sys.argv

Definition at line 52 of file googletest-json-output-unittest.py.

◆ SUPPORTS_TYPED_TESTS

string googletest-json-output-unittest.SUPPORTS_TYPED_TESTS
Initial value:
1= 'TypedTest' in gtest_test_utils.Subprocess(
2 [GTEST_PROGRAM_PATH, GTEST_LIST_TESTS_FLAG], capture_stderr=False).output

Definition at line 672 of file googletest-json-output-unittest.py.