Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
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)]