Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
testing::internal::FunctionMockerBase< F > Class Template Reference

#include <gmock.h>

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

Public Types

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

Public Member Functions

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

Protected Types

typedef ActionResultHolder< ResultResultHolder
 
typedef ActionResultHolder< ResultResultHolder
 
- Protected Types inherited from testing::internal::UntypedFunctionMockerBase
typedef std::vector< internal::linked_ptr< ExpectationBase > > UntypedExpectations
 
typedef std::vector< internal::linked_ptr< ExpectationBase > > UntypedExpectations
 
typedef std::vector< const void * > UntypedOnCallSpecs
 
typedef std::vector< const void * > UntypedOnCallSpecs
 

Protected Member Functions

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

Private Member Functions

void DescribeDefaultActionTo (const ArgumentTuple &args,::std::ostream *os) const
 
void DescribeDefaultActionTo (const ArgumentTuple &args,::std::ostream *os) const
 
TypedExpectation< F > * FindMatchingExpectationLocked (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
TypedExpectation< F > * FindMatchingExpectationLocked (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
void FormatUnexpectedCallMessageLocked (const ArgumentTuple &args,::std::ostream *os,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
void FormatUnexpectedCallMessageLocked (const ArgumentTuple &args,::std::ostream *os,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (FunctionMockerBase)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (FunctionMockerBase)
 
void PrintTriedExpectationsLocked (const ArgumentTuple &args,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
void PrintTriedExpectationsLocked (const ArgumentTuple &args,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
virtual void UntypedDescribeUninterestingCall (const void *untyped_args,::std::ostream *os) const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
virtual void UntypedDescribeUninterestingCall (const void *untyped_args,::std::ostream *os) const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
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)
 
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)
 
virtual void UntypedPrintArgs (const void *untyped_args,::std::ostream *os) const
 
virtual void UntypedPrintArgs (const void *untyped_args,::std::ostream *os) const
 

Private Attributes

MockSpec< F > current_spec_
 

Friends

template<typename Function >
class MockSpec
 
template<typename Function >
class MockSpec
 
template<typename Func >
class TypedExpectation
 
template<typename Func >
class TypedExpectation
 

Additional Inherited Members

- Protected Attributes inherited from testing::internal::UntypedFunctionMockerBase
const void * mock_obj_
 
const char * name_
 
UntypedExpectations untyped_expectations_
 
UntypedOnCallSpecs untyped_on_call_specs_
 

Detailed Description

template<typename F>
class testing::internal::FunctionMockerBase< F >

Definition at line 9452 of file fused-src/gmock/gmock.h.

Member Typedef Documentation

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

Definition at line 10874 of file fused-src/gmock/gmock.h.

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

Definition at line 10873 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 10872 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 11007 of file fused-src/gmock/gmock.h.

Constructor & Destructor Documentation

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

Definition at line 10876 of file fused-src/gmock/gmock.h.

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

Definition at line 10881 of file fused-src/gmock/gmock.h.

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

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

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

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

Member Function Documentation

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

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

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

Definition at line 11032 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 11020 of file fused-src/gmock/gmock.h.

template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked ( )
inlinevirtual
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked ( )
inlinevirtual
template<typename F>
MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec ( )
inlineprotected

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

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

Definition at line 11058 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::DescribeDefaultActionTo ( const ArgumentTuple args,
::std::ostream *  os 
) const
inlineprivate

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

template<typename F>
void testing::internal::FunctionMockerBase< F >::DescribeDefaultActionTo ( const ArgumentTuple args,
::std::ostream *  os 
) const
inlineprivate

Definition at line 11068 of file fused-src/gmock/gmock.h.

template<typename F>
TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked ( const ArgumentTuple args) const
inlineprivate

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

template<typename F>
TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked ( const ArgumentTuple args) const
inlineprivate

Definition at line 11160 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 10893 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::FormatUnexpectedCallMessageLocked ( const ArgumentTuple args,
::std::ostream *  os,
::std::ostream *  why 
) const
inlineprivate

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

template<typename F>
void testing::internal::FunctionMockerBase< F >::FormatUnexpectedCallMessageLocked ( const ArgumentTuple args,
::std::ostream *  os,
::std::ostream *  why 
) const
inlineprivate

Definition at line 11183 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 11012 of file fused-src/gmock/gmock.h.

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

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

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

Definition at line 10916 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::PrintTriedExpectationsLocked ( const ArgumentTuple args,
::std::ostream *  why 
) const
inlineprivate

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

template<typename F>
void testing::internal::FunctionMockerBase< F >::PrintTriedExpectationsLocked ( const ArgumentTuple args,
::std::ostream *  why 
) const
inlineprivate

Definition at line 11197 of file fused-src/gmock/gmock.h.

template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const
inlineprivatevirtual
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const
inlineprivatevirtual
template<typename F>
virtual const ExpectationBase* testing::internal::FunctionMockerBase< F >::UntypedFindMatchingExpectation ( const void *  untyped_args,
const void **  untyped_action,
bool *  is_excessive,
::std::ostream *  what,
::std::ostream *  why 
)
inlineprivatevirtual
template<typename F>
virtual const ExpectationBase* testing::internal::FunctionMockerBase< F >::UntypedFindMatchingExpectation ( const void *  untyped_args,
const void **  untyped_action,
bool *  is_excessive,
::std::ostream *  what,
::std::ostream *  why 
)
inlineprivatevirtual
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
inlinevirtual
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const
inlinevirtual
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
inlinevirtual
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const
inlinevirtual
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const
inlineprivatevirtual
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const
inlineprivatevirtual

Friends And Related Function Documentation

template<typename F>
template<typename Function >
class MockSpec ( )
friend

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

template<typename F>
template<typename Function >
friend class MockSpec
friend

Definition at line 11005 of file fused-src/gmock/gmock.h.

template<typename F>
template<typename Func >
class TypedExpectation ( )
friend

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

template<typename F>
template<typename Func >
friend class TypedExpectation
friend

Definition at line 11061 of file fused-src/gmock/gmock.h.

Member Data Documentation

template<typename F>
MockSpec< F > testing::internal::FunctionMockerBase< F >::current_spec_
private

Definition at line 11229 of file fused-src/gmock/gmock.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:11