Main Page   Class Hierarchy   Compound List   File List   Compound Members  

zipfiletest.h

00001 #ifndef ZIPIOS_ZIPFILETEST_H
00002 #define ZIPIOS_ZIPFILETEST_H
00003 
00004 #include <string>
00005 #include <vector>
00006 
00007 #include "zipoutputstream.h"
00008 
00009 #include "testcase.h"
00010 
00011 namespace zipios {
00012 
00013 using std::string;
00014 using std::vector;
00015 using std::istream;
00016 
00017 class ZipFileTest : public TestCase {
00018 public:
00019   void runTests();
00020 private:
00021   static void writeZipFile(const string &zipFileName, vector<string> entryFileNames);
00022   static void compareZipFile(const string &zipFileName, vector<string> entryFileNames);
00023   static void writeFileToZipOutputStream( ZipOutputStream &zos, const string &filename );
00024   static void compareStreams(istream &is1, istream &is2);
00025 };
00026 
00027 } // zipios
00028 
00029 #endif

Generated at Tue Aug 14 20:39:26 2001 for Zipios++ by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000