FolderWatcher: Disable test on OSX #7305

This commit is contained in:
Christian Kamm 2019-07-16 14:23:15 +02:00 committed by Camila (Rebase PR Action)
parent 5a432a193f
commit 08014b6dc3

View file

@ -89,6 +89,14 @@ void FolderWatcher::appendSubPaths(QDir dir, QStringList& subPaths) {
void FolderWatcher::startNotificatonTest(const QString &path)
{
#ifdef Q_OS_MAC
// Testing the folder watcher on OSX is harder because the watcher
// automatically discards changes that were performed by our process.
// It would still be useful to test but the OSX implementation
// is deferred until later.
return;
#endif
Q_ASSERT(_testNotificationPath.isEmpty());
_testNotificationPath = path;