Has the method been invoked at least a count? More...
Public Member Functions | |
InvokeAtLeastMatcher (int count) | |
Creates the object. | |
virtual | ~InvokeAtLeastMatcher () |
Destroys the object. | |
virtual bool | matches () |
Checks if an invocation matches the expectaton. | |
virtual void | verify () |
Verify that the expected value is within the allowed bounds. | |
virtual bool | hasDescription () |
Does the object provide meaningful description via describeTo() ?. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Has the method been invoked at least a count?
Definition at line 45 of file InvokeAtLeastMatcher.h.
mockpp::InvokeAtLeastMatcher::InvokeAtLeastMatcher | ( | int | count | ) |
Creates the object.
count | the required invocation count |
Definition at line 39 of file InvokeAtLeastMatcher.cpp.
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Reimplemented from mockpp::InvokedRecorder.
Definition at line 73 of file InvokeAtLeastMatcher.cpp.
bool mockpp::InvokeAtLeastMatcher::hasDescription | ( | ) | [virtual] |
Does the object provide meaningful description via describeTo() ?.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 67 of file InvokeAtLeastMatcher.cpp.
bool mockpp::InvokeAtLeastMatcher::matches | ( | ) | [virtual] |
Checks if an invocation matches the expectaton.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 50 of file InvokeAtLeastMatcher.cpp.
void mockpp::InvokeAtLeastMatcher::verify | ( | ) | [virtual] |
Verify that the expected value is within the allowed bounds.
If it fails, an AssertionFailedError is thrown
Reimplemented from mockpp::InvokedRecorder.
Definition at line 56 of file InvokeAtLeastMatcher.cpp.