Don't expect failure from these 2 tests anymore:
XPASS : tst_QGraphicsWidget::initStyleOption(all) COMPARE()
Loc: [tst_qgraphicswidget.cpp(1162)]
XPASS : tst_QGraphicsWidget::initialShow2() COMPARE()
Loc: [tst_qgraphicswidget.cpp(3196)]
Change-Id: Ibd1178f8cab480fa9fad9c829083a4862749c60b
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
bool hasFocus = option.state & QStyle::State_HasFocus;
QCOMPARE(hasFocus, focus);
bool isUnderMouse = option.state & QStyle::State_MouseOver;
-#ifndef Q_OS_WINCE
+#if !defined(Q_OS_WINCE) && !defined(Q_OS_MAC)
QEXPECT_FAIL("all", "QTBUG-22457", Abort);
QCOMPARE(isUnderMouse, underMouse);
#endif
view.show();
QTest::qWaitForWindowShown(&view);
+#ifndef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-20778", Abort);
+#endif
QTRY_COMPARE(widget->repaints, expectedRepaintCount);
}