bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c0453132df662b0568bb450947760276e0c50d1c
commit c0453132df662b0568bb450947760276e0c50d1c Author: Mike Blumenkrantz <zm...@samsung.com> Date: Wed Feb 5 09:55:50 2020 -0500 tests/gesture: add another tap test to check finger size works add some move events in to shake up the recognizers and check whether taps are still working Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11292 --- src/tests/elementary/efl_ui_test_gesture.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/tests/elementary/efl_ui_test_gesture.c b/src/tests/elementary/efl_ui_test_gesture.c index db730f7dab..f47e4f3977 100644 --- a/src/tests/elementary/efl_ui_test_gesture.c +++ b/src/tests/elementary/efl_ui_test_gesture.c @@ -141,6 +141,22 @@ EFL_START_TEST(test_efl_ui_gesture_taps) wait_timer(0.4); RESET; + /* verify finger size */ + click_object_at(rect, 500, 500); + click_object_at(rect, 505, 505); + CHECK_ALL(TAP, 2, 0, 2, 0); + CHECK_ALL(LONG_TAP, 2, 0, 0, 2); + /* UPDATE -> FINISH */ + CHECK_ALL(DOUBLE_TAP, 1, 2, 1, 0); + CHECK_ALL(TRIPLE_TAP, 1, 3, 0, 0); + CHECK_ZERO(MOMENTUM); + CHECK_ZERO(FLICK); + CHECK_ZERO(ZOOM); + + /* clear states */ + wait_timer(0.4); + RESET; + /* verify multiple simultaneous presses treated as same press */ multi_click_object(rect, 2); CHECK_ALL(TAP, 1, 0, 1, 0); --