Generic hardware access library
HAL::TesterInterface Class Reference

Interface for automatic testing of classes. More...

#include <TesterInterface.hh>

List of all members.

Public Member Functions

virtual bool execute ()=0
 Execute the test to be done by this class.
virtual std::string getName () const =0
 Return the name of the test.
virtual std::string getDescription () const
 Return a description of the Tester.

Detailed Description

Interface for automatic testing of classes.

A class inheriting from this interface can be registered with the TestMaster class. The TestMaster itself can then perform automated tests of the registered objects via this interface.

See also:
Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 17:44:00

Definition at line 26 of file TesterInterface.hh.


Member Function Documentation

virtual bool HAL::TesterInterface::execute ( ) [pure virtual]

Execute the test to be done by this class.

Returns:
true if the test is successfull.
virtual std::string HAL::TesterInterface::getDescription ( ) const [inline, virtual]

Return a description of the Tester.

Definition at line 42 of file TesterInterface.hh.

virtual std::string HAL::TesterInterface::getName ( ) const [pure virtual]

Return the name of the test.


The documentation for this class was generated from the following file: