1#ifndef ZIPIOS_ZIPFILETEST_H
2#define ZIPIOS_ZIPFILETEST_H
7#include <cppunit/TestCase.h>
8#include <cppunit/TestSuite.h>
9#include <cppunit/TestAssert.h>
10#include <cppunit/extensions/HelperMacros.h>
23 CPPUNIT_TEST(testUnzip);
24 CPPUNIT_TEST(testZipUnzip);
25 CPPUNIT_TEST(testComment);
26 CPPUNIT_TEST(testClone);
27 CPPUNIT_TEST_SUITE_END();
35 static void writeZipFile(
const string &zipFileName,
36 vector<string> entryFileNames);
37 static void compareZipFile(
const string &zipFileName,
38 vector<string> entryFileNames);
40 const string &filename );
41 static void compareStreams(
const std::string& entryName,
42 istream &is1, istream &is2);
ZipOutputStream is an ostream that writes the output to a zip file.
Header file that defines ZipOutputStream.