QNX: Fix tst_qfilesystemwatcher

If QNX does not have inotify there is no native engine.

Change-Id: I042efd0b59f916f9e0b55bbe5c7f3fe7bb6914c8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
This commit is contained in:
Bernd Weimer 2014-05-06 11:23:09 +02:00 committed by The Qt Project
parent 35edf22dc3
commit ce6c0d2e61

View File

@ -112,9 +112,11 @@ void tst_QFileSystemWatcher::basicTest_data()
+ QChar(ushort(0x00DC)) // LATIN_CAPITAL_LETTER_U_WITH_DIAERESIS
+ QStringLiteral(".txt");
#if !defined(Q_OS_QNX) || !defined(QT_NO_INOTIFY)
QTest::newRow("native backend-testfile") << "native" << testFile;
QTest::newRow("poller backend-testfile") << "poller" << testFile;
QTest::newRow("native backend-specialchars") << "native" << specialCharacterFile;
#endif
QTest::newRow("poller backend-testfile") << "poller" << testFile;
}
void tst_QFileSystemWatcher::basicTest()