Uncomment disabled code in QResourceEngine autotest.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 13 Mar 2012 07:06:09 +0000 (17:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 06:51:45 +0000 (07:51 +0100)
Resource files are expected to be readable.

Change-Id: Ife2b624e69b58e2fb996bc3e210a6e6c5c6852fe
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/io/qresourceengine/tst_qresourceengine.cpp

index 796282d..990841d 100644 (file)
@@ -311,7 +311,7 @@ void tst_QResourceEngine::checkStructure()
     QVERIFY(fileInfo.exists());
     QCOMPARE(fileInfo.isDir(), directory);
     QCOMPARE(fileInfo.size(), contentsSize);
-    //QVERIFY(fileInfo.isReadable());
+    QVERIFY(fileInfo.isReadable());
     QVERIFY(!fileInfo.isWritable());
     QVERIFY(!fileInfo.isExecutable());