Base for matchers regardless of method parameter values. More...
Public Types | |
typedef AutoPointer < TypelessMatcher > | AP |
internal shorthand | |
Public Member Functions | |
TypelessMatcher () | |
Creates the object. | |
virtual | ~TypelessMatcher () |
Destroys the object. | |
virtual bool | hasDescription ()=0 |
Does the object provide meaningful description via describeTo() ?. | |
virtual bool | matches ()=0 |
Checks if an invocation matches the expectaton. | |
virtual void | incInvoked ()=0 |
Increments the invocation count. | |
virtual void | reset () |
Sets all internal data to the state after construction. |
Base for matchers regardless of method parameter values.
Definition at line 51 of file TypelessMatcher.h.
virtual bool mockpp::TypelessMatcher::hasDescription | ( | ) | [pure virtual] |
Does the object provide meaningful description via describeTo() ?.
Implemented in mockpp::InvokeAtLeastMatcher, mockpp::InvokeAtLeastOnceMatcher, mockpp::InvokeAtMostMatcher, mockpp::InvokeCountMatcher, mockpp::InvokedRecorder, mockpp::InvokeOnceMatcher, mockpp::TestFailureMatcher, and mockpp::UnlimitedMatcher.
virtual bool mockpp::TypelessMatcher::matches | ( | ) | [pure virtual] |
Checks if an invocation matches the expectaton.
Implemented in mockpp::InvokeAtLeastMatcher, mockpp::InvokeAtLeastOnceMatcher, mockpp::InvokeAtMostMatcher, mockpp::InvokeCountMatcher, mockpp::InvokedRecorder, mockpp::InvokeOnceMatcher, mockpp::TestFailureMatcher, and mockpp::UnlimitedMatcher.
void mockpp::TypelessMatcher::reset | ( | ) | [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 50 of file TypelessMatcher.cpp.