Always return the same specified value. More...
Public Member Functions | |
ReturnStub (const R &in_result) | |
Creates the object. | |
virtual R | typelessInvoke () |
Mock the invocation without passing parameters. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Always return the same specified value.
Definition at line 51 of file ReturnStub.h.
mockpp::ReturnStub< R >::ReturnStub | ( | const R & | in_result | ) | [inline] |
Creates the object.
in_result | the return value |
Definition at line 58 of file ReturnStub.h.
virtual String mockpp::ReturnStub< R >::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::TypelessStub< R >.
Definition at line 74 of file ReturnStub.h.
virtual R mockpp::ReturnStub< R >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Implements mockpp::TypelessStub< R >.
Definition at line 65 of file ReturnStub.h.