- 3.0.1 core module.
gmock-function-mocker_test.cc File Reference
#include "gmock/gmock-generated-function-mockers.h"
#include <map>
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"

Classes

class  testing::gmock_function_mocker_test::TemplatedCopyable< T >
 
class  testing::gmock_function_mocker_test::FooInterface
 
class  testing::gmock_function_mocker_test::MockFoo
 
class  testing::gmock_function_mocker_test::MockMethodFunctionMockerTest
 
class  testing::gmock_function_mocker_test::MockB
 
class  testing::gmock_function_mocker_test::StackInterface< T >
 
class  testing::gmock_function_mocker_test::MockStack< T >
 
class  testing::gmock_function_mocker_test::MockOverloadedOnArgNumber
 
class  testing::gmock_function_mocker_test::MockOverloadedOnConstness
 
struct  testing::gmock_function_mocker_test::MockMethodSizes0
 
struct  testing::gmock_function_mocker_test::MockMethodSizes1
 
struct  testing::gmock_function_mocker_test::MockMethodSizes2
 
struct  testing::gmock_function_mocker_test::MockMethodSizes3
 
struct  testing::gmock_function_mocker_test::MockMethodSizes4
 

Namespaces

 testing
 
 testing::gmock_function_mocker_test
 

Macros

#define MY_MOCK_METHODS1_
 
#define MY_MOCK_METHODS2_
 

Functions

 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksVoidFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksNullaryFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksUnaryFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksBinaryFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksDecimalFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionWithNonConstReferenceArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionWithConstReferenceArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionWithConstArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionsOverloadedOnArgumentNumber)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionsOverloadedOnArgumentType)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionsOverloadedOnConstnessOfThis)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksReturnTypeWithComma)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksTypeWithTemplatedCopyCtor)
 
 testing::gmock_function_mocker_test::TEST (MockMethodExpectCallTest, UnmentionedFunctionCanBeCalledAnyNumberOfTimes)
 
 testing::gmock_function_mocker_test::TEST (MockMethodTemplateMockTest, Works)
 
 testing::gmock_function_mocker_test::TEST (MockMethodTemplateMockTest, MethodWithCommaInReturnTypeWorks)
 
 testing::gmock_function_mocker_test::TEST (MockMethodOverloadedMockMethodTest, CanOverloadOnArgNumberInMacroBody)
 
 testing::gmock_function_mocker_test::TEST (MockMethodOverloadedMockMethodTest, CanOverloadOnConstnessInMacroBody)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForVoidNullary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForNonVoidNullary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForVoidUnary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForNonVoidBinary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksFor10Arguments)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, AsStdFunction)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, AsStdFunctionReturnsReference)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, AsStdFunctionWithReferenceParameter)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, MockMethodSizeOverhead)
 

Macro Definition Documentation

#define MY_MOCK_METHODS1_
Value:
MOCK_METHOD(void, Overloaded, ()); \
MOCK_METHOD(int, Overloaded, (int), (const)); \
MOCK_METHOD(bool, Overloaded, (bool f, int n))
#define MOCK_METHOD(...)
Definition: gmock-function-mocker.h:7
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
#define MY_MOCK_METHODS2_
Value:
MOCK_CONST_METHOD1(Overloaded, int(int n)); \
MOCK_METHOD1(Overloaded, int(int n))
constexpr size_t n
Definition: MatrixInversionTest.cpp:14
#define MOCK_CONST_METHOD1(m,...)
Definition: gmock-generated-function-mockers.h:612
#define MOCK_METHOD1(m,...)
Definition: gmock-generated-function-mockers.h:600