Warning, file /frameworks/kpackage/autotests/querytest.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 QueryTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020     void cleanupTestCase();
0021     void installAndQuery();
0022 
0023     void queryCustomPlugin();
0024     // Tests a package without ServiceTypes can be listed
0025     void noServiceTypesPackage();
0026 
0027 private:
0028     KPackage::Package ps;
0029     QDir m_dataDir;
0030 };
0031 
0032 #endif