qt5base-lts/tests/auto/widgets
Gunnar Sletta 2e0575ce89 Fix windows expose logic
Make sure the value of QWindowsWindow::isExposed is in sync
with regions we expose.

This provoked a couple of existing issues in the qwidget test.

setWindowGeometry tested that windows with invalid sizes got
exposed on screen. They didn't, but because the plugin sent
bogus events, these used to pass. Same with windowMoveResize.

The expect fails are also rather bogus. Showing invalid-size
widgets could be considered undefined behavior. The Window
manager could resize it, choose to not show it at all, etc,
but they now pass on windows.

resizeEvent has been broken since 5.0.0, but the test didn't
spin the event loop so the second event didn't get delivered
before the test completed.

Task-number: QTBUG-30744
Change-Id: I3a9efcd095f366126a87739f4248185b6c81d407
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-04-25 15:41:54 +02:00
..
dialogs QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Fix qgraphicsview autotest build for WEC7. 2013-04-17 19:49:18 +02:00
itemviews Fix QTableView::doItemsLayout() 2013-04-22 18:35:52 +02:00
kernel Fix windows expose logic 2013-04-25 15:41:54 +02:00
styles Fix tst_qstyle autotest build for WEC7. 2013-04-17 19:49:02 +02:00
util Stabilize tst_qcompleter. 2013-04-05 11:28:47 +02:00
widgets Ensure the QLineEdit::returnPressed() signal is still emitted 2013-04-21 02:01:29 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00