source: Vago/Libs/quazip-0.7.2/qztest/qztest.h@ 1069

Last change on this file since 1069 was 1050, checked in by s10k, 8 years ago
File size: 1.9 KB
RevLine 
[1050]1#ifndef QUAZIP_TEST_QZTEST_H
2#define QUAZIP_TEST_QZTEST_H
3
4/*
5Copyright (C) 2005-2014 Sergey A. Tachenov
6
7This file is part of QuaZIP test suite.
8
9QuaZIP is free software: you can redistribute it and/or modify
10it under the terms of the GNU Lesser General Public License as published by
11the Free Software Foundation, either version 2.1 of the License, or
12(at your option) any later version.
13
14QuaZIP is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU Lesser General Public License for more details.
18
19You should have received a copy of the GNU Lesser General Public License
20along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21
22See COPYING file for the full LGPL text.
23
24Original ZIP package is copyrighted by Gilles Vollant and contributors,
25see 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
33extern bool createTestFiles(const QStringList &fileNames, const QString
34 &dir = "tmp");
35extern void removeTestFiles(const QStringList &fileNames, const QString
36 &dir = "tmp");
37extern bool createTestArchive(const QString &zipName,
38 const QStringList &fileNames,
39 const QString &dir = "tmp");
40extern bool createTestArchive(const QString &zipName,
41 const QStringList &fileNames,
42 QTextCodec *codec,
43 const QString &dir = "tmp");
44extern bool createTestArchive(QIODevice *ioDevice,
45 const QStringList &fileNames,
46 QTextCodec *codec,
47 const QString &dir = "tmp");
48
49#endif // QUAZIP_TEST_QZTEST_H
Note: See TracBrowser for help on using the repository browser.