widget.setFullScreen(true);
QTest::qWaitForWindowShown(&widget);
-#ifdef Q_OS_MAC
- QEXPECT_FAIL("", "QTBUG-25310 - Fails on Mac", Continue);
-#endif
QCOMPARE(widget.isFullScreen(), true);
widget.setAspectRatioMode(Qt::IgnoreAspectRatio);
QCOMPARE(spy.count(), 4);
widget.showNormal();
QTest::qWaitForWindowShown(&widget);
-#ifdef Q_OS_MAC
- QEXPECT_FAIL("", "QTBUG-25310 - Fails on Mac", Abort);
-#endif
QCOMPARE(object.testService->windowControl->isFullScreen(), false);
QCOMPARE(widget.isFullScreen(), false);
QCOMPARE(spy.count(), 4);