AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Types | Public Member Functions | List of all members
testing::internal::FunctionMocker< R()> Class Template Reference

#include <gmock-generated-function-mockers.h>

Inheritance diagram for testing::internal::FunctionMocker< R()>:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::FunctionMocker< R()>:
Collaboration graph
[legend]

Public Types

typedef R F()
 
typedef internal::Function< F >::ArgumentTuple ArgumentTuple
 
- Public Types inherited from testing::internal::FunctionMockerBase< R()>
typedef Function< R() >::Result Result
 
typedef Function< R() >::ArgumentTuple ArgumentTuple
 
typedef Function< R() >::ArgumentMatcherTuple ArgumentMatcherTuple
 

Public Member Functions

MockSpec< F > & With ()
 
Invoke ()
 
- Public Member Functions inherited from testing::internal::FunctionMockerBase< R()>
 FunctionMockerBase ()
 
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const OnCallSpec< R() > * FindOnCallSpec (const ArgumentTuple &args) const
 
Result PerformDefaultAction (const ArgumentTuple &args, const string &call_description) const
 
virtual UntypedActionResultHolderBaseUntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const
 
virtual UntypedActionResultHolderBaseUntypedPerformAction (const void *untyped_action, const void *untyped_args) const
 
virtual void ClearDefaultActionsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
- Public Member Functions inherited from testing::internal::UntypedFunctionMockerBase
 UntypedFunctionMockerBase ()
 
virtual ~UntypedFunctionMockerBase ()
 
bool VerifyAndClearExpectationsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
void RegisterOwner (const void *mock_obj) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
void SetOwnerAndName (const void *mock_obj, const char *name) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const void * MockObject () const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const char * Name () const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
UntypedActionResultHolderBaseUntypedInvokeWith (const void *untyped_args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 

Additional Inherited Members

- Protected Types inherited from testing::internal::FunctionMockerBase< R()>
typedef ActionResultHolder< ResultResultHolder
 
- Protected Types inherited from testing::internal::UntypedFunctionMockerBase
typedef std::vector< const void * > UntypedOnCallSpecs
 
typedef std::vector< internal::linked_ptr< ExpectationBase > > UntypedExpectations
 
- Protected Member Functions inherited from testing::internal::FunctionMockerBase< R()>
Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
OnCallSpec< R() > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
TypedExpectation< R() > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
MockSpec< R() > & current_spec ()
 
- Protected Member Functions inherited from testing::internal::UntypedFunctionMockerBase
Expectation GetHandleOf (ExpectationBase *exp)
 
- Protected Attributes inherited from testing::internal::UntypedFunctionMockerBase
const void * mock_obj_
 
const char * name_
 
UntypedOnCallSpecs untyped_on_call_specs_
 
UntypedExpectations untyped_expectations_
 

Member Typedef Documentation

◆ ArgumentTuple

◆ F

template<typename R >
typedef R testing::internal::FunctionMocker< R()>::F()

Member Function Documentation

◆ Invoke()

template<typename R >
R testing::internal::FunctionMocker< R()>::Invoke ( )
inline

◆ With()

template<typename R >
MockSpec<F>& testing::internal::FunctionMocker< R()>::With ( )
inline

The documentation for this class was generated from the following file:

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