Android: Unblacklist tst_QLineEdit selection tests
Using the left/right keyboard key will deselect the text but also move the cursor. In this case, to be consistent with the test, the cursor must return to the previous position. This allows to unblacklist tests: - undo_keypressevents - leftKeyOnSelectedText Task-number: QTBUG-87417 Fixes: QTQAINFRA-6890 Fixes: QTQAINFRA-6895 Pick-to: 6.9 6.8 Change-Id: I8a6d7cca332fe365ca820a67c23d9cd3fc36fc43 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
41199de2d8
commit
43f2fdc25c
@ -1,8 +1,4 @@
|
||||
# QTBUG-87417
|
||||
[undo_keypressevents]
|
||||
android
|
||||
[leftKeyOnSelectedText]
|
||||
android
|
||||
[textMargin]
|
||||
android
|
||||
[testQuickSelectionWithMouse]
|
||||
|
@ -4971,7 +4971,7 @@ void tst_QLineEdit::QTBUG59957_clearButtonLeftmostAction()
|
||||
|
||||
bool tst_QLineEdit::unselectingWithLeftOrRightChangesCursorPosition()
|
||||
{
|
||||
#if defined Q_OS_WIN || defined Q_OS_QNX || defined Q_OS_VXWORKS //Windows, QNX and VxWorks do not jump to the beginning of the selection
|
||||
#if defined Q_OS_WIN || defined Q_OS_QNX || defined Q_OS_VXWORKS || defined Q_OS_ANDROID // Android, Windows, QNX and VxWorks do not jump to the beginning of the selection
|
||||
return true;
|
||||
#endif
|
||||
// Platforms minimal/offscreen also need left after unselecting with right
|
||||
|
Loading…
x
Reference in New Issue
Block a user