Commit cd8dc3ae authored by Christian Stenger's avatar Christian Stenger

Tests: Fix tst_fileutils for Qt5.4+

Change-Id: I65b4eb8dff91c69bff50c63cd42a4894df0470f0
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent d493daff
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment