00001
00002
00004 #ifndef IOINPUTMODULEVALIDATE_H
00005 #define IOINPUTMODULEVALIDATE_H
00006 #ifndef IOINPUTMODULE_H
00007 #include "IoModules/IoInputModule.h"
00008 #endif
00009
00010 class IoInputModuleValidate
00011 {
00012 public:
00013 IoInputModuleValidate(int nfiles, const char* const* files);
00014 ~IoInputModuleValidate();
00015
00016 bool RunAllTests();
00017
00018 private:
00019 bool TestAdd();
00020 bool TestRemove();
00021 bool TestNextFile();
00022 bool TestPrevFile();
00023 bool TestGoToFile();
00024 bool TestNext();
00025 bool TestPrev();
00026 bool TestSetFormat();
00027 bool TestGet();
00028 bool TestStreams();
00029 bool TestGoToEOF();
00030
00031 int fNfiles;
00032 const char* const* fFileName;
00033 IoInputModule fIoModule;
00034 };
00035
00036 #endif
00037