Definition at line 46 of file gtest_testbridge_test.py.
◆ testTestExecutionIsFiltered()
def gtest_testbridge_test.GTestTestFilterTest.testTestExecutionIsFiltered |
( |
|
self | ) |
|
Tests that the test filter is picked up from the testbridge env var.
Definition at line 48 of file gtest_testbridge_test.py.
48 def testTestExecutionIsFiltered(self):
49 """Tests that the test filter is picked up from the testbridge env var."""
50 subprocess_env = os.environ.copy()
51
52 subprocess_env[TESTBRIDGE_NAME] = '*.TestThatSucceeds'
54
55 self.assertEquals(0, p.exit_code)
56
57 Assert(
'filter = *.TestThatSucceeds' in p.output)
58 Assert(
'[ OK ] TestFilterTest.TestThatSucceeds' in p.output)
59 Assert(
'[ PASSED ] 1 test.' in p.output)
60
61
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/test/gtest_testbridge_test.py