proxygen
gtest_catch_exceptions_test_.cc File Reference
#include "gtest/gtest.h"
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 305 of file gtest_catch_exceptions_test_.cc.

References testing::InitGoogleTest(), RUN_ALL_TESTS(), and TerminateHandler().

305  {
306 #if GTEST_HAS_EXCEPTIONS
307  std::set_terminate(&TerminateHandler);
308 #endif
310  return RUN_ALL_TESTS();
311 }
void TerminateHandler()
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
char ** argv
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:5370