File indexing completed on 2024-05-19 04:39:59
0001 /* 0002 SPDX-FileCopyrightText: 2012 Milian Wolff <mail@milianw.de> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef TESTPATH_H 0008 #define TESTPATH_H 0009 0010 #include <QObject> 0011 0012 class TestPath : public QObject 0013 { 0014 Q_OBJECT 0015 0016 private Q_SLOTS: 0017 void initTestCase(); 0018 0019 void bench_qurl(); 0020 void bench_qstringlist(); 0021 void bench_path(); 0022 void bench_fromLocalPath(); 0023 void bench_fromLocalPath_data(); 0024 void bench_swap(); 0025 void bench_hash(); 0026 0027 void testPath(); 0028 void testPath_data(); 0029 void testPathInvalid(); 0030 void testPathInvalid_data(); 0031 void testPathComparison(); 0032 void testPathComparison_data(); 0033 void testPathSwap(); 0034 void testPathAddData(); 0035 void testPathAddData_data(); 0036 void testPathBaseCtor(); 0037 void testPathBaseCtor_data(); 0038 void testPathCd(); 0039 void testPathCd_data(); 0040 void testHasParent_data(); 0041 void testHasParent(); 0042 0043 void QUrl_acceptance(); 0044 }; 0045 0046 #endif // TESTPATH_H