File indexing completed on 2024-04-21 05:48:29
0001 /*********************************************************************** 0002 * SPDX-FileCopyrightText: 2020 Shubham <aryan100jangid@gmail.com> 0003 * SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org> 0004 * 0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 ***********************************************************************/ 0007 0008 #ifndef TESTFILETREE_H 0009 #define TESTFILETREE_H 0010 0011 #include <memory> 0012 0013 #include "fileTree.h" 0014 0015 #include <QTest> 0016 0017 class TestFileTree : public QObject 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 TestFileTree(); 0023 0024 private Q_SLOTS: 0025 void testFileName(); 0026 void testFileSize(); 0027 void testFilePath(); 0028 void testDuplicate(); 0029 0030 private: 0031 const std::unique_ptr<const File> m_file; 0032 }; 0033 0034 #endif