Has the method been invoked before another? More...
Public Member Functions | |
InvokedBeforeMatcher (InvokedRecorder *in_subsequentCallRecorder, const String &in_subsequentCallDescription) | |
Constructs the object. | |
virtual bool | matches (const I &invocation) |
Checks if an invocation matches the expectaton. | |
virtual void | incInvoked (const I &invocation) |
Increments the invocation count. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Has the method been invoked before another?
Definition at line 47 of file InvokedBeforeMatcher.h.
mockpp::InvokedBeforeMatcher< I >::InvokedBeforeMatcher | ( | InvokedRecorder * | in_subsequentCallRecorder, | |
const String & | in_subsequentCallDescription | |||
) | [inline] |
Constructs the object.
in_subsequentCallRecorder | pointer to the invcation call recorder | |
in_subsequentCallDescription | string describing the subsequent call |
Definition at line 55 of file InvokedBeforeMatcher.h.
virtual String mockpp::InvokedBeforeMatcher< I >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::SelfDescribing.
Definition at line 86 of file InvokedBeforeMatcher.h.
virtual void mockpp::InvokedBeforeMatcher< I >::incInvoked | ( | const I & | invocation | ) | [inline, virtual] |
Increments the invocation count.
invocation | the invocation data |
Reimplemented from mockpp::StatelessInvocationMatcher< I >.
Definition at line 74 of file InvokedBeforeMatcher.h.
virtual bool mockpp::InvokedBeforeMatcher< I >::matches | ( | const I & | invocation | ) | [inline, virtual] |
Checks if an invocation matches the expectaton.
invocation | the invocation data (only dummy data) |
Implements mockpp::InvocationMatcher< I >.
Definition at line 65 of file InvokedBeforeMatcher.h.