proxygen
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

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

Definition at line 46 of file gmock_main.cc.

References testing::InitGoogleMock(), and RUN_ALL_TESTS().

46  {
47 #endif // GTEST_OS_WINDOWS_MOBILE
48  std::cout << "Running main() from gmock_main.cc\n";
49  // Since Google Mock depends on Google Test, InitGoogleMock() is
50  // also responsible for initializing Google Test. Therefore there's
51  // no need for calling testing::InitGoogleTest() separately.
53  return RUN_ALL_TESTS();
54 }
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:2232
GTEST_API_ void InitGoogleMock(int *argc, char **argv)
Definition: gmock.cc:173
char ** argv