v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
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]
Collaboration diagram for testing::internal::UntypedFunctionMockerBase:
Collaboration 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_
 

Detailed Description

Definition at line 126 of file gmock-spec-builders.h.

Member Typedef Documentation

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

Definition at line 219 of file gmock-spec-builders.h.

Definition at line 222 of file gmock-spec-builders.h.

Constructor & Destructor Documentation

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

Member Function Documentation

bool testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked ( )
virtual void testing::internal::UntypedFunctionMockerBase::ClearDefaultActionsLocked ( )
pure virtual
virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
pure virtual
virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
pure virtual
virtual void testing::internal::UntypedFunctionMockerBase::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const
pure virtual
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
virtual void testing::internal::UntypedFunctionMockerBase::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const
pure virtual
void testing::internal::UntypedFunctionMockerBase::RegisterOwner ( const void *  mock_obj)
void testing::internal::UntypedFunctionMockerBase::SetOwnerAndName ( const void *  mock_obj,
const char *  name 
)
const void* testing::internal::UntypedFunctionMockerBase::MockObject ( ) const
const char* testing::internal::UntypedFunctionMockerBase::Name ( ) const
UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith ( const void *  untyped_args)
Expectation testing::internal::UntypedFunctionMockerBase::GetHandleOf ( ExpectationBase exp)
protected

Member Data Documentation

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

Definition at line 231 of file gmock-spec-builders.h.

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

Definition at line 235 of file gmock-spec-builders.h.

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

Definition at line 238 of file gmock-spec-builders.h.

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

Definition at line 241 of file gmock-spec-builders.h.


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