Warning, file /frameworks/kio/autotests/krununittest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2005, 2009 David Faure <faure@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KRUNUNITTEST_H 0008 #define KRUNUNITTEST_H 0009 0010 #include "kiowidgets_export.h" 0011 #include <QObject> 0012 #include <QStringList> 0013 0014 class KRunUnitTest : public QObject 0015 { 0016 Q_OBJECT 0017 0018 private Q_SLOTS: 0019 void initTestCase(); 0020 void cleanupTestCase(); 0021 0022 #if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 71) 0023 void testMimeTypeFile(); 0024 void testMimeTypeDirectory(); 0025 void testMimeTypeBrokenLink(); 0026 void testMimeTypeDoesNotExist(); 0027 0028 void KRunRunService_data(); 0029 void KRunRunService(); 0030 #endif 0031 private: 0032 QString createTempService(); 0033 0034 QString m_sh; 0035 QString m_pseudoTerminalProgram; 0036 QStringList m_filesToRemove; 0037 }; 0038 0039 #endif /* KRUNUNITTEST_H */