00001
00002
00003 #ifndef TestGLILightH
00004 #define TestGLILightH
00005
00006 #include <cppunit/TestFixture.h>
00007 #include <cppunit/TestCaller.h>
00008
00009 class clTreePopulation;
00010 class clSimManager;
00011
00015 class clTestGLILight : public CppUnit::TestFixture {
00016
00017 public:
00018
00022 void TestGLILight();
00023
00024 private:
00025
00027 struct fakeRecord {
00028 float fX,
00029 fY,
00030 fLight;
00031 bool bRead;
00032 };
00033
00040 void Run1(clSimManager *p_oSimManager);
00041
00049 void Run2(clSimManager *p_oSimManager);
00050
00056 void TestDoSetupErrorProcessing(clSimManager *p_oSimManager);
00057
00063 char* WriteXMLFile1();
00064
00070 char* WriteXMLFile2();
00071
00077 char* WriteXMLErrorFile1();
00078 };
00079
00080 #endif