From 99f2bdd28f72aed95f3a4a50374a93f79398094b Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Mon, 24 Sep 2012 08:56:56 +0200 Subject: [PATCH] Test: Enabled tst_QFile::invalidFile The test is not hanging on Windows anymore. On Windows, add an expected failure for the failing case. Task-number: QTBUG-22801 Task-number: QTBUG-27306 Change-Id: Iede95766504f3e8a278a4554a5967ca333aae3bf Reviewed-by: Sergio Ahumada --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index fb93e3c73b..4bd5210bad 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -229,8 +229,6 @@ private slots: void openDirectory(); void writeNothing(); -public: -// disabled this test for the moment... it hangs void invalidFile_data(); void invalidFile(); @@ -1062,6 +1060,7 @@ void tst_QFile::invalidFile() { QFETCH( QString, fileName ); QFile f( fileName ); + QEXPECT_FAIL("colon1", "QTBUG-27306", Continue); QVERIFY( !f.open( QIODevice::ReadWrite ) ); }