Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21690

TextInput and TextEdit tests fail because of deferred event delivery.

XMLWordPrintable

      TextInput and TextEdit tests for mouse and key handling generally expect events to be handled immediately and are failing because that assumption is no longer true.

      FAIL! : tst_qsgtextinput::dragMouseSelection() 'str1.length() > 3' returned FALSE. ()
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(991)]
      FAIL! : tst_qsgtextinput::mouseSelectionMode(SelectWords) Compared values are not the same
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1031)]
      FAIL! : tst_qsgtextinput::mouseSelectionMode(default) Compared values are not the same
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1031)]
      FAIL! : tst_qsgtextinput::horizontalAlignment_RightToLeft() Compared values are not the same
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1159)]
      FAIL! : tst_qsgtextinput::maxLength() Compared values are not the same
      Actual (textinputObject->text().length()): 0
      Expected (qMin(i,10)): 11
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1345)]
      FAIL! : tst_qsgtextinput::masks() Compared values are not the same
      Actual (qMin(i,8)): 1
      Expected (textinputObject->text().length()): 0
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1366)]
      FAIL! : tst_qsgtextinput::validators() Compared values are not the same
      Actual (intInput->text()):
      Expected (QLatin1String("1")): 1
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1392)]

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes