[autotests] Ensure TestDontCrashUseractionsMenu uses breeze

The test introduced with 962a2e39ee is
meant to be used with the breeze widget style as that one triggered the
crashy code. Given the test coverage build.kde.org does not run with the
breeze widget style, so enforce this through manual loading.
master
Martin Flöser 7 years ago
parent f2f2d79d86
commit aa4d12a906

@ -65,6 +65,9 @@ void TestDontCrashUseractionsMenu::initTestCase()
QMetaObject::invokeMethod(kwinApp()->platform(), "setOutputCount", Qt::DirectConnection, Q_ARG(int, 2));
QVERIFY(waylandServer()->init(s_socketName.toLocal8Bit()));
// force style to breeze as that's the one which triggered the crash
QVERIFY(kwinApp()->setStyle(QStringLiteral("breeze")));
kwinApp()->start();
QVERIFY(workspaceCreatedSpy.wait());
QCOMPARE(screens()->count(), 2);

Loading…
Cancel
Save