Orxonox  0.0.5 Codename: Arcturus
Public Types | Public Member Functions | List of all members
testing::internal::FunctionMocker< R(A1, A2)> Class Template Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gmock/include/gmock/gmock-generated-function-mockers.h>

Inheritance diagram for testing::internal::FunctionMocker< R(A1, A2)>:
testing::internal::FunctionMockerBase< R(A1, A2)> testing::internal::UntypedFunctionMockerBase

Public Types

typedef internal::Function< F >::ArgumentTuple ArgumentTuple
 
typedef R F(A1, A2)
 
- Public Types inherited from testing::internal::FunctionMockerBase< R(A1, A2)>
typedef Function< R(A1, A2) >::ArgumentMatcherTuple ArgumentMatcherTuple
 
typedef Function< R(A1, A2) >::ArgumentTuple ArgumentTuple
 
typedef Function< R(A1, A2) >::Result Result
 

Public Member Functions

Invoke (A1 a1, A2 a2)
 
MockSpec< F > & With (const Matcher< A1 > &m1, const Matcher< A2 > &m2)
 
- Public Member Functions inherited from testing::internal::FunctionMockerBase< R(A1, A2)>
 FunctionMockerBase ()
 
virtual ~FunctionMockerBase ()
 
virtual void ClearDefaultActionsLocked ()
 
const OnCallSpec< R(A1, A2) > * FindOnCallSpec (const ArgumentTuple &args) const
 
Result PerformDefaultAction (const ArgumentTuple &args, const string &call_description) const
 
virtual UntypedActionResultHolderBaseUntypedPerformAction (const void *untyped_action, const void *untyped_args) const
 
virtual UntypedActionResultHolderBaseUntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const
 
- Public Member Functions inherited from testing::internal::UntypedFunctionMockerBase
 UntypedFunctionMockerBase ()
 
virtual ~UntypedFunctionMockerBase ()
 
const voidMockObject () const
 
const char * Name () const
 
void RegisterOwner (const void *mock_obj)
 
void SetOwnerAndName (const void *mock_obj, const char *name)
 
const UntypedActionResultHolderBaseUntypedInvokeWith (const void *untyped_args)
 
bool VerifyAndClearExpectationsLocked ()
 

Additional Inherited Members

- Protected Types inherited from testing::internal::FunctionMockerBase< R(A1, A2)>
typedef ActionResultHolder< ResultResultHolder
 
- Protected Types inherited from testing::internal::UntypedFunctionMockerBase
typedef std::vector< internal::linked_ptr< ExpectationBase > > UntypedExpectations
 
typedef std::vector< const void * > UntypedOnCallSpecs
 
- Protected Member Functions inherited from testing::internal::FunctionMockerBase< R(A1, A2)>
TypedExpectation< R(A1, A2) > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m)
 
OnCallSpec< R(A1, A2) > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m)
 
MockSpec< R(A1, A2) > & current_spec ()
 
Result InvokeWith (const ArgumentTuple &args)
 
- Protected Member Functions inherited from testing::internal::UntypedFunctionMockerBase
Expectation GetHandleOf (ExpectationBase *exp)
 
- Protected Attributes inherited from testing::internal::UntypedFunctionMockerBase
const voidmock_obj_
 
const char * name_
 
UntypedExpectations untyped_expectations_
 
UntypedOnCallSpecs untyped_on_call_specs_
 

Member Typedef Documentation

template<typename R , typename A1 , typename A2 >
typedef internal::Function<F>::ArgumentTuple testing::internal::FunctionMocker< R(A1, A2)>::ArgumentTuple
template<typename R , typename A1 , typename A2 >
typedef R testing::internal::FunctionMocker< R(A1, A2)>::F(A1, A2)

Member Function Documentation

template<typename R , typename A1 , typename A2 >
R testing::internal::FunctionMocker< R(A1, A2)>::Invoke ( A1  a1,
A2  a2 
)
inline
template<typename R , typename A1 , typename A2 >
MockSpec<F>& testing::internal::FunctionMocker< R(A1, A2)>::With ( const Matcher< A1 > &  m1,
const Matcher< A2 > &  m2 
)
inline

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