summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-12-02 23:41:03 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-12-02 23:41:03 (GMT)
commite795580795f79d9d151fe76efd6bd2ab687fbf3b (patch)
tree43200f099699952c8f15b85437787ba975f56ad1 /tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
parentb682c102457862fcac74fb2981b219269b80b73f (diff)
downloadQt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.zip
Qt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.tar.gz
Qt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.tar.bz2
Expect warning.
Diffstat (limited to 'tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp')
-rw-r--r--tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp b/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
index 88d9df5..a26b097 100644
--- a/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
+++ b/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
@@ -126,6 +126,9 @@ void tst_qmlpixmapcache::single()
+target.toString()+"\" ) \"Error downloading "
+target.toString()+" - server replied: Not Found\" ";
QTest::ignoreMessage(QtWarningMsg, expected.toLatin1());
+ } else if (!exists) {
+ QString expected = "Cannot open QUrl( \"" + target.toString() + "\" ) ";
+ QTest::ignoreMessage(QtWarningMsg, expected.toLatin1());
}
QPixmap pixmap;