summaryrefslogtreecommitdiff
path: root/src/tests/elementary (follow)
AgeCommit message (Collapse)Author
4 daysefl/gesture: api renames for Efl.Canvas.Gesture_TouchMike Blumenkrantz
ref T8554 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11300
4 daystests/gesture: add another tap test to check finger size worksMike Blumenkrantz
add some move events in to shake up the recognizers and check whether taps are still working Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11292
4 daysefl/gesture: rework gesture_recognizer::add to be a 'type' propertyMike Blumenkrantz
this simplifies (and optimizes) a bunch of code by letting gesture recognizers return directly the type of gesture they recognize for use internally ref T8503 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11267
4 daysefl/config: merge all gesture manager config code into efl.configMike Blumenkrantz
this is all just duplicated code, so we can deduplicate it with minimal effort to clean up the api Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11251
6 daystests/layout: modify api ordering test to verify theme signal emissionMike Blumenkrantz
ensure that signals queued during construction are always emitted Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11162
13 daystests/gesture: add second custom recognizer testMike Blumenkrantz
ensure that this functionality works Differential Revision: https://phab.enlightenment.org/D11239
13 daystests/elm: add explicit printf for event cb assert failureMike Blumenkrantz
efl explodes when this assert fails and presents bizarre errors which obscure the actual test failure, so add a more explicit message as a reminder to check this instead of trying to dive into insanity Differential Revision: https://phab.enlightenment.org/D11238
13 daystests/gesture: add custom recognizer testMike Blumenkrantz
adds a very small implementation of a custom recognizer, registers it, verifies events are processing as they should, then removes it Differential Revision: https://phab.enlightenment.org/D11224
13 daystests/gesture: change random momentum cb to be useful momentum cbMike Blumenkrantz
verify that we get 1 event here and also that callback removal works Differential Revision: https://phab.enlightenment.org/D11220
13 daystests/gesture: add a 10-touch tap testMike Blumenkrantz
this tests the robustness of existing gesture recognizers Differential Revision: https://phab.enlightenment.org/D11209
13 daystests/gesture: add zoom and pinch testsMike Blumenkrantz
basic tests verifying completion of the gestures Differential Revision: https://phab.enlightenment.org/D11170
13 daystests/elm: add util function for doing pinch motionsMike Blumenkrantz
simple function which takes start points and vectors for 2 touches Differential Revision: https://phab.enlightenment.org/D11166
13 daystests/gesture: add extra event callback to verify event multiplication is fixedMike Blumenkrantz
Differential Revision: https://phab.enlightenment.org/D11145
13 daystests/gesture: add gesture tests for basic multi-touch tap eventsMike Blumenkrantz
Differential Revision: https://phab.enlightenment.org/D11090
13 daystests/elm: add util functions for doing multi-touch eventsMike Blumenkrantz
Differential Revision: https://phab.enlightenment.org/D11089
2020-01-30tests/gesture: add longpress testsMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11084
2020-01-30tests/elm: add util functions for pressing mouse button without releasingMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11083
2020-01-30tests/elm: add util function to automatically delay loop by given timeMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11082
2020-01-30tests/gesture: beef up gesture flick/momentum tests significantlyMike Blumenkrantz
this adds test cases for flicks in different directions, flicks which leave the canvas, and gestures which are momentums but not flicks Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11055
2020-01-30tests/elm: add util function for dragging the pointer in an arcMike Blumenkrantz
useful for throwing in non-linear drags Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11054
2020-01-30tests/efl_ui: begin some gesture unit testsMike Blumenkrantz
adds basic testing for taps and flick Differential Revision: https://phab.enlightenment.org/D11029
2020-01-30tests/elm: add basic timestamping for event helpersMike Blumenkrantz
this enables various internal components which use timestamps to have timestamps that can be used Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11028
2020-01-30elementary: make focus manager update_children and update_order an internal ↵Cedric BAIL
function to not expose list<>. Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11045
2020-01-29elementary: do not use list<> in Efl.Ui.Focus_Manager.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11051
2020-01-28Efl.Player: Move autoplay/playback_loop from Efl.Ui.Vg_AnimationJunsuChoi
Summary: Move autoplay and playback_loop method from Efl.Ui.Vg_Animation/ and The playback_loop changed from looping because it conflict with the efl_ui_scrollable's symbol. Efl.Ui.Image and Efl.Ui.Image_Zoomable is needed implements about this method. So it temporarily set the @empty marker. ref T8476 Test Plan: elementary_test -to "Vector Graphics Animation" check to 'loop' Reviewers: Hermet, bu5hm4n, zmike, Jaehyun_Cho, jsuya Reviewed By: zmike Subscribers: cedric, #reviewers, #committers, woohyun, kimcinoo Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D11212
2020-01-23efl_text_interactive: selection enhancmentAli Alzyod
1- Implement setting selection range programmatically by modifying selection cursors from **efl_text_interactive_selection_cursors_get** 2- Add setter with **efl_text_interactive_selection_cursors_set** to set the range at once (modify start and end) Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: WooHyun Jung <wh0705.jung@samsung.com> Differential Revision: https://phab.enlightenment.org/D10968
2020-01-23efl_ui_spotlight: rename Stack_Manager to Fade_ManagerJaehyun Cho
Summary: Since Stack_Manager displays fade in/out transition effects, the class name is renamed from Stack_Manager to Fade_Manager. Depends on D11142 Reviewers: segfaultxavi, bu5hm4n, zmike Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11143
2020-01-23efl_ui_spotlight: rename Manager_XXX and Indicator_XXXJaehyun Cho
Summary: In spotlight classes, "Manager" and "Indicator" are used as prefix in the class names. e.g. Efl.Ui.Spotlight.Manager_Plain, Efl.Ui.Spotlight.Indicator_Icon However, those classes are basically manager and indicator classes with different features. Therefore, "Manager" and "Indicator" should be used as postfix in the class names. e.g. Efl.Ui.Spotlight.Plain_Manager, Efl.Ui.Spotlight.Icon_Indicator However, for the easier usage of C APIs, c_prefix of those classes are remained to be "efl_ui_spotlight_manager_xxx" and "efl_ui_spotlight_indicator_xxx". Reviewers: segfaultxavi, bu5hm4n, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11142
2020-01-21Revert "efl_text_interactive: selection enhancment"Marcel Hollerbach
This reverts commit 09f0d66d90e4db5f879f4c998e8a07b26fa749fc. This breaks CI, and tests do not pass anymore, hence no other revision can be verified. The revision is reopened. lets take a second look at this.
2020-01-21efl_text_interactive: selection enhancmentAli Alzyod
Summary: 1- Implement setting selection range programmatically by modifying selection cursors from **efl_text_interactive_selection_cursors_get** 2- Add setter with **efl_text_interactive_selection_cursors_set** to set the range at once (modify start and end) Reviewers: woohyun, segfaultxavi, zmike, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8521, T8522 Differential Revision: https://phab.enlightenment.org/D10968
2020-01-17efl_ui_scrollbar: change scrollbar state when theme is reloaded.Hosang Kim
Scrollbar visible state is not synchronized when theme is reloaded. Differential Revision: https://phab.enlightenment.org/D10649
2020-01-17Introduce SeparatorMarcel Hollerbach
Summary: this is just like elm_separator, just written for unified widgets. This inherits from item, which has the advantage that this separator can also be added into item container. Reviewers: zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11125
2020-01-17efl_ui_suite: fix test code of gridMarcel Hollerbach
Summary: this test code seemed buggy, we used the iterator *after* the content was changed. Additionally, we freed the iterator with free instead of eina_iterator_free. This fixes test test suite. Depends on D11123 Reviewers: raster, zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11124
2020-01-17efl: correct class description name of simple classali
Name of Efl_Class_Description should be eo-style class name. related to D11115 Reviewed-by: YeongJong Lee <cleanlyj@naver.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11117
2020-01-16Efl.Ui.Vg_Animation: Change property name autorepeat to loopingJunsuChoi
Summary: autoplay and autorepeat look similar and can be confusing. so change autorepeat to looping. ref T8476 Depends on D11022 Test Plan: N/A Reviewers: Hermet, bu5hm4n, kimcinoo, segfaultxavi, zmike Reviewed By: Hermet, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D11061
2020-01-16Efl.Ui.Textbox: Fix Ctrl+Backspace & Ctrl+Delete keysa.srour
Summary: This should fix the behaviour of Ctrl+Backspace & Ctrl+Delete key down on `Efl.Ui.Textbox`. Also added two tests for it. Reviewers: woohyun, ali.alzyod, cedric, bu5hm4n Reviewed By: woohyun Subscribers: ProhtMeyhet, stefan_schmidt, segfaultxavi, bu5hm4n, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11040
2020-01-16tests: Add test cases for Efl.Ui.Vg_AnimationJunsuChoi
Add test cases for Efl.Ui.Vg_Animation APIs - vg_anim_playing_control - vg_anim_frame_control ref T8476 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11022
2020-01-13Revert "efl_ui_spin_button: add tests for direct input feature"Marcel Hollerbach
This reverts commit f62cee28cbb634731d7c39378dd29530d767b505. This seems to cause trouble on the CI - lets recheck that.
2020-01-13efl_ui_spin_button: test that max can be reached by clicking incMarcel Hollerbach
this is esp. testing if this is possible with step not beeing a multiple of max. Differential Revision: https://phab.enlightenment.org/D11011
2020-01-13efl_ui_spin_button: add tests for direct input featureMarcel Hollerbach
this simply passes in some key sequences and checks if the validation is working. Additionally the output value is checked. Differential Revision: https://phab.enlightenment.org/D11010
2020-01-13efl_ui_spin_button: add test for sequential incMarcel Hollerbach
before there was a bug with this, as there was a int cast in the internal dataflow. This ensures that this is working. Differential Revision: https://phab.enlightenment.org/D11009
2020-01-13efl_ui_spin_button: test wraparroundMarcel Hollerbach
this tests the wraparround feature. Differential Revision: https://phab.enlightenment.org/D11008
2020-01-13efl_ui_timepicker: make 24h mode workMarcel Hollerbach
this is something which was never ever working before. However, while fixing the 24h mode, it also appeared that the theming was applied in the wrong spot, which resulted in signals beeing called on a not yet themed object, so the theming was also fixed. (Which is the theme_apply change). To sum up: - The theme is now applied by efl_ui_layout_base - the range is now correct for 24h mode - There is a quite major problem with the theme, see T8546 - As a quick fix, am / pm button can be disabled. ref T8546 Differential Revision: https://phab.enlightenment.org/D11004
2020-01-10efl_ui_collection_view: fix testMarcel Hollerbach
count_realize / unrealize are stacked, we should not leak a callback that has a stack var as user_data.
2020-01-09elementary: enable collection view test to wait for "child.selected" event.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11015
2020-01-09elementary: start some collectionview testsMike Blumenkrantz
* basic test checking realize/unrealize signals * selection model test Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11012
2020-01-09elementary: add proper test for "child.selected" propagation.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11014
2020-01-02edje: implement text_class override at object levela.srour
implement text_class override at object level, where you can change the text_class for single textblock object instead of override all objects that share same text class. This imported from TIZEN Note: This also fix edje_textblock font/font_size parsing by adding condition Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10598
2020-01-02efl_spec_suite: remove callbacks at the end of a testMarcel Hollerbach
Summary: we might access changed, which is stacked. This fixes a potential crash. Depends on D11001 Reviewers: cedric, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11002
2020-01-02efl.text.interactive: remove event freeze when keyboard button is pressedAli Alzyod
this event freeze will prevent submission of EFL_UI_TEXTBOX_EVENT_CHANGED on efl.ui.textbox object, when inserting text using the keyboard. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10979