File indexing completed on 2025-02-16 13:03:37
0001 /* 0002 SPDX-FileCopyrightText: 2018 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef POSTSCRIPTDSCEXTRACTORTEST_H 0008 #define POSTSCRIPTDSCEXTRACTORTEST_H 0009 0010 #include <QObject> 0011 #include <QMimeDatabase> 0012 0013 class PostscriptDscExtractorTest : public QObject 0014 { 0015 Q_OBJECT 0016 private: 0017 QString testFilePath(const QString& fileName) const; 0018 0019 private Q_SLOTS: 0020 void testNoExtraction(); 0021 void testPS(); 0022 void testEPS(); 0023 private: 0024 QMimeDatabase mimeDb; 0025 }; 0026 0027 #endif // POSTSCRIPTDSCEXTRACTORTEST_H