proxygen
gtest_catch_exceptions_test.CatchCxxExceptionsTest Class Reference
Inheritance diagram for gtest_catch_exceptions_test.CatchCxxExceptionsTest:

Public Member Functions

def testCatchesCxxExceptionsInFixtureConstructor (self)
 
def testCatchesCxxExceptionsInFixtureDestructor (self)
 
def testCatchesCxxExceptionsInSetUpTestCase (self)
 
def testCatchesCxxExceptionsInTearDownTestCase (self)
 
def testCatchesCxxExceptionsInSetUp (self)
 
def testCatchesCxxExceptionsInTearDown (self)
 
def testCatchesCxxExceptionsInTestBody (self)
 
def testCatchesNonStdCxxExceptions (self)
 
def testUnhandledCxxExceptionsAbortTheProgram (self)
 
def testCatchesCxxExceptionsInFixtureConstructor (self)
 
def testCatchesCxxExceptionsInFixtureDestructor (self)
 
def testCatchesCxxExceptionsInSetUpTestCase (self)
 
def testCatchesCxxExceptionsInTearDownTestCase (self)
 
def testCatchesCxxExceptionsInSetUp (self)
 
def testCatchesCxxExceptionsInTearDown (self)
 
def testCatchesCxxExceptionsInTestBody (self)
 
def testCatchesNonStdCxxExceptions (self)
 
def testUnhandledCxxExceptionsAbortTheProgram (self)
 
def testCatchesCxxExceptionsInFixtureConstructor (self)
 
def testCatchesCxxExceptionsInFixtureDestructor (self)
 
def testCatchesCxxExceptionsInSetUpTestCase (self)
 
def testCatchesCxxExceptionsInTearDownTestCase (self)
 
def testCatchesCxxExceptionsInSetUp (self)
 
def testCatchesCxxExceptionsInTearDown (self)
 
def testCatchesCxxExceptionsInTestBody (self)
 
def testCatchesNonStdCxxExceptions (self)
 
def testUnhandledCxxExceptionsAbortTheProgram (self)
 

Detailed Description

Tests C++ exception-catching behavior.

   Tests in this test case verify that:
   * C++ exceptions are caught and logged as C++ (not SEH) exceptions
   * Exception thrown affect the remainder of the test work flow in the
     expected manner.

Definition at line 114 of file gtest_catch_exceptions_test.py.

Member Function Documentation

def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor (   self)

Definition at line 123 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor().

124  self.assert_('C++ exception with description '
125  '"Standard C++ exception" thrown '
126  'in the test fixture\'s constructor'
127  in EX_BINARY_OUTPUT)
128  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
129  'This failure belongs in this test only if '
130  '"CxxExceptionInConstructorTest" (no quotes) '
131  'appears on the same line as words "called unexpectedly"')
132 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor (   self)

Definition at line 123 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor().

124  self.assert_('C++ exception with description '
125  '"Standard C++ exception" thrown '
126  'in the test fixture\'s constructor'
127  in EX_BINARY_OUTPUT)
128  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
129  'This failure belongs in this test only if '
130  '"CxxExceptionInConstructorTest" (no quotes) '
131  'appears on the same line as words "called unexpectedly"')
132 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor (   self)

Definition at line 123 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureConstructor().

124  self.assert_('C++ exception with description '
125  '"Standard C++ exception" thrown '
126  'in the test fixture\'s constructor'
127  in EX_BINARY_OUTPUT)
128  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
129  'This failure belongs in this test only if '
130  '"CxxExceptionInConstructorTest" (no quotes) '
131  'appears on the same line as words "called unexpectedly"')
132 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor (   self)

Definition at line 136 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor().

137  self.assert_('C++ exception with description '
138  '"Standard C++ exception" thrown '
139  'in the test fixture\'s destructor'
140  in EX_BINARY_OUTPUT)
141  self.assert_('CxxExceptionInDestructorTest::TearDownTestCase() '
142  'called as expected.'
143  in EX_BINARY_OUTPUT)
144 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor (   self)

Definition at line 136 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor().

137  self.assert_('C++ exception with description '
138  '"Standard C++ exception" thrown '
139  'in the test fixture\'s destructor'
140  in EX_BINARY_OUTPUT)
141  self.assert_('CxxExceptionInDestructorTest::TearDownTestCase() '
142  'called as expected.'
143  in EX_BINARY_OUTPUT)
144 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor (   self)

Definition at line 136 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInFixtureDestructor().

137  self.assert_('C++ exception with description '
138  '"Standard C++ exception" thrown '
139  'in the test fixture\'s destructor'
140  in EX_BINARY_OUTPUT)
141  self.assert_('CxxExceptionInDestructorTest::TearDownTestCase() '
142  'called as expected.'
143  in EX_BINARY_OUTPUT)
144 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp (   self)

Definition at line 173 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp().

174  self.assert_('C++ exception with description "Standard C++ exception"'
175  ' thrown in SetUp()'
176  in EX_BINARY_OUTPUT)
177  self.assert_('CxxExceptionInSetUpTest::TearDownTestCase() '
178  'called as expected.'
179  in EX_BINARY_OUTPUT)
180  self.assert_('CxxExceptionInSetUpTest destructor '
181  'called as expected.'
182  in EX_BINARY_OUTPUT)
183  self.assert_('CxxExceptionInSetUpTest::TearDown() '
184  'called as expected.'
185  in EX_BINARY_OUTPUT)
186  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
187  'This failure belongs in this test only if '
188  '"CxxExceptionInSetUpTest" (no quotes) '
189  'appears on the same line as words "called unexpectedly"')
190 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp (   self)

Definition at line 173 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp().

174  self.assert_('C++ exception with description "Standard C++ exception"'
175  ' thrown in SetUp()'
176  in EX_BINARY_OUTPUT)
177  self.assert_('CxxExceptionInSetUpTest::TearDownTestCase() '
178  'called as expected.'
179  in EX_BINARY_OUTPUT)
180  self.assert_('CxxExceptionInSetUpTest destructor '
181  'called as expected.'
182  in EX_BINARY_OUTPUT)
183  self.assert_('CxxExceptionInSetUpTest::TearDown() '
184  'called as expected.'
185  in EX_BINARY_OUTPUT)
186  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
187  'This failure belongs in this test only if '
188  '"CxxExceptionInSetUpTest" (no quotes) '
189  'appears on the same line as words "called unexpectedly"')
190 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp (   self)

Definition at line 173 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUp().

174  self.assert_('C++ exception with description "Standard C++ exception"'
175  ' thrown in SetUp()'
176  in EX_BINARY_OUTPUT)
177  self.assert_('CxxExceptionInSetUpTest::TearDownTestCase() '
178  'called as expected.'
179  in EX_BINARY_OUTPUT)
180  self.assert_('CxxExceptionInSetUpTest destructor '
181  'called as expected.'
182  in EX_BINARY_OUTPUT)
183  self.assert_('CxxExceptionInSetUpTest::TearDown() '
184  'called as expected.'
185  in EX_BINARY_OUTPUT)
186  self.assert_('unexpected' not in EX_BINARY_OUTPUT,
187  'This failure belongs in this test only if '
188  '"CxxExceptionInSetUpTest" (no quotes) '
189  'appears on the same line as words "called unexpectedly"')
190 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase (   self)

Definition at line 145 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase().

146  self.assert_('C++ exception with description "Standard C++ exception"'
147  ' thrown in SetUpTestCase()'
148  in EX_BINARY_OUTPUT)
149  self.assert_('CxxExceptionInConstructorTest::TearDownTestCase() '
150  'called as expected.'
151  in EX_BINARY_OUTPUT)
152  self.assert_('CxxExceptionInSetUpTestCaseTest constructor '
153  'called as expected.'
154  in EX_BINARY_OUTPUT)
155  self.assert_('CxxExceptionInSetUpTestCaseTest destructor '
156  'called as expected.'
157  in EX_BINARY_OUTPUT)
158  self.assert_('CxxExceptionInSetUpTestCaseTest::SetUp() '
159  'called as expected.'
160  in EX_BINARY_OUTPUT)
161  self.assert_('CxxExceptionInSetUpTestCaseTest::TearDown() '
162  'called as expected.'
163  in EX_BINARY_OUTPUT)
164  self.assert_('CxxExceptionInSetUpTestCaseTest test body '
165  'called as expected.'
166  in EX_BINARY_OUTPUT)
167 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase (   self)

Definition at line 145 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase().

146  self.assert_('C++ exception with description "Standard C++ exception"'
147  ' thrown in SetUpTestCase()'
148  in EX_BINARY_OUTPUT)
149  self.assert_('CxxExceptionInConstructorTest::TearDownTestCase() '
150  'called as expected.'
151  in EX_BINARY_OUTPUT)
152  self.assert_('CxxExceptionInSetUpTestCaseTest constructor '
153  'called as expected.'
154  in EX_BINARY_OUTPUT)
155  self.assert_('CxxExceptionInSetUpTestCaseTest destructor '
156  'called as expected.'
157  in EX_BINARY_OUTPUT)
158  self.assert_('CxxExceptionInSetUpTestCaseTest::SetUp() '
159  'called as expected.'
160  in EX_BINARY_OUTPUT)
161  self.assert_('CxxExceptionInSetUpTestCaseTest::TearDown() '
162  'called as expected.'
163  in EX_BINARY_OUTPUT)
164  self.assert_('CxxExceptionInSetUpTestCaseTest test body '
165  'called as expected.'
166  in EX_BINARY_OUTPUT)
167 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase (   self)

Definition at line 145 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInSetUpTestCase().

146  self.assert_('C++ exception with description "Standard C++ exception"'
147  ' thrown in SetUpTestCase()'
148  in EX_BINARY_OUTPUT)
149  self.assert_('CxxExceptionInConstructorTest::TearDownTestCase() '
150  'called as expected.'
151  in EX_BINARY_OUTPUT)
152  self.assert_('CxxExceptionInSetUpTestCaseTest constructor '
153  'called as expected.'
154  in EX_BINARY_OUTPUT)
155  self.assert_('CxxExceptionInSetUpTestCaseTest destructor '
156  'called as expected.'
157  in EX_BINARY_OUTPUT)
158  self.assert_('CxxExceptionInSetUpTestCaseTest::SetUp() '
159  'called as expected.'
160  in EX_BINARY_OUTPUT)
161  self.assert_('CxxExceptionInSetUpTestCaseTest::TearDown() '
162  'called as expected.'
163  in EX_BINARY_OUTPUT)
164  self.assert_('CxxExceptionInSetUpTestCaseTest test body '
165  'called as expected.'
166  in EX_BINARY_OUTPUT)
167 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown (   self)

Definition at line 191 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown().

192  self.assert_('C++ exception with description "Standard C++ exception"'
193  ' thrown in TearDown()'
194  in EX_BINARY_OUTPUT)
195  self.assert_('CxxExceptionInTearDownTest::TearDownTestCase() '
196  'called as expected.'
197  in EX_BINARY_OUTPUT)
198  self.assert_('CxxExceptionInTearDownTest destructor '
199  'called as expected.'
200  in EX_BINARY_OUTPUT)
201 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown (   self)

Definition at line 191 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown().

192  self.assert_('C++ exception with description "Standard C++ exception"'
193  ' thrown in TearDown()'
194  in EX_BINARY_OUTPUT)
195  self.assert_('CxxExceptionInTearDownTest::TearDownTestCase() '
196  'called as expected.'
197  in EX_BINARY_OUTPUT)
198  self.assert_('CxxExceptionInTearDownTest destructor '
199  'called as expected.'
200  in EX_BINARY_OUTPUT)
201 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown (   self)

Definition at line 191 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDown().

192  self.assert_('C++ exception with description "Standard C++ exception"'
193  ' thrown in TearDown()'
194  in EX_BINARY_OUTPUT)
195  self.assert_('CxxExceptionInTearDownTest::TearDownTestCase() '
196  'called as expected.'
197  in EX_BINARY_OUTPUT)
198  self.assert_('CxxExceptionInTearDownTest destructor '
199  'called as expected.'
200  in EX_BINARY_OUTPUT)
201 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase (   self)

Definition at line 168 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase().

169  self.assert_('C++ exception with description "Standard C++ exception"'
170  ' thrown in TearDownTestCase()'
171  in EX_BINARY_OUTPUT)
172 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase (   self)

Definition at line 168 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase().

169  self.assert_('C++ exception with description "Standard C++ exception"'
170  ' thrown in TearDownTestCase()'
171  in EX_BINARY_OUTPUT)
172 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase (   self)

Definition at line 168 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTearDownTestCase().

169  self.assert_('C++ exception with description "Standard C++ exception"'
170  ' thrown in TearDownTestCase()'
171  in EX_BINARY_OUTPUT)
172 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody (   self)

Definition at line 202 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody().

203  self.assert_('C++ exception with description "Standard C++ exception"'
204  ' thrown in the test body'
205  in EX_BINARY_OUTPUT)
206  self.assert_('CxxExceptionInTestBodyTest::TearDownTestCase() '
207  'called as expected.'
208  in EX_BINARY_OUTPUT)
209  self.assert_('CxxExceptionInTestBodyTest destructor '
210  'called as expected.'
211  in EX_BINARY_OUTPUT)
212  self.assert_('CxxExceptionInTestBodyTest::TearDown() '
213  'called as expected.'
214  in EX_BINARY_OUTPUT)
215 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody (   self)

Definition at line 202 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody().

203  self.assert_('C++ exception with description "Standard C++ exception"'
204  ' thrown in the test body'
205  in EX_BINARY_OUTPUT)
206  self.assert_('CxxExceptionInTestBodyTest::TearDownTestCase() '
207  'called as expected.'
208  in EX_BINARY_OUTPUT)
209  self.assert_('CxxExceptionInTestBodyTest destructor '
210  'called as expected.'
211  in EX_BINARY_OUTPUT)
212  self.assert_('CxxExceptionInTestBodyTest::TearDown() '
213  'called as expected.'
214  in EX_BINARY_OUTPUT)
215 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody (   self)

Definition at line 202 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesCxxExceptionsInTestBody().

203  self.assert_('C++ exception with description "Standard C++ exception"'
204  ' thrown in the test body'
205  in EX_BINARY_OUTPUT)
206  self.assert_('CxxExceptionInTestBodyTest::TearDownTestCase() '
207  'called as expected.'
208  in EX_BINARY_OUTPUT)
209  self.assert_('CxxExceptionInTestBodyTest destructor '
210  'called as expected.'
211  in EX_BINARY_OUTPUT)
212  self.assert_('CxxExceptionInTestBodyTest::TearDown() '
213  'called as expected.'
214  in EX_BINARY_OUTPUT)
215 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions (   self)

Definition at line 216 of file gtest_catch_exceptions_test.py.

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions().

217  self.assert_('Unknown C++ exception thrown in the test body'
218  in EX_BINARY_OUTPUT)
219 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions (   self)

Definition at line 216 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions().

217  self.assert_('Unknown C++ exception thrown in the test body'
218  in EX_BINARY_OUTPUT)
219 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions (   self)

Definition at line 216 of file gtest_catch_exceptions_test.py.

References gtest_catch_exceptions_test.CatchCxxExceptionsTest.testCatchesNonStdCxxExceptions().

217  self.assert_('Unknown C++ exception thrown in the test body'
218  in EX_BINARY_OUTPUT)
219 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram (   self)

Definition at line 220 of file gtest_catch_exceptions_test.py.

References gtest_test_utils.Main(), and gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram().

221  # Filters out SEH exception tests on Windows. Unhandled SEH exceptions
222  # cause tests to show pop-up windows there.
223  FITLER_OUT_SEH_TESTS_FLAG = FILTER_FLAG + '=-*Seh*'
224  # By default, Google Test doesn't catch the exceptions.
225  uncaught_exceptions_ex_binary_output = gtest_test_utils.Subprocess(
226  [EX_EXE_PATH,
227  NO_CATCH_EXCEPTIONS_FLAG,
228  FITLER_OUT_SEH_TESTS_FLAG],
229  env=environ).output
230 
231  self.assert_('Unhandled C++ exception terminating the program'
232  in uncaught_exceptions_ex_binary_output)
233  self.assert_('unexpected' not in uncaught_exceptions_ex_binary_output)
234 
235 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram (   self)

Definition at line 220 of file gtest_catch_exceptions_test.py.

References gtest_test_utils.Main().

Referenced by gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram().

221  # Filters out SEH exception tests on Windows. Unhandled SEH exceptions
222  # cause tests to show pop-up windows there.
223  FITLER_OUT_SEH_TESTS_FLAG = FILTER_FLAG + '=-*Seh*'
224  # By default, Google Test doesn't catch the exceptions.
225  uncaught_exceptions_ex_binary_output = gtest_test_utils.Subprocess(
226  [EX_EXE_PATH,
227  NO_CATCH_EXCEPTIONS_FLAG,
228  FITLER_OUT_SEH_TESTS_FLAG],
229  env=environ).output
230 
231  self.assert_('Unhandled C++ exception terminating the program'
232  in uncaught_exceptions_ex_binary_output)
233  self.assert_('unexpected' not in uncaught_exceptions_ex_binary_output)
234 
235 
def gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram (   self)

Definition at line 220 of file gtest_catch_exceptions_test.py.

References gtest_test_utils.Main(), and gtest_catch_exceptions_test.CatchCxxExceptionsTest.testUnhandledCxxExceptionsAbortTheProgram().

221  # Filters out SEH exception tests on Windows. Unhandled SEH exceptions
222  # cause tests to show pop-up windows there.
223  FITLER_OUT_SEH_TESTS_FLAG = FILTER_FLAG + '=-*Seh*'
224  # By default, Google Test doesn't catch the exceptions.
225  uncaught_exceptions_ex_binary_output = gtest_test_utils.Subprocess(
226  [EX_EXE_PATH,
227  NO_CATCH_EXCEPTIONS_FLAG,
228  FITLER_OUT_SEH_TESTS_FLAG],
229  env=environ).output
230 
231  self.assert_('Unhandled C++ exception terminating the program'
232  in uncaught_exceptions_ex_binary_output)
233  self.assert_('unexpected' not in uncaught_exceptions_ex_binary_output)
234 
235 

The documentation for this class was generated from the following file: