Always return the same specified value and trigger some contraint. More...

Public Member Functions | |
| ReturnAndTriggerStub1 (const R &in_result, TriggeredConstraint< T1 > *in_tc1) | |
| 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 trigger some contraint.
Definition at line 53 of file ReturnAndTriggerStub.h.
| mockpp::ReturnAndTriggerStub1< R, T1 >::ReturnAndTriggerStub1 | ( | const R & | in_result, | |
| TriggeredConstraint< T1 > * | in_tc1 | |||
| ) | [inline] |
Creates the object.
| in_result | the return value | |
| in_tc1 | pointer to trigger constraint 1 |
Definition at line 61 of file ReturnAndTriggerStub.h.
| virtual String mockpp::ReturnAndTriggerStub1< R, T1 >::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 82 of file ReturnAndTriggerStub.h.
| virtual R mockpp::ReturnAndTriggerStub1< R, T1 >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Triggers the according constraints and returns the value.
Implements mockpp::TypelessStub< R >.
Definition at line 72 of file ReturnAndTriggerStub.h.
1.6.1