qt5base-lts/tests/auto/corelib
Erik Verbruggen dd453adbe7 Mac: make FSEvents-based QFileSystemWatcherEngine more robust.
- Record the last event ID with every callback. This event ID is passed
to FSEventStreamCreate when restarting the stream, so the watcher will
receive all events that occurred since invalidating the previous stream.

- Never start with kFSEventStreamEventIdSinceNow, because this will
generate a (bogus) soft-assert in FSEventStreamFlushSync in CarbonCore
when no event occurred since stream creation. The last globally
generated event ID is used instead to simulate the "now".

- Do not dispose and recreate the stream in the callback, but use a
queued signal-slot connection to schedule this on thread that owns the
watcher.

Change-Id: I02f5a845d9e27f9853ed97925ab9c7a5bc0dede1
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
2014-03-27 17:51:21 +01:00
..
animation tst_qpauseanimation: Fix condition in QEXPECT_FAIL. 2014-01-30 22:10:22 +01:00
codecs Fix compilation after b0afad8f0b 2014-02-07 04:47:12 +01:00
global Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
io Mac: make FSEvents-based QFileSystemWatcherEngine more robust. 2014-03-27 17:51:21 +01:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
json Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
kernel Fix Q_DECLARE_METATYPE macro 2014-03-17 13:05:07 +01:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread Fix tst_qthreadpool under high load. 2014-03-14 22:38:49 +01:00
tools Reuse one QCollator instance for QString::localeAwareCompare 2014-03-27 07:31:01 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00