efl/src/tests/eio
Lauro Moura 7241b7375d eio: Adds Eo-based Eio API
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-25 21:32:03 -03:00
..
eio_model_test_file.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_model_test_monitor_add.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_suite.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_suite.h eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_common.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_common.h eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_file.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_job.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_job_xattr.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_monitor.c Test rework #12: Eio 2016-02-16 12:41:06 +00:00
eio_test_sentry.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00
eio_test_xattr.c eio: Adds Eo-based Eio API 2016-05-25 21:32:03 -03:00