tesseract v5.3.3.20231005
gmock_main.cc File Reference
#include <iostream>
#include "gmock/gmock.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Functions

GTEST_API_ int main (int argc, char **argv)
 

Function Documentation

◆ main()

GTEST_API_ int main ( int  argc,
char **  argv 
)

Definition at line 63 of file gmock_main.cc.

63 {
64#endif // GTEST_OS_WINDOWS_MOBILE
65 std::cout << "Running main() from gmock_main.cc\n";
66 // Since Google Mock depends on Google Test, InitGoogleMock() is
67 // also responsible for initializing Google Test. Therefore there's
68 // no need for calling testing::InitGoogleTest() separately.
69 testing::InitGoogleMock(&argc, argv);
70 return RUN_ALL_TESTS();
71}
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2489
GTEST_API_ void InitGoogleMock(int *argc, char **argv)
Definition: gmock.cc:191