ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Vago/quazip-0.7.2/qztest/qztest.h
Revision: 1049
Committed: Sat Sep 17 08:47:04 2016 UTC (9 years ago) by s10k
Content type: text/x-chdr
File size: 1929 byte(s)
Log Message:

File Contents

# Content
1 #ifndef QUAZIP_TEST_QZTEST_H
2 #define QUAZIP_TEST_QZTEST_H
3
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6
7 This file is part of QuaZIP test suite.
8
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 2.1 of the License, or
12 (at your option) any later version.
13
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21
22 See COPYING file for the full LGPL text.
23
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27
28 #include <QIODevice>
29 #include <QString>
30 #include <QStringList>
31 #include <QTextCodec>
32
33 extern bool createTestFiles(const QStringList &fileNames, const QString
34 &dir = "tmp");
35 extern void removeTestFiles(const QStringList &fileNames, const QString
36 &dir = "tmp");
37 extern bool createTestArchive(const QString &zipName,
38 const QStringList &fileNames,
39 const QString &dir = "tmp");
40 extern bool createTestArchive(const QString &zipName,
41 const QStringList &fileNames,
42 QTextCodec *codec,
43 const QString &dir = "tmp");
44 extern bool createTestArchive(QIODevice *ioDevice,
45 const QStringList &fileNames,
46 QTextCodec *codec,
47 const QString &dir = "tmp");
48
49 #endif // QUAZIP_TEST_QZTEST_H