BasicMock Class Reference

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

List of all members.

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

Detailed Description

Definition at line 33 of file basicmock.cpp.


Constructor & Destructor Documentation

BasicMock::BasicMock (  )  [inline]

Definition at line 38 of file basicmock.cpp.

References MOCKPP_NS, and MOCKPP_PCHAR.


Member Function Documentation

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]

Implements Interface.

Definition at line 70 of file basicmock.cpp.

References close_counter.

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

Implements Interface.

Definition at line 49 of file basicmock.cpp.

References open_name.

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

Implements Interface.

Definition at line 54 of file basicmock.cpp.

References read_data.

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

Implements Interface.

Definition at line 59 of file basicmock.cpp.

References write_data.


Member Data Documentation

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.

Referenced by close(), and main().

MOCKPP_NS::ExpectationList<MOCKPP_STL::string> BasicMock::open_name

Definition at line 75 of file basicmock.cpp.

Referenced by main(), and open().

MOCKPP_NS::ReturnObjectList<MOCKPP_STL::string> BasicMock::read_data

Definition at line 78 of file basicmock.cpp.

Referenced by main(), and read().

MOCKPP_NS::ExpectationList<MOCKPP_STL::string> BasicMock::write_data

Definition at line 77 of file basicmock.cpp.

Referenced by main(), 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