proxygen
gmock-generated-function-mockers_test.cc File Reference
#include "gmock/gmock-generated-function-mockers.h"
#include <map>
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

class  testing::gmock_generated_function_mockers_test::FooInterface
 
class  testing::gmock_generated_function_mockers_test::MockFoo
 
class  testing::gmock_generated_function_mockers_test::FunctionMockerTest
 
class  testing::gmock_generated_function_mockers_test::MockB
 
class  testing::gmock_generated_function_mockers_test::StackInterface< T >
 
class  testing::gmock_generated_function_mockers_test::MockStack< T >
 
class  testing::gmock_generated_function_mockers_test::MockOverloadedOnArgNumber
 
class  testing::gmock_generated_function_mockers_test::MockOverloadedOnConstness
 

Namespaces

 testing
 
 testing::gmock_generated_function_mockers_test
 

Macros

#define GMOCK_ALLOWS_CONST_PARAM_FUNCTIONS
 
#define MY_MOCK_METHODS1_
 
#define MY_MOCK_METHODS2_
 

Functions

 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksVoidFunction)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksNullaryFunction)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksUnaryFunction)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksBinaryFunction)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksDecimalFunction)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionWithNonConstReferenceArgument)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionWithConstReferenceArgument)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionWithConstArgument)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionsOverloadedOnArgumentNumber)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionsOverloadedOnArgumentType)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksFunctionsOverloadedOnConstnessOfThis)
 
 testing::gmock_generated_function_mockers_test::TEST_F (FunctionMockerTest, MocksReturnTypeWithComma)
 
 testing::gmock_generated_function_mockers_test::TEST (ExpectCallTest, UnmentionedFunctionCanBeCalledAnyNumberOfTimes)
 
 testing::gmock_generated_function_mockers_test::TEST (TemplateMockTest, Works)
 
 testing::gmock_generated_function_mockers_test::TEST (TemplateMockTest, MethodWithCommaInReturnTypeWorks)
 
 testing::gmock_generated_function_mockers_test::TEST (OverloadedMockMethodTest, CanOverloadOnArgNumberInMacroBody)
 
 testing::gmock_generated_function_mockers_test::TEST (OverloadedMockMethodTest, CanOverloadOnConstnessInMacroBody)
 
 testing::gmock_generated_function_mockers_test::TEST (MockFunctionTest, WorksForVoidNullary)
 
 testing::gmock_generated_function_mockers_test::TEST (MockFunctionTest, WorksForNonVoidNullary)
 
 testing::gmock_generated_function_mockers_test::TEST (MockFunctionTest, WorksForVoidUnary)
 
 testing::gmock_generated_function_mockers_test::TEST (MockFunctionTest, WorksForNonVoidBinary)
 
 testing::gmock_generated_function_mockers_test::TEST (MockFunctionTest, WorksFor10Arguments)
 

Macro Definition Documentation

#define GMOCK_ALLOWS_CONST_PARAM_FUNCTIONS

Definition at line 54 of file gmock-generated-function-mockers_test.cc.

#define MY_MOCK_METHODS1_
Value:
MOCK_METHOD0(Overloaded, void()); \
MOCK_CONST_METHOD1(Overloaded, int(int n)); \
MOCK_METHOD2(Overloaded, bool(bool f, int n))
#define MOCK_CONST_METHOD1(m,...)
auto f
#define MOCK_METHOD2(m,...)
#define MOCK_METHOD0(m,...)

Definition at line 505 of file gmock-generated-function-mockers_test.cc.

Referenced by testing::gmock_generated_function_mockers_test::MockOverloadedOnArgNumber::MockOverloadedOnArgNumber().

#define MY_MOCK_METHODS2_
Value:
MOCK_CONST_METHOD1(Overloaded, int(int n)); \
MOCK_METHOD1(Overloaded, int(int n));
#define MOCK_CONST_METHOD1(m,...)
#define MOCK_METHOD1(m,...)

Definition at line 531 of file gmock-generated-function-mockers_test.cc.

Referenced by testing::gmock_generated_function_mockers_test::MockOverloadedOnConstness::MockOverloadedOnConstness().