File indexing completed on 2024-04-28 15:19:33

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 #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0)
0020     void testReadDirectory();
0021 #endif
0022     void testReadLocalized_data();
0023     void testReadLocalized();
0024     void testUnsuccessfulTryExec();
0025     void testSuccessfulTryExec();
0026     void testActionGroup();
0027     void testIsAuthorizedDesktopFile();
0028     void testTryExecWithAuthorizeAction();
0029     void testLocateLocal_data();
0030     void testLocateLocal();
0031 };
0032 
0033 #endif /* KDESKTOPFILETEST_H */