An object that stubs the behaviour of an invoked method invocation on behalf of an object. More...
Public Types | |
typedef AutoPointer < TypelessStub< R > > | AP |
internal shared member | |
Public Member Functions | |
virtual | ~TypelessStub () |
Destroys the object. | |
virtual R | typelessInvoke ()=0 |
Mock the invocation without passing parameters. | |
virtual String | describeTo (String &buffer) const =0 |
Appends the description of this object to the buffer. |
An object that stubs the behaviour of an invoked method invocation on behalf of an object.
The return value never depends on the parameters passed to the object.
Definition at line 50 of file TypelessStub.h.
virtual String mockpp::TypelessStub< R >::describeTo | ( | String & | buffer | ) | const [pure virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::SelfDescribing.
Implemented in mockpp::CallStub< F >, mockpp::DefaultResultStub< R >, mockpp::RandomStub< R, T >, mockpp::ReturnAndCallStub< R, F >, mockpp::ReturnAndTriggerStub1< R, T1 >, mockpp::ReturnAndTriggerStub2< R, T1, T2 >, mockpp::ReturnAndTriggerStub3< R, T1, T2, T3 >, mockpp::ReturnAndTriggerStub4< R, T1, T2, T3, T4 >, mockpp::ReturnAndTriggerStub5< R, T1, T2, T3, T4, T5 >, mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >, mockpp::ReturnObjectListStub< R >, mockpp::ReturnStub< R >, mockpp::ThrowStubBase< R >, mockpp::TriggerStub1< T1 >, mockpp::TriggerStub2< T1, T2 >, mockpp::TriggerStub3< T1, T2, T3 >, mockpp::TriggerStub4< T1, T2, T3, T4 >, mockpp::TriggerStub5< T1, T2, T3, T4, T5 >, mockpp::TriggerStub6< T1, T2, T3, T4, T5, T6 >, mockpp::TypelessStubSequence< R >, mockpp::VoidStub, and mockpp::ThrowStubBase< void >.
virtual R mockpp::TypelessStub< R >::typelessInvoke | ( | ) | [pure virtual] |
Mock the invocation without passing parameters.
Implemented in mockpp::CallStub< F >, mockpp::DefaultResultStub< R >, mockpp::RandomStub< R, T >, mockpp::ReturnAndCallStub< R, F >, mockpp::ReturnAndTriggerStub1< R, T1 >, mockpp::ReturnAndTriggerStub2< R, T1, T2 >, mockpp::ReturnAndTriggerStub3< R, T1, T2, T3 >, mockpp::ReturnAndTriggerStub4< R, T1, T2, T3, T4 >, mockpp::ReturnAndTriggerStub5< R, T1, T2, T3, T4, T5 >, mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >, mockpp::ReturnObjectListStub< R >, mockpp::ReturnStub< R >, mockpp::ThrowStub< R >, mockpp::ThrowStub< void >, mockpp::TriggerStub1< T1 >, mockpp::TriggerStub2< T1, T2 >, mockpp::TriggerStub3< T1, T2, T3 >, mockpp::TriggerStub4< T1, T2, T3, T4 >, mockpp::TriggerStub5< T1, T2, T3, T4, T5 >, mockpp::TriggerStub6< T1, T2, T3, T4, T5, T6 >, mockpp::TypelessStubSequence< R >, and mockpp::VoidStub.