runnableObject.h

Go to the documentation of this file.
00001 
00016 #ifndef _DLR_RUNNABLEOBJECT_H_
00017 #define _DLR_RUNNABLEOBJECT_H_
00018 
00019 #include <dlrTest/autoregister.h>
00020 
00021 namespace dlr {
00022 
00023   namespace test {
00024 
00033     class RunnableObject {
00034     public:
00040       RunnableObject() {registerTestFixture(*this);}
00041 
00042       
00049       virtual
00050       ~RunnableObject() {unregisterTestFixture(*this);}
00051 
00052       
00060       virtual bool
00061       run() = 0;
00062       
00063     };
00064 
00065   } // namespace test
00066 
00067 } // namespace dlr
00068 
00069 #endif // #ifdef _DLR_RUNNABLEOBJECT_H_

Generated on Wed Nov 25 01:02:07 2009 for dlrTest Utility Library by  doxygen 1.5.8