A stub to implement application-specific stubs. More...

Public Member Functions | |
| CustomStub (const String &in_description) | |
| Creates the object. | |
| virtual String | describeTo (String &buffer) const |
| Appends the description of this object to the buffer. | |
Protected Member Functions | |
| String | internalDescribeTo (String &buffer) const |
| Appends the description of this object to the buffer. | |
A stub to implement application-specific stubs.
Definition at line 50 of file CustomStub.h.
| mockpp::CustomStub< R, I >::CustomStub | ( | const String & | in_description | ) | [inline] |
Creates the object.
| in_description | a string describing the stub |
Definition at line 57 of file CustomStub.h.
| virtual String mockpp::CustomStub< R, 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 65 of file CustomStub.h.
| String mockpp::CustomStub< R, I >::internalDescribeTo | ( | String & | buffer | ) | const [inline, protected] |
Appends the description of this object to the buffer.
Needed for compilers that can't invoke CustumStub<>::describeTo() directly.
| buffer | The buffer that the description is appended to. |
Definition at line 77 of file CustomStub.h.
1.6.1