Has the method been invoked exactly once? More...
Public Member Functions | |
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 exactly once?
Definition at line 49 of file InvokeOnceMatcher.h.
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 61 of file InvokeOnceMatcher.cpp.
bool mockpp::InvokeOnceMatcher::hasDescription | ( | ) | [virtual] |
Does the object provide meaningful description via describeTo() ?.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 55 of file InvokeOnceMatcher.cpp.
bool mockpp::InvokeOnceMatcher::matches | ( | ) | [virtual] |
Checks if an invocation matches the expectaton.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 43 of file InvokeOnceMatcher.cpp.
void mockpp::InvokeOnceMatcher::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 49 of file InvokeOnceMatcher.cpp.