Run tst_QEventDispatcher with the GUI event dispatchers as well
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 23 Jan 2012 07:52:13 +0000 (08:52 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Feb 2012 14:22:03 +0000 (15:22 +0100)
commit358c14821bf907025c1b3db6ff3f8e3bd3cdbb0f
tree704554baed05d21dd9e9d9b619681542eb4a068c
parentc50f026a22b675bdebe61c2d185913926fdf8f1c
Run tst_QEventDispatcher with the GUI event dispatchers as well

Since some GUI event dispatchers are complete reimplementations and do
not build on the corelib ones, we want to run the same tests with the
other dispatcher.

Since this is a GUI test now, we need to make sure to drain system
events queued during application startup to make sure we can reliably
run the test functions.

Change-Id: I4905db70bc8f8584c4ef1f4d767824040281452c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
tests/auto/corelib/kernel/qeventdispatcher/tst_qeventdispatcher.cpp
tests/auto/gui/kernel/kernel.pro
tests/auto/gui/kernel/qguieventdispatcher/qguieventdispatcher.pro [new file with mode: 0644]