Classes | Namespaces | Macros | Functions
protobuf/third_party/googletest/googlemock/test/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"
Include dependency graph for protobuf/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc:

Go to the source code of this file.

Classes

class  testing::gmock_function_mocker_test::FooInterface
 
class  testing::gmock_function_mocker_test::MockB
 
class  testing::gmock_function_mocker_test::MockFoo
 
class  testing::gmock_function_mocker_test::MockMethodFunctionMockerTest
 
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
 
class  testing::gmock_function_mocker_test::MockOverloadedOnArgNumber
 
class  testing::gmock_function_mocker_test::MockOverloadedOnConstness
 
class  testing::gmock_function_mocker_test::MockStack< T >
 
class  testing::gmock_function_mocker_test::StackInterface< T >
 
class  testing::gmock_function_mocker_test::TemplatedCopyable< T >
 

Namespaces

 testing
 
 testing::gmock_function_mocker_test
 

Macros

#define MY_MOCK_METHODS1_
 
#define MY_MOCK_METHODS2_
 

Functions

 testing::gmock_function_mocker_test::TEST (MockMethodExpectCallTest, UnmentionedFunctionCanBeCalledAnyNumberOfTimes)
 
 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)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksFor10Arguments)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForNonVoidBinary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForNonVoidNullary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForVoidNullary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodMockFunctionTest, WorksForVoidUnary)
 
 testing::gmock_function_mocker_test::TEST (MockMethodOverloadedMockMethodTest, CanOverloadOnArgNumberInMacroBody)
 
 testing::gmock_function_mocker_test::TEST (MockMethodOverloadedMockMethodTest, CanOverloadOnConstnessInMacroBody)
 
 testing::gmock_function_mocker_test::TEST (MockMethodTemplateMockTest, MethodWithCommaInReturnTypeWorks)
 
 testing::gmock_function_mocker_test::TEST (MockMethodTemplateMockTest, Works)
 
 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, 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, MocksFunctionWithConstArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionWithConstReferenceArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksFunctionWithNonConstReferenceArgument)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksNullaryFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksReturnTypeWithComma)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksTypeWithTemplatedCopyCtor)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksUnaryFunction)
 
 testing::gmock_function_mocker_test::TEST_F (MockMethodFunctionMockerTest, MocksVoidFunction)
 

Macro Definition Documentation

◆ MY_MOCK_METHODS1_

#define MY_MOCK_METHODS1_
Value:
MOCK_METHOD(void, Overloaded, ()); \
MOCK_METHOD(int, Overloaded, (int), (const)); \
MOCK_METHOD(bool, Overloaded, (bool f, int n))

Definition at line 511 of file protobuf/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc.

◆ MY_MOCK_METHODS2_

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

Definition at line 537 of file protobuf/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc.

autogen_x86imm.f
f
Definition: autogen_x86imm.py:9
MOCK_CONST_METHOD1
#define MOCK_CONST_METHOD1(m,...)
Definition: bloaty/third_party/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h:612
n
int n
Definition: abseil-cpp/absl/container/btree_test.cc:1080
MOCK_METHOD
#define MOCK_METHOD(...)
Definition: bloaty/third_party/googletest/googlemock/include/gmock/gmock-function-mocker.h:42


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:13