mockpp::CoreMock< R, I > Class Template Reference

Helper class for chaining mocks. More...

Inheritance diagram for mockpp::CoreMock< R, I >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CoreMock (typename InvocationDispatcher< R, I >::AP in_invocationDispatcher, const String &name, VerifiableList *parent)
 Construct the object.
 CoreMock (const String &name, VerifiableList *parent)
 Construct the object.
invoke (const I &invocation)
 Mock the invocation.

Detailed Description

template<typename R, typename I>
class mockpp::CoreMock< R, I >

Helper class for chaining mocks.

Definition at line 51 of file CoreMock.h.


Constructor & Destructor Documentation

template<typename R, typename I>
mockpp::CoreMock< R, I >::CoreMock ( typename InvocationDispatcher< R, I >::AP  in_invocationDispatcher,
const String name,
VerifiableList parent 
) [inline]

Construct the object.

Parameters:
in_invocationDispatcher pointer to invocation dispatcher
name mock name
parent pointer to parent verifiable
Returns:
return value from mocked invocation

Definition at line 61 of file CoreMock.h.

template<typename R, typename I>
mockpp::CoreMock< R, I >::CoreMock ( const String name,
VerifiableList parent 
) [inline]

Construct the object.

Parameters:
name mock name
parent pointer to parent verifiable
Returns:
return value from mocked invocation

Definition at line 72 of file CoreMock.h.


Member Function Documentation

template<typename R, typename I>
R mockpp::CoreMock< R, I >::invoke ( const I &  invocation  )  [inline]

Mock the invocation.

Parameters:
invocation invocation data
Returns:
return value from mocked invocation

Definition at line 80 of file CoreMock.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:12 2010 for mockpp by  doxygen 1.6.1