test: mark expected failures in tst_qfontmetrics for qpa
Task-number: QTBUG-20759 Change-Id: Idb9493f5bf4ce031d7800b2187bf7c15757eb963 Reviewed-on: http://codereview.qt.nokia.com/2656 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
This commit is contained in:
parent
06a7e8c017
commit
791bcba203
@ -277,12 +277,20 @@ void tst_QFontMetrics::inFontUcs4()
|
||||
{
|
||||
QFontMetrics fm(font);
|
||||
|
||||
#ifdef Q_WS_QPA
|
||||
QEXPECT_FAIL("", "QTBUG-20759 fails for qpa", Continue);
|
||||
#endif
|
||||
|
||||
QVERIFY(fm.inFontUcs4(0x1D7FF));
|
||||
}
|
||||
|
||||
{
|
||||
QFontMetricsF fm(font);
|
||||
|
||||
#ifdef Q_WS_QPA
|
||||
QEXPECT_FAIL("", "QTBUG-20759 fails for qpa", Continue);
|
||||
#endif
|
||||
|
||||
QVERIFY(fm.inFontUcs4(0x1D7FF));
|
||||
}
|
||||
|
||||
@ -303,6 +311,11 @@ void tst_QFontMetrics::lineWidth()
|
||||
const QFontMetrics bigFontMetrics(bigFont);
|
||||
|
||||
QVERIFY(smallFontMetrics.lineWidth() >= 1);
|
||||
|
||||
#ifdef Q_WS_QPA
|
||||
QEXPECT_FAIL("", "QTBUG-20759 fails for qpa", Continue);
|
||||
#endif
|
||||
|
||||
QVERIFY(smallFontMetrics.lineWidth() < bigFontMetrics.lineWidth());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user