Home | History | Annotate | Download | only in src

Lines Matching refs:exception

275     "When this flag is specified, a failed assertion will throw an exception "
506 // given SEH exception, or EXCEPTION_CONTINUE_SEARCH otherwise.
509 // Google Test should handle a SEH exception if:
511 // 2. this is not a breakpoint exception, AND
512 // 3. this is not a C++ exception (VC++ implements them via SEH,
515 // SEH exception code for C++ exceptions.
1938 NULL, // No info about the source file where the exception occurred.
1939 -1, // We have no info on which line caused the exception.
2014 // Adds an "exception thrown" fatal failure to the current test. This
2021 message << "SEH exception with code 0x" << std::setbase(16) <<
2031 // Adds an "exception thrown" fatal failure to the current test.
2036 message << "C++ exception with description \"" << description << "\"";
2038 message << "Unknown C++ exception";
2048 // A failed Google Test assertion will throw an exception of this type when
2052 // std::exception, many testing frameworks know how to extract and print the
2067 // SEH exception. (Microsoft compilers cannot handle SEH and C++
2078 // We create the exception message on the heap because VC++ prohibits
2096 // Result in case of an SEH exception.
2103 // after the exception is caught and either report or re-throw the
2104 // exception based on the flag's value:
2110 // // Report the exception as failure.
2112 // throw; // Re-throws the original exception.
2116 // the debugger when the exception is thrown. On most platforms, once the
2117 // control enters the catch block, the exception origin information is
2122 // exception handling in the method where the exception is thrown.
2128 // This exception doesn't originate in code under test. It makes no
2131 } catch (const std::exception& e) { // NOLINT
2308 // exception handling code.
4105 // returns true if all tests are successful. If any exception is