File indexing completed on 2025-01-19 12:48:38
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2020 David Faure <faure@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0006 */ 0007 0008 #ifndef MIMETYPEFINDERJOBTEST_H 0009 #define MIMETYPEFINDERJOBTEST_H 0010 0011 #include <QObject> 0012 0013 class MimeTypeFinderJobTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 private Q_SLOTS: 0018 void initTestCase(); 0019 void cleanupTestCase(); 0020 void init(); 0021 0022 void determineMimeType_data(); 0023 void determineMimeType(); 0024 0025 void invalidUrl(); 0026 void nonExistingFile(); 0027 0028 void httpUrlWithKIO(); 0029 void killHttp(); 0030 void ftpUrlWithKIO(); 0031 }; 0032 0033 #endif /* MIMETYPEFINDERJOBTEST_H */