File indexing completed on 2024-05-05 03:53:39
0001 /* 0002 SPDX-FileCopyrightText: 2006 David Faure <faure@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDESKTOPFILETEST_H 0008 #define KDESKTOPFILETEST_H 0009 0010 #include <QObject> 0011 #include <kconfigcore_export.h> 0012 0013 class KDesktopFileTest : public QObject 0014 { 0015 Q_OBJECT 0016 private Q_SLOTS: 0017 void initTestCase(); 0018 void testRead(); 0019 void testReadLocalized_data(); 0020 void testReadLocalized(); 0021 void testUnsuccessfulTryExec(); 0022 void testSuccessfulTryExec(); 0023 void testActionGroup(); 0024 void testIsAuthorizedDesktopFile(); 0025 void testTryExecWithAuthorizeAction(); 0026 void testLocateLocal_data(); 0027 void testLocateLocal(); 0028 }; 0029 0030 #endif /* KDESKTOPFILETEST_H */