File indexing completed on 2024-06-23 10:37:16

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2020 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 COMMANDLAUNCHERJOBTEST_H
0009 #define COMMANDLAUNCHERJOBTEST_H
0010 
0011 #include <QObject>
0012 #include <QStringList>
0013 
0014 class CommandLauncherJobTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020 
0021     void startProcessAsCommand_data();
0022     void startProcessAsCommand();
0023 
0024     void startProcessWithArgs_data();
0025     void startProcessWithArgs();
0026 
0027     void startProcessWithSpacesInExecutablePath_data();
0028     void startProcessWithSpacesInExecutablePath();
0029 
0030     void startProcessWithEnvironmentVariables();
0031 
0032     void doesNotFailOnNonExistingExecutable();
0033     void shouldDoNothingOnEmptyCommand();
0034 };
0035 
0036 #endif /* COMMANDLAUNCHERJOBTEST_H */