Don't ignore tst_QWindow on Mac OS X
QTBUG-23059 only affects 2 test functions, not the whole test. XFAIL the 2 failing tests. Change-Id: I87086a9ec573362625bc090038dfd7c79aeb9426 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>bb10
parent
71616d2c7a
commit
6dbaf9f536
|
|
@ -4,6 +4,3 @@ TARGET = tst_qwindow
|
|||
QT += core-private gui-private testlib
|
||||
|
||||
SOURCES += tst_qwindow.cpp
|
||||
|
||||
mac: CONFIG += insignificant_test # QTBUG-23059
|
||||
|
||||
|
|
|
|||
|
|
@ -139,6 +139,9 @@ void tst_QWindow::positioning()
|
|||
QCOMPARE(window.geometry(), geometry);
|
||||
window.show();
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
QEXPECT_FAIL("", "This test fails on Mac OS X, see QTBUG-23059", Abort);
|
||||
#endif
|
||||
QTRY_COMPARE(window.received(QEvent::Resize), 1);
|
||||
QTRY_COMPARE(window.received(QEvent::Map), 1);
|
||||
|
||||
|
|
@ -188,6 +191,9 @@ void tst_QWindow::isActive()
|
|||
window.setGeometry(80, 80, 40, 40);
|
||||
window.show();
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
QEXPECT_FAIL("", "This test fails on Mac OS X, see QTBUG-23059", Abort);
|
||||
#endif
|
||||
QTRY_COMPARE(window.received(QEvent::Map), 1);
|
||||
QTRY_COMPARE(window.received(QEvent::Resize), 1);
|
||||
QTRY_VERIFY(QGuiApplication::focusWindow() == &window);
|
||||
|
|
|
|||
Loading…
Reference in New Issue