tesseract v5.3.3.20231005
googletest-list-tests-unittest Namespace Reference

Classes

class  GTestListTestsUnitTest
 

Functions

def Run (args)
 

Variables

string LIST_TESTS_FLAG = 'gtest_list_tests'
 
 EXE_PATH = gtest_test_utils.GetTestExecutablePath('googletest-list-tests-unittest_')
 
 EXPECTED_OUTPUT_NO_FILTER_RE = re.compile()
 
 EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile()
 

Function Documentation

◆ Run()

def googletest-list-tests-unittest.Run (   args)
Runs googletest-list-tests-unittest_ and returns the list of tests printed.

Definition at line 114 of file googletest-list-tests-unittest.py.

114def Run(args):
115 """Runs googletest-list-tests-unittest_ and returns the list of tests printed."""
116
117 return gtest_test_utils.Subprocess([EXE_PATH] + args,
118 capture_stderr=False).output
119
120
121# The unit test.
122
123

Variable Documentation

◆ EXE_PATH

googletest-list-tests-unittest.EXE_PATH = gtest_test_utils.GetTestExecutablePath('googletest-list-tests-unittest_')

Definition at line 49 of file googletest-list-tests-unittest.py.

◆ EXPECTED_OUTPUT_FILTER_FOO_RE

googletest-list-tests-unittest.EXPECTED_OUTPUT_FILTER_FOO_RE = re.compile()

Definition at line 97 of file googletest-list-tests-unittest.py.

◆ EXPECTED_OUTPUT_NO_FILTER_RE

googletest-list-tests-unittest.EXPECTED_OUTPUT_NO_FILTER_RE = re.compile()

Definition at line 53 of file googletest-list-tests-unittest.py.

◆ LIST_TESTS_FLAG

string googletest-list-tests-unittest.LIST_TESTS_FLAG = 'gtest_list_tests'

Definition at line 46 of file googletest-list-tests-unittest.py.