cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
32 lines
665 B
C++
32 lines
665 B
C++
/*
|
|
SPDX-FileCopyrightText: 2005, 2009 David Faure <faure@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef DESKTOPEXECPARSERTEST_H
|
|
#define DESKTOPEXECPARSERTEST_H
|
|
|
|
#include <QObject>
|
|
|
|
class DesktopExecParserTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private Q_SLOTS:
|
|
void initTestCase();
|
|
void testExecutableName_data();
|
|
void testExecutableName();
|
|
void testProcessDesktopExec();
|
|
void testProcessDesktopExecNoFile_data();
|
|
void testProcessDesktopExecNoFile();
|
|
void testKtelnetservice();
|
|
void testParsingCrash();
|
|
|
|
private:
|
|
QString m_sh;
|
|
QString m_pseudoTerminalProgram;
|
|
};
|
|
|
|
#endif /* DESKTOPEXECPARSERTEST_H */
|