Public Types | |
typedef AutoPointer < InvocationMatcher< I > > | AP |
internal shorthand | |
Public Member Functions | |
InvocationMatcher () | |
Constructs the object. | |
virtual | ~InvocationMatcher () |
Destroys the object. | |
virtual bool | matches (const I &invocation)=0 |
Checks if an invocation matches the expectaton. | |
virtual void | incInvoked (const I &invocation)=0 |
Increments the invocation count. | |
virtual bool | hasDescription ()=0 |
Does the object provide meaningful description via describeTo() ?. | |
virtual void | reset () |
Sets all internal data to the state after construction. |
Definition at line 57 of file InvocationMatcher.h.
virtual bool mockpp::InvocationMatcher< I >::hasDescription | ( | ) | [pure virtual] |
Does the object provide meaningful description via describeTo() ?.
Implemented in mockpp::StatelessInvocationMatcher< I >, and mockpp::TypelessMatcherAdapter< I >.
virtual void mockpp::InvocationMatcher< I >::incInvoked | ( | const I & | invocation | ) | [pure virtual] |
Increments the invocation count.
invocation | the invocation data |
Implemented in mockpp::InvokedAfterMatcher< I >, mockpp::InvokedBeforeMatcher< I >, mockpp::StatelessInvocationMatcher< I >, and mockpp::TypelessMatcherAdapter< I >.
virtual bool mockpp::InvocationMatcher< I >::matches | ( | const I & | invocation | ) | [pure virtual] |
Checks if an invocation matches the expectaton.
invocation | the invocation data |
Implemented in mockpp::AnyArgumentsMatcher< I >, mockpp::ArgumentsMatcher< I >, mockpp::InvokedAfterMatcher< I >, mockpp::InvokedBeforeMatcher< I >, mockpp::NoArgumentsMatcher< I >, and mockpp::TypelessMatcherAdapter< I >.
virtual void mockpp::InvocationMatcher< I >::reset | ( | ) | [inline, virtual] |
Sets all internal data to the state after construction.
Only a dummy as matchers don't have data to reset.
Implements mockpp::Verifiable.
Definition at line 95 of file InvocationMatcher.h.