mockpp::VisitableMockMethod1< void, P1 > Class Template Reference
[Controlling behaviour of a Visitable Mock Object]

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

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

List of all members.

Public Member Functions

 VisitableMockMethod1 (const String &name, VisitableMockObject *parent)
 Constructs the mock object.
void forward (const P1 &p1) const
 Actually verifies the mocked method.

Detailed Description

template<typename P1>
class mockpp::VisitableMockMethod1< void, P1 >

Set up visitable mock method expectations with 1 parameters.

Partial specialisation for a void return value.

Definition at line 235 of file VisitableMockMethod1.h.


Constructor & Destructor Documentation

template<typename P1 >
mockpp::VisitableMockMethod1< void, P1 >::VisitableMockMethod1 ( 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 244 of file VisitableMockMethod1.h.


Member Function Documentation

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

Actually verifies the mocked method.

Must be called by the client code.

Parameters:
p1 mock method parameter 1

Definition at line 253 of file VisitableMockMethod1.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:16 2010 for mockpp by  doxygen 1.6.1