File indexing completed on 2025-02-16 13:03:36
0001 /* 0002 This file is part of the Nepomuk KDE project. 0003 SPDX-FileCopyrightText: 2013 David Edmundson <davidedmundson@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0006 */ 0007 0008 #ifndef INDEXEREXTRACTORTESTS_H 0009 #define INDEXEREXTRACTORTESTS_H 0010 0011 #include <QObject> 0012 #include <QString> 0013 0014 class IndexerExtractorTests : public QObject 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit IndexerExtractorTests(QObject* parent = nullptr); 0019 0020 private: 0021 QString testFilePath(const QString& fileName) const; 0022 0023 private Q_SLOTS: 0024 void testNoExtraction(); 0025 void benchMarkPlainTextExtractor(); 0026 void testPlainTextExtractor(); 0027 void testPlainTextExtractorNoPlainText(); 0028 }; 0029 0030 #endif // INDEXERTESTS_H