mockpp::ChainableMockMethod5< RT, P1, P2, P3, P4, P5 > Class Template Reference
[Chaining behaviour of a Chainable Mock Object]

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

Inheritance diagram for mockpp::ChainableMockMethod5< RT, P1, P2, P3, P4, P5 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
ChainableMockMethod5Common< RT,
P1, P2, P3, P4, P5 >
::InvocationType 
InvocationType
 internal shorthand

Public Member Functions

 ChainableMockMethod5 (const String &name, ChainableMockObject *parent)
 Constructs the mock object.
RT forward (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5) const
 Actually verifies the mocked method.

Detailed Description

template<typename RT, typename P1, typename P2, typename P3, typename P4, typename P5>
class mockpp::ChainableMockMethod5< RT, P1, P2, P3, P4, P5 >

Set up a chainable mock method expectations with 5 parameters.

Definition at line 102 of file ChainableMockMethod5.h.


Constructor & Destructor Documentation

template<typename RT , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
mockpp::ChainableMockMethod5< RT, P1, P2, P3, P4, P5 >::ChainableMockMethod5 ( 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 113 of file ChainableMockMethod5.h.


Member Function Documentation

template<typename RT , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
RT mockpp::ChainableMockMethod5< RT, P1, P2, P3, P4, P5 >::forward ( const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4,
const P5 &  p5 
) 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
p3 mock method parameter 3
p4 mock method parameter 4
p5 mock method parameter 5
Returns:
the calculated value

Definition at line 127 of file ChainableMockMethod5.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