Public Member Functions | |
BasicMock () | |
virtual void | open (const MOCKPP_STL::string &name) |
virtual MOCKPP_STL::string | read () |
virtual void | write (const MOCKPP_STL::string &s) |
virtual unsigned | calculate (unsigned input) |
virtual void | close () |
Public Attributes | |
MOCKPP_NS::ExpectationList < MOCKPP_STL::string > | open_name |
MOCKPP_NS::ExpectationCounter | close_counter |
MOCKPP_NS::ExpectationList < MOCKPP_STL::string > | write_data |
MOCKPP_NS::ReturnObjectList < MOCKPP_STL::string > | read_data |
MOCKPP_NS::ReturnObjectList < unsigned > | calculate_output |
MOCKPP_NS::ConstraintList < unsigned > | calculate_input |
Definition at line 33 of file basicmock.cpp.
BasicMock::BasicMock | ( | ) | [inline] |
Definition at line 38 of file basicmock.cpp.
References MOCKPP_NS, and MOCKPP_PCHAR.
virtual unsigned BasicMock::calculate | ( | unsigned | input | ) | [inline, virtual] |
Implements Interface.
Definition at line 64 of file basicmock.cpp.
References calculate_input, and calculate_output.
virtual void BasicMock::close | ( | ) | [inline, virtual] |
virtual void BasicMock::open | ( | const MOCKPP_STL::string & | name | ) | [inline, virtual] |
virtual MOCKPP_STL::string BasicMock::read | ( | ) | [inline, virtual] |
virtual void BasicMock::write | ( | const MOCKPP_STL::string & | s | ) | [inline, virtual] |
MOCKPP_NS::ConstraintList<unsigned > BasicMock::calculate_input |
Definition at line 80 of file basicmock.cpp.
Referenced by calculate(), and main().
MOCKPP_NS::ReturnObjectList<unsigned> BasicMock::calculate_output |
Definition at line 79 of file basicmock.cpp.
Referenced by calculate(), and main().
MOCKPP_NS::ExpectationCounter BasicMock::close_counter |
Definition at line 76 of file basicmock.cpp.
MOCKPP_NS::ExpectationList<MOCKPP_STL::string> BasicMock::open_name |
Definition at line 75 of file basicmock.cpp.
MOCKPP_NS::ReturnObjectList<MOCKPP_STL::string> BasicMock::read_data |
Definition at line 78 of file basicmock.cpp.
MOCKPP_NS::ExpectationList<MOCKPP_STL::string> BasicMock::write_data |
Definition at line 77 of file basicmock.cpp.