diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-05-27 14:08:04 +0200 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-05-27 15:26:27 +0000 |
commit | 5449589b7c45a5ce1374c358bbcb1eba130d390d (patch) | |
tree | 419d8bc9c9e3cc522ee0b6b150fbdc5ff91480c6 /configure | |
parent | 970241a11ad03f33fd2f8c3dcc8bf7e54a7d274f (diff) |
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>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions