Warning, file /frameworks/kpackage/autotests/packagestructuretest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2007 Aaron Seigo <aseigo@kde.org>
0003     SPDX-FileCopyrightText: 2014 Marco Martin <mart@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef PACKAGESTRUCTURETEST_H
0009 
0010 #include <QTest>
0011 
0012 #include "kpackage/package.h"
0013 
0014 class PackageStructureTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020     void validStructures();
0021     void validPackages();
0022     void wallpaperPackage();
0023     void copyPerformance();
0024     void mutateAfterCopy();
0025     void emptyContentsPrefix();
0026     void multiplePaths();
0027     void directories();
0028     void requiredDirectories();
0029     void files();
0030     void requiredFiles();
0031     void path();
0032     void name();
0033     void required();
0034     void mimeTypes();
0035     void customContent();
0036 
0037 private:
0038     KPackage::Package ps;
0039     QString m_packagePath;
0040 };
0041 
0042 #endif