Tests: Fix tst_fileutils for Qt5.4+

Change-Id: I65b4eb8dff91c69bff50c63cd42a4894df0470f0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Christian Stenger
2014-11-18 14:34:55 +01:00
parent d493daffb9
commit cd8dc3ae12

View File

@@ -61,7 +61,11 @@ void tst_fileutils::parentDir_data()
QTest::newRow("/tmp/dir") << QString::fromLatin1("/tmp/dir") << QString::fromLatin1("/tmp") << QString();
QTest::newRow("relative/path") << QString::fromLatin1("relative/path") << QString::fromLatin1("relative") << QString();
QTest::newRow("relativepath") << QString::fromLatin1("relativepath") << QString::fromLatin1(".")
#if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
<< QString::fromLatin1("see QTBUG-23892");
#else
<< QString();
#endif
// Windows stuff:
#ifdef Q_OS_WIN