qt5base-lts/tests/auto/corelib/io
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
..
largefile Remove #ifdef from outside test functions 2014-01-10 17:14:29 +01:00
qabstractfileengine
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug QDebug: Allow text stream formatting for 64 bit numbers 2014-03-13 13:26:02 +01:00
qdir QDir: Do not assume that root ends with a slash 2014-01-22 00:04:16 +01:00
qdiriterator
qfile Disable UNC tests on WinRT. 2014-03-14 15:26:49 +01:00
qfileinfo Disable UNC tests on WinRT. 2014-03-14 15:26:49 +01:00
qfileselector QFileSelector: correct the macros for Apple platforms. 2014-02-04 19:36:58 +01:00
qfilesystementry
qfilesystemwatcher Mac: make FSEvents-based QFileSystemWatcherEngine more robust. 2014-03-27 17:51:21 +01:00
qiodevice
qipaddress Make QIPAddress::parseIp6 return the first bad character 2013-07-20 05:08:08 +02:00
qlockfile Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qloggingcategory Add const overload for QLoggingCategory::operator()() 2014-02-15 21:57:43 +01:00
qloggingregistry Logging: Remove PatternFlag::Invalid from QLoggingRule 2014-03-20 19:01:53 +01:00
qnodebug Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qprocess Stabilize tst_QProcess::softExitInSlots() 2014-03-27 08:21:23 +01:00
qprocess-noapplication Expose QTest::currentAppName() and remove hard-coded argv[0] in tests 2013-09-26 18:45:16 +02:00
qprocessenvironment Fix remaining use of QTEST_NOOP_MAIN 2013-09-02 14:59:02 +02:00
qresourceengine Introduce GENERATED_TESTDATA variable and fix qresourceengine test. 2014-03-14 22:39:58 +01:00
qsavefile Fix temporary directory leak in tst_qsavefile. 2013-10-01 12:28:22 +02:00
qsettings Check for administrative rights in tst_qsettings. 2014-03-27 17:51:21 +01:00
qstandardpaths Merge remote-tracking branch 'origin/stable' into dev 2014-02-12 16:28:07 +01:00
qtemporarydir WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtemporaryfile WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtextstream Fixed QTextStream "stdin" auto tests 2013-07-30 09:56:40 +02:00
qurl Make a URL with absent authority be different from one with an empty one 2014-02-17 18:13:42 +01:00
qurlinternal Fix MSVC 64bit warnings about int64 truncation in tests. 2014-01-24 22:06:15 +01:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier remove qt_windows.h from qwinoverlappedionotifier_p.h 2014-01-15 18:43:20 +01:00
io.pro Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00