qt5base-lts/tests/auto/corelib
Edward Welbourne ab1a5f1003 Fix pauseEvents() test to test what should be true, not what is.
If the future is finished when a watcher starts watching it, it is
perfectly reasonable for the watcher to get the finished message
promptly.  If you pause the watcher before any message loops get to
run, the message presently won't get through until the watcher is
resumed, but there is no reason to guarantee that; indeed, one could
consider it somewhat perverse behavior.

So move the reportFinished() calls to after the pause()s.
Also eliminate a used-once local variable and use QTRY_VERIFY() in one
place where qWait() was used before.

Change-Id: I4bc6091fd7437a4d341be511b7a140f3d72d850e
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2015-11-02 09:40:32 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs fix usage of wince scope 2015-06-05 10:29:10 +00:00
global Skip tst_QNumeric::addOverflow() for MSVC2015. 2015-09-30 04:28:39 +00:00
io QIODevice: fix interleaving read() and write() in text mode under Windows 2015-10-27 18:24:34 +00:00
itemmodels Clean unused parameter warning from QItemSelectionModel test 2015-09-30 06:36:21 +00:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel Fixed a QTimer::singleShot() crash when a functor callback is used 2015-10-12 16:45:04 +00:00
mimetypes Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
plugin Autotest: remove AIX-related QT_POINTER_SIZE code 2015-10-23 18:10:22 +00:00
statemachine Add a test case for conflicting transitions 2015-10-30 21:15:38 +00:00
thread Fix pauseEvents() test to test what should be true, not what is. 2015-11-02 09:40:32 +00:00
tools QLatin1String: add default ctor 2015-10-20 09:27:21 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00