proxygen
gmock-spec-builders_test.cc File Reference
#include "gmock/gmock-spec-builders.h"
#include <ostream>
#include <sstream>
#include <string>
#include "gmock/gmock.h"
#include "gmock/internal/gmock-port.h"
#include "gtest/gtest.h"
#include "gtest/gtest-spi.h"
#include "gtest/internal/gtest-port.h"

Go to the source code of this file.

Classes

class  testing::internal::ExpectationTester
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define Method   MethodW
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define Method   MethodW

Definition at line 184 of file gmock-spec-builders_test.cc.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 2634 of file gmock-spec-builders_test.cc.

References GMOCK_FLAG, testing::InitGoogleMock(), testing::internal::kWarningVerbosity, and RUN_ALL_TESTS().

2634  {
2635 #endif // GMOCK_RENAME_MAIN
2636  testing::InitGoogleMock(&argc, argv);
2637 
2638  // Ensures that the tests pass no matter what value of
2639  // --gmock_catch_leaked_mocks and --gmock_verbose the user specifies.
2640  testing::GMOCK_FLAG(catch_leaked_mocks) = true;
2642 
2643  return RUN_ALL_TESTS();
2644 }
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
const char kWarningVerbosity[]
#define GMOCK_FLAG(name)
Definition: gmock-port.h:70