File indexing completed on 2024-05-12 03:54:20

0001 /*
0002     Tests for KConfig Compiler
0003 
0004     SPDX-FileCopyrightText: 2005 Duncan Mac-Vicar <duncan@kde.org>
0005     SPDX-FileCopyrightText: 2009 Pino Toscano <pino@kde.org>
0006 
0007     SPDX-License-Identifier: LGPL-2.0-or-later
0008 */
0009 
0010 #ifndef KCONFIGCOMPILER_TEST_H
0011 #define KCONFIGCOMPILER_TEST_H
0012 
0013 #include <QFile>
0014 #include <QObject>
0015 
0016 class QString;
0017 
0018 class KConfigCompiler_Test : public QObject
0019 {
0020     Q_OBJECT
0021 private Q_SLOTS:
0022     void initTestCase();
0023     void testBaselineComparison_data();
0024     void testBaselineComparison();
0025     void testRunning_data();
0026     void testRunning();
0027 
0028 private:
0029     void appendFileDiff(const QString &oldFile, const QString &newFile);
0030 
0031     QString m_diffExe;
0032 };
0033 
0034 #endif