diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-28 23:55:46 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-28 23:55:46 (GMT) |
commit | c7e48e0ff2b49856e62379845731defd21d2134c (patch) | |
tree | 2bb01d1f64d95c0bd37ae44e8d9f4e231085d881 /tests | |
parent | c1b26cc7fc4e23e887758f7907d115851291880d (diff) | |
download | Qt-c7e48e0ff2b49856e62379845731defd21d2134c.zip Qt-c7e48e0ff2b49856e62379845731defd21d2134c.tar.gz Qt-c7e48e0ff2b49856e62379845731defd21d2134c.tar.bz2 |
Ignore QWS verbosity.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp index 36908d9..dc9c2b2 100644 --- a/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp +++ b/tests/auto/declarative/qdeclarativefontloader/tst_qdeclarativefontloader.cpp @@ -122,6 +122,9 @@ void tst_qdeclarativefontloader::failLocalFont() { QString componentStr = "import Qt 4.7\nFontLoader { source: \"" + QUrl::fromLocalFile(SRCDIR "/data/dummy.ttf").toString() + "\" }"; QTest::ignoreMessage(QtWarningMsg, QString("file::2:1: QML FontLoader: Cannot load font: \"" + QUrl::fromLocalFile(SRCDIR "/data/dummy.ttf").toString() + "\"").toUtf8().constData()); +#ifdef Q_WS_QWS + QTest::ignoreMessage(QtDebugMsg, QString("FT_New_Face failed with index 0 : 51 ").toLatin1()); +#endif QDeclarativeComponent component(&engine); component.setData(componentStr.toLatin1(), QUrl::fromLocalFile("")); QDeclarativeFontLoader *fontObject = qobject_cast<QDeclarativeFontLoader*>(component.create()); |