qt5base-lts/tests/auto
Friedemann Kleint 5b49793d80 Implement synchronous WS events by flushing.
Previously synchronous window system events were
implemented by bypassing the queue and processing
the event immediately. This is not ideal since the
event order is not preserved - there might be "happened
before" events waiting in the queue.

Add QWindowSystemInterface::flushWindowSystemEvents
and change all handleSynchronous* to 1) queue the
event 2) call flushWindowSystemEvents.

flushWindowSystemEvents is almost identical to the
already existing sendWindowSystemEvents with the
exception that it does not call QApp::sendPostedEvents.
Move the common implementation to a new private function.

Task-number: QTBUG-20778

Change-Id: Ie98a83875bc0a14e335e36bed0dd9e0ed4a1dea0
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-31 20:25:36 +02:00
..
cmake Add tests of the various testlib definition possibilities. 2012-07-24 08:44:27 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib ICU code page conversion support 2012-07-31 11:12:28 +02:00
dbus Make test work on Mac OS X 2012-06-23 16:25:47 +02:00
gui tests: disable qstandarditemmodel test when building without QtWidgets 2012-07-30 06:06:10 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QtNetwork: use nullary version of qRegisterMetaType<T>("T") 2012-07-25 19:32:41 +02:00
opengl Remove usage of deprecated qWaitForWindowShown(QWidget *) method. 2012-07-25 17:32:21 +02:00
other Remove usage of deprecated qWaitForWindowShown(QWidget *) method. 2012-07-25 17:32:21 +02:00
printsupport Replace Q_WS_ in tests by Q_OS_ or check platform names. 2012-07-16 16:30:55 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Fix error when inserting to tables with datetime fields with QODBC 2012-07-16 23:48:10 +02:00
testlib Add QSignalSpy::wait() method. 2012-07-25 13:31:14 +02:00
tools fix host vs. makefile directory separator mess 2012-07-28 00:09:45 +02:00
widgets Implement synchronous WS events by flushing. 2012-07-31 20:25:36 +02:00
xml Fixes to the qdom autotest 2012-07-31 11:13:15 +02:00
auto.pro tests: fixed check for QtOpenGL 2012-07-30 06:06:12 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00