MCPcopy Create free account
hub / github.com/KDE/konsole / testEmptyCommand

Method testEmptyCommand

src/autotests/ShellCommandTest.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void ShellCommandTest::testEmptyCommand()
100{
101 const QString command = QString();
102 ShellCommand shellCommand(command);
103 QCOMPARE(shellCommand.command(), QString());
104 QCOMPARE(shellCommand.arguments(), QStringList());
105 QCOMPARE(shellCommand.fullCommand(), QString());
106}
107
108QTEST_GUILESS_MAIN(ShellCommandTest)
109

Callers

nothing calls this directly

Calls 4

fullCommandMethod · 0.80
QStringClass · 0.50
commandMethod · 0.45
argumentsMethod · 0.45

Tested by

no test coverage detected