summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2012-09-24 08:56:56 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-24 21:27:51 +0200
commit99f2bdd28f72aed95f3a4a50374a93f79398094b (patch)
tree4af901a71603846416d21127053ebf0e3b4bbc97 /tests/auto/corelib/io
parent1dadede8edfa47dc38c0e2e8c458cea225edacc3 (diff)
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 <sergio.ahumada@digia.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r--tests/auto/corelib/io/qfile/tst_qfile.cpp3
1 files changed, 1 insertions, 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 ) );
}