| 1 |
#ifndef QUAZIP_TEST_QUAZIP_H |
| 2 |
#define QUAZIP_TEST_QUAZIP_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 <QObject> |
| 29 |
|
| 30 |
#if (QT_VERSION >= 0x050100) |
| 31 |
#define QUAZIP_TEST_QSAVEFILE |
| 32 |
#endif |
| 33 |
|
| 34 |
class TestQuaZip: public QObject { |
| 35 |
Q_OBJECT |
| 36 |
private slots: |
| 37 |
void getFileList_data(); |
| 38 |
void getFileList(); |
| 39 |
void add_data(); |
| 40 |
void add(); |
| 41 |
void setFileNameCodec_data(); |
| 42 |
void setFileNameCodec(); |
| 43 |
void setDataDescriptorWritingEnabled(); |
| 44 |
void testQIODeviceAPI(); |
| 45 |
void setZipName(); |
| 46 |
void setIoDevice(); |
| 47 |
void setCommentCodec(); |
| 48 |
void setAutoClose(); |
| 49 |
#ifdef QUAZIP_TEST_QSAVEFILE |
| 50 |
void saveFileBug(); |
| 51 |
#endif |
| 52 |
void testSequential(); |
| 53 |
}; |
| 54 |
|
| 55 |
#endif // QUAZIP_TEST_QUAZIP_H |