summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_fileselector.c (unfollow)
AgeCommit message (Collapse)Author
2019-04-06elementary: it seems I forgot to initialize some meaningful boolean.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8501
2019-04-02elm_fileselector: disable this test for nowMarcel Hollerbach
Summary: this test fails on travis, for the sake of the release we continue without this tests, after the release we can enable this again with or without failing tests. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8538
2019-03-28elementary: restore quick exit from wait loop in fileselector test.Cedric BAIL
The test was not expecting both callback to be set when the wait loop was started. By moving them around, it fixes the test case to only have one relevant callback set at a time. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8490
2019-03-27elc_filselector: solve the mysterium of sometimes failing testsMarcel Hollerbach
so after a phone call, two days of debugging, tears, crying etc. etc. we finally came to a point of enlightenment! *Someone* (bu5hm4n) moved gengrid and genlist events from eo back to smart events, so we can work arround legacy borks and event-name collisions, at this point he did not knew that some widgets (fileselector) already relied on those *lovely* events. Hence this broke theoretically the testsuite, however, the fileselector testsuite is ultimatily buggy, and the wait function does not return false when it timeouts, (i don't know why not). So this break was never discovered. Additionally there is a second issue. it appears, that when we immidiatly quit the mainloop after we have got the selected callback, that then genlist decides to forget about the sd->selected pointer, and NULLs that one out. Which then results in the fact that elm_fileselector_selected_get ends up returning invalid paths. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8488
2019-01-30tests: formattingMike Blumenkrantz
make this consistent for possible sed later Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D7805
2018-08-15tests/elm: remove elm_test_helper.(c|h) filesMike Blumenkrantz
these timer functions are only used by fileselector and I'm trying to consolidate timer usage no functional changes Differential Revision: https://phab.enlightenment.org/D6768
2018-05-01elementary: fix elementary fileselector tests to exit main loop.Cedric Bail
2018-04-27tests: use a global win object in fork mode when using buffer engineMike Blumenkrantz
Summary: this avoids the creation of a new win object for each test ref T6864 Reviewers: stefan_schmidt, cedric Reviewed By: cedric Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5965
2018-04-24Efl.Access.Object (from Efl.Access)Xavi Artigas
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-05tests: move to using checked fixtures for all test suitesMike Blumenkrantz
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-05tests: add instrumentation to existing tests to find slow testsMike Blumenkrantz
efl_check.h must be included and the EFL_START/END_TEST macros must be used in place of normal START/END_TEST macros timing is enabled when TIMING_ENABLED is set https://phab.enlightenment.org/w/improve_tests/ Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-03-07ecore - go back to args 0 being the command and 1+ being actual argsCarsten Haitzler (Rasterman)
so this is then inconsistent with efl.exe and efl.thread, so go back to being normal with 0'th arg being the binary itself jsut to make sure we have conistent usage.
2018-02-14elementary: fix legacy widget type name for backward compatYoungbok Shin
Summary: For example, the widget type of elm_button was "Elm_Button". But, the object which is created by elm_button_add() will return its widget type "Efl.Ui.Button_Legacy". It is not legacy name. It should be fixed to return "Elm_Button". I don't know when but eolian start to make class name with ".". So, it should be converted to "_" for all widgets. @fix Test Plan: All test cases are included in this patch. Run "make check" Reviewers: raster, cedric, jpeg, taxi2se Reviewed By: cedric Subscribers: taxi2se, woohyun Differential Revision: https://phab.enlightenment.org/D5782 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-11-08tests: Properly define access beta/protectedJean-Philippe Andre
This solves warnings (and likely errors) in the make check test cases for ATSPI, since most of efl_access APIs are now marked as beta.
2017-10-19elm: rename Elm_Interface_Atspi_Accessible interfaceLukasz Stanislawski
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5341
2016-09-14elm fileselector: fix test to wait for the right eventVitor Sousa
Fileselector test was waiting for the wrong event. It caused the test to fail in some situations, since it could check the object when it is not ready. Fix T4502 @fix
2016-03-23elementary: move all legacy files to their expected new location.Cedric BAIL
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-01-14Do not explicite include atspi headers.Lukasz Stanislawski
Summary: fixes make check failures on atspi tests. Reviewers: cedric Subscribers: seoz Maniphest Tasks: T2001 Differential Revision: https://phab.enlightenment.org/D1870
2014-07-17tests: Pass the interval to elm_test_helper_wait_flag for the caller to changeRyuan Choi
Like JackDanielZ suggested.
2014-07-16tests: Add elm_test_helper_wait_flag to avoid infinite loopRyuan Choi
Test of elm_fileselector_selected and future tests may have conditional loop which some flag. This patch adds elm_test_helper_wait_flag, simple wrapper of the loop with timer in order to exit the loop when expected callbacks are not called.
2014-07-02fileselector: Make selected_set actually select the fileRyuan Choi
This patch comes from Kai Huuhko. Added test case for selected_set/get. @fix
2014-06-11atspi:Set roles for widgetsZbigniew Kosinski
Reviewers: stanluk, m.jagiello, raster Differential Revision: https://phab.enlightenment.org/D930