Android: unblacklist tst_QPlainTextEdit tests
Most of the blacklisted tests were already fixed earlier. The tst_QPlainTextEdit::adjustScrollbars() test needed a small fix to show the window non-fullscreen, so that the scrollbar could appear. Task-number: QTBUG-87423 Task-number: QTBUG-89402 Pick-to: 6.3 Change-Id: I849f411a5798053742323fc4db3fe30f2b690a8b Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
e0023ae353
commit
79dcb2657c
@ -1,15 +0,0 @@
|
|||||||
# QTBUG-87423
|
|
||||||
[copyAvailable]
|
|
||||||
android
|
|
||||||
[adjustScrollbars]
|
|
||||||
android
|
|
||||||
# QTBUG-89402
|
|
||||||
[undoAvailableAfterPaste]
|
|
||||||
android
|
|
||||||
[copyAndSelectAllInReadonly]
|
|
||||||
android
|
|
||||||
[canPaste]
|
|
||||||
android
|
|
||||||
[updateCursorPositionAfterEdit]
|
|
||||||
android
|
|
||||||
|
|
@ -1371,7 +1371,9 @@ void tst_QPlainTextEdit::adjustScrollbars()
|
|||||||
ed->setFont(ff);
|
ed->setFont(ff);
|
||||||
ed->setMinimumSize(140, 100);
|
ed->setMinimumSize(140, 100);
|
||||||
ed->setMaximumSize(140, 100);
|
ed->setMaximumSize(140, 100);
|
||||||
ed->show();
|
// We use showNormal() here, because otherwise on Android the widget will
|
||||||
|
// be shown fullscreen, and the scrollbar will not appear.
|
||||||
|
ed->showNormal();
|
||||||
QLatin1String txt("\nabc def ghi jkl mno pqr stu vwx");
|
QLatin1String txt("\nabc def ghi jkl mno pqr stu vwx");
|
||||||
ed->setPlainText(txt + txt + txt + txt);
|
ed->setPlainText(txt + txt + txt + txt);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user