Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/shell_client_test.cpp
Show First 20 Lines • Show All 865 Lines • ▼ Show 20 Line(s) | 857 | { | |||
---|---|---|---|---|---|
866 | QTest::newRow("xdgv6 display") << "xdg-shell-v6" << false; | 866 | QTest::newRow("xdgv6 display") << "xdg-shell-v6" << false; | ||
867 | QTest::newRow("xdgv6 socket") << "xdg-shell-v6" << true; | 867 | QTest::newRow("xdgv6 socket") << "xdg-shell-v6" << true; | ||
868 | } | 868 | } | ||
869 | 869 | | |||
870 | void TestShellClient::testUnresponsiveWindow() | 870 | void TestShellClient::testUnresponsiveWindow() | ||
871 | { | 871 | { | ||
872 | // this test verifies that killWindow properly terminates a process | 872 | // this test verifies that killWindow properly terminates a process | ||
873 | // for this an external binary is launched | 873 | // for this an external binary is launched | ||
874 | const QString kill = QFINDTESTDATA(QStringLiteral("helper/kill")); | 874 | const QString kill = QFINDTESTDATA(QStringLiteral("kill")); | ||
875 | QVERIFY(!kill.isEmpty()); | 875 | QVERIFY(!kill.isEmpty()); | ||
876 | QSignalSpy shellClientAddedSpy(waylandServer(), &WaylandServer::shellClientAdded); | 876 | QSignalSpy shellClientAddedSpy(waylandServer(), &WaylandServer::shellClientAdded); | ||
877 | QVERIFY(shellClientAddedSpy.isValid()); | 877 | QVERIFY(shellClientAddedSpy.isValid()); | ||
878 | 878 | | |||
879 | QScopedPointer<QProcess> process(new QProcess); | 879 | QScopedPointer<QProcess> process(new QProcess); | ||
880 | QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); | 880 | QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); | ||
881 | 881 | | |||
882 | QFETCH(QString, shellInterface); | 882 | QFETCH(QString, shellInterface); | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |