File indexing completed on 2024-12-22 05:13:37

0001 /*
0002     SPDX-FileCopyrightText: 2013 Ivan Cukic <ivan.cukic(at)kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef OFFLINETEST_H
0008 #define OFFLINETEST_H
0009 
0010 #include <common/test.h>
0011 
0012 #include <controller.h>
0013 
0014 #include <QScopedPointer>
0015 
0016 class OfflineTest : public Test
0017 {
0018     Q_OBJECT
0019 public:
0020     OfflineTest(QObject *parent = nullptr);
0021 
0022 private Q_SLOTS:
0023     void initTestCase();
0024 
0025     void testOfflineActivityListing();
0026     void testOfflineActivityControl();
0027 
0028     void cleanupTestCase();
0029 
0030 private:
0031     QScopedPointer<KActivities::Controller> activities;
0032 };
0033 
0034 #endif /* OFFLINETEST_H */