Test: Remove QSKIP from tst_QWidget::raise

Remove QSKIP("Not yet sure why this fails."), the test is passing
on Mac.

Task-number: QTBUG-22321

Change-Id: I5f09d067b1cc837c5e3ada5bbd34091fe1fd723d
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
Caroline Chao 2012-09-24 09:57:15 +02:00 committed by The Qt Project
parent 9f98fe04c1
commit e14099cfbc

View File

@ -2618,9 +2618,6 @@ void tst_QWidget::raise()
foreach (UpdateWidget *child, allChildren) { foreach (UpdateWidget *child, allChildren) {
int expectedPaintEvents = child == child2 ? 1 : 0; int expectedPaintEvents = child == child2 ? 1 : 0;
int expectedZOrderChangeEvents = child == child2 ? 1 : 0; int expectedZOrderChangeEvents = child == child2 ? 1 : 0;
#ifdef Q_OS_MAC
QSKIP("Not yet sure why this fails.");
#endif
QTRY_COMPARE(child->numPaintEvents, expectedPaintEvents); QTRY_COMPARE(child->numPaintEvents, expectedPaintEvents);
QCOMPARE(child->numZOrderChangeEvents, expectedZOrderChangeEvents); QCOMPARE(child->numZOrderChangeEvents, expectedZOrderChangeEvents);
child->reset(); child->reset();