qt6-bb10/tests/auto
Timur Pocheptsov 5449589b7c tst_QApplication - quitOnLastWindowClosed (fix for OS X)
Two (?) tests can fail: what they actually try to test is that our application
quits on the second single shot timer (2 s. timeout) and not on the first one
(timeout 1 s.) - on the first timeout we either ignore event, or we still have another
window and should not quit yet, on the second timeout we actually do quit the app.
The test checks this in a quite fragile way, counting the number of timeouts for the third  100 ms
timer. It looks like on OS X (VM-only) there is some delay (~500-600 ms) before we receive the
first timeout so the count is always 14 or less, making the test to fail.

Change-Id: I9e8728e6c956025d91528f4195982767a5d3d320
Task-number: QTBUG-46164
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
2015-05-27 15:26:27 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Fix regression with quoted OPTIONS parameter 2015-03-11 07:31:33 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Fix build of tests on QNX. 2015-03-14 07:05:34 +00:00
corelib QMetaType: Fix compilation with non default constructible Q_GADGET 2015-05-27 10:51:10 +00:00
dbus Make sure we don't call dbus_connection_can_send_type on too old libdbus 2015-05-26 07:20:35 +00:00
gui Blacklist tst_qwindow tests that are failing on Ubuntu 14.04 2015-05-22 14:24:32 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Make warnings of QIODevice more verbose. 2015-05-23 08:59:20 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Remove test other/baselineexample. 2015-05-27 14:11:22 +00:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql MySQL: Fix test so it expects the right integer type 2015-03-20 13:51:34 +00:00
testlib TestCase: Also check main source path when looking for test data 2015-05-05 07:06:52 +00:00
tools remove now redundant tests 2015-05-20 18:11:37 +00:00
widgets tst_QApplication - quitOnLastWindowClosed (fix for OS X) 2015-05-27 15:26:27 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Fix running of dbus-send on some systems 2015-03-31 05:55:55 +00:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00