Tests: Remove EXPECT_FAIL in tst_QWidget::widgetAt()

The test is always marked as XPASS in CI.

Change-Id: I629bdec6f038cd8b6208fc4db61c67a9ea003b2e
Task-number: QTBUG-22326
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
This commit is contained in:
Caroline Chao 2015-04-27 09:20:42 +02:00
parent 916cfede05
commit 201bf9e673

View File

@ -3335,8 +3335,6 @@ void tst_QWidget::widgetAt()
#if defined(Q_OS_WINCE) #if defined(Q_OS_WINCE)
QEXPECT_FAIL("", "Windows CE does only support rectangular regions", Continue); //See also task 147191 QEXPECT_FAIL("", "Windows CE does only support rectangular regions", Continue); //See also task 147191
#endif #endif
if (!QGuiApplication::platformName().compare(QLatin1String("cocoa"), Qt::CaseInsensitive))
QEXPECT_FAIL("", "Window mask not implemented on Mac QTBUG-22326", Continue);
QTRY_VERIFY((wr = QApplication::widgetAt(testPos))); QTRY_VERIFY((wr = QApplication::widgetAt(testPos)));
QTRY_COMPARE(wr->objectName(), w1->objectName()); QTRY_COMPARE(wr->objectName(), w1->objectName());