tesseract v5.3.3.20231005
googletest-catch-exceptions-test_.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include "gtest/gtest.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 287 of file googletest-catch-exceptions-test_.cc.

287 {
288#if GTEST_HAS_EXCEPTIONS
289 std::set_terminate(&TerminateHandler);
290#endif
291 testing::InitGoogleTest(&argc, argv);
292 return RUN_ALL_TESTS();
293}
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2489
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:6660