Helper object to mock invocations. More...
Public Types | |
typedef InvocationMockerBase < R, I >::Describer | Describer |
internal shorthand | |
typedef InvocationMockerBase < R, I >::DescriberBase | DescriberBase |
internal shorthand | |
typedef InvocationMockerBase < R, I >::DefaultDescriber | DefaultDescriber |
internal shorthand | |
Public Member Functions | |
InvocationMocker () | |
Creates the object. | |
InvocationMocker (AutoPointer< DescriberBase > in_describer) | |
Creates the object. | |
virtual R | invoke (const I &invocation) |
Mock the invocation. |
Helper object to mock invocations.
Definition at line 375 of file InvocationMocker.h.
mockpp::InvocationMocker< R, I >::InvocationMocker | ( | AutoPointer< DescriberBase > | in_describer | ) | [inline] |
Creates the object.
in_describer | pointer to describer object |
Definition at line 397 of file InvocationMocker.h.
virtual R mockpp::InvocationMocker< R, I >::invoke | ( | const I & | invocation | ) | [inline, virtual] |
Mock the invocation.
invocation | invocation data |
Implements mockpp::Invokable< R, I >.
Definition at line 407 of file InvocationMocker.h.