diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-01-27 13:40:52 -0500 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-02-05 10:10:38 +0100 |
commit | 3011e5ed11d907512a625c0071e9959b94d58064 (patch) | |
tree | a4df628e4de38fdc9778383968652a7d5cd133aa | |
parent | 1320156e031a8d25bf0c803d3ce9c39bc30d84f0 (diff) | |
download | efl-3011e5ed11d907512a625c0071e9959b94d58064.tar.gz |
tests/gesture: add a 10-touch tap test
this tests the robustness of existing gesture recognizers
Differential Revision: https://phab.enlightenment.org/D11209
-rw-r--r-- | src/tests/elementary/efl_ui_test_gesture.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |