mockpp::StatelessInvocationMatcher< I > Class Template Reference

Base for invocation matcher with no-chaning state. More...

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

List of all members.

Public Member Functions

virtual void incInvoked (const I &invocation)
 Increments the invocation count.
virtual void verify ()
 Verify that the expected value is within the allowed bounds.
virtual bool hasDescription ()
 Does the object provide meaningful description via describeTo() ?.

Detailed Description

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

Base for invocation matcher with no-chaning state.

Definition at line 51 of file StatelessInvocationMatcher.h.


Member Function Documentation

template<typename I >
virtual bool mockpp::StatelessInvocationMatcher< I >::hasDescription (  )  [inline, virtual]

Does the object provide meaningful description via describeTo() ?.

Returns:
true: description is available

Implements mockpp::InvocationMatcher< I >.

Definition at line 75 of file StatelessInvocationMatcher.h.

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

Increments the invocation count.

Parameters:
invocation the invocation data

Implements mockpp::InvocationMatcher< I >.

Reimplemented in mockpp::InvokedAfterMatcher< I >, and mockpp::InvokedBeforeMatcher< I >.

Definition at line 58 of file StatelessInvocationMatcher.h.

template<typename I >
virtual void mockpp::StatelessInvocationMatcher< I >::verify (  )  [inline, virtual]

Verify that the expected value is within the allowed bounds.

If it fails, an AssertionFailedError is thrown

Implements mockpp::Verifiable.

Definition at line 67 of file StatelessInvocationMatcher.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