Class returning a throwable depending on the parameters passed to a method. More...

Public Member Functions | |
| ResponseVector5 (const String &aName, VerifiableList *parent) | |
| Construct a new empty vector. | |
| void | add (Throwable *throwable, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, unsigned count) |
| Adds a throwable. | |
| void | add (Throwable *throwable, const ConstraintHolder< P1 > &p1, const ConstraintHolder< P2 > &p2, const ConstraintHolder< P3 > &p3, const ConstraintHolder< P4 > &p4, const ConstraintHolder< P5 > &p5, unsigned count) |
| Adds a throwable. | |
| void | add (const R &r, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, unsigned count) |
| Adds a return value. | |
| void | add (const R &r, const ConstraintHolder< P1 > &p1, const ConstraintHolder< P2 > &p2, const ConstraintHolder< P3 > &p3, const ConstraintHolder< P4 > &p4, const ConstraintHolder< P5 > &p5, unsigned count) |
| Adds a return value. | |
| void | reset () |
| Removes all the objects from the list. | |
| bool | find (Throwable *&throwable, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5) |
| Finds a throwable for a set of parameters. | |
| bool | find (R &r, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5) |
| Finds a return value for a set of parameters. | |
Class returning a throwable depending on the parameters passed to a method.
Definition at line 190 of file ResponseVector5.h.
| mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::ResponseVector5 | ( | const String & | aName, | |
| VerifiableList * | parent | |||
| ) | [inline] |
Construct a new empty vector.
| aName | Label used to identify vector | |
| parent | parent verifiable |
Definition at line 198 of file ResponseVector5.h.
| void mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::add | ( | const R & | r, | |
| const ConstraintHolder< P1 > & | p1, | |||
| const ConstraintHolder< P2 > & | p2, | |||
| const ConstraintHolder< P3 > & | p3, | |||
| const ConstraintHolder< P4 > & | p4, | |||
| const ConstraintHolder< P5 > & | p5, | |||
| unsigned | count | |||
| ) | [inline] |
Adds a return value.
| r | the return value | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return | |
| count | the number of times the object may be used |
Definition at line 266 of file ResponseVector5.h.
| void mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::add | ( | const R & | r, | |
| const P1 & | p1, | |||
| const P2 & | p2, | |||
| const P3 & | p3, | |||
| const P4 & | p4, | |||
| const P5 & | p5, | |||
| unsigned | count | |||
| ) | [inline] |
Adds a return value.
| r | the return value | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return | |
| count | the number of times the object may be used |
Definition at line 251 of file ResponseVector5.h.
| void mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::add | ( | Throwable * | throwable, | |
| const ConstraintHolder< P1 > & | p1, | |||
| const ConstraintHolder< P2 > & | p2, | |||
| const ConstraintHolder< P3 > & | p3, | |||
| const ConstraintHolder< P4 > & | p4, | |||
| const ConstraintHolder< P5 > & | p5, | |||
| unsigned | count | |||
| ) | [inline] |
Adds a throwable.
| t | the throwable | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return | |
| count | the number of times the object may be used |
Reimplemented from mockpp::ResponseThrowableVector5< P1, P2, P3, P4, P5 >.
Definition at line 228 of file ResponseVector5.h.
| void mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::add | ( | Throwable * | throwable, | |
| const P1 & | p1, | |||
| const P2 & | p2, | |||
| const P3 & | p3, | |||
| const P4 & | p4, | |||
| const P5 & | p5, | |||
| unsigned | count | |||
| ) | [inline] |
Adds a throwable.
| t | the throwable | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return | |
| count | the number of times the object may be used |
Reimplemented from mockpp::ResponseThrowableVector5< P1, P2, P3, P4, P5 >.
Definition at line 211 of file ResponseVector5.h.
| bool mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::find | ( | R & | r, | |
| const P1 & | p1, | |||
| const P2 & | p2, | |||
| const P3 & | p3, | |||
| const P4 & | p4, | |||
| const P5 & | p5 | |||
| ) | [inline] |
Finds a return value for a set of parameters.
| r | the value | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return |
Definition at line 304 of file ResponseVector5.h.
| bool mockpp::ResponseVector5< R, P1, P2, P3, P4, P5 >::find | ( | Throwable *& | throwable, | |
| const P1 & | p1, | |||
| const P2 & | p2, | |||
| const P3 & | p3, | |||
| const P4 & | p4, | |||
| const P5 & | p5 | |||
| ) | [inline] |
Finds a throwable for a set of parameters.
| t | the throwable | |
| p1 | the parameter 1 upon which to return | |
| p2 | the parameter 2 upon which to return | |
| p3 | the parameter 3 upon which to return | |
| p4 | the parameter 4 upon which to return | |
| p5 | the parameter 5 upon which to return |
Reimplemented from mockpp::ResponseThrowableVector5< P1, P2, P3, P4, P5 >.
Definition at line 287 of file ResponseVector5.h.
1.6.1