qt5base-lts/tests/auto/corelib
Rohan McGovern 3ae3aa0e51 Improved stability of tst_qsemaphore (especially on mac)
Timers are not entirely precise; if we ask for a timeout of
10000 milliseconds, we might time out in 9999 instead.
Also, we know the expected elapsed time in each case, so do a fuzzy
comparison against that time.

Previously the test was verifying that the elapsed time was greater than
or equal to the timeout in the case where a timeout was expected, which
means the test would not detect bugs which incorrectly caused the
timeout to occur later than it should.

(cherry picked from qt4 commit 9a2573dc13b3e8df6cd15bef64370ea407480fc7)

Change-Id: I91d0c81f989ab43a3c48f6abbb4c5b28e2b35402
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2012-02-08 02:10:51 +01:00
..
animation Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
codecs Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
global QtDebug: Include file, line, function information 2012-02-01 02:16:32 +01:00
io Don't allow cd'ing to above root. 2012-02-07 22:05:51 +01:00
itemmodels tst_qabstractitemmodel does not need QT += widgets 2012-01-31 04:55:47 +01:00
json Update contact address in license headers. 2012-01-31 04:54:56 +01:00
kernel Detect incompatibilities in repeated type registration 2012-02-07 09:47:51 +01:00
plugin Changed qlibrary unittest to use applicationDirPath() 2012-01-31 04:55:35 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Improved stability of tst_qsemaphore (especially on mac) 2012-02-08 02:10:51 +01:00
tools SIC: QLocale: Make QSystemLocale a private class 2012-02-05 17:50:04 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
corelib.pro Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00