summaryrefslogtreecommitdiff
path: root/src/tests/eio (follow)
AgeCommit message (Collapse)Author
2016-12-15eio: fix attr tests to process an array of string.Cedric BAIL
2016-11-07eio: fix conversion mistake from Eina_Promise to Efl_Future.Cedric BAIL
2016-09-29efl: Update Efl.Model to use new Efl_Promise and Efl_FutureFelipe Magno de Almeida
Replaced all Eina_Promise_Owner and Eina_Promise with Efl_Promise and Efl_Future.
2016-09-15eio: use proper const for progress.Cedric Bail
2016-09-13tests: eio: use eina file infrastructure for temporary file creationStefan Schmidt
The tmp dir is not always /tmp.
2016-09-13eio_eet: Added test suite for eio eet module.Vivek Ellur
Summary: Added new test suite for eio eet module Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: stefan_schmidt, jpeg, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D3316
2016-09-08eio: fix manager tests.Cedric BAIL
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-08-02tests: eio: add Eina.h include for eina_init and shutdown functions.Stefan Schmidt
tests/eio/eio_suite.c:33:4: warning: implicit declaration of function 'eina_init' [-Wimplicit-function-declaration] eina_init(); ^ tests/eio/eio_suite.c:38:4: warning: implicit declaration of function 'eina_shutdown' [-Wimplicit-function-declaration] eina_shutdown();
2016-07-28eio: add a test for T3237.Cedric Bail
I have been trying to reproduce the reported ephoto issue, but couldn't. This test case reproduce the reported scenario.
2016-07-28eio: all our tests need eina and we aren't testing eina here, so init once ↵Cedric Bail
and for all.
2016-06-22eio: register one Efl_Io_Manager by default on the main loop at init time.Cedric BAIL
2016-06-22eio: rename eio_job to efl_io_manager.Cedric BAIL
There is still a lot of work to do in this API to make it efficient and stable. Will try to get at it before 1.18 release.
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-16efl: Move promise parameter to return in data modelFelipe Magno de Almeida
Summary: Instead of: efl_model_property_get("name", &promise); now: promise = efl_model_property_get("name"); Reviewers: stefan_schmidt, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4038
2016-06-16tests: eio: use eina file infrastructure for temporary file creationStefan Schmidt
The tmp dir is not always /tmp.
2016-06-16tests: eio: silence unused paramater warnings in new eio_map testStefan Schmidt
2016-06-16eio_map: Add test suite for eio map moduleVivek Ellur
Summary: Added test suite for eio map module Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: stefan_schmidt, raster, cedric Differential Revision: https://phab.enlightenment.org/D3321
2016-06-06eio: remove eio_model that should already be part of Eio.h.Cedric BAIL
2016-06-06eio: Fix leaks in testsLauro Moura
2016-06-05eio: Fix Eio_Model promise accessorLarry Jr
2016-06-03eina: Remove more Eina_Promise* parameter in promise callbackFelipe Magno de Almeida
Remove not very useful parameter to eina_promise_then callbacks.
2016-06-03eina: Remove Eina_Promise* parameter in promise callbackFelipe Magno de Almeida
Remove not very useful parameter to eina_promise_then callbacks.
2016-06-03eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida
Now when dealing with pointer types, we will not get pointer to pointer semantics in callbacks and eina_promise_owner_value_set for Eina_Promise. It will work as expected: Eina_Promise_Owner* promise = eina_promise_add(); void* p = malloc(sizeof(T)); eina_promise_owner_value_set(promise, p, &free);
2016-05-30eio: Fix eio_test_job_xattr testFelipe Magno de Almeida
Test wasn't enabled when modifications to function prototypes to eio_job_file_xattr_list and eio_job_file_xattr properties were made, so it got pushed inadvertidly without the necessary changes to user code.
2016-05-25eio: Adds Eo-based Eio APILauro Moura
The legacy Eio_File factory functions are replaced by an Eo object called Eo_Job that return promises wrapping the async file operations. With this commit, the legacy Eio callbacks are replaced by the following Eo/Promises counterparts : * Done_Cb -> Promise then success callback * Error_Cb -> Promise then error callback * Main_Cb -> Promise progress callback * Filter_Cb -> Job object event (more below) Events are used to deliver and get the filter data. To differentiate between the named and direct versions, they come in "filter,direct" and "filter,name" versions. Monitors were wrapped inside a new class Eo_Sentry. The user creates a sentry object and adds monitoring targets to it, listening to events on it. The sentry event info is composed of two strings. The source string is the path being monitored, i.e. the one passed to eio_sentry_add, and the trigger string is the path that actually triggered the event, e.g. a new file created in a monitored directory.
2016-05-25eio: Call correct function to cleanup Eio_File.Lauro Moura
The Eio functions operating on Eina_Files were just freeing the Eio_File pointer on completion instead of calling eio_file_free to unregister the thread.
2016-05-18eo: for consistency use object like all our API.Cedric Bail
2016-05-11tests: eio: make sure we cleanup eio_test_xattr_set correctlyStefan Schmidt
We missed tmpstr_del and shutting down eina here. This test segfaults from time to time on Jenkins. Not sure this was the actual cause but better clean it up anyway.
2016-05-10Efl model: Remove the no longer needed .Base hack.Tom Hacohen
2016-05-03Eio: fixed eio_model_test_monitor_addLarry Jr
fix filename comparison in the test for deleted file
2016-05-03tests: eio: re-enable eio test casesStefan Schmidt
Have been disabled with 0c76f82a. They pass here so re-enabling.
2016-05-03tests: eio: use the correct eina_promise_* functionsStefan Schmidt
When these changes got it with 0c76f82a31b1ad06a4da4c12f1a02139e0d0c6fa they used the non existing symbols ecore_promise_value_get and ecore_promise_then (most likely due to an unfinished refactoring) Make sure we actually use the correct eina_promise_ symbols and add NULL for the error callback which is now needed.
2016-04-29eio: Fix unused variable warnings in testFelipe Magno de Almeida
Use of EINA_UNUSED in unused parameters
2016-04-29Efl, Eio, Eldbus, Elementary: new model API use eina_promiseLarry Jr
Efl - efl_model_base changed to use eina_promise Eio - eio_model use efl_model_base with promise Eldbus - elddbus models use promise now Elementary - elm_view_list and elm_view_form use new models with promise updated all related examples and tests
2016-04-12Eo event: rename Eo_Event->event_info to Eo_Event->info.Tom Hacohen
The previous naming was redundant and too long.
2016-03-15Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
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.
2016-02-29Eo callbacks: Migrate all of the EFL to the new event cb signatures.Tom Hacohen
2016-02-16Test rework #12: EioVincent Torri
2015-12-05efl: add binary mode to open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03Eio: Fixes T2831, eio xattr tests failingVivek Ellur
Summary: @Fix The eio_file_xattr test was failing in jenkins, so added a new callback and moved the check condition to callback. The condition is checked only when it is successfully executed Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric, stefan_schmidt Subscribers: jpeg, cedric Maniphest Tasks: T2831 Differential Revision: https://phab.enlightenment.org/D3400
2015-10-15Tests: use eina_environment_tmp_get()Vincent Torri
2015-10-09Eio model test: initialise pointer (clang warning).Tom Hacohen
This is probably not an issue because the function should always return a value, but initialising this variable silence clang's warning and is not harmful anyway.