Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::UntypedFunctionMockerBase Class Referenceabstract

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-spec-builders.h>

+ Inheritance diagram for testing::internal::UntypedFunctionMockerBase:
+ Collaboration diagram for testing::internal::UntypedFunctionMockerBase:

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
UntypedActionResultHolderBase
UntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const =0
 
virtual
UntypedActionResultHolderBase
UntypedPerformAction (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.

View newest version in sPHENIX GitHub at line 126 of file gmock-spec-builders.h

Member Typedef Documentation

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

View newest version in sPHENIX GitHub at line 222 of file gmock-spec-builders.h

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

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

View newest version in sPHENIX GitHub at line 219 of file gmock-spec-builders.h

Constructor & Destructor Documentation

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

Definition at line 270 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 270 of file gmock-spec-builders.cc

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

Definition at line 273 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 273 of file gmock-spec-builders.cc

Member Function Documentation

virtual void testing::internal::UntypedFunctionMockerBase::ClearDefaultActionsLocked ( )
pure virtual
Expectation testing::internal::UntypedFunctionMockerBase::GetHandleOf ( ExpectationBase exp)
protected

Definition at line 449 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 449 of file gmock-spec-builders.cc

References testing::internal::Assert(), it, and untyped_expectations_.

+ Here is the call graph for this function:

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

Definition at line 303 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 303 of file gmock-spec-builders.cc

References testing::internal::Assert(), and mock_obj_.

+ Here is the call graph for this function:

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

Definition at line 320 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 320 of file gmock-spec-builders.cc

References testing::internal::Assert(), perf_headwind::name, and name_.

+ Here is the call graph for this function:

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

Definition at line 279 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 279 of file gmock-spec-builders.cc

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

Definition at line 291 of file gmock-spec-builders.cc.

View newest version in sPHENIX GitHub at line 291 of file gmock-spec-builders.cc

References perf_headwind::name, and name_.

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
UntypedActionResultHolderBase * testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith ( const void *  untyped_args)
virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
pure virtual
virtual UntypedActionResultHolderBase* testing::internal::UntypedFunctionMockerBase::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
pure virtual
virtual void testing::internal::UntypedFunctionMockerBase::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const
pure virtual
bool testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked ( )

Member Data Documentation

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

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

View newest version in sPHENIX GitHub at line 231 of file gmock-spec-builders.h

Referenced by MockObject().

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

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

View newest version in sPHENIX GitHub at line 235 of file gmock-spec-builders.h

Referenced by Name().

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

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

View newest version in sPHENIX GitHub at line 241 of file gmock-spec-builders.h

Referenced by GetHandleOf(), and VerifyAndClearExpectationsLocked().

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

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

View newest version in sPHENIX GitHub at line 238 of file gmock-spec-builders.h


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