summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-29 16:37:01 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-30 07:49:32 +0100
commit75b66dc8b036c4f4ef3ff8ea109efd698b72732d (patch)
treebb0d914726e2d49518960aa1f7264ed4e1c42702 /tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
parentfad19e18af7fd317a2f4e8daf537cbb46c63b8a7 (diff)
Cleanup corelib autotests
Remove references to the old bug tracker. The data from the old bug tracker is no longer accessible, so these markers are meaningless. Change-Id: Ib9d029d52b70fd0a512b9532d65f03763eabfe57 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp')
-rw-r--r--tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp b/tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
index 06e16ec35f..d5de61f4ed 100644
--- a/tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp
@@ -447,7 +447,7 @@ void tst_QFileInfo::absolutePath_data()
QString nonCurrentDrivePrefix =
drivePrefix.left(1).compare("X", Qt::CaseInsensitive) == 0 ? QString("Y:") : QString("X:");
- // Make sure drive-relative paths return correct absolute paths (task 255326)
+ // Make sure drive-relative paths return correct absolute paths.
QTest::newRow("<current drive>:my.dll") << drivePrefix + "my.dll" << QDir::currentPath() << "my.dll";
QTest::newRow("<not current drive>:my.dll") << nonCurrentDrivePrefix + "my.dll"
<< nonCurrentDrivePrefix + "/"
@@ -460,7 +460,6 @@ void tst_QFileInfo::absolutePath_data()
QTest::newRow("/test") << "/test" << drivePrefix + "/" << "test";
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
- // see task 102898
QTest::newRow("c:\\autoexec.bat") << "c:\\autoexec.bat" << "C:/"
<< "autoexec.bat";
#endif
@@ -498,7 +497,7 @@ void tst_QFileInfo::absFilePath_data()
QTest::newRow(".") << curr << QDir::currentPath();
QTest::newRow("absFilePath") << "c:\\home\\andy\\tmp.txt" << "C:/home/andy/tmp.txt";
- // Make sure drive-relative paths return correct absolute paths (task 255326)
+ // Make sure drive-relative paths return correct absolute paths.
drivePrefix = QDir::currentPath().left(2);
QString nonCurrentDrivePrefix =
drivePrefix.left(1).compare("X", Qt::CaseInsensitive) == 0 ? QString("Y:") : QString("X:");
@@ -866,7 +865,7 @@ void tst_QFileInfo::size()
QFETCH(QString, file);
QFileInfo fi(file);
- (void)fi.permissions(); // see task 104198
+ (void)fi.permissions();
QTEST(int(fi.size()), "size");
}
@@ -876,8 +875,8 @@ void tst_QFileInfo::systemFiles()
QSKIP("This is a Windows only test");
#endif
QFileInfo fi("c:\\pagefile.sys");
- QVERIFY(fi.exists()); // task 167099
- QVERIFY(fi.size() > 0); // task 189202
+ QVERIFY(fi.exists());
+ QVERIFY(fi.size() > 0);
QVERIFY(fi.lastModified().isValid());
}