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

General template of a chaining mock. More...

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

List of all members.

Public Member Functions

 AbstractDynamicChainingMock (typename InvocationDispatcher< R, I >::AP in_invocationDispatcher, const String &name, VerifiableList *parent)
 Constructs the chaining mock.
 AbstractDynamicChainingMock (const String &name, VerifiableList *parent)
 Constructs the chaining mock.

Protected Member Functions

virtual R mockInvocation (const I &invocation)
 Mocks an invocation.

Detailed Description

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

General template of a chaining mock.

Definition at line 226 of file AbstractDynamicChainingMock.h.


Constructor & Destructor Documentation

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

Constructs the chaining mock.

Parameters:
in_invocationDispatcher pointer to invocation dispatcher
name pointer to invocation dispatcher
parent pointer to parent verifiable

Definition at line 235 of file AbstractDynamicChainingMock.h.

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

Constructs the chaining mock.

Parameters:
name pointer to invocation dispatcher
parent pointer to parent verifiable

Definition at line 245 of file AbstractDynamicChainingMock.h.


Member Function Documentation

template<typename R, typename I>
virtual R mockpp::AbstractDynamicChainingMock< R, I >::mockInvocation ( const I &  invocation  )  [inline, protected, virtual]

Mocks an invocation.

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

Implements mockpp::AbstractDynamicChainingMockImpl< R, I >.

Definition at line 256 of file AbstractDynamicChainingMock.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:09 2010 for mockpp by  doxygen 1.6.1