AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
testing::internal::UntypedFunctionMockerBase Class Referenceabstract

#include <gmock-spec-builders.h>

Inheritance diagram for testing::internal::UntypedFunctionMockerBase:
Inheritance graph
[legend]

Public Member Functions

 UntypedFunctionMockerBase ()
 
virtual ~UntypedFunctionMockerBase ()
 
bool VerifyAndClearExpectationsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
virtual void ClearDefaultActionsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)=0
 
virtual UntypedActionResultHolderBaseUntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const =0
 
virtual UntypedActionResultHolderBaseUntypedPerformAction (const void *untyped_action, const void *untyped_args) const =0
 
virtual void UntypedDescribeUninterestingCall (const void *untyped_args, ::std::ostream *os) const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)=0
 
virtual const ExpectationBaseUntypedFindMatchingExpectation (const void *untyped_args, const void **untyped_action, bool *is_excessive, ::std::ostream *what, ::std::ostream *why) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)=0
 
virtual void UntypedPrintArgs (const void *untyped_args, ::std::ostream *os) const =0
 
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 std::vector< const void * > UntypedOnCallSpecs
 
typedef std::vector< internal::linked_ptr< ExpectationBase > > UntypedExpectations
 

Protected Member Functions

Expectation GetHandleOf (ExpectationBase *exp)
 

Protected Attributes

const void * mock_obj_
 
const char * name_
 
UntypedOnCallSpecs untyped_on_call_specs_
 
UntypedExpectations untyped_expectations_
 

Member Typedef Documentation

◆ UntypedExpectations

◆ UntypedOnCallSpecs

typedef std::vector<const void*> testing::internal::UntypedFunctionMockerBase::UntypedOnCallSpecs
protected

Constructor & Destructor Documentation

◆ UntypedFunctionMockerBase()

testing::internal::UntypedFunctionMockerBase::UntypedFunctionMockerBase ( )

◆ ~UntypedFunctionMockerBase()

virtual testing::internal::UntypedFunctionMockerBase::~UntypedFunctionMockerBase ( )
virtual

Member Function Documentation

◆ ClearDefaultActionsLocked()

virtual void testing::internal::UntypedFunctionMockerBase::ClearDefaultActionsLocked ( )
pure virtual

◆ GetHandleOf()

Expectation testing::internal::UntypedFunctionMockerBase::GetHandleOf ( ExpectationBase exp)
protected

◆ MockObject()

const void* testing::internal::UntypedFunctionMockerBase::MockObject ( ) const

◆ Name()

const char* testing::internal::UntypedFunctionMockerBase::Name ( ) const

◆ RegisterOwner()

void testing::internal::UntypedFunctionMockerBase::RegisterOwner ( const void *  mock_obj)

◆ SetOwnerAndName()

void testing::internal::UntypedFunctionMockerBase::SetOwnerAndName ( const void *  mock_obj,
const char *  name 
)

◆ UntypedDescribeUninterestingCall()

virtual void testing::internal::UntypedFunctionMockerBase::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const
pure virtual

◆ UntypedFindMatchingExpectation()

virtual const ExpectationBase* testing::internal::UntypedFunctionMockerBase::UntypedFindMatchingExpectation ( const void *  untyped_args,
const void **  untyped_action,
bool *  is_excessive,
::std::ostream *  what,
::std::ostream *  why 
)
pure virtual

◆ UntypedInvokeWith()

UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith ( const void *  untyped_args)

◆ UntypedPerformAction()

virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
pure virtual

◆ UntypedPerformDefaultAction()

virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
pure virtual

◆ UntypedPrintArgs()

virtual void testing::internal::UntypedFunctionMockerBase::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const
pure virtual

◆ VerifyAndClearExpectationsLocked()

bool testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked ( )

Member Data Documentation

◆ mock_obj_

const void* testing::internal::UntypedFunctionMockerBase::mock_obj_
protected

◆ name_

const char* testing::internal::UntypedFunctionMockerBase::name_
protected

◆ untyped_expectations_

UntypedExpectations testing::internal::UntypedFunctionMockerBase::untyped_expectations_
protected

◆ untyped_on_call_specs_

UntypedOnCallSpecs testing::internal::UntypedFunctionMockerBase::untyped_on_call_specs_
protected

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