class_docstr: 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.
class_docstr_tok: ["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","."]
code: def testUnhandledCxxExceptionsAbortTheProgram(self):
      # Filters out SEH exception tests on Windows. Unhandled SEH exceptions
      # cause tests to show pop-up windows there.
      FITLER_OUT_SEH_TESTS_FLAG = FILTER_FLAG + "=-*Seh*"
      # By default, Google Test doesn't catch the exceptions.
      uncaught_exceptions_ex_binary_output = (
          gtest_test_utils.Subprocess(
              [
                  EX_EXE_PATH,
                  NO_CATCH_EXCEPTIONS_FLAG,
                  FITLER_OUT_SEH_TESTS_FLAG,
              ],
              env=environ,
          ).output
      )
  
      self.assert_(
          "Unhandled C++ exception terminating the program"
          in uncaught_exceptions_ex_binary_output
      )
      self.assert_(
          "unexpected" not in uncaught_exceptions_ex_binary_output
      )
  
file_path: xlearn/gtest/test/gtest_catch_exceptions_test.py
imports: import os
  import gtest_test_utils
label_desc: Use image node_id 8 for calling the CatchCxxExceptionsTest obj's underlying member method code with example usage: obj.testUnhandledCxxExceptionsAbortTheProgram() without return types