AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
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:

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

◆ GMOCK_ALLOWS_CONST_PARAM_FUNCTIONS

#define GMOCK_ALLOWS_CONST_PARAM_FUNCTIONS

◆ MY_MOCK_METHODS1_

#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,...)
Definition: gmock-generated-function-mockers.h:675

◆ MY_MOCK_METHODS2_

#define MY_MOCK_METHODS2_
Value:
MOCK_CONST_METHOD1(Overloaded, int(int n)); \
MOCK_METHOD1(Overloaded, int(int n));
#define MOCK_CONST_METHOD1(m,...)
Definition: gmock-generated-function-mockers.h:688

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0