summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
committerTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
commitd5e321466e550620e8a1c6df5d5e598787a6a7d9 (patch)
treef749e5112fa486af1668785a63dfd9afbc331183 /src/tests/eio
parentba80f7e5b027eebcfcbcb2b9758c2047383ec9ca (diff)
Efl object: Rename Eo_Event -> Efl_Event.
This is the last step of the Eo renaming efforts.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_model_test_monitor_add.c4
-rw-r--r--src/tests/eio/eio_test_manager.c4
-rw-r--r--src/tests/eio/eio_test_manager_xattr.c2
-rw-r--r--src/tests/eio/eio_test_sentry.c6
4 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/eio/eio_model_test_monitor_add.c b/src/tests/eio/eio_model_test_monitor_add.c
index d0ff492643..0623ee960b 100644
--- a/src/tests/eio/eio_model_test_monitor_add.c
+++ b/src/tests/eio/eio_model_test_monitor_add.c
@@ -22,7 +22,7 @@ struct _pair
22}; 22};
23 23
24static void 24static void
25_children_removed_cb(void *data EINA_UNUSED, const Eo_Event* event) 25_children_removed_cb(void *data EINA_UNUSED, const Efl_Event* event)
26{ 26{
27 fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__); 27 fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__);
28 if(children_deleted) 28 if(children_deleted)
@@ -42,7 +42,7 @@ _children_removed_cb(void *data EINA_UNUSED, const Eo_Event* event)
42} 42}
43 43
44static void 44static void
45_children_added_cb(void *data EINA_UNUSED, const Eo_Event* event) 45_children_added_cb(void *data EINA_UNUSED, const Efl_Event* event)
46{ 46{
47 fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__); 47 fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__);
48 Efl_Model_Children_Event* evt = event->info; 48 Efl_Model_Children_Event* evt = event->info;
diff --git a/src/tests/eio/eio_test_manager.c b/src/tests/eio/eio_test_manager.c
index c1ac397c8a..cdf0644663 100644
--- a/src/tests/eio/eio_test_manager.c
+++ b/src/tests/eio/eio_test_manager.c
@@ -18,7 +18,7 @@ static int test_count = 0;
18static int DONE_CALLED = 0xdeadbeef; 18static int DONE_CALLED = 0xdeadbeef;
19 19
20static void 20static void
21_filter_direct_cb(void *data EINA_UNUSED, const Eo_Event *event) 21_filter_direct_cb(void *data EINA_UNUSED, const Efl_Event *event)
22{ 22{
23 Eio_Filter_Direct_Data *event_info = event->info; 23 Eio_Filter_Direct_Data *event_info = event->info;
24 char *last_slash = strrchr(event_info->info->path, '/'); 24 char *last_slash = strrchr(event_info->info->path, '/');
@@ -40,7 +40,7 @@ _main_direct_cb(void *data, const Eina_File_Direct_Info *info)
40} 40}
41 41
42static void 42static void
43_filter_cb(void *data EINA_UNUSED, const Eo_Event *event) 43_filter_cb(void *data EINA_UNUSED, const Efl_Event *event)
44{ 44{
45 Eio_Filter_Name_Data *event_info = event->info; 45 Eio_Filter_Name_Data *event_info = event->info;
46 char *last_slash = strrchr(event_info->file, '/'); 46 char *last_slash = strrchr(event_info->file, '/');
diff --git a/src/tests/eio/eio_test_manager_xattr.c b/src/tests/eio/eio_test_manager_xattr.c
index 3733589a3d..acee0b4707 100644
--- a/src/tests/eio/eio_test_manager_xattr.c
+++ b/src/tests/eio/eio_test_manager_xattr.c
@@ -36,7 +36,7 @@ static const char *attr_data[] =
36int total_attributes = sizeof(attribute)/sizeof(attribute[0]); 36int total_attributes = sizeof(attribute)/sizeof(attribute[0]);
37 37
38static void 38static void
39_filter_cb(void *data EINA_UNUSED, const Eo_Event *event) 39_filter_cb(void *data EINA_UNUSED, const Efl_Event *event)
40{ 40{
41 Eio_Filter_Name_Data *event_info = event->info; 41 Eio_Filter_Name_Data *event_info = event->info;
42 42
diff --git a/src/tests/eio/eio_test_sentry.c b/src/tests/eio/eio_test_sentry.c
index 902d6532bb..fb07e842f1 100644
--- a/src/tests/eio/eio_test_sentry.c
+++ b/src/tests/eio/eio_test_sentry.c
@@ -104,7 +104,7 @@ static Eina_Bool _modify_attrib_file(void *data)
104 104
105/////// helper functions 105/////// helper functions
106 106
107static void _check_event_path(void *data, const Eo_Event *event) 107static void _check_event_path(void *data, const Efl_Event *event)
108{ 108{
109 Eio_Sentry_Event *event_info = event->info; 109 Eio_Sentry_Event *event_info = event->info;
110 ck_assert_str_eq((const char*)data, event_info->trigger); 110 ck_assert_str_eq((const char*)data, event_info->trigger);
@@ -217,7 +217,7 @@ START_TEST(eio_test_sentry_add_add_remove_remove)
217} 217}
218END_TEST 218END_TEST
219 219
220static void _target_notified_cb(void *data, const Eo_Event *event) 220static void _target_notified_cb(void *data, const Efl_Event *event)
221{ 221{
222 _check_event_path(data, event); 222 _check_event_path(data, event);
223 _cancel_timeout(); 223 _cancel_timeout();
@@ -609,7 +609,7 @@ START_TEST(eio_test_sentry_two_monitors_one_removed_one_event)
609} 609}
610END_TEST 610END_TEST
611 611
612static void _unexpected_event_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED) 612static void _unexpected_event_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
613{ 613{
614 ck_abort_msg("unexpected event"); 614 ck_abort_msg("unexpected event");
615} 615}