mockpp::VoidStub Class Reference
[Stubs]

A stub for void methods. More...

Inheritance diagram for mockpp::VoidStub:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void typelessInvoke ()
 Mock the invocation without passing parameters.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

A stub for void methods.

Not really useful but needed for compatibility. May also be useful to express this property within an expectation.

See also:
mockpp::onConsecutiveCalls

Definition at line 50 of file VoidStub.h.


Member Function Documentation

String mockpp::VoidStub::describeTo ( String buffer  )  const [virtual]

Appends the description of this object to the buffer.

Parameters:
buffer The buffer that the description is appended to.
Returns:
The current content of the buffer data

Implements mockpp::TypelessStub< void >.

Definition at line 48 of file VoidStub.cpp.

void mockpp::VoidStub::typelessInvoke (  )  [virtual]

Mock the invocation without passing parameters.

Returns:
return value from mocked invocation

Implements mockpp::TypelessStub< void >.

Definition at line 43 of file VoidStub.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:04 2010 for mockpp by  doxygen 1.6.1