summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeborderimage
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-15 06:17:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-15 06:17:39 (GMT)
commitc24d3ce5d268e6e91bcecb155e4e2f5bd9c7dadd (patch)
treeffa44136301cc0f5772bbba48a32f8367f17d9b6 /tests/auto/declarative/qdeclarativeborderimage
parentaad82abd84022f5401c6b79ab15d24abebf082af (diff)
downloadQt-c24d3ce5d268e6e91bcecb155e4e2f5bd9c7dadd.zip
Qt-c24d3ce5d268e6e91bcecb155e4e2f5bd9c7dadd.tar.gz
Qt-c24d3ce5d268e6e91bcecb155e4e2f5bd9c7dadd.tar.bz2
Use qmlInfo for image loading errors, not qWarning().
Task-number: QTBUG-9908
Diffstat (limited to 'tests/auto/declarative/qdeclarativeborderimage')
-rw-r--r--tests/auto/declarative/qdeclarativeborderimage/tst_qdeclarativeborderimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeborderimage/tst_qdeclarativeborderimage.cpp b/tests/auto/declarative/qdeclarativeborderimage/tst_qdeclarativeborderimage.cpp
index 0f03527..8621239 100644
--- a/tests/auto/declarative/qdeclarativeborderimage/tst_qdeclarativeborderimage.cpp
+++ b/tests/auto/declarative/qdeclarativeborderimage/tst_qdeclarativeborderimage.cpp
@@ -121,10 +121,10 @@ void tst_qdeclarativeborderimage::imageSource_data()
QTest::newRow("local") << QUrl::fromLocalFile(SRCDIR "/data/colors.png").toString() << false << "";
QTest::newRow("local not found") << QUrl::fromLocalFile(SRCDIR "/data/no-such-file.png").toString() << false
- << "Cannot open QUrl( \"" + QUrl::fromLocalFile(SRCDIR "/data/no-such-file.png").toString() + "\" ) ";
+ << "QML BorderImage (file::2:1) Cannot open: " + QUrl::fromLocalFile(SRCDIR "/data/no-such-file.png").toString();
QTest::newRow("remote") << SERVER_ADDR "/colors.png" << true << "";
QTest::newRow("remote not found") << SERVER_ADDR "/no-such-file.png" << true
- << "\"Error downloading " SERVER_ADDR "/no-such-file.png - server replied: Not found\" ";
+ << "QML BorderImage (file::2:1) Error downloading " SERVER_ADDR "/no-such-file.png - server replied: Not found";
}
void tst_qdeclarativeborderimage::imageSource()