summaryrefslogtreecommitdiff
path: root/src/tests/eio (follow)
AgeCommit message (Collapse)Author
2015-08-07Fix grammar in error messages.Yomi
Summary: Changes: src/examples/eio/eio_file_copy.c src/tests/eio/eio_test_file.c src/tests/eio/eio_test_xattr.c Reviewers: cedric, thiepha, Hermet Reviewed By: thiepha, Hermet Subscribers: thiepha, cedric Differential Revision: https://phab.enlightenment.org/D2912
2015-05-06eina_xattr: Fixed T2381, eina xattr tests failingvivek
Summary: This fixes the case where the system runs with SELinux enabled and enforced. In this scenario the system does add a selinux attribute to new files which we need to handle during our testing. @Fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric, stefan_schmidt Subscribers: stefan_schmidt, cedric Maniphest Tasks: T2381 Differential Revision: https://phab.enlightenment.org/D2467
2015-04-28eio: fix compilation warnings in eio_test_xattr.c when xattr tests are disabled.vivek
Summary: Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2438 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28eio: add new tests for eio.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2414 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-22eio: add testcases for various eio_xattr types set and get functions.vivek
Summary: Added test cases for eio_file_xattr_string_set, eio_file_xattr_string_get, eio_file_xattr_int_set, eio_file_xattr_int_get, eio_file_xattr_double_get, eio_file_xattr_double set functions Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D2380 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-19eio: forgot to test when xattr tests are disable.Cedric BAIL
2015-04-18eio: this should not be visible outside of this file.Cedric BAIL
2015-04-18eio: add test cases for eio xattr module.vivek
Summary: Added test cases for eio_file_xattr, eio_file_xattr_set and eio_file_xattr_get functions Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2374 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-16eio: add new tests for eio.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2360 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-10eio-model: Fixed crash when files are created in the temporary dirFelipe Magno de Almeida
Fixed a crash when temporary files were created before the tested file, causing a dereference of a NULL pointer.
2015-04-09eio-model: Fix Eio model races in testsFelipe Magno de Almeida
Removed sleep and implemented a deterministic way to test if the test has really finished.
2015-04-05efl: move emodel to be an efl interfaces.Felipe Magno de Almeida
2015-03-18Tests: fix warnings.Daniel Zaoui
@TAsn, I checked the code to be sure nothing is wrong :P
2015-03-17eio: don't restart a monitor on MacOSX when every paths have been removed.pierre lamot
This patch check that when a monitor is removed the FSEvent service, it is not restarted if there is no more paths to monitor. This was generating an error message from FSEvent. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-12eio: add OSX implementation of eio_monitor based on FSEventpierre lamot
this patch adds an implementation of eio_monitor based on FSEvent for OSX. This implentation has some limitations compared to inotify implementation. Folowing events are not detected: - EIO_MONITOR_FILE_CLOSED - EIO_MONITOR_SELF_RENAME - EIO_MONITOR_SELF_DELETED It should be noted that some events that happend before the call to eio_monitor_add can be catched. This is why sleep timers have been added in the test suite. Tests have been added to check uncovered scenarios. some things might still be improved: - self_deleted events for files might be handled by checking the file_name manually - self_deleted events for directories might be handled by setting kFSEventStreamCreateFlagWatchRoot. I've noticed by doing so that a lot more unwanted event are raised Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-12eio: add unit tests for eio file and directory monitoring.plamot
this patch adds units test to check the behavior of eio file and directory monitoring module Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>