summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativefontloader
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-11 07:32:52 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-11 07:32:52 (GMT)
commit162287900e724947e976ec5bdcc1bcb99639b5ab (patch)
tree2720b58c33aa4d1c08909f43fe8ac2477c27bc6a /tests/auto/declarative/qdeclarativefontloader
parent3548ee78b268a1ece0fe295528bf0dad871fb6af (diff)
downloadQt-162287900e724947e976ec5bdcc1bcb99639b5ab.zip
Qt-162287900e724947e976ec5bdcc1bcb99639b5ab.tar.gz
Qt-162287900e724947e976ec5bdcc1bcb99639b5ab.tar.bz2
Fix test, fix warning consistency.
address.com must really get sick of test robots.
Diffstat (limited to 'tests/auto/declarative/qdeclarativefontloader')
-rw-r--r--tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
index a9762df..add3c7b 100644
--- a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
+++ b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp
@@ -139,8 +139,8 @@ void tst_qdeclarativefontloader::webFont()
void tst_qdeclarativefontloader::failWebFont()
{
- QString componentStr = "import Qt 4.6\nFontLoader { source: \"http://wrong.address.com/Starburst.ttf\" }";
- QTest::ignoreMessage(QtWarningMsg, "Cannot load font: QUrl( \"http://wrong.address.com/Starburst.ttf\" ) ");
+ QString componentStr = "import Qt 4.6\nFontLoader { source: \"http://wrong.address.nokia.com/Starburst.ttf\" }";
+ QTest::ignoreMessage(QtWarningMsg, "Cannot load font: QUrl( \"http://wrong.address.nokia.com/Starburst.ttf\" ) ");
QDeclarativeComponent component(&engine);
component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
QDeclarativeFontLoader *fontObject = qobject_cast<QDeclarativeFontLoader*>(component.create());