Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::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

namespace  testing
 
namespace  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.

View newest version in sPHENIX GitHub 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))

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

View newest version in sPHENIX GitHub at line 505 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));

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

View newest version in sPHENIX GitHub at line 531 of file gmock-generated-function-mockers_test.cc