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

Interface for chaining mocks. More...

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

List of all members.

Public Types

typedef AutoPointer
< DynamicChainingMock< R, I > > 
AP
 internal shorthand

Public Member Functions

 DynamicChainingMock (const String &name, VerifiableList *parent=0)
 Constructs the chaining mock.
virtual String toString () const =0
 Transform the object's state to a human readable string.
virtual void setDefaultStub (const mockpp::StubHolder< R, I > &newDefaultStub)=0
 Sets the default stub for the object.
virtual void addInvokable (typename Invokable< R, I >::AP invokable)=0
 Adds an invokable to the mock object.
virtual void reset ()=0
 Clears all internal states.

Detailed Description

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

Interface for chaining mocks.

Definition at line 58 of file DynamicChainingMock.h.


Constructor & Destructor Documentation

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

Constructs the chaining mock.

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

Definition at line 68 of file DynamicChainingMock.h.


Member Function Documentation

template<typename R, typename I>
virtual void mockpp::DynamicChainingMock< R, I >::addInvokable ( typename Invokable< R, I >::AP  invokable  )  [pure virtual]
template<typename R, typename I>
virtual void mockpp::DynamicChainingMock< R, I >::setDefaultStub ( const mockpp::StubHolder< R, I > &  newDefaultStub  )  [pure virtual]
template<typename R, typename I>
virtual String mockpp::DynamicChainingMock< R, I >::toString (  )  const [pure virtual]

Transform the object's state to a human readable string.

Returns:
string representation

Implemented in mockpp::AbstractDynamicChainingMockImpl< R, I >, mockpp::ChainingMockBuilder< AMB >, mockpp::AbstractDynamicChainingMockImpl< void, InvocationType >, mockpp::AbstractDynamicChainingMockImpl< void, I >, mockpp::AbstractDynamicChainingMockImpl< RT, InvocationType >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder6< void, Invocation6< P1, P2, P3, P4, P5, P6 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder2< RT, Invocation2< P1, P2 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder0< RT, Invocation0 > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder3< RT, Invocation3< P1, P2, P3 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder6< RT, Invocation6< P1, P2, P3, P4, P5, P6 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder5< RT, Invocation5< P1, P2, P3, P4, P5 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder5< void, Invocation5< P1, P2, P3, P4, P5 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder2< void, Invocation2< P1, P2 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder4< void, Invocation4< P1, P2, P3, P4 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder4< RT, Invocation4< P1, P2, P3, P4 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder0< void, Invocation0 > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder1< RT, Invocation1< P1 > > >, mockpp::ChainingMockBuilder< ArgumentsMatchBuilder1< void, Invocation1< P1 > > >, and mockpp::ChainingMockBuilder< ArgumentsMatchBuilder3< void, Invocation3< P1, P2, P3 > > >.


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