mockpp::AbstractExpectationCollection< T > Class Template Reference

Base class for expectation collections. More...

Inheritance diagram for mockpp::AbstractExpectationCollection< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AbstractExpectationCollection (const String &name, VerifiableList *parent)
 Constructs the expectation.

Protected Member Functions

virtual void clearExpectation ()=0
 Clears the the handling of an error.
virtual void reset ()=0
 Resets the internal state completely.
virtual void checkImmediateValue (const T &actualItem) const =0
 Checks if the actual value matches the expectation.

Detailed Description

template<class T>
class mockpp::AbstractExpectationCollection< T >

Base class for expectation collections.

Definition at line 44 of file AbstractExpectationCollection.h.


Constructor & Destructor Documentation

template<class T>
mockpp::AbstractExpectationCollection< T >::AbstractExpectationCollection ( const String name,
VerifiableList parent 
) [inline]

Constructs the expectation.

Parameters:
name human readable description about the expectation
parent parent verifiable

Definition at line 52 of file AbstractExpectationCollection.h.


Member Function Documentation

template<class T>
virtual void mockpp::AbstractExpectationCollection< T >::checkImmediateValue ( const T &  actualItem  )  const [protected, pure virtual]
template<class T>
virtual void mockpp::AbstractExpectationCollection< T >::clearExpectation (  )  [protected, pure virtual]

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:48:58 2010 for mockpp by  doxygen 1.6.1