summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-20 14:37:49 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-07-20 14:37:49 +0300
commitfdc78443618fa5517bb5a3f5531108db81cd09f6 (patch)
tree00dc23de4f69bfca712018ab48f8029d4c11af37
parent5ab22158ab60a22b141d126fd425d6a37ade9367 (diff)
Adapt code to Eolian API changes
-rw-r--r--src/tests/eaper_suite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eaper_suite.c b/src/tests/eaper_suite.c
index f2ccca2..4223b2b 100644
--- a/src/tests/eaper_suite.c
+++ b/src/tests/eaper_suite.c
@@ -98,12 +98,12 @@ START_TEST(eaper_basic)
98 98
99 fail_if(!(itr = ea_object_functions_get(ea_obj))); 99 fail_if(!(itr = ea_object_functions_get(ea_obj)));
100 fail_if(!(eina_iterator_next(itr, (void**)&ea_func))); 100 fail_if(!(eina_iterator_next(itr, (void**)&ea_func)));
101 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func)), "elm_obj_win_title")); 101 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func), EOLIAN_PROP_SET, EINA_FALSE), "elm_obj_win_title_set"));
102 fail_if(!(ea_par = ea_function_parameter_nth_get(ea_func, 0))); 102 fail_if(!(ea_par = ea_function_parameter_nth_get(ea_func, 0)));
103 fail_if(strcmp(ea_parameter_value_get_as_string(ea_par), "elm_win1")); 103 fail_if(strcmp(ea_parameter_value_get_as_string(ea_par), "elm_win1"));
104 104
105 fail_if(!(eina_iterator_next(itr, (void**)&ea_func))); 105 fail_if(!(eina_iterator_next(itr, (void**)&ea_func)));
106 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func)), "efl_gfx_visible")); 106 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func), EOLIAN_PROP_SET, EINA_FALSE), "efl_gfx_visible_set"));
107 fail_if(!(ea_par = ea_function_parameter_nth_get(ea_func, 0))); 107 fail_if(!(ea_par = ea_function_parameter_nth_get(ea_func, 0)));
108 fail_if(ea_parameter_value_get_as_bool(ea_par) != EINA_TRUE); 108 fail_if(ea_parameter_value_get_as_bool(ea_par) != EINA_TRUE);
109 109
@@ -149,7 +149,7 @@ START_TEST(eaper_callbacks)
149 fail_if(ea_action_type_get(ea) != EA_ACTION_MODIFY); 149 fail_if(ea_action_type_get(ea) != EA_ACTION_MODIFY);
150 fail_if(!ea_action_modification_info_get(ea, &ea_obj, &ea_func)); 150 fail_if(!ea_action_modification_info_get(ea, &ea_obj, &ea_func));
151 fail_if(ea_obj != ea_object_find_by_name(session, "elm_button1")); 151 fail_if(ea_obj != ea_object_find_by_name(session, "elm_button1"));
152 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func)), "efl_gfx_color")); 152 fail_if(strcmp(eolian_function_full_c_name_get(ea_function_func_get(ea_func), EOLIAN_PROP_SET, EINA_FALSE), "efl_gfx_color_set"));
153 153
154 const char *user_func; 154 const char *user_func;
155 fail_if(!(eina_iterator_next(itr, (void**)&ea))); 155 fail_if(!(eina_iterator_next(itr, (void**)&ea)));