mockpp::InvokedAfterMatcher< I > Class Template Reference
[Matchers]

Has the method been invoked after another? More...

Inheritance diagram for mockpp::InvokedAfterMatcher< I >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 InvokedAfterMatcher (InvokedRecorder *in_priorCallRecorder, const String &in_priorCallDescription)
 Constructs the object.
virtual bool matches (const I &invocation)
 Checks if an invocation matches the expectaton.
virtual void incInvoked (const I &invocation)
 Increments the invocation count.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename I>
class mockpp::InvokedAfterMatcher< I >

Has the method been invoked after another?

See also:
mockpp::MatchBuilder::after

Definition at line 51 of file InvokedAfterMatcher.h.


Constructor & Destructor Documentation

template<typename I >
mockpp::InvokedAfterMatcher< I >::InvokedAfterMatcher ( InvokedRecorder in_priorCallRecorder,
const String in_priorCallDescription 
) [inline]

Constructs the object.

Parameters:
in_priorCallRecorder pointer to the invcation call recorder
in_priorCallDescription string describing the prior call

Definition at line 59 of file InvokedAfterMatcher.h.


Member Function Documentation

template<typename I >
virtual String mockpp::InvokedAfterMatcher< I >::describeTo ( String buffer  )  const [inline, virtual]

Appends the description of this object to the buffer.

Parameters:
buffer The buffer that the description is appended to.
Returns:
The current content of the buffer data

Implements mockpp::SelfDescribing.

Definition at line 91 of file InvokedAfterMatcher.h.

template<typename I >
virtual void mockpp::InvokedAfterMatcher< I >::incInvoked ( const I &  invocation  )  [inline, virtual]

Increments the invocation count.

Parameters:
invocation the invocation data

Reimplemented from mockpp::StatelessInvocationMatcher< I >.

Definition at line 79 of file InvokedAfterMatcher.h.

template<typename I >
virtual bool mockpp::InvokedAfterMatcher< I >::matches ( const I &  invocation  )  [inline, virtual]

Checks if an invocation matches the expectaton.

Parameters:
invocation the invocation data (only dummy data)
Returns:
true: the invocation matches

Implements mockpp::InvocationMatcher< I >.

Definition at line 70 of file InvokedAfterMatcher.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:08 2010 for mockpp by  doxygen 1.6.1