summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-08-05 14:17:30 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-05 13:19:58 +0200
commitb4cc8fcbdd5491e975583e813e31850e525e4570 (patch)
tree80d9c1e6699b10aef31d0d21dfddd8ce6f58d9fc /tests
parent791bcba20307e3471a28ed1fde95b4112a7931e5 (diff)
test: mark expected failures in tst_qglyphrun for qpa
Task-number: QTBUG-20760 Change-Id: Id046abfc8dcce2c6d068e5febf8c2b8777b50f53 Reviewed-on: http://codereview.qt.nokia.com/2657 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qglyphrun/tst_qglyphrun.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qglyphrun/tst_qglyphrun.cpp b/tests/auto/qglyphrun/tst_qglyphrun.cpp
index a18a2ac8dd..a5a5cd19cc 100644
--- a/tests/auto/qglyphrun/tst_qglyphrun.cpp
+++ b/tests/auto/qglyphrun/tst_qglyphrun.cpp
@@ -93,6 +93,10 @@ void tst_QGlyphRun::initTestCase()
m_testFont = QFont("QtsSpecialTestFont");
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Continue);
+#endif
+
QCOMPARE(QFontInfo(m_testFont).family(), QString::fromLatin1("QtsSpecialTestFont"));
}
@@ -237,6 +241,11 @@ void tst_QGlyphRun::textLayoutGlyphIndexes()
layout.endLayout();
QList<QGlyphRun> listOfGlyphs = layout.glyphRuns();
+
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Abort);
+#endif
+
QCOMPARE(listOfGlyphs.size(), 1);
QGlyphRun glyphs = listOfGlyphs.at(0);
@@ -283,6 +292,10 @@ void tst_QGlyphRun::drawExistingGlyphs()
drawGlyphs.save("drawExistingGlyphs_drawGlyphIndexes.png");
#endif
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Continue);
+#endif
+
QCOMPARE(textLayoutDraw, drawGlyphs);
}