Use one stub after the other from a sequence. More...

Public Member Functions | |
| template<typename P > | |
| StubSequence (P start, P end) | |
| Constructs the object. | |
| virtual | ~StubSequence () |
| Destroys the object. | |
| virtual R | invoke (const I &invocation) |
| Mock the invocation. | |
| virtual String | describeTo (String &buffer) const |
| Appends the description of this object to the buffer. | |
Use one stub after the other from a sequence.
Definition at line 54 of file StubSequence.h.
| mockpp::StubSequence< R, I >::StubSequence | ( | P | start, | |
| P | end | |||
| ) | [inline] |
Constructs the object.
| start | interator for starting element | |
| end | interator for trailing element |
Definition at line 63 of file StubSequence.h.
| virtual mockpp::StubSequence< R, I >::~StubSequence | ( | ) | [inline, virtual] |
Destroys the object.
Also ensures a virtual destructor.
Definition at line 71 of file StubSequence.h.
| virtual String mockpp::StubSequence< R, I >::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::SelfDescribing.
Definition at line 100 of file StubSequence.h.
| virtual R mockpp::StubSequence< R, I >::invoke | ( | const I & | invocation | ) | [inline, virtual] |
Mock the invocation.
| invocation | invocation data |
Implements mockpp::Stub< R, I >.
Definition at line 84 of file StubSequence.h.
1.6.1