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

TextInput and TextEdit tests fail because the expected size of the item could not be calculated correctly.

    XMLWordPrintable

Details

    Description

      A number of the tests for TextInput and TextEdit rely on being able to calculate the expected width of the item to test implicit width and horizontal scrolling. The current calculations are not producing accurate results which is invalidating the tests.

      FAIL! : tst_qsgtextinput::width() 'delta <= 3.0' returned FALSE. ()
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(274)]

      FAIL! : tst_qsgtextinput::positionAt() 'diff < 2' returned FALSE. ()
      Loc: [/home/denexter/depot/qt5/qtquick2/qtdeclarative/tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp(1256)]

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes