diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-01 15:58:46 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-02 10:48:05 +0200 |
commit | ed7719a3af58b9ba36a6fbaccd08c85b78f8a961 (patch) | |
tree | 0c68af42ac2d47d165e807fb759e45139a4beeee /src/qml/jsruntime | |
parent | 2dfe9010c61e07af823aef94cd158088d09ef804 (diff) |
TestCase.qml: make mouseMove(item) move to the center of the item
Undefined x and y now mean item center, as with the double-click method from
726eaaeeeede086ed341899b8ee0c1570e6bf6f5, and others from
b40a2a881291b3eaea4b4834a162091537e6a34e.
Some Controls 2 tests are doing this:
tst_controls::Basic::ScrollBar::test_hover,
tst_controls::Basic::TextArea::test_hover and
tst_controls::Basic::TextField::test_hover
Also document the buttons argument which was added in
7100a74def3a82bc52c93b800cec973bf312b1b3.
[ChangeLog][QtQuickTest][TestCase] The mouseMove() QML test method now
interprets missing x and y coordinates as meaning that the mouse should move to
the center of the given item.
Task-number: QTBUG-87018
Change-Id: Ied1df3521c0cffd703cc1120ba4eb43eb5c5e163
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/jsruntime')
0 files changed, 0 insertions, 0 deletions