qt5base-lts/tests/auto/widgets
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
..
dialogs tst_QDialog::snapToDefaultButton - tune the test for OS X 2015-05-15 09:39:41 +00:00
effects Update copyright headers 2015-02-11 06:49:51 +00:00
gestures Update copyright headers 2015-02-11 06:49:51 +00:00
graphicsview Tests: Remove insignificant for tst_QGraphicsProxyWidget 2015-05-05 12:46:05 +00:00
itemviews Fix crash due to QTreeView accessing deleted model indexes. 2015-05-27 14:04:41 +00:00
kernel tst_QApplication - quitOnLastWindowClosed (fix for OS X) 2015-05-27 15:26:27 +00:00
styles Update copyright headers 2015-02-11 06:49:51 +00:00
util Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
widgets QDialogButtonBox: prevent crashes on deletions in slots 2015-05-09 08:41:23 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00