Always return the same specified value and call some functor. More...

Public Member Functions | |
| ReturnAndCallStub (const R &in_result, F in_functor) | |
| 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 and call some functor.
Definition at line 50 of file ReturnAndCallStub.h.
| mockpp::ReturnAndCallStub< R, F >::ReturnAndCallStub | ( | const R & | in_result, | |
| F | in_functor | |||
| ) | [inline] |
Creates the object.
| in_result | the return value | |
| in_functor | functor to call |
Definition at line 58 of file ReturnAndCallStub.h.
| virtual String mockpp::ReturnAndCallStub< R, F >::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 79 of file ReturnAndCallStub.h.
| virtual R mockpp::ReturnAndCallStub< R, F >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Calls the functor and returns the value.
Implements mockpp::TypelessStub< R >.
Definition at line 69 of file ReturnAndCallStub.h.
1.6.1