diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-12-02 23:41:03 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-12-02 23:41:03 (GMT) |
commit | e795580795f79d9d151fe76efd6bd2ab687fbf3b (patch) | |
tree | 43200f099699952c8f15b85437787ba975f56ad1 /tests/auto | |
parent | b682c102457862fcac74fb2981b219269b80b73f (diff) | |
download | Qt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.zip Qt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.tar.gz Qt-e795580795f79d9d151fe76efd6bd2ab687fbf3b.tar.bz2 |
Expect warning.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp | 3 |
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; |