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>
This commit is contained in:
parent
1dadede8ed
commit
99f2bdd28f
@ -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 ) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user