Has the method been invoked a maximal number of times? More...

Public Member Functions | |
| InvokeAtMostMatcher (int count) | |
| Creates the object. | |
| virtual | ~InvokeAtMostMatcher () |
| 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 a maximal number of times?
Definition at line 44 of file InvokeAtMostMatcher.h.
| mockpp::InvokeAtMostMatcher::InvokeAtMostMatcher | ( | int | count | ) |
Creates the object.
| count | the required maximal invocation count |
Definition at line 40 of file InvokeAtMostMatcher.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 74 of file InvokeAtMostMatcher.cpp.
| bool mockpp::InvokeAtMostMatcher::hasDescription | ( | ) | [virtual] |
Does the object provide meaningful description via describeTo() ?.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 68 of file InvokeAtMostMatcher.cpp.
| bool mockpp::InvokeAtMostMatcher::matches | ( | ) | [virtual] |
Checks if an invocation matches the expectaton.
Reimplemented from mockpp::InvokedRecorder.
Definition at line 51 of file InvokeAtMostMatcher.cpp.
| void mockpp::InvokeAtMostMatcher::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 57 of file InvokeAtMostMatcher.cpp.
1.6.1