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 |
Definition at line 38 of file poormock.cpp.
PoorMock::PoorMock | ( | ) | [inline] |
Definition at line 42 of file poormock.cpp.
References close_counter, counter, open_counter, read_counter, and write_counter.
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.
unsigned PoorMock::close_counter |
Definition at line 81 of file poormock.cpp.
Referenced by close(), main(), and PoorMock().
unsigned PoorMock::counter |
Definition at line 77 of file poormock.cpp.
Referenced by close(), open(), PoorMock(), read(), and write().
unsigned PoorMock::open_counter |
Definition at line 78 of file poormock.cpp.
Referenced by main(), open(), and PoorMock().
unsigned PoorMock::read_counter |
Definition at line 79 of file poormock.cpp.
Referenced by main(), PoorMock(), and read().
unsigned PoorMock::write_counter |
Definition at line 80 of file poormock.cpp.
Referenced by main(), PoorMock(), and write().