mockpp::ChainableMockMethod2< void, P1, P2 > Class Template Reference
[Chaining behaviour of a Chainable Mock Object]

Set up a chainable mock method expectations with 2 parameters. More...

Inheritance diagram for mockpp::ChainableMockMethod2< void, P1, P2 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
ChainableMockMethod2Common
< void, P1, P2 >
::InvocationType 
InvocationType
 internal shorthand

Public Member Functions

 ChainableMockMethod2 (const String &name, ChainableMockObject *parent)
 Constructs the mock object.
void forward (const P1 &p1, const P2 &p2) const
 Actually verifies the mocked method.

Detailed Description

template<typename P1, typename P2>
class mockpp::ChainableMockMethod2< void, P1, P2 >

Set up a chainable mock method expectations with 2 parameters.

Partial specialisation for a void return value.

Definition at line 137 of file ChainableMockMethod2.h.


Constructor & Destructor Documentation

template<typename P1 , typename P2 >
mockpp::ChainableMockMethod2< void, P1, P2 >::ChainableMockMethod2 ( const String name,
ChainableMockObject parent 
) [inline]

Constructs the mock object.

Parameters:
name human readable description about the expectation
parent parent chainable mock object

Definition at line 148 of file ChainableMockMethod2.h.


Member Function Documentation

template<typename P1 , typename P2 >
void mockpp::ChainableMockMethod2< void, P1, P2 >::forward ( const P1 &  p1,
const P2 &  p2 
) const [inline]

Actually verifies the mocked method.

Must be called by the client code.

Parameters:
p1 mock method parameter 1
p2 mock method parameter 2

Definition at line 158 of file ChainableMockMethod2.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:11 2010 for mockpp by  doxygen 1.6.1