Revert "tests: XFAIL tst_QGuiApplication::genericPluginsAndWindowSystemEvents()"

This reverts commit ae1197fc5644c653fbc652b6008b83b5b11def85.

This doesn't fail on Wayland, perhaps a false alarm.

Fixes: QTBUG-100891
Change-Id: I3e1d2488b090f186c64d63cb6c9f97dfaafc8fff
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 5ddb01503839a3e1cebd59f4218ebecfd05e42e5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Liang Qi 2022-09-30 21:08:08 +02:00
parent 7dd906f7d0
commit 7f0783162b

View File

@ -1130,8 +1130,6 @@ void tst_QGuiApplication::genericPluginsAndWindowSystemEvents()
QVERIFY(QGuiApplication::primaryScreen());
QCOMPARE(QGuiApplication::primaryScreen()->orientation(), testOrientationToSend);
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QEXPECT_FAIL("", "Wayland: This fails. See QTBUG-100891.", Abort);
QCOMPARE(testReceiver.customEvents, 0);
QCoreApplication::sendPostedEvents(&testReceiver);
QCOMPARE(testReceiver.customEvents, 1);