File indexing completed on 2024-11-24 04:54:53

0001 /*
0002  *   SPDX-FileCopyrightText: 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003  *
0004  *   SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class ResourcesModel;
0012 class AbstractResourcesBackend;
0013 
0014 class DummyTest : public QObject
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit DummyTest(QObject *parent = nullptr);
0019 
0020 private Q_SLOTS:
0021     void initTestCase();
0022 
0023     void testReadData();
0024     void testProxy();
0025     void testProxySorting();
0026     void testFetch();
0027     void testSort();
0028     void testInstallAddons();
0029     void testReviewsModel();
0030     void testUpdateModel();
0031     void testScreenshotsModel();
0032 
0033 private:
0034     AbstractResourcesBackend *m_appBackend;
0035     ResourcesModel *m_model;
0036 };