Hold information about an invocation dispatched to a Mock object. More...
Public Member Functions | |
Invocation (const String &in_name) | |
Constructs the object. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. | |
String | getMethodName () const |
Returns the method name. | |
virtual String | describeParameters () const =0 |
Returns a description of the parameters. |
Hold information about an invocation dispatched to a Mock object.
Definition at line 86 of file Invocation.h.
mockpp::Invocation::Invocation | ( | const String & | in_name | ) |
Constructs the object.
in_name | name of he object |
Definition at line 49 of file Invocation.cpp.
virtual String mockpp::Invocation::describeParameters | ( | ) | const [pure virtual] |
Returns a description of the parameters.
Implemented in mockpp::Invocation0, mockpp::Invocation1< P1 >, mockpp::Invocation2< P1, P2 >, mockpp::Invocation3< P1, P2, P3 >, mockpp::Invocation4< P1, P2, P3, P4 >, mockpp::Invocation5< P1, P2, P3, P4, P5 >, and mockpp::Invocation6< P1, P2, P3, P4, P5, P6 >.
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::SelfDescribing.
Definition at line 55 of file Invocation.cpp.
String mockpp::Invocation::getMethodName | ( | ) | const |