Changeset View
Changeset View
Standalone View
Standalone View
autotests/kdesktopfiletest.h
Show All 14 Lines | |||||
15 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 15 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
16 | * Boston, MA 02110-1301, USA. | 16 | * Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | #ifndef KDESKTOPFILETEST_H | 19 | #ifndef KDESKTOPFILETEST_H | ||
20 | #define KDESKTOPFILETEST_H | 20 | #define KDESKTOPFILETEST_H | ||
21 | 21 | | |||
22 | #include <QObject> | 22 | #include <QObject> | ||
23 | #include <kconfigcore_export.h> | ||||
23 | 24 | | |||
24 | class KDesktopFileTest : public QObject | 25 | class KDesktopFileTest : public QObject | ||
25 | { | 26 | { | ||
26 | Q_OBJECT | 27 | Q_OBJECT | ||
27 | private Q_SLOTS: | 28 | private Q_SLOTS: | ||
28 | void initTestCase(); | 29 | void initTestCase(); | ||
29 | void testRead(); | 30 | void testRead(); | ||
31 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
30 | void testReadDirectory(); | 32 | void testReadDirectory(); | ||
33 | #endif | ||||
31 | void testReadLocalized_data(); | 34 | void testReadLocalized_data(); | ||
32 | void testReadLocalized(); | 35 | void testReadLocalized(); | ||
33 | void testUnsuccessfulTryExec(); | 36 | void testUnsuccessfulTryExec(); | ||
34 | void testSuccessfulTryExec(); | 37 | void testSuccessfulTryExec(); | ||
35 | void testActionGroup(); | 38 | void testActionGroup(); | ||
36 | void testIsAuthorizedDesktopFile(); | 39 | void testIsAuthorizedDesktopFile(); | ||
37 | void testTryExecWithAuthorizeAction(); | 40 | void testTryExecWithAuthorizeAction(); | ||
38 | void testLocateLocal_data(); | 41 | void testLocateLocal_data(); | ||
39 | void testLocateLocal(); | 42 | void testLocateLocal(); | ||
40 | 43 | | |||
41 | }; | 44 | }; | ||
42 | 45 | | |||
43 | #endif /* KDESKTOPFILETEST_H */ | 46 | #endif /* KDESKTOPFILETEST_H */ |