Controlling behaviour of a Visitable Mock Object

Classes

class  mockpp::ChainableMockMethodCommon
 Common stuff to set up chainable mock method expectations. More...
class  mockpp::VisitableMockMethod0Common< R >
 Common stuff to set up visitable mock method expectations with 0 parameters. More...
class  mockpp::VisitableMockMethod0< R >
 Set up visitable mock method expectations with 0 parameters. More...
class  mockpp::VisitableMockMethod0< void >
 Set up visitable mock method expectations with 0 parameters. More...
class  mockpp::VisitableMockMethod1Common< R, P1 >
 Common stuff to set up visitable mock method expectations with 1 parameters. More...
class  mockpp::VisitableMockMethod1< R, P1 >
 Set up visitable mock method expectations with 1 parameters. More...
class  mockpp::VisitableMockMethod1< void, P1 >
 Set up visitable mock method expectations with 1 parameters. More...
class  mockpp::VisitableMockMethod2Common< R, P1, P2 >
 Common stuff to set up visitable mock method expectations with 2 parameters. More...
class  mockpp::VisitableMockMethod2< R, P1, P2 >
 Set up visitable mock method expectations with 2 parameters. More...
class  mockpp::VisitableMockMethod2< void, P1, P2 >
 Set up visitable mock method expectations with 2 parameters. More...
class  mockpp::VisitableMockMethod3Common< R, P1, P2, P3 >
 Common stuff to set up visitable mock method expectations with 3 parameters. More...
class  mockpp::VisitableMockMethod3< R, P1, P2, P3 >
 Set up visitable mock method expectations with 3 parameters. More...
class  mockpp::VisitableMockMethod3< void, P1, P2, P3 >
 Set up visitable mock method expectations with 3 parameters. More...
class  mockpp::VisitableMockMethod4Common< R, P1, P2, P3, P4 >
 Common stuff to set up visitable mock method expectations with 4 parameters. More...
class  mockpp::VisitableMockMethod4< R, P1, P2, P3, P4 >
 Set up visitable mock method expectations with 4 parameters. More...
class  mockpp::VisitableMockMethod4< void, P1, P2, P3, P4 >
 Set up visitable mock method expectations with 4 parameters. More...
class  mockpp::VisitableMockMethod5Common< R, P1, P2, P3, P4, P5 >
 Common stuff to set up visitable mock method expectations with 5 parameters. More...
class  mockpp::VisitableMockMethod5< R, P1, P2, P3, P4, P5 >
 Set up visitable mock method expectations with 5 parameters. More...
class  mockpp::VisitableMockMethod5< void, P1, P2, P3, P4, P5 >
 Set up visitable mock method expectations with 5 parameters. More...
class  mockpp::VisitableMockMethod6Common< R, P1, P2, P3, P4, P5, P6 >
 Common stuff to set up visitable mock method expectations with 6 parameters. More...
class  mockpp::VisitableMockMethod6< R, P1, P2, P3, P4, P5, P6 >
 Set up visitable mock method expectations with 6 parameters. More...
class  mockpp::VisitableMockMethod6< void, P1, P2, P3, P4, P5, P6 >
 Set up visitable mock method expectations with 6 parameters. More...
class  mockpp::VisitableMockObjectBase::Controller
 Virtual base class for helper objects to easily set up the expectations. More...

Defines

#define MOCKPP_CONTROLLER_FOR(clsname, methname)   clsname::ControllerFor ## methname
 Implements a controller for a method.
#define MOCKPP_CONTROLLER_FOR_EXT(clsname, m_methname, x_methname)   MOCKPP_CONTROLLER_FOR(clsname, m_methname ## x_methname)
 Implements a controller for a method.

Define Documentation

#define MOCKPP_CONTROLLER_FOR ( clsname,
methname   )     clsname::ControllerFor ## methname

Implements a controller for a method.

Serves also as a backwards compatibility macro.

See also:
mockpp::VisitableMockObject::Controller
Parameters:
clsname the visitable mock object class name
methname the method for which you create the controller

Definition at line 558 of file VisitableMockObject.h.

#define MOCKPP_CONTROLLER_FOR_EXT ( clsname,
m_methname,
x_methname   )     MOCKPP_CONTROLLER_FOR(clsname, m_methname ## x_methname)

Implements a controller for a method.

See also:
mockpp::VisitableMockObject::Controller
Parameters:
clsname the visitable mock object class name
m_methname the method for which you create the controller
x_methname optional extension for the internal names based on the method name

Definition at line 568 of file VisitableMockObject.h.

 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:48:57 2010 for mockpp by  doxygen 1.6.1