qt6-bb10/tests/auto/widgets/kernel
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
..
qaction Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
qactiongroup Update copyright headers 2015-02-11 06:49:51 +00:00
qapplication tst_QApplication - quitOnLastWindowClosed (fix for OS X) 2015-05-27 15:26:27 +00:00
qboxlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qdesktopwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qformlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qgridlayout Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
qlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qshortcut Update copyright headers 2015-02-11 06:49:51 +00:00
qsizepolicy QtWidgets: assorted migrations to QString::asprintf 2015-02-12 19:39:49 +00:00
qstackedlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qtooltip Update copyright headers 2015-02-11 06:49:51 +00:00
qwidget Tests: Use blacklist for failing tst_qwidget tests 2015-05-26 11:59:02 +00:00
qwidget_window Update copyright headers 2015-02-11 06:49:51 +00:00
qwidgetaction Update copyright headers 2015-02-11 06:49:51 +00:00
qwidgetmetatype Update copyright headers 2015-02-11 06:49:51 +00:00
qwidgetsvariant Update copyright headers 2015-02-11 06:49:51 +00:00
qwindowcontainer Update copyright headers 2015-02-11 06:49:51 +00:00
kernel.pro Introducing QWidget::createWindowContainer() 2013-01-25 14:11:07 +01:00