tests/elm: add utility function to trigger a mouse drag
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 24 Oct 2019 15:37:32 +0000 (11:37 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:39 +0000 (11:20 +0900)
commit40f45f35d0f3eda24cac9d015c6e3404c66b6c8a
treeee4b074c8e72ea2b074164bba711e60812d49446
parent14a4e8fe293e1ba7ef456261963c71461948b68a
tests/elm: add utility function to trigger a mouse drag

a drag may require a lot of internal calculating to successfully trigger
the intended test behavior, so this has a flag which allows it to perform
loop iterations and canvas calcs in order to be more universal, along with
a global #define for determining exactly how many mouse moves were triggered

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10512
src/tests/elementary/suite_helpers.c
src/tests/elementary/suite_helpers.h