A stub returning the default value of the return type. More...
Public Member Functions | |
DefaultResultStub () | |
Creates the object. | |
DefaultResultStub (const R &val) | |
Creates the object. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. | |
virtual R | typelessInvoke () |
Creates the object. |
A stub returning the default value of the return type.
Definition at line 50 of file DefaultResultStub.h.
mockpp::DefaultResultStub< R >::DefaultResultStub | ( | ) | [inline] |
Creates the object.
This returns the default value for the return type
Definition at line 57 of file DefaultResultStub.h.
mockpp::DefaultResultStub< R >::DefaultResultStub | ( | const R & | val | ) | [inline] |
Creates the object.
val | the default return value |
Definition at line 65 of file DefaultResultStub.h.
virtual String mockpp::DefaultResultStub< 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 DefaultResultStub.h.
virtual R mockpp::DefaultResultStub< R >::typelessInvoke | ( | ) | [inline, virtual] |
Creates the object.
Implements mockpp::TypelessStub< R >.
Definition at line 84 of file DefaultResultStub.h.