diff options
-rw-r--r-- | tests/auto/qfileinfo/tst_qfileinfo.cpp | 2 | ||||
-rw-r--r-- | tests/shared/filesystem.h | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp index 83b650a..c260946 100644 --- a/tests/auto/qfileinfo/tst_qfileinfo.cpp +++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp @@ -1327,7 +1327,6 @@ void tst_QFileInfo::ntfsJunctionPointsAndSymlinks_data() QTest::newRow("relative file symlink") << relSymlink << true << QDir::fromNativeSeparators(relTarget) << target.canonicalFilePath(); } -#if 0 //Junctions QString target = "target"; QString junction = "junction_pwd"; @@ -1363,7 +1362,6 @@ void tst_QFileInfo::ntfsJunctionPointsAndSymlinks_data() FileSystem::createNtfsJunction(rootVolume, junction); QTest::newRow("mountpoint") << junction << true << QDir::fromNativeSeparators(rootPath) << QDir::rootPath(); } -#endif } void tst_QFileInfo::ntfsJunctionPointsAndSymlinks() diff --git a/tests/shared/filesystem.h b/tests/shared/filesystem.h index dad4ef8c..079a6dc 100644 --- a/tests/shared/filesystem.h +++ b/tests/shared/filesystem.h @@ -95,8 +95,6 @@ struct FileSystem } return false; } - -#if 0 #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) static void createNtfsJunction(QString target, QString linkName) { @@ -150,7 +148,6 @@ struct FileSystem QVERIFY(ioc); } #endif -#endif private: QDir currentDir; |