From c5b55d44032203612f98f89858a2198b4c6606ec Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 29 Nov 2011 12:53:30 +1000 Subject: Cleanup corelib autotests Don't name test functions using task identifiers from obsolete bug trackers. Change-Id: Iba6ae8ad3b39e365c5510ed5c86749a167572829 Reviewed-by: Rohan McGovern --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/auto/corelib/io/qfile') 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()); -- cgit v1.2.3