summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commit5025569f77683ad51b29baa064006a84254f98f8 (patch)
tree1791857784866a06dd5dfa5b4e932d1bf9b54103 /src/tests/eio
parent30e52e9413fbd0f108e5ebbd76fcf6b4d08a6760 (diff)
eio: sentry.del -> sentry.remove
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_sentry.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/eio/eio_test_sentry.c b/src/tests/eio/eio_test_sentry.c
index fb07e842f1..98e4863c5a 100644
--- a/src/tests/eio/eio_test_sentry.c
+++ b/src/tests/eio/eio_test_sentry.c
@@ -151,7 +151,7 @@ START_TEST(eio_test_sentry_add_and_remove)
151 151
152 usleep(500000); 152 usleep(500000);
153 153
154 eio_sentry_del(sentry, filename); 154 eio_sentry_remove(sentry, filename);
155 155
156 efl_unref(sentry); 156 efl_unref(sentry);
157 157
@@ -174,12 +174,12 @@ START_TEST(eio_test_sentry_add_remove_add)
174 //monitor directory 174 //monitor directory
175 sentry = efl_add(EIO_SENTRY_CLASS, NULL); 175 sentry = efl_add(EIO_SENTRY_CLASS, NULL);
176 fail_if(!eio_sentry_add(sentry, filename)); 176 fail_if(!eio_sentry_add(sentry, filename));
177 eio_sentry_del(sentry, filename); 177 eio_sentry_remove(sentry, filename);
178 178
179 usleep(500000); 179 usleep(500000);
180 180
181 fail_if(!eio_sentry_add(sentry, filename)); 181 fail_if(!eio_sentry_add(sentry, filename));
182 eio_sentry_del(sentry, filename); 182 eio_sentry_remove(sentry, filename);
183 183
184 efl_unref(sentry); 184 efl_unref(sentry);
185 185
@@ -208,8 +208,8 @@ START_TEST(eio_test_sentry_add_add_remove_remove)
208 fail_if(!eio_sentry_add(sentry, filename1)); 208 fail_if(!eio_sentry_add(sentry, filename1));
209 fail_if(!eio_sentry_add(sentry, filename2)); 209 fail_if(!eio_sentry_add(sentry, filename2));
210 usleep(500000); 210 usleep(500000);
211 eio_sentry_del(sentry, filename1); 211 eio_sentry_remove(sentry, filename1);
212 eio_sentry_del(sentry, filename2); 212 eio_sentry_remove(sentry, filename2);
213 213
214 efl_unref(sentry); 214 efl_unref(sentry);
215 215
@@ -595,7 +595,7 @@ START_TEST(eio_test_sentry_two_monitors_one_removed_one_event)
595 //monitor directory 595 //monitor directory
596 fail_if(!eio_sentry_add(sentry, dirname2)); 596 fail_if(!eio_sentry_add(sentry, dirname2));
597 fail_if(!eio_sentry_add(sentry, dirname)); 597 fail_if(!eio_sentry_add(sentry, dirname));
598 eio_sentry_del(sentry, dirname2); 598 eio_sentry_remove(sentry, dirname2);
599 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)_target_notified_cb, filename); 599 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)_target_notified_cb, filename);
600 600
601 ecore_timer_add(TEST_OPERATION_DELAY, _create_file, filename); 601 ecore_timer_add(TEST_OPERATION_DELAY, _create_file, filename);
@@ -632,7 +632,7 @@ START_TEST(eio_test_sentry_two_monitors_one_removed_no_event)
632 //monitor directory 632 //monitor directory
633 fail_if(!eio_sentry_add(sentry, dirname)); 633 fail_if(!eio_sentry_add(sentry, dirname));
634 fail_if(!eio_sentry_add(sentry, dirname2)); 634 fail_if(!eio_sentry_add(sentry, dirname2));
635 eio_sentry_del(sentry, dirname); 635 eio_sentry_remove(sentry, dirname);
636 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)_unexpected_event_cb, filename); 636 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_CREATED, (Efl_Event_Cb)_unexpected_event_cb, filename);
637 637
638 ecore_timer_add(TEST_OPERATION_DELAY, _create_file, filename); 638 ecore_timer_add(TEST_OPERATION_DELAY, _create_file, filename);
@@ -699,7 +699,7 @@ START_TEST(eio_test_sentry_two_files_in_same_directory_one_removed)
699 //monitor file 699 //monitor file
700 fail_if(!eio_sentry_add(sentry,filename)); 700 fail_if(!eio_sentry_add(sentry,filename));
701 fail_if(!eio_sentry_add(sentry,filename2)); 701 fail_if(!eio_sentry_add(sentry,filename2));
702 eio_sentry_del(sentry, filename); 702 eio_sentry_remove(sentry, filename);
703 703
704 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_MODIFIED, (Efl_Event_Cb)_unexpected_event_cb, filename); 704 efl_event_callback_add(sentry, EIO_SENTRY_EVENT_FILE_MODIFIED, (Efl_Event_Cb)_unexpected_event_cb, filename);
705 705