Android: activate tst_QLineEdit

Skip some of the obviously failing QCompleter-related tests instead of
blacklisting them.
Skip a test that causes a crash.

This allows to re-enable this test in CMakeLists.txt for Android.

Task-number: QTBUG-87417
Pick-to: 6.3 6.2
Change-Id: Ie7ee708df8ceddf117689e8ac749850ba86e8816
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Ivan Solovev 2022-03-22 18:34:29 +01:00
parent de582a26c3
commit 21e7216670
3 changed files with 10 additions and 8 deletions

View File

@ -47,9 +47,8 @@ if(QT_FEATURE_shortcut)
add_subdirectory(qkeysequenceedit)
endif()
add_subdirectory(qmenu)
add_subdirectory(qlineedit)
if(NOT ANDROID)
# QTBUG-87417 # special case
add_subdirectory(qlineedit)
# QTBUG-87420 # special case
add_subdirectory(qmdiarea)
# QTBUG-87421 # special case

View File

@ -3,13 +3,7 @@
android
[leftKeyOnSelectedText]
android
[cutWithoutSelection]
android
[inlineCompletion]
android
[textMargin]
android
[task210502_caseInsensitiveInlineCompletion]
android
[testQuickSelectionWithMouse]
android

View File

@ -3279,6 +3279,9 @@ void tst_QLineEdit::returnPressedKeyEvent()
void tst_QLineEdit::keepSelectionOnTabFocusIn()
{
#ifdef Q_OS_ANDROID
QSKIP("This test crashes on Android, see QTBUG-101321 to track fix progress");
#endif
QLineEdit *testWidget = ensureTestWidget();
testWidget->setText("hello world");
{
@ -3430,6 +3433,9 @@ void tst_QLineEdit::leftKeyOnSelectedText()
void tst_QLineEdit::inlineCompletion()
{
#ifdef Q_OS_ANDROID
QSKIP("QCompleter does not work on Android, see QTBUG-77174");
#endif
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Wayland: This fails. Figure out why.");
@ -3827,6 +3833,9 @@ void tst_QLineEdit::task198789_currentCompletion()
void tst_QLineEdit::task210502_caseInsensitiveInlineCompletion()
{
#ifdef Q_OS_ANDROID
QSKIP("QCompleter does not work on Android, see QTBUG-77174");
#endif
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Wayland: This fails. Figure out why.");