forked from qt-creator/qt-creator
Tests: Fix tst_fileutils for Qt5.4+
Change-Id: I65b4eb8dff91c69bff50c63cd42a4894df0470f0 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user