Android: QEXPECT_FAIL tst_QTextDocument::task240325
Task-number: QTBUG-69242 Change-Id: Ib63fc17b3f8ffb73e36c77a00d55b8200d058ef1 Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
This commit is contained in:
parent
ebd04a5aa8
commit
de0977e1c0
@ -619,7 +619,11 @@ void tst_QTextDocument::task240325()
|
|||||||
QCOMPARE(doc->blockCount(), 1);
|
QCOMPARE(doc->blockCount(), 1);
|
||||||
for (QTextBlock block = doc->begin() ; block!=doc->end() ; block = block.next()) {
|
for (QTextBlock block = doc->begin() ; block!=doc->end() ; block = block.next()) {
|
||||||
QTextLayout *layout = block.layout();
|
QTextLayout *layout = block.layout();
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
QEXPECT_FAIL("", "QTBUG-69242", Abort);
|
||||||
|
#endif
|
||||||
QCOMPARE(layout->lineCount(), 4);
|
QCOMPARE(layout->lineCount(), 4);
|
||||||
|
|
||||||
for (int lineIdx=0;lineIdx<layout->lineCount();++lineIdx) {
|
for (int lineIdx=0;lineIdx<layout->lineCount();++lineIdx) {
|
||||||
QTextLine line = layout->lineAt(lineIdx);
|
QTextLine line = layout->lineAt(lineIdx);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user