Test: make mouse press, release, click and double click default to the center of...
authorAlbert Astals Cid <albert.astals@canonical.com>
Fri, 9 Jan 2015 09:49:47 +0000 (10:49 +0100)
committerAlbert Astals Cid <albert.astals@canonical.com>
Fri, 9 Jan 2015 14:34:13 +0000 (15:34 +0100)
commitb40a2a881291b3eaea4b4834a162091537e6a34e
tree747f9d081a364fbaefb93bda9e38bd2ce14ebfaf
parent5607810f4ee67343c82e91c78620a27ebdd6a983
Test: make mouse press, release, click and double click default to the center of the item

Most of the times you just want to act on the item not caring the position.
This helps for cleaner test code

Change-Id: I0e8a4919c503e3fd6dee60e1bd937ac57622279f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
src/imports/testlib/TestCase.qml