bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3011e5ed11d907512a625c0071e9959b94d58064
commit 3011e5ed11d907512a625c0071e9959b94d58064 Author: Mike Blumenkrantz <[email protected]> Date: Mon Jan 27 13:40:52 2020 -0500 tests/gesture: add a 10-touch tap test this tests the robustness of existing gesture recognizers Differential Revision: https://phab.enlightenment.org/D11209 --- src/tests/elementary/efl_ui_test_gesture.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/tests/elementary/efl_ui_test_gesture.c b/src/tests/elementary/efl_ui_test_gesture.c index b44ab6b331..4724cf8964 100644 --- a/src/tests/elementary/efl_ui_test_gesture.c +++ b/src/tests/elementary/efl_ui_test_gesture.c @@ -185,6 +185,17 @@ EFL_START_TEST(test_efl_ui_gesture_taps) wait_timer(0.4); RESET; + multi_click_object(rect, 10); + CHECK_ALL(TAP, 1, 0, 1, 0); + CHECK_ALL(LONG_TAP, 1, 0, 0, 1); + CHECK_ALL(DOUBLE_TAP, 1, 0, 0, 1); + CHECK_ALL(TRIPLE_TAP, 1, 0, 0, 1); + CHECK_ZERO(MOMENTUM); + CHECK_ZERO(FLICK); + /* this is two fingers, so we have a zoom start */ + CHECK_ALL(ZOOM, 1, 0, 0, 1); + RESET; + } EFL_END_TEST --
