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

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

Inheritance diagram for testing::internal::FunctionMockerBase< F >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::FunctionMockerBase< F >:
Collaboration graph
[legend]

Public Types

typedef Function< F >::Result Result
 
typedef Function< F >::ArgumentTuple ArgumentTuple
 
typedef Function< F >::ArgumentMatcherTuple ArgumentMatcherTuple
 

Public Member Functions

 FunctionMockerBase ()
 
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const OnCallSpec< F > * 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)
 

Protected Types

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

Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
OnCallSpec< F > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
TypedExpectation< F > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
MockSpec< F > & current_spec ()
 
- Protected Member Functions inherited from testing::internal::UntypedFunctionMockerBase
Expectation GetHandleOf (ExpectationBase *exp)
 

Additional Inherited Members

- 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

◆ ArgumentMatcherTuple

◆ ArgumentTuple

◆ Result

template<typename F>
typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result

◆ ResultHolder

template<typename F>
typedef ActionResultHolder<Result> testing::internal::FunctionMockerBase< F >::ResultHolder
protected

Constructor & Destructor Documentation

◆ FunctionMockerBase()

template<typename F>
testing::internal::FunctionMockerBase< F >::FunctionMockerBase ( )
inline

◆ ~FunctionMockerBase()

template<typename F>
virtual testing::internal::FunctionMockerBase< F >::~FunctionMockerBase ( )
inlinevirtual

Member Function Documentation

◆ AddNewExpectation()

template<typename F>
TypedExpectation<F>& testing::internal::FunctionMockerBase< F >::AddNewExpectation ( const char *  file,
int  line,
const string source_text,
const ArgumentMatcherTuple m 
)
inlineprotected

◆ AddNewOnCallSpec()

template<typename F>
OnCallSpec<F>& testing::internal::FunctionMockerBase< F >::AddNewOnCallSpec ( const char *  file,
int  line,
const ArgumentMatcherTuple m 
)
inlineprotected

◆ ClearDefaultActionsLocked()

template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked ( )
inlinevirtual

◆ current_spec()

template<typename F>
MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec ( )
inlineprotected

◆ FindOnCallSpec()

template<typename F>
const OnCallSpec<F>* testing::internal::FunctionMockerBase< F >::FindOnCallSpec ( const ArgumentTuple args) const
inline

◆ InvokeWith()

template<typename F>
Result testing::internal::FunctionMockerBase< F >::InvokeWith ( const ArgumentTuple args)
inlineprotected

◆ PerformDefaultAction()

template<typename F>
Result testing::internal::FunctionMockerBase< F >::PerformDefaultAction ( const ArgumentTuple args,
const string call_description 
) const
inline

◆ UntypedPerformAction()

template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
inlinevirtual

◆ UntypedPerformDefaultAction()

template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
inlinevirtual

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

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