Always return the same specified value and trigger some contraint. More...
Public Member Functions | |
ReturnAndTriggerStub5 (const R &in_result, TriggeredConstraint< T1 > *in_tc1, TriggeredConstraint< T2 > *in_tc2, TriggeredConstraint< T3 > *in_tc3, TriggeredConstraint< T4 > *in_tc4, TriggeredConstraint< T5 > *in_tc5) | |
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 375 of file ReturnAndTriggerStub.h.
mockpp::ReturnAndTriggerStub5< R, T1, T2, T3, T4, T5 >::ReturnAndTriggerStub5 | ( | const R & | in_result, | |
TriggeredConstraint< T1 > * | in_tc1, | |||
TriggeredConstraint< T2 > * | in_tc2, | |||
TriggeredConstraint< T3 > * | in_tc3, | |||
TriggeredConstraint< T4 > * | in_tc4, | |||
TriggeredConstraint< T5 > * | in_tc5 | |||
) | [inline] |
Creates the object.
in_result | the return value | |
in_tc1 | pointer to trigger constraint 1 | |
in_tc2 | pointer to trigger constraint 2 | |
in_tc3 | pointer to trigger constraint 3 | |
in_tc4 | pointer to trigger constraint 4 | |
in_tc5 | pointer to trigger constraint 5 |
Definition at line 387 of file ReturnAndTriggerStub.h.
virtual String mockpp::ReturnAndTriggerStub5< R, T1, T2, T3, T4, T5 >::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 420 of file ReturnAndTriggerStub.h.
virtual R mockpp::ReturnAndTriggerStub5< R, T1, T2, T3, T4, T5 >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Triggers the according constraints and returns the value.
Implements mockpp::TypelessStub< R >.
Definition at line 406 of file ReturnAndTriggerStub.h.