mockpp::ChainableMockMethodCommon Class Reference
[Controlling behaviour of a Visitable Mock Object]

Common stuff to set up chainable mock method expectations. More...

Inheritance diagram for mockpp::ChainableMockMethodCommon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ChainableMockMethodCommon (const String &name, ChainableMockObject *parent)
 Constructs the mock object.
ChainableMockObjectgetChainableMockObject () const
 Returns the underlying mock object.
String getMethodName () const
 Returns the mock object name.

Detailed Description

Common stuff to set up chainable mock method expectations.

Definition at line 48 of file ChainableMockMethod.h.


Constructor & Destructor Documentation

mockpp::ChainableMockMethodCommon::ChainableMockMethodCommon ( const String name,
ChainableMockObject parent 
) [inline]

Constructs the mock object.

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

Precondition:
parent != 0
name.length() != 0

Definition at line 56 of file ChainableMockMethod.h.


Member Function Documentation

ChainableMockObject* mockpp::ChainableMockMethodCommon::getChainableMockObject (  )  const [inline]

Returns the underlying mock object.

Returns:
pointer to mock object

Definition at line 67 of file ChainableMockMethod.h.

String mockpp::ChainableMockMethodCommon::getMethodName (  )  const [inline]

Returns the mock object name.

Returns:
mock object name

Definition at line 75 of file ChainableMockMethod.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