PoorMock Class Reference

Inheritance diagram for PoorMock:
Inheritance graph
[legend]
Collaboration diagram for PoorMock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PoorMock ()
virtual void open (const MOCKPP_STL::string &)
virtual MOCKPP_STL::string read ()
virtual void write (const MOCKPP_STL::string &)
virtual unsigned calculate (unsigned input)
virtual void close ()

Public Attributes

unsigned counter
unsigned open_counter
unsigned read_counter
unsigned write_counter
unsigned close_counter

Detailed Description

Definition at line 38 of file poormock.cpp.


Constructor & Destructor Documentation

PoorMock::PoorMock (  )  [inline]

Definition at line 42 of file poormock.cpp.

References close_counter, counter, open_counter, read_counter, and write_counter.


Member Function Documentation

virtual unsigned PoorMock::calculate ( unsigned  input  )  [inline, virtual]

Implements Interface.

Definition at line 67 of file poormock.cpp.

virtual void PoorMock::close (  )  [inline, virtual]

Implements Interface.

Definition at line 72 of file poormock.cpp.

References close_counter, and counter.

virtual void PoorMock::open ( const MOCKPP_STL::string &   )  [inline, virtual]

Implements Interface.

Definition at line 51 of file poormock.cpp.

References counter, and open_counter.

virtual MOCKPP_STL::string PoorMock::read (  )  [inline, virtual]

Implements Interface.

Definition at line 56 of file poormock.cpp.

References counter, and read_counter.

virtual void PoorMock::write ( const MOCKPP_STL::string &   )  [inline, virtual]

Implements Interface.

Definition at line 62 of file poormock.cpp.

References counter, and write_counter.


Member Data Documentation

Definition at line 81 of file poormock.cpp.

Referenced by close(), main(), and PoorMock().

Definition at line 77 of file poormock.cpp.

Referenced by close(), open(), PoorMock(), read(), and write().

Definition at line 78 of file poormock.cpp.

Referenced by main(), open(), and PoorMock().

Definition at line 79 of file poormock.cpp.

Referenced by main(), PoorMock(), and read().

Definition at line 80 of file poormock.cpp.

Referenced by main(), PoorMock(), and write().


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 18:03:33 2010 for mockpp-tutorial by  doxygen 1.6.1