Classes | Namespaces | Macros | Functions
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"
Include dependency graph for gmock-generated-function-mockers_test.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

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 (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)
 
 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)
 

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_METHOD0(m,...)
#define MOCK_METHOD2(m,...)
#define MOCK_CONST_METHOD1(m,...)

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

#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 520 of file gmock-generated-function-mockers_test.cc.



ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08