Marked expected failures in tst_qtextlayout on Windows

Task-number: QTBUG-25924
Change-Id: I24a8ab6a695bf76f19e9082e1d8b11d8ec03fc4f
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
Rohan McGovern 2012-06-01 13:54:08 +10:00 committed by Qt by Nokia
parent 37db43f1c2
commit 79a025b88a

View File

@ -957,7 +957,21 @@ void tst_QTextLayout::horizontalAlignmentMultiline()
qDebug() << firstLine.textLength() << firstLine.naturalTextRect() << lastLine.naturalTextRect();
QRectF rect = firstLine.naturalTextRect();
#ifdef Q_OS_WIN
QEXPECT_FAIL("ltr linebreak ralign", "QTBUG-25924 fails on Windows", Abort);
QEXPECT_FAIL("ltr linebreak calign", "QTBUG-25924 fails on Windows", Abort);
QEXPECT_FAIL("rtl linebreak ralign", "QTBUG-25924 fails on Windows", Abort);
QEXPECT_FAIL("rtl linebreak calign", "QTBUG-25924 fails on Windows", Abort);
#endif
QCOMPARE(rect.left(), firstLeft);
#ifdef Q_OS_WIN
QEXPECT_FAIL("ltr linebreak lalign", "QTBUG-25924 fails on Windows", Abort);
QEXPECT_FAIL("rtl linebreak lalign", "QTBUG-25924 fails on Windows", Abort);
#endif
QCOMPARE(rect.right(), firstRight);
rect = lastLine.naturalTextRect();