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

Common stuff to set up chainable mock method expectations with 6 parameters. More...

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

List of all members.

Public Types

typedef Invocation6< P1, P2,
P3, P4, P5, P6 > 
InvocationType
 internal shorthand
typedef CoreMock< RT,
InvocationType
CoreMockType
 internal shorthand
typedef RT ReturnType
 internal shorthand
typedef ChainingMockBuilder
< ArgumentsMatchBuilder6
< ReturnType, InvocationType > > 
Builder
 internal shorthand

Public Member Functions

 ChainableMockMethod6Common (const String &name, ChainableMockObject *parent)
 Constructs the mock object.
virtual void reset ()
 Clears all internal states.
virtual void verify ()
 Verify that the expected value is within the allowed bounds.

Protected Member Functions

CoreMockTypegetCoreMock () const
 Returns the underlying coremock.

Detailed Description

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

Common stuff to set up chainable mock method expectations with 6 parameters.

Definition at line 48 of file ChainableMockMethod6.h.


Constructor & Destructor Documentation

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


Member Function Documentation

template<typename RT, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
CoreMockType& mockpp::ChainableMockMethod6Common< RT, P1, P2, P3, P4, P5, P6 >::getCoreMock (  )  const [inline, protected]

Returns the underlying coremock.

Returns:
reference to the mock object

Definition at line 87 of file ChainableMockMethod6.h.

template<typename RT, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
virtual void mockpp::ChainableMockMethod6Common< RT, P1, P2, P3, P4, P5, P6 >::verify (  )  [inline, virtual]

Verify that the expected value is within the allowed bounds.

If it fails, an AssertionFailedError is thrown

Reimplemented from mockpp::ChainingMockBuilder< ArgumentsMatchBuilder6< RT, Invocation6< P1, P2, P3, P4, P5, P6 > > >.

Definition at line 77 of file ChainableMockMethod6.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:12 2010 for mockpp by  doxygen 1.6.1