File indexing completed on 2025-02-16 13:03:38
0001 /* 0002 SPDX-FileCopyrightText: 2018 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef XMLEXTRACTORTESTS_H 0008 #define XMLEXTRACTORTESTS_H 0009 0010 #include <QObject> 0011 #include <QString> 0012 0013 class XmlExtractorTests : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit XmlExtractorTests(QObject* parent = nullptr); 0018 0019 private: 0020 QString testFilePath(const QString& fileName) const; 0021 0022 private Q_SLOTS: 0023 void testNoExtraction(); 0024 void benchMarkXmlExtractor(); 0025 void testXmlExtractor(); 0026 void testXmlExtractorNoContent(); 0027 void testXmlExtractorNoContentDcterms(); 0028 void testXmlExtractorContainer(); 0029 void testXmlExtractorMathML(); 0030 }; 0031 0032 #endif // XMLEXTRACTORTESTS_H