#include <runnableObject.h>
Public Member Functions | |
RunnableObject () | |
Constructor registers with the pre-written main() function so that it will be run automatically if the user chooses to link with libdlrTestAutoMain. | |
virtual | ~RunnableObject () |
Destructor un-registers with the pre-written main() function so that the no-longer-valid RunnableObject instance won't be invoked automatically if the user chooses to link with libdlrTestAutoMain. | |
virtual bool | run ()=0 |
Pure virtual run() method will dispatch to the run() method of the subclass. |
User code will most likely never need to access this class.
Definition at line 33 of file runnableObject.h.
dlr::test::RunnableObject::RunnableObject | ( | ) | [inline] |
Constructor registers with the pre-written main() function so that it will be run automatically if the user chooses to link with libdlrTestAutoMain.
Definition at line 40 of file runnableObject.h.
References dlr::test::registerTestFixture().
virtual dlr::test::RunnableObject::~RunnableObject | ( | ) | [inline, virtual] |
Destructor un-registers with the pre-written main() function so that the no-longer-valid RunnableObject instance won't be invoked automatically if the user chooses to link with libdlrTestAutoMain.
Definition at line 50 of file runnableObject.h.
References dlr::test::unregisterTestFixture().
virtual bool dlr::test::RunnableObject::run | ( | ) | [pure virtual] |
Pure virtual run() method will dispatch to the run() method of the subclass.
Implemented in dlr::test::TestFixture< FixtureType >.