TestLib: Add more mouseMove in mouseDrag implementation
authorCaroline Chao <caroline.chao@digia.com>
Tue, 2 Apr 2013 16:24:46 +0000 (18:24 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 6 Apr 2013 08:10:17 +0000 (10:10 +0200)
commitd01e595d362fcc8347f410eecdf055f80dd5423f
tree40779340e02d54458ef17b5117be5a4c5fa66950
parent8fe9280556897a0d37831aa5169f2a76aa8686d2
TestLib: Add more mouseMove in mouseDrag implementation

So the cursor has intermediate states while dragging instead of
jumping to the final position.

This is for example useful for testing the behavior of a control
during the drag.

Add autotest.

Change-Id: I061dd18ef7ac389aa4da4a5b60f9e128ee8c08d0
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/imports/testlib/TestCase.qml
tests/auto/qmltest/events/tst_drag.qml