Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0 Alpha
-
Windows,Linux
-
55b9c7c1bdc7ccaf3126622e72843a3c247cbaf4
Description
Some subtests of mouseSelection() consistently fail. They were correctly blacklisted by "Blacklist unstable tests for now" (qtdeclarative/dev, 5.6.2015) https://codereview.qt-project.org/#/c/113715/ , but this is unfortunate since it uses QTRY_VERIFY which slows it down considerably.
BFAIL : tst_qquicktextedit::mouseSelection(on double click (4,9)) Compared values are not the same Actual (((textEditObject->selectedText()))): "45678" Expected (selectedText) : "0123456789" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (2,13)) Compared values are not the same Actual (((textEditObject->selectedText()))): "23456789 AB" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (2,30)) Compared values are not the same Actual (((textEditObject->selectedText()))): "23456789 ABCDEFGHIJKLMNOPQRS" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (9,13)) Compared values are not the same Actual (((textEditObject->selectedText()))): "9 AB" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (9,30)) Compared values are not the same Actual (((textEditObject->selectedText()))): "9 ABCDEFGHIJKLMNOPQRS" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (13,2)) Compared values are not the same Actual (((textEditObject->selectedText()))): "23456789 AB" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (20,2)) Compared values are not the same Actual (((textEditObject->selectedText()))): "23456789 ABCDEFGHI" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (12,9)) Compared values are not the same Actual (((textEditObject->selectedText()))): "9 A" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BFAIL : tst_qquicktextedit::mouseSelection(on double click (30,9)) Compared values are not the same Actual (((textEditObject->selectedText()))): "9 ABCDEFGHIJKLMNOPQRS" Expected (selectedText) : "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" tst_qquicktextedit.cpp(2008) : failure location BPASS : tst_qquicktextedit::mouseSelection(on triple click (4,9)) Totals: 2 passed, 0 failed, 0 skipped, 46 blacklisted ********* Finished testing of tst_qquicktextedit *********
Is this caused by "Cleanup the mouse event handling in testlib" beef975f92e42143c464d68afa6b8cd4f7ef7389 (qtbase/dev, 20.5.2015) https://codereview.qt-project.org/#/c/112734/ ?
Attachments
Issue Links
- relates to
-
QTBUG-77389 tst_qquicktextedit::mouseSelection has become flaky on OpenSuse
- Closed
For Gerrit Dashboard: QTBUG-50022 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
174511,3 | Make tst_qquicktextedit::mouseSelection() pass | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |