diff options
author | axis <qt-info@nokia.com> | 2011-03-25 12:31:41 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2011-03-25 13:28:00 (GMT) |
commit | 5a14bf5050a6fb0b74341f08f33fc545f1408a2c (patch) | |
tree | 26887fec751d58c61ac68fe5fa4c3ba30c27a32e /tests/auto/declarative/qdeclarativemoduleplugin | |
parent | e147be52c60185822fc00a2d19fe2c1337976485 (diff) | |
download | Qt-5a14bf5050a6fb0b74341f08f33fc545f1408a2c.zip Qt-5a14bf5050a6fb0b74341f08f33fc545f1408a2c.tar.gz Qt-5a14bf5050a6fb0b74341f08f33fc545f1408a2c.tar.bz2 |
Fixed autotests on Windows.
RevBy: Trust me
Diffstat (limited to 'tests/auto/declarative/qdeclarativemoduleplugin')
-rw-r--r-- | tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp index dc104e2..9d1c609 100644 --- a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp +++ b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp @@ -85,7 +85,7 @@ private slots: QVERIFY(component.errors().isEmpty()); \ } else { \ QFile file(QLatin1String("data/") + QLatin1String(errorfile)); \ - QVERIFY(file.open(QIODevice::ReadOnly)); \ + QVERIFY(file.open(QIODevice::ReadOnly | QIODevice::Text)); \ QByteArray data = file.readAll(); \ file.close(); \ QList<QByteArray> expected = data.split('\n'); \ |