mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 > Class Template Reference
[Controlling behaviour of a Visitable Mock Object]

Set up visitable mock method expectations with 4 parameters. More...

Inheritance diagram for mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 VisitableMockMethod4 (const String &name, VisitableMockObject *parent)
 Constructs the mock object.
void forward (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4) const
 Actually verifies the mocked method.

Detailed Description

template<typename P1, typename P2, typename P3, typename P4>
class mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 >

Set up visitable mock method expectations with 4 parameters.

Partial specialisation for a void return value.

Definition at line 277 of file VisitableMockMethod4.h.


Constructor & Destructor Documentation

template<typename P1 , typename P2 , typename P3 , typename P4 >
mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 >::VisitableMockMethod4 ( const String name,
VisitableMockObject parent 
) [inline]

Constructs the mock object.

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

Definition at line 286 of file VisitableMockMethod4.h.


Member Function Documentation

template<typename P1 , typename P2 , typename P3 , typename P4 >
void mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 >::forward ( const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4 
) 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

Definition at line 298 of file VisitableMockMethod4.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:17 2010 for mockpp by  doxygen 1.6.1