00001 #ifndef _DLTESTMANAGER_H
00002 #define _DLTESTMANAGER_H
00003
00004 #include "DLTest.h"
00005 #include "DLConst.h"
00006
00007 #include <string>
00008 #include <vector>
00009 #include <iostream>
00010
00011 using namespace std;
00012
00013 const static char DEFAULT_LOG_FILE[] = "Test.log";
00014
00025 class DLTestManager
00026 {
00027 public:
00028
00038 DLTestManager(int argc, char** argv) { dlArgc = argc; dlArgv = argv; }
00039
00043 ~DLTestManager() { }
00044
00049 void addTestCase(DLTest * newTest);
00050
00055 int go();
00056
00057 private:
00058
00060 int dlArgc;
00061
00063 char** dlArgv;
00064
00066 vector <DLTest*> dlTests;
00067
00068 };
00069
00070 #endif // _DLTESTMANAGER_H