summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfile
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-29 12:53:30 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-29 05:16:52 +0100
commitc5b55d44032203612f98f89858a2198b4c6606ec (patch)
treef2dc003fc0092ab3d6f57fcda93b8b9a2c7b87a1 /tests/auto/corelib/io/qfile
parente881f4f5fdedf724ce2a5cd9fe2d448c4f8dbaa3 (diff)
Cleanup corelib autotests
Don't name test functions using task identifiers from obsolete bug trackers. Change-Id: Iba6ae8ad3b39e365c5510ed5c86749a167572829 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qfile')
-rw-r--r--tests/auto/corelib/io/qfile/tst_qfile.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp
index 6f295f105b..31ddd6298b 100644
--- a/tests/auto/corelib/io/qfile/tst_qfile.cpp
+++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp
@@ -213,8 +213,7 @@ private slots:
void autocloseHandle();
- // --- Task related tests below this line
- void task167217();
+ void posAfterFailedStat();
void openDirectory();
void writeNothing();
@@ -2724,10 +2723,10 @@ void tst_QFile::readEof()
}
}
-void tst_QFile::task167217()
+void tst_QFile::posAfterFailedStat()
{
- // Regression introduced in 4.3.0; after a failed stat, pos() could no
- // longer be calculated correctly.
+ // Regression test for a bug introduced in 4.3.0; after a failed stat,
+ // pos() could no longer be calculated correctly.
QFile::remove("tmp.txt");
QFile file("tmp.txt");
QVERIFY(!file.exists());