summaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
2019-05-29eina: add test for eina_slstr_copy_new_length.Cedric BAIL
Summary: Depends on D8800 Reviewers: zmike Reviewed By: zmike Subscribers: zmike, #reviewers, #committers Tags: #efl Maniphest Tasks: T7832 Differential Revision: https://phab.enlightenment.org/D9016
2019-05-29tests/elm_focus: explicitly set widgets to expand+fill in testMike Blumenkrantz
Summary: some widgets do not create a minimum size for themselves, resulting in a 0x0 layout which can affect tests that rely on object visibility to succeed without errors Depends on D9007 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9008
2019-05-29tests/genlist: fix some shadowed variable warningsMike Blumenkrantz
Summary: Depends on D9006 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9007
2019-05-29tests/elm: explicitly denote cases where error messages are intentionalMike Blumenkrantz
Summary: we want to make it clear in our tests where it is intended that warnings and errors may occur Depends on D9005 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9006
2019-05-28efl_ui: add a helper for not tollerating errors in a testsuiteMarcel Hollerbach
Summary: We now also fail in the focus tests Depends on D9021 Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9022
2019-05-28efl_ui_suite: fix errors in focus testsMarcel Hollerbach
Summary: there have been a few cases where things were just wrong. Like missing regular nodes in a focus manager that received focus, and stuff like this. This now fixes all those cases. Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9021
2019-05-28build: Fix on OpenBSD.Alastair Poole
This adds support for OpenBSD with meson build system. Also use better paths. This resolves further issues when building EFL.` Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9028
2019-05-26eolian: add test for file versioningDaniel Kolesa
2019-05-26eolian: rename @warn_unused and its associated APIDaniel Kolesa
@warn_unused in syntax is now called @no_unused - this is because "warning about unused" is a C thing (or rather, an extension to C) and various languages might want to use stricter behavior for this. Its associated API does the reverse now - it lets you query whether being unused is allowed at all. This is to match future behavior of Eolian (once it supports versioning) that will likely reverse it. @feature
2019-05-26eolian: remove param @nonullDaniel Kolesa
This has been deprecated for a while and is not strictly necessary - as a part of an effort to stabilize Eolian, remove this. Eolian will eventually gain support for versioning and use a reversed behavior (i.e. no NULL by default), but the API it wlll use for that will be very different. Features can always be added, it's much harder to drop them. @feature
2019-05-24Rename Efl.Ui.Direction -> Efl.Ui.Layout_OrientationXavi Artigas
Summary: This clarifies a bit the whole Orientation vs. Direction confusion, at the expense of longer names (Image_Orientation vs. Layout_Orientation). Also, the interfaces are now adjectives (Orientable) and the enums have long names (*_Orientation). Pretty big patch, but no functional changes. Relates to T7863 Test Plan: Everything builds and passes tests. Elementary_tests show same behavior, including the "inverted" widgets, which are the only parts which received a bit of code changes. Proof: https://travis-ci.org/Enlightenment/efl/builds/536277282 Reviewers: zmike, bu5hm4n, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8946
2019-05-22csharp: Split test filesLauro Moura
Summary: Make it easier to add new tests Reviewers: vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8937
2019-05-21eolian: remove @nullable keywordDaniel Kolesa
This was an experiment that never properly took off and was never used by any generator. Its use was highly variable, so it could not be relied upon. We will still want to reverse the current behavior eventually (no null by default), but that will be done with eo file versioning in the future. @feature
2019-05-20Efl.Pack_Table: remove table_directionXavi Artigas
Summary: The only implementation of this interface, `Efl.Ui.Table`, only supports two fill directions (horizontal or vertical), therefore the table_direction property which supports primary and secondary directions is unnecessarily complicated. Remove it and use only `Efl.Ui.Direction.direction` to select the fill direction. Also, expanded the documentation. Fixes T7962 Test Plan: Everything builds and tests pass. Efl.Ui.Table elementary_test still work. Examples need to be adjusted to stop using table_direction. Reviewers: zmike, YOhoho, bu5hm4n, SanghyeonLee, Jaehyun_Cho Reviewed By: YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7962 Differential Revision: https://phab.enlightenment.org/D8902
2019-05-17eolian tests: rename owning.eo.c to clear confusionDaniel Kolesa
2019-05-16eolian: rename eolian_typedecl_enum_field_c_name_getDaniel Kolesa
This is to allow for better object oriented APIs, as the `c_name` field would be inherited from Object. This also makes it more clear in C.
2019-05-16eolian: add API to retrieve the C name of an objectDaniel Kolesa
This is to prepare for type/class renaming support. This adds the necessary API to retrieve C-specific names. Other refactoring is necessary elsewhere for now. This also renames the old API eolian_class_c_name_get to eolian_class_c_macro_get to avoid conflict as well as clarify the intention.
2019-05-15meson: enforce 61s timeout for tests, remove explicit timeouts from build filesMike Blumenkrantz
unit tests automatically abort with info after 60s, and tests should be run with an appropriate timeout to avoid conflict with the test runner's default 30s timeout set explicit timeout in eio test for now because there's still frequent bugs here Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8894
2019-05-15Revert "remove vpath test for user dir the test was broken and fixing is insane"Marcel Hollerbach
Summary: This reverts commit 954a534bc0e7f30e66cc7dfd15ac79544e92671f. It appears that the concerns from this commit are invalid. The case of ~asdf/ does not have any fallback case, if there is no getpwent on this system, then there will be simply an error, same for the case of a missing user. In such a case nothing will be written in the buffer / returned by eina_vpath. The windows build problem can be fixed by a simple #ifdef'ing the test code. Reviewers: raster, zmike, cedric, vtorri Reviewed By: vtorri Subscribers: vtorri, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8671
2019-05-15efl_ui_frame: migrate to efl.ui.clickableMarcel Hollerbach
Summary: frame now uses efl.ui.clickable, which ensures correct click emittion. The click event is not needed in the event anymore. However, now efl,action,press / efl,action,unpress is needed. Depends on D8825 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8826
2019-05-14efl_ui_panes: migrate to efl_ui_clickableMarcel Hollerbach
Summary: the implementation of efl_ui_clickable is now used to tricker the events. efl,action,click and efl,action,click,double is not needed anymore from the theme. Depends on D8824 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8825
2019-05-14efl_ui_image: migrate to efl.ui.clickableMarcel Hollerbach
Summary: the mixin is now used to emit the events of the mixins. This is verified by the testsuite. The testsuite needs a special treatment for the object, because a missing image-file of the object would result in a 0x0 image size. Depends on D8822 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8823
2019-05-14efl_test_clickable: introduce new testsMarcel Hollerbach
Summary: the new test checks if the events are correctly emitted Depends on D8821 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8822
2019-05-14csharp: Fix event marshalling for value typesLauro Moura
Summary: It was wrongly assuming value types were passed by value. As stated in the documentation, all arguments are passed with a single level of indirection. Fixes T7957 Reviewers: woohyun, felipealmeida, vitor.sousa, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7957 Differential Revision: https://phab.enlightenment.org/D8889
2019-05-13edje src - mark with efl version so we don't get warningsCarsten Haitzler (Rasterman)
2019-05-13eina - value - test - cats warnings on 32bit to get some silenceCarsten Haitzler (Rasterman)
longs will be truncated on 32bit in these tests so be explicit to not have warinings. note - eina value tests are broken on 32bit anyway already - the conversions to/from long types are broken and fail. this doesn't fix that.
2019-05-11eina: add tests for the new Vpath syntax.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8884
2019-05-10ecore: add a test for the new Efl.FilterModel.Cedric BAIL
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D8798
2019-05-09ecore: make sure that ecore stay initialized during the full test.Cedric BAIL
efl_app_test_promise.c is slightly special and corrective action have to be taken to make sure that ecore_init return the right value when the no fork mode of libcheck is used. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8566
2019-05-09eolian: move from eo_prefix to c_prefixDaniel Kolesa
2019-05-08meson: lets execute eldbus test suiteMarcel Hollerbach
Summary: this was simply forgotten. Depends on D8861 Reviewers: segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8862
2019-05-08Revert "eldbus_test_eldbus_message: Fix resource leak"Marcel Hollerbach
Summary: This reverts commit 24c07f03d1427db2ed9dee7428c83352b60439dd. This appears to be wrong "eldbus_message_iter_del" does free the message itself. So this causes a double free and a failing test suite. Reviewers: segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8861
2019-05-08Evil: remove wrapper around getcwd()Vincent Torri
Summary: getcwd() is declared in direct.h Test Plan: compilation Reviewers: raster, cedric, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8858
2019-05-07csharp: Add Part suffix for the part wrappersLauro Moura
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8835
2019-05-06eolian: fix conflicts between eo file names in testsDaniel Kolesa
Fixes T7911.
2019-05-06meson: add intl to efreet all binary depsMike Blumenkrantz
this must be explicitly added for windows builds Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8725
2019-05-05eolian: add support for marking and checking parts as betaDaniel Kolesa
Fixes T7837.
2019-05-03eolian tests: use parse instead of path_parseDaniel Kolesa
2019-05-03eolian: refactor parsing API and path handlingDaniel Kolesa
This splits the eolian_file_parse API into two, one for parsing files already present in the database (always by filename) and one for parsing paths. It fixes several bugs/leaks on the way (incorrect use of stringshare etc.) as well as adds checking for whether there are no conflicting filenames at scan time, for free. That means it is now no longer possible to scan two paths which have an eo or eot file of the same name in them. It should also be faster now. It also fixes T7820. @fix
2019-05-03ui.relative_layout: implement Efl.PackYeongjong Lee
Now, efl_content_iterate, efl_content_count, efl_pack, efl_pack_unpack, efl_pack_unpack_all and efl_pack_clear are available for relative_layout. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8631
2019-05-03cxx: Fix missing bits from header renameLauro Moura
Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D8811
2019-05-02cxx: Rename Elementary.hh into Efl_Ui.hhLauro Moura
Also include Efl_Ui.h alongside Elementary.h (the latter is still needed by some widgets).
2019-05-02evas_object_textblock: Fix binary search fail.Woochanlee
D8610 Makes API Testcase fault. "&lt" is never searching. @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8803
2019-05-02eina_test_strbuf: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak storage that 'buf' points to because we are reassigning the variable, so lets free the previous strbuf so we don't leak. Fixes CID1400952 @fix Depends on D8769 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8770
2019-05-02eo_test_manager_xattr: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak the eina_binbuf returned from eina_value_to_binbuf function, so add a call to eina_binbuf_free. Fixes CID1400953 @fix Depends on D8762 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8769
2019-05-02eina_test_tiler: Fix resource leakChristopher Michael
Summary: Coverity reports that reassigning 't' here leaks the storage that t points to, so free the previous eina_tiler before reassigning the variable. Fixes CID1401068 @fix Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8762
2019-05-02eina_test_ustr: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak 'buf' here so add a call to free Fixes CID1400784 @fix Depends on D8781 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8782
2019-05-02emile_test_base64: Fix memory leakChristopher Michael
Summary: Coverity reports that we leak 'str' here, so change the call from eina_strbuf_reset to eina_strbuf_free Fixes CID1400815 @fix Depends on D8780 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8781
2019-05-02emile_test_base64: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak 'buffer' here so add a call to eina_binbuf_free Fixes CID1400820 @fix Depends on D8779 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8780
2019-05-02efl_ui_test_widget: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak the variable 'a' here so lets add a call to eina_array_free Fixes CID1400824 @fix Depends on D8778 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8779