mockpp::ThrowStub< void > Class Template Reference

A stub throwing exceptions. More...

Inheritance diagram for mockpp::ThrowStub< void >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ThrowStub (Throwable *in_throwable)
 Creates the object.
 ThrowStub (ThrowableItem &in_throwable)
 Creates the object.
virtual void typelessInvoke ()
 Mock the invocation without passing parameters.

Detailed Description

template<>
class mockpp::ThrowStub< void >

A stub throwing exceptions.

Definition at line 128 of file ThrowStub.h.


Constructor & Destructor Documentation

mockpp::ThrowStub< void >::ThrowStub ( Throwable in_throwable  )  [inline]

Creates the object.

Parameters:
in_throwable pointer to the object to throw

Definition at line 135 of file ThrowStub.h.

mockpp::ThrowStub< void >::ThrowStub ( ThrowableItem in_throwable  )  [inline]

Creates the object.

Parameters:
in_throwable the object to throw

Definition at line 142 of file ThrowStub.h.


Member Function Documentation

virtual void mockpp::ThrowStub< void >::typelessInvoke (  )  [inline, virtual]

Mock the invocation without passing parameters.

Actually the method never returns but the excection is thrown instead.

Returns:
return value from mocked invocation

Implements mockpp::TypelessStub< void >.

Definition at line 150 of file ThrowStub.h.


The documentation for this class was generated from the following file:
 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