Generic hardware access library
|
Interface for automatic testing of classes. More...
#include <TesterInterface.hh>
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. |
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.
Definition at line 26 of file TesterInterface.hh.
virtual bool HAL::TesterInterface::execute | ( | ) | [pure virtual] |
Execute the test to be done by this class.
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.