File indexing completed on 2024-10-13 06:35:55

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2021 David Faure <faure@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef KTERMINALLAUNCHERJOBTEST_H
0009 #define KTERMINALLAUNCHERJOBTEST_H
0010 
0011 #include <QObject>
0012 #include <QTemporaryDir>
0013 
0014 class KTerminalLauncherJobTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020 
0021 #ifndef Q_OS_WIN
0022     void startKonsole_data();
0023     void startKonsole();
0024     void startXterm();
0025     void startFallbackToPath();
0026 #else
0027     void startTerminal_data();
0028     void startTerminal();
0029 #endif
0030 
0031 private:
0032     QTemporaryDir m_tempDir;
0033 };
0034 
0035 #endif