summaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
4 daystests/evas: add simple test for skip_head propertyMike Blumenkrantz
Summary: when using this property, there should be no mmap loaded after a call to evas_object_image_file_set, and we want to make sure the image is eventually loaded ref T8378 Depends on D11340 Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8378 Differential Revision: https://phab.enlightenment.org/D11341
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
4 daysefl-check: do not print expected errorsMarcel Hollerbach
that is just a waste of log space. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11297
4 dayseina-suite: do not print that many errorsMarcel Hollerbach
we should expect errors in these conditions, this also safes a lot of space in logs. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11296
5 dayscsharp: Generating documentation for tuple-value properties.João Paulo Taylor Ienczak Zanette
Adds documentation for tuple-value properties (properties with multiple values), so the following Eo: ``` @property multi_valued_prop { [[ A multi valued property. ]] get {} set {} values { prop1: int; [[ Dummy property's first element. ]] prop2: int; [[ Dummy property's second element. ]] } } ``` Generates the following documentation: ``` /// <summary>A multi valued property.<br/> /// Since EFL *current version*.</summary> /// <value>A tuple containing the following information: /// <list type="bullet"> /// <item><description><c>prop1</c> (<c>Item0</c>): Dummy property&apos;s first element.</description></item> /// <item><description><c>prop2</c> (<c>Item1</c>): Dummy property&apos;s second element.</description></item> /// </list></value> ``` Note: This commit also adds a default separator between tag name and parameters in `generate_opening_tag`. Ref T8468. Differential Revision: https://phab.enlightenment.org/D10889
5 daysefl_mono: Create insert list/array c# wrapper for eina_value.Lucas Cavalcante de Sousa
Implements Insert() method to eina.Value containers (array/list). The Insert() (src/bindings/mono/eina_mono/eina_value.cs) method wraps native functions implemented with c (src/lib/eina/eina_inline_value.x). Resolves T7402 Differential Revision: https://phab.enlightenment.org/D11298
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
7 daysefl.canvas.textblock: allow all white spaces in style string not just spaceAli Alzyod
Summary: style string can contain any kind of white spaces and it will be fine For example ``` "font=sans font_size=30 color=red " ``` Is the same as ``` "font=sans\tfont_size=30\n color=red " ``` Reviewers: woohyun, segfaultxavi, tasn, zmike Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8532 Differential Revision: https://phab.enlightenment.org/D11303
11 daysefl: `eina_value_list_vinsert` assumes that the position is always validLucas Cavalcante de Sousa
Summary: The eina_value_list_vinsert at src/lib/eina_inline_value.x was not checking if the desired position was valid: When inserting in an empty list in any out of bounds position it actually createded a list with the head being the desired value. When inserting in a non-empty list in an out of bounds position caused a c error. Now both cases return EINA_FALSE Ref T8611 Test Plan: Meson configured with -Dbindings=mono,cxx -Dmono-beta=true, and tests runned with ninja test all. Reviewers: felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8611 Differential Revision: https://phab.enlightenment.org/D11301
12 daysEvas Textblock: update obstacle testabdulleh Ghujeh
Summary: Update the test to check that the first character is rendered after the obstacle. To ensure that the obstacle feature keeps working correctly. Reviewers: ali.alzyod, woohyun Reviewed By: ali.alzyod Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11033
13 dayseolian_cxx: fix a last few since errorsMarcel Hollerbach
sinace has to be > 1.22 and the tests need to reflect that.
13 daysdocs: Remove incorrect doc tagXavi Artigas
This was breaking build with cxx bindings enabled.
13 daysevas_object_textbox: deal with <br> <tab> without closing '/'ali
This causes many issues because textbox functions deals with <br> <tab> differently depending that user write them with or without '/' at the end (for example <br> vs <br/>) while most functionaliity are the same (like viewing <br> and <br/> are the same). cursor dealing with these tags can be differently. now we will assume <br> <tab> are already have there own closing tag, even if it is missing Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11293
13 daysbindings-cxx: fix missing @since tags at stable c#/cpp testsLucas Cavalcante de Sousa
Story: This revision got landed twice, I do not know what happend, but when i wanted to land that initially with git phab, something reseted the state of this revision to the initial version, and also changed the authorship. This time, this commit contains all changes, and the correct authorship, sorry for the noise. Summary: Add @since tags at stable (not tagged with @beta) `.eo` c#/c++ tests. Doing so, eolian_enforce_since shouldn't accuse at stable tests. Depends on D11264 Resolves T8600 Reviewers: zmike, segfaultxavi, woohyun, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8600 Differential Revision: https://phab.enlightenment.org/D11265
13 dayseolian: fix all remaining since errorsMarcel Hollerbach
eolian checked for since tags that are invalid by its own rules. This is now fixed.
13 daysbindings: fix missing @since tags & docsMarcel Hollerbach
summary_: Depends on D11264 Reviewers: zmike, segfaultxavi, woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11265
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
14 daysefl.canvas.textblock: update style stringsAli Alzyod
Summary: Update backing -> background_type backing_color -> background_color underline_dash_color -> underline_dashed_color underline - > underline_type strikethrough - > strikethrough_type style -> (effect_type + shadow_direction) underline_dash_width -> underline_dashed_width underline_dashed_gap -> underline_dashed_gap **+prevent unified APIs from supporting legacy style tags, and prevent legacy APIs from the ability to use new unified tags** Reviewers: zmike, woohyun, segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8523 Differential Revision: https://phab.enlightenment.org/D11188
2020-02-04evas proxy: make it work for File_Save.saveShinwoo Kim
Summary: File_Save.save does not work for proxy object from following commit. c53f152 evas: Make save() work on snapshots Test Plan: 1. Add an image object and set source object. evas_object_image_source_set(obj, source); 2. Save the object as a file when you need. evas_object_image_save(obj, "./file_name.png", NULL, NULL); Reviewers: cedric, Hermet, jsuya Reviewed By: Hermet Subscribers: zmike, subodh6129, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10629
2020-01-31efl: add test for efl_model_children_index_get.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11186
2020-01-31eina: add test for eina_future_all_iterator.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11181
2020-01-31Fix build with gcc 10 (which has -fno-common enabled by default).Tom Callaway
EFL failed to build from source in Fedora Rawhide as a result of the update to GCC 10. GCC 10 enables -fno-common by default, and this found three issues in EFL: # The eina benchmark code defined int key_size in a header that was included in multiple places. # The elementary test code defines the "dt1", "dt2", "dt3" vars in two code files which are compiled together (but these variables do not appear to be used globally) # The eio test code defines the "ee" var in two code files which are compiled together (but this variable does not appear to be used globally) I've fixed these issues and confirmed locally that the code builds again in Fedora. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11259
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-29C#: Fix using beta for lists and hashes in testsFelipe Magno de Almeida
Reviewers: segfaultxavi, bu5hm4n Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11235
2020-01-29tests/ecore_wl2: Fix check for Enlightenment compositorChristopher Michael
ref T8016
2020-01-29tests/ecore_wl2: Add dummy tests for ecore_wl2_* functions.Woochanlee
Summary: Add dummy tests for below functions. Updates will be... when there is a better verification method. ref T8016 Reviewers: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D11214
2020-01-29Revert "mono-test: Fix build break"Marcel Hollerbach
This reverts commit 594f00c815d8ee15878071b23f041e5092abe7c2. This breaks tests
2020-01-29mono-test: Fix build breakXavi Artigas
Recent 6b110e578d24b2a99c4c1b158433327a0a43ce1a forbids list<> in stable contexts.
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-29eina_matrix: Add eina_matrix4 operator(translate, rotate, scale)JunsuChoi
Summary: Add an operator related to the 3D transform in eina_matrix. enum eina_matrix_axis EINA_MATRIX_AXIS_X EINA_MATRIX_AXIS_Y EINA_MATRIX_AXIS_Z eina_matrix4_translate eina_matrix4_scale eina_matrix4_rotate eina_matrix4_transpose Test Plan: src/tests/eina/eina_test_matrix.c Reviewers: Hermet, bu5hm4n, kimcinoo, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11159
2020-01-29eolian_mono: change property name from args to ArgsYeongjong Lee
Summary: PascalCasing is always used for property names. Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true Reviewers: woohyun, felipealmeida, segfaultxavi Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11149