A stub throwing exceptions. More...

Public Member Functions | |
| ThrowStub (Throwable *in_throwable) | |
| Creates the object. | |
| ThrowStub (ThrowableItem &in_throwable) | |
| Creates the object. | |
| virtual R | typelessInvoke () |
| Mock the invocation without passing parameters. | |
A stub throwing exceptions.
Definition at line 94 of file ThrowStub.h.
| mockpp::ThrowStub< R >::ThrowStub | ( | Throwable * | in_throwable | ) | [inline] |
Creates the object.
| in_throwable | pointer to the object to throw |
Definition at line 101 of file ThrowStub.h.
| mockpp::ThrowStub< R >::ThrowStub | ( | ThrowableItem & | in_throwable | ) | [inline] |
Creates the object.
| in_throwable | the object to throw |
Definition at line 108 of file ThrowStub.h.
| virtual R mockpp::ThrowStub< R >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Actually the method never returns but the excection is thrown instead.
Implements mockpp::TypelessStub< R >.
Definition at line 116 of file ThrowStub.h.
1.6.1