1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
/*
SPDX-FileCopyrightText: 2007 Aaron Seigo <aseigo@kde.org>
SPDX-FileCopyrightText: 2014 Marco Martin <mart@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef PACKAGESTRUCTURETEST_H
#define PACKAGESTRUCTURETEST_H
#include <QTest>
#include "kpackage/package.h"
class QueryTest : public QObject
{
Q_OBJECT
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
void installAndQuery();
void queryCustomPlugin();
// Tests a package without ServiceTypes can be listed
void noServiceTypesPackage();
private:
KPackage::Package ps;
QDir m_dataDir;
};
#endif
|