42 #ifdef GTEST_OS_WINDOWS
52 #if GTEST_HAS_SEH && !defined(GTEST_OS_WINDOWS_MOBILE)
55 ExitWithExceptionCode(
struct _EXCEPTION_POINTERS* exception_pointers) {
56 exit(exception_pointers->ExceptionRecord->ExceptionCode);
62 int main(
int argc,
char** argv) {
63 #ifdef GTEST_OS_WINDOWS
66 SetErrorMode(SEM_NOGPFAULTERRORBOX | SEM_FAILCRITICALERRORS);
68 #if GTEST_HAS_SEH && !defined(GTEST_OS_WINDOWS_MOBILE)
76 SetUnhandledExceptionFilter(ExitWithExceptionCode);
79 #endif // GTEST_OS_WINDOWS
#define TEST(test_suite_name, test_name)
#define EXPECT_EQ(val1, val2)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
GTEST_API_ void InitGoogleTest(int *argc, char **argv)