diff options
Diffstat (limited to 'tests/manual/deviceshell/tst_deviceshell.cpp')
-rw-r--r-- | tests/manual/deviceshell/tst_deviceshell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/deviceshell/tst_deviceshell.cpp b/tests/manual/deviceshell/tst_deviceshell.cpp index c65cf0f316..f23efd8231 100644 --- a/tests/manual/deviceshell/tst_deviceshell.cpp +++ b/tests/manual/deviceshell/tst_deviceshell.cpp @@ -100,7 +100,7 @@ class tst_DeviceShell : public QObject const QList<QByteArray> result = mapped<QList>(testArray, [&shell](QByteArray data) -> QByteArray { - return shell.outputForRunInShell({"cat", {}}, data).stdOut; + return shell.runInShell({"cat", {}}, data).stdOut; }, MapReduceOption::Ordered, QThreadPool::globalInstance()); QCOMPARE(result, testArray); @@ -164,7 +164,7 @@ private slots: TestShell shell; QCOMPARE(shell.state(), DeviceShell::State::Succeeded); - const DeviceShell::RunResult r = shell.outputForRunInShell({"cat", {}}, utf8string.toUtf8()); + const RunResult r = shell.runInShell({"cat", {}}, utf8string.toUtf8()); const QString output = QString::fromUtf8(r.stdOut); QCOMPARE(output, utf8string); } |