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

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

Inheritance diagram for mockpp::ChainableMockMethod1< void, P1 >:
Inheritance graph

List of all members.

Public Types

< void, P1 >::InvocationType 
 internal shorthand

Public Member Functions

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

Detailed Description

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

Set up a chainable mock method expectations with 1 parameters.

Partial specialisation for a void return value.

Definition at line 136 of file ChainableMockMethod1.h.

Constructor & Destructor Documentation

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

Constructs the mock object.

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

Definition at line 147 of file ChainableMockMethod1.h.

Member Function Documentation

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

Actually verifies the mocked method.

Must be called by the client code.

p1 mock method parameter 1

Definition at line 156 of file ChainableMockMethod1.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:10 2010 for mockpp by  doxygen 1.6.1