summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-05 10:42:46 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-05 10:42:46 +0300
commit9816740263692131db84f5f5b8f15d30f927050c (patch)
tree9596da5aabd244d568bfbaf0fb5da772eb3c222d
parent3dbda7b0eb529b6a8b48358380d57a20a6fd752e (diff)
Add functions overriding feature
-rw-r--r--src/bin/simple_callers.c2947
-rw-r--r--src/bin/simple_calls_check.c27
-rw-r--r--src/bin/simple_calls_gen.c3
3 files changed, 1987 insertions, 990 deletions
diff --git a/src/bin/simple_callers.c b/src/bin/simple_callers.c
index 8ce78c0..9d9ddb1 100644
--- a/src/bin/simple_callers.c
+++ b/src/bin/simple_callers.c
@@ -30,6 +30,8 @@ TEST_OBJ_ELM_LIST_CTOR
30 horizontal = elm_obj_list_horizontal_get(obj); 30 horizontal = elm_obj_list_horizontal_get(obj);
31 FAIL_IF(elm_obj_list_horizontal, (horizontal != EINA_FALSE)); 31 FAIL_IF(elm_obj_list_horizontal, (horizontal != EINA_FALSE));
32 } 32 }
33#else
34TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_OVERRIDE
33#endif 35#endif
34 36
35#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE 37#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE
@@ -43,6 +45,8 @@ TEST_OBJ_ELM_LIST_CTOR
43 mode = elm_obj_list_select_mode_get(obj); 45 mode = elm_obj_list_select_mode_get(obj);
44 FAIL_IF(elm_obj_list_select_mode, (mode != ELM_OBJECT_SELECT_MODE_ALWAYS)); 46 FAIL_IF(elm_obj_list_select_mode, (mode != ELM_OBJECT_SELECT_MODE_ALWAYS));
45 } 47 }
48#else
49TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_OVERRIDE
46#endif 50#endif
47 51
48#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION 52#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION
@@ -56,6 +60,8 @@ TEST_OBJ_ELM_LIST_CTOR
56 enabled = elm_obj_list_focus_on_selection_get(obj); 60 enabled = elm_obj_list_focus_on_selection_get(obj);
57 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != EINA_FALSE)); 61 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != EINA_FALSE));
58 } 62 }
63#else
64TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_OVERRIDE
59#endif 65#endif
60 66
61#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT 67#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT
@@ -69,6 +75,8 @@ TEST_OBJ_ELM_LIST_CTOR
69 multi = elm_obj_list_multi_select_get(obj); 75 multi = elm_obj_list_multi_select_get(obj);
70 FAIL_IF(elm_obj_list_multi_select, (multi != EINA_FALSE)); 76 FAIL_IF(elm_obj_list_multi_select, (multi != EINA_FALSE));
71 } 77 }
78#else
79TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_OVERRIDE
72#endif 80#endif
73 81
74#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE 82#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE
@@ -82,6 +90,8 @@ TEST_OBJ_ELM_LIST_CTOR
82 mode = elm_obj_list_multi_select_mode_get(obj); 90 mode = elm_obj_list_multi_select_mode_get(obj);
83 FAIL_IF(elm_obj_list_multi_select_mode, (mode != ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL)); 91 FAIL_IF(elm_obj_list_multi_select_mode, (mode != ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL));
84 } 92 }
93#else
94TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_OVERRIDE
85#endif 95#endif
86 96
87#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE 97#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE
@@ -95,6 +105,8 @@ TEST_OBJ_ELM_LIST_CTOR
95 mode = elm_obj_list_mode_get(obj); 105 mode = elm_obj_list_mode_get(obj);
96 FAIL_IF(elm_obj_list_mode, (mode != ELM_LIST_SCROLL)); 106 FAIL_IF(elm_obj_list_mode, (mode != ELM_LIST_SCROLL));
97 } 107 }
108#else
109TEST_FUNC_ELM_OBJ_LIST_MODE_OVERRIDE
98#endif 110#endif
99 111
100#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS 112#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS
@@ -108,6 +120,8 @@ TEST_OBJ_ELM_LIST_CTOR
108 can_access = elm_obj_layout_edje_object_can_access_get(obj); 120 can_access = elm_obj_layout_edje_object_can_access_get(obj);
109 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != EINA_FALSE)); 121 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != EINA_FALSE));
110 } 122 }
123#else
124TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_OVERRIDE
111#endif 125#endif
112 126
113#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT 127#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT
@@ -121,6 +135,8 @@ TEST_OBJ_ELM_LIST_CTOR
121 text = elm_obj_layout_text_get(obj, "toto"); 135 text = elm_obj_layout_text_get(obj, "toto");
122 FAIL_IF(elm_obj_layout_text, (!text || strcmp(text, "toto"))); 136 FAIL_IF(elm_obj_layout_text, (!text || strcmp(text, "toto")));
123 } 137 }
138#else
139TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_OVERRIDE
124#endif 140#endif
125 141
126#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY 142#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY
@@ -135,6 +151,8 @@ TEST_OBJ_ELM_LIST_CTOR
135 elm_interface_scrollable_gravity_get(obj, &x, &y); 151 elm_interface_scrollable_gravity_get(obj, &x, &y);
136 FAIL_IF(elm_interface_scrollable_gravity, (x != 1.0) || (y != 1.0)); 152 FAIL_IF(elm_interface_scrollable_gravity, (x != 1.0) || (y != 1.0));
137 } 153 }
154#else
155TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_OVERRIDE
138#endif 156#endif
139 157
140#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW 158#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW
@@ -149,6 +167,8 @@ TEST_OBJ_ELM_LIST_CTOR
149 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert); 167 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert);
150 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != EINA_FALSE) || (vert != EINA_FALSE)); 168 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != EINA_FALSE) || (vert != EINA_FALSE));
151 } 169 }
170#else
171TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_OVERRIDE
152#endif 172#endif
153 173
154#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED 174#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED
@@ -162,6 +182,8 @@ TEST_OBJ_ELM_LIST_CTOR
162 disabled = elm_interface_scrollable_wheel_disabled_get(obj); 182 disabled = elm_interface_scrollable_wheel_disabled_get(obj);
163 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != EINA_FALSE)); 183 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != EINA_FALSE));
164 } 184 }
185#else
186TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_OVERRIDE
165#endif 187#endif
166 188
167#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK 189#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK
@@ -175,6 +197,8 @@ TEST_OBJ_ELM_LIST_CTOR
175 block = elm_interface_scrollable_movement_block_get(obj); 197 block = elm_interface_scrollable_movement_block_get(obj);
176 FAIL_IF(elm_interface_scrollable_movement_block, (block != ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL)); 198 FAIL_IF(elm_interface_scrollable_movement_block, (block != ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL));
177 } 199 }
200#else
201TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_OVERRIDE
178#endif 202#endif
179 203
180#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED 204#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED
@@ -188,6 +212,8 @@ TEST_OBJ_ELM_LIST_CTOR
188 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj); 212 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj);
189 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != EINA_FALSE)); 213 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != EINA_FALSE));
190 } 214 }
215#else
216TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_OVERRIDE
191#endif 217#endif
192 218
193#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY 219#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY
@@ -202,6 +228,8 @@ TEST_OBJ_ELM_LIST_CTOR
202 elm_interface_scrollable_policy_get(obj, &hbar, &vbar); 228 elm_interface_scrollable_policy_get(obj, &hbar, &vbar);
203 FAIL_IF(elm_interface_scrollable_policy, (hbar != ELM_SCROLLER_POLICY_ON) || (vbar != ELM_SCROLLER_POLICY_ON)); 229 FAIL_IF(elm_interface_scrollable_policy, (hbar != ELM_SCROLLER_POLICY_ON) || (vbar != ELM_SCROLLER_POLICY_ON));
204 } 230 }
231#else
232TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_OVERRIDE
205#endif 233#endif
206 234
207#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION 235#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION
@@ -218,6 +246,8 @@ TEST_OBJ_ELM_LIST_CTOR
218 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h); 246 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
219 FAIL_IF(elm_interface_scrollable_content_region, (x != 100) || (y != 100) || (w != 100) || (h != 100)); 247 FAIL_IF(elm_interface_scrollable_content_region, (x != 100) || (y != 100) || (w != 100) || (h != 100));
220 } 248 }
249#else
250TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_OVERRIDE
221#endif 251#endif
222 252
223#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS 253#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS
@@ -231,6 +261,8 @@ TEST_OBJ_ELM_LIST_CTOR
231 repeat_events = elm_interface_scrollable_repeat_events_get(obj); 261 repeat_events = elm_interface_scrollable_repeat_events_get(obj);
232 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != EINA_FALSE)); 262 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != EINA_FALSE));
233 } 263 }
264#else
265TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_OVERRIDE
234#endif 266#endif
235 267
236#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE 268#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE
@@ -245,6 +277,8 @@ TEST_OBJ_ELM_LIST_CTOR
245 elm_interface_scrollable_page_size_get(obj, &x, &y); 277 elm_interface_scrollable_page_size_get(obj, &x, &y);
246 FAIL_IF(elm_interface_scrollable_page_size, (x != 100) || (y != 100)); 278 FAIL_IF(elm_interface_scrollable_page_size, (x != 100) || (y != 100));
247 } 279 }
280#else
281TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_OVERRIDE
248#endif 282#endif
249 283
250#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED 284#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED
@@ -258,6 +292,8 @@ TEST_OBJ_ELM_LIST_CTOR
258 disabled = elm_interface_scrollable_bounce_animator_disabled_get(obj); 292 disabled = elm_interface_scrollable_bounce_animator_disabled_get(obj);
259 FAIL_IF(elm_interface_scrollable_bounce_animator_disabled, (disabled != EINA_FALSE)); 293 FAIL_IF(elm_interface_scrollable_bounce_animator_disabled, (disabled != EINA_FALSE));
260 } 294 }
295#else
296TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_OVERRIDE
261#endif 297#endif
262 298
263#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT 299#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT
@@ -272,6 +308,8 @@ TEST_OBJ_ELM_LIST_CTOR
272 elm_interface_scrollable_page_scroll_limit_get(obj, &page_limit_h, &page_limit_v); 308 elm_interface_scrollable_page_scroll_limit_get(obj, &page_limit_h, &page_limit_v);
273 FAIL_IF(elm_interface_scrollable_page_scroll_limit, (page_limit_h != 100) || (page_limit_v != 100)); 309 FAIL_IF(elm_interface_scrollable_page_scroll_limit, (page_limit_h != 100) || (page_limit_v != 100));
274 } 310 }
311#else
312TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_OVERRIDE
275#endif 313#endif
276 314
277#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW 315#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW
@@ -286,6 +324,8 @@ TEST_OBJ_ELM_LIST_CTOR
286 elm_interface_scrollable_page_snap_allow_get(obj, &horiz, &vert); 324 elm_interface_scrollable_page_snap_allow_get(obj, &horiz, &vert);
287 FAIL_IF(elm_interface_scrollable_page_snap_allow, (horiz != EINA_FALSE) || (vert != EINA_FALSE)); 325 FAIL_IF(elm_interface_scrollable_page_snap_allow, (horiz != EINA_FALSE) || (vert != EINA_FALSE));
288 } 326 }
327#else
328TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_OVERRIDE
289#endif 329#endif
290 330
291#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING 331#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING
@@ -302,6 +342,8 @@ TEST_OBJ_ELM_LIST_CTOR
302 elm_interface_scrollable_paging_get(obj, &pagerel_h, &pagerel_v, &pagesize_h, &pagesize_v); 342 elm_interface_scrollable_paging_get(obj, &pagerel_h, &pagerel_v, &pagesize_h, &pagesize_v);
303 FAIL_IF(elm_interface_scrollable_paging, (pagerel_h != 1.0) || (pagerel_v != 1.0) || (pagesize_h != 100) || (pagesize_v != 100)); 343 FAIL_IF(elm_interface_scrollable_paging, (pagerel_h != 1.0) || (pagerel_v != 1.0) || (pagesize_h != 100) || (pagesize_v != 100));
304 } 344 }
345#else
346TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_OVERRIDE
305#endif 347#endif
306 348
307#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION 349#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION
@@ -315,6 +357,8 @@ TEST_OBJ_ELM_LIST_CTOR
315 single_dir = elm_interface_scrollable_single_direction_get(obj); 357 single_dir = elm_interface_scrollable_single_direction_get(obj);
316 FAIL_IF(elm_interface_scrollable_single_direction, (single_dir != ELM_SCROLLER_SINGLE_DIRECTION_SOFT)); 358 FAIL_IF(elm_interface_scrollable_single_direction, (single_dir != ELM_SCROLLER_SINGLE_DIRECTION_SOFT));
317 } 359 }
360#else
361TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_OVERRIDE
318#endif 362#endif
319 363
320#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE 364#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE
@@ -329,6 +373,8 @@ TEST_OBJ_ELM_LIST_CTOR
329 elm_interface_scrollable_step_size_get(obj, &x, &y); 373 elm_interface_scrollable_step_size_get(obj, &x, &y);
330 FAIL_IF(elm_interface_scrollable_step_size, (x != 100) || (y != 100)); 374 FAIL_IF(elm_interface_scrollable_step_size, (x != 100) || (y != 100));
331 } 375 }
376#else
377TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_OVERRIDE
332#endif 378#endif
333 379
334#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP 380#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP
@@ -343,6 +389,8 @@ TEST_OBJ_ELM_LIST_CTOR
343 elm_interface_scrollable_loop_get(obj, &loop_h, &loop_v); 389 elm_interface_scrollable_loop_get(obj, &loop_h, &loop_v);
344 FAIL_IF(elm_interface_scrollable_loop, (loop_h != EINA_FALSE) || (loop_v != EINA_FALSE)); 390 FAIL_IF(elm_interface_scrollable_loop, (loop_h != EINA_FALSE) || (loop_v != EINA_FALSE));
345 } 391 }
392#else
393TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_OVERRIDE
346#endif 394#endif
347 395
348#ifndef TEST_FUNC_EFL_FILE 396#ifndef TEST_FUNC_EFL_FILE
@@ -357,6 +405,8 @@ TEST_OBJ_ELM_LIST_CTOR
357 efl_file_get(obj, &file, &key); 405 efl_file_get(obj, &file, &key);
358 FAIL_IF(efl_file, (!file || strcmp(file, "toto")) || (!key || strcmp(key, "toto"))); 406 FAIL_IF(efl_file, (!file || strcmp(file, "toto")) || (!key || strcmp(key, "toto")));
359 } 407 }
408#else
409TEST_FUNC_EFL_FILE_OVERRIDE
360#endif 410#endif
361 411
362#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE 412#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
@@ -370,6 +420,8 @@ TEST_OBJ_ELM_LIST_CTOR
370 value = evas_obj_smart_need_recalculate_get(obj); 420 value = evas_obj_smart_need_recalculate_get(obj);
371 FAIL_IF(evas_obj_smart_need_recalculate, (value != EINA_FALSE)); 421 FAIL_IF(evas_obj_smart_need_recalculate, (value != EINA_FALSE));
372 } 422 }
423#else
424TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_OVERRIDE
373#endif 425#endif
374 426
375#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION 427#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
@@ -383,6 +435,8 @@ TEST_OBJ_ELM_LIST_CTOR
383 description = elm_interface_atspi_action_description_get(obj, 100); 435 description = elm_interface_atspi_action_description_get(obj, 100);
384 FAIL_IF(elm_interface_atspi_action_description, (!description || strcmp(description, "toto"))); 436 FAIL_IF(elm_interface_atspi_action_description, (!description || strcmp(description, "toto")));
385 } 437 }
438#else
439TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_OVERRIDE
386#endif 440#endif
387 441
388#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS 442#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS
@@ -396,6 +450,8 @@ TEST_OBJ_ELM_LIST_CTOR
396 focus = elm_obj_widget_focus_get(obj); 450 focus = elm_obj_widget_focus_get(obj);
397 FAIL_IF(elm_obj_widget_focus, (focus != EINA_FALSE)); 451 FAIL_IF(elm_obj_widget_focus, (focus != EINA_FALSE));
398 } 452 }
453#else
454TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_OVERRIDE
399#endif 455#endif
400 456
401#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_Y 457#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_Y
@@ -409,6 +465,8 @@ TEST_OBJ_ELM_LIST_CTOR
409 lock = elm_obj_widget_drag_lock_y_get(obj); 465 lock = elm_obj_widget_drag_lock_y_get(obj);
410 FAIL_IF(elm_obj_widget_drag_lock_y, (lock != EINA_FALSE)); 466 FAIL_IF(elm_obj_widget_drag_lock_y, (lock != EINA_FALSE));
411 } 467 }
468#else
469TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_Y_OVERRIDE
412#endif 470#endif
413 471
414#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_HIGHLIGHT_STYLE 472#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_HIGHLIGHT_STYLE
@@ -422,6 +480,8 @@ TEST_OBJ_ELM_LIST_CTOR
422 style = elm_obj_widget_focus_highlight_style_get(obj); 480 style = elm_obj_widget_focus_highlight_style_get(obj);
423 FAIL_IF(elm_obj_widget_focus_highlight_style, (!style || strcmp(style, "toto"))); 481 FAIL_IF(elm_obj_widget_focus_highlight_style, (!style || strcmp(style, "toto")));
424 } 482 }
483#else
484TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_HIGHLIGHT_STYLE_OVERRIDE
425#endif 485#endif
426 486
427#ifndef TEST_FUNC_ELM_OBJ_WIDGET_TREE_UNFOCUSABLE 487#ifndef TEST_FUNC_ELM_OBJ_WIDGET_TREE_UNFOCUSABLE
@@ -435,6 +495,8 @@ TEST_OBJ_ELM_LIST_CTOR
435 tree_unfocusable = elm_obj_widget_tree_unfocusable_get(obj); 495 tree_unfocusable = elm_obj_widget_tree_unfocusable_get(obj);
436 FAIL_IF(elm_obj_widget_tree_unfocusable, (tree_unfocusable != EINA_FALSE)); 496 FAIL_IF(elm_obj_widget_tree_unfocusable, (tree_unfocusable != EINA_FALSE));
437 } 497 }
498#else
499TEST_FUNC_ELM_OBJ_WIDGET_TREE_UNFOCUSABLE_OVERRIDE
438#endif 500#endif
439 501
440#ifndef TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED 502#ifndef TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED
@@ -448,6 +510,8 @@ TEST_OBJ_ELM_LIST_CTOR
448 mirrored = elm_obj_widget_mirrored_get(obj); 510 mirrored = elm_obj_widget_mirrored_get(obj);
449 FAIL_IF(elm_obj_widget_mirrored, (mirrored != EINA_FALSE)); 511 FAIL_IF(elm_obj_widget_mirrored, (mirrored != EINA_FALSE));
450 } 512 }
513#else
514TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED_OVERRIDE
451#endif 515#endif
452 516
453#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DISABLED 517#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DISABLED
@@ -461,6 +525,8 @@ TEST_OBJ_ELM_LIST_CTOR
461 disabled = elm_obj_widget_disabled_get(obj); 525 disabled = elm_obj_widget_disabled_get(obj);
462 FAIL_IF(elm_obj_widget_disabled, (disabled != EINA_FALSE)); 526 FAIL_IF(elm_obj_widget_disabled, (disabled != EINA_FALSE));
463 } 527 }
528#else
529TEST_FUNC_ELM_OBJ_WIDGET_DISABLED_OVERRIDE
464#endif 530#endif
465 531
466#ifndef TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IGNORE 532#ifndef TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IGNORE
@@ -474,6 +540,8 @@ TEST_OBJ_ELM_LIST_CTOR
474 ignore = elm_obj_widget_highlight_ignore_get(obj); 540 ignore = elm_obj_widget_highlight_ignore_get(obj);
475 FAIL_IF(elm_obj_widget_highlight_ignore, (ignore != EINA_FALSE)); 541 FAIL_IF(elm_obj_widget_highlight_ignore, (ignore != EINA_FALSE));
476 } 542 }
543#else
544TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IGNORE_OVERRIDE
477#endif 545#endif
478 546
479#ifndef TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED_AUTOMATIC 547#ifndef TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED_AUTOMATIC
@@ -487,6 +555,8 @@ TEST_OBJ_ELM_LIST_CTOR
487 automatic = elm_obj_widget_mirrored_automatic_get(obj); 555 automatic = elm_obj_widget_mirrored_automatic_get(obj);
488 FAIL_IF(elm_obj_widget_mirrored_automatic, (automatic != EINA_FALSE)); 556 FAIL_IF(elm_obj_widget_mirrored_automatic, (automatic != EINA_FALSE));
489 } 557 }
558#else
559TEST_FUNC_ELM_OBJ_WIDGET_MIRRORED_AUTOMATIC_OVERRIDE
490#endif 560#endif
491 561
492#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ORIENTATION_MODE_DISABLED 562#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ORIENTATION_MODE_DISABLED
@@ -500,6 +570,8 @@ TEST_OBJ_ELM_LIST_CTOR
500 disabled = elm_obj_widget_orientation_mode_disabled_get(obj); 570 disabled = elm_obj_widget_orientation_mode_disabled_get(obj);
501 FAIL_IF(elm_obj_widget_orientation_mode_disabled, (disabled != EINA_FALSE)); 571 FAIL_IF(elm_obj_widget_orientation_mode_disabled, (disabled != EINA_FALSE));
502 } 572 }
573#else
574TEST_FUNC_ELM_OBJ_WIDGET_ORIENTATION_MODE_DISABLED_OVERRIDE
503#endif 575#endif
504 576
505#ifndef TEST_FUNC_ELM_OBJ_WIDGET_STYLE 577#ifndef TEST_FUNC_ELM_OBJ_WIDGET_STYLE
@@ -513,6 +585,8 @@ TEST_OBJ_ELM_LIST_CTOR
513 style = elm_obj_widget_style_get(obj); 585 style = elm_obj_widget_style_get(obj);
514 FAIL_IF(elm_obj_widget_style, (!style || strcmp(style, "toto"))); 586 FAIL_IF(elm_obj_widget_style, (!style || strcmp(style, "toto")));
515 } 587 }
588#else
589TEST_FUNC_ELM_OBJ_WIDGET_STYLE_OVERRIDE
516#endif 590#endif
517 591
518#ifndef TEST_FUNC_ELM_OBJ_WIDGET_SCALE 592#ifndef TEST_FUNC_ELM_OBJ_WIDGET_SCALE
@@ -526,6 +600,8 @@ TEST_OBJ_ELM_LIST_CTOR
526 scale = elm_obj_widget_scale_get(obj); 600 scale = elm_obj_widget_scale_get(obj);
527 FAIL_IF(elm_obj_widget_scale, (scale != 1.0)); 601 FAIL_IF(elm_obj_widget_scale, (scale != 1.0));
528 } 602 }
603#else
604TEST_FUNC_ELM_OBJ_WIDGET_SCALE_OVERRIDE
529#endif 605#endif
530 606
531#ifndef TEST_FUNC_ELM_OBJ_WIDGET_CAN_FOCUS 607#ifndef TEST_FUNC_ELM_OBJ_WIDGET_CAN_FOCUS
@@ -539,6 +615,8 @@ TEST_OBJ_ELM_LIST_CTOR
539 can_focus = elm_obj_widget_can_focus_get(obj); 615 can_focus = elm_obj_widget_can_focus_get(obj);
540 FAIL_IF(elm_obj_widget_can_focus, (can_focus != EINA_FALSE)); 616 FAIL_IF(elm_obj_widget_can_focus, (can_focus != EINA_FALSE));
541 } 617 }
618#else
619TEST_FUNC_ELM_OBJ_WIDGET_CAN_FOCUS_OVERRIDE
542#endif 620#endif
543 621
544#ifndef TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IN_THEME 622#ifndef TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IN_THEME
@@ -552,6 +630,8 @@ TEST_OBJ_ELM_LIST_CTOR
552 highlight = elm_obj_widget_highlight_in_theme_get(obj); 630 highlight = elm_obj_widget_highlight_in_theme_get(obj);
553 FAIL_IF(elm_obj_widget_highlight_in_theme, (highlight != EINA_FALSE)); 631 FAIL_IF(elm_obj_widget_highlight_in_theme, (highlight != EINA_FALSE));
554 } 632 }
633#else
634TEST_FUNC_ELM_OBJ_WIDGET_HIGHLIGHT_IN_THEME_OVERRIDE
555#endif 635#endif
556 636
557#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_INFO 637#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_INFO
@@ -565,6 +645,8 @@ TEST_OBJ_ELM_LIST_CTOR
565 txt = elm_obj_widget_access_info_get(obj); 645 txt = elm_obj_widget_access_info_get(obj);
566 FAIL_IF(elm_obj_widget_access_info, (!txt || strcmp(txt, "toto"))); 646 FAIL_IF(elm_obj_widget_access_info, (!txt || strcmp(txt, "toto")));
567 } 647 }
648#else
649TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_INFO_OVERRIDE
568#endif 650#endif
569 651
570#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_X 652#ifndef TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_X
@@ -578,6 +660,8 @@ TEST_OBJ_ELM_LIST_CTOR
578 lock = elm_obj_widget_drag_lock_x_get(obj); 660 lock = elm_obj_widget_drag_lock_x_get(obj);
579 FAIL_IF(elm_obj_widget_drag_lock_x, (lock != EINA_FALSE)); 661 FAIL_IF(elm_obj_widget_drag_lock_x, (lock != EINA_FALSE));
580 } 662 }
663#else
664TEST_FUNC_ELM_OBJ_WIDGET_DRAG_LOCK_X_OVERRIDE
581#endif 665#endif
582 666
583#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_HIGHLIGHT_IN_THEME 667#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_HIGHLIGHT_IN_THEME
@@ -591,6 +675,8 @@ TEST_OBJ_ELM_LIST_CTOR
591 highlight = elm_obj_widget_access_highlight_in_theme_get(obj); 675 highlight = elm_obj_widget_access_highlight_in_theme_get(obj);
592 FAIL_IF(elm_obj_widget_access_highlight_in_theme, (highlight != EINA_FALSE)); 676 FAIL_IF(elm_obj_widget_access_highlight_in_theme, (highlight != EINA_FALSE));
593 } 677 }
678#else
679TEST_FUNC_ELM_OBJ_WIDGET_ACCESS_HIGHLIGHT_IN_THEME_OVERRIDE
594#endif 680#endif
595 681
596#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_REGION_SHOW_MODE 682#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_REGION_SHOW_MODE
@@ -604,6 +690,8 @@ TEST_OBJ_ELM_LIST_CTOR
604 mode = elm_obj_widget_focus_region_show_mode_get(obj); 690 mode = elm_obj_widget_focus_region_show_mode_get(obj);
605 FAIL_IF(elm_obj_widget_focus_region_show_mode, (mode != ELM_FOCUS_REGION_SHOW_ITEM)); 691 FAIL_IF(elm_obj_widget_focus_region_show_mode, (mode != ELM_FOCUS_REGION_SHOW_ITEM));
606 } 692 }
693#else
694TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_REGION_SHOW_MODE_OVERRIDE
607#endif 695#endif
608 696
609#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ITEM_LOOP_ENABLED 697#ifndef TEST_FUNC_ELM_OBJ_WIDGET_ITEM_LOOP_ENABLED
@@ -617,6 +705,8 @@ TEST_OBJ_ELM_LIST_CTOR
617 enable = elm_obj_widget_item_loop_enabled_get(obj); 705 enable = elm_obj_widget_item_loop_enabled_get(obj);
618 FAIL_IF(elm_obj_widget_item_loop_enabled, (enable != EINA_FALSE)); 706 FAIL_IF(elm_obj_widget_item_loop_enabled, (enable != EINA_FALSE));
619 } 707 }
708#else
709TEST_FUNC_ELM_OBJ_WIDGET_ITEM_LOOP_ENABLED_OVERRIDE
620#endif 710#endif
621 711
622#ifndef TEST_FUNC_ELM_OBJ_WIDGET_PART_TEXT 712#ifndef TEST_FUNC_ELM_OBJ_WIDGET_PART_TEXT
@@ -630,6 +720,8 @@ TEST_OBJ_ELM_LIST_CTOR
630 label = elm_obj_widget_part_text_get(obj, "toto"); 720 label = elm_obj_widget_part_text_get(obj, "toto");
631 FAIL_IF(elm_obj_widget_part_text, (!label || strcmp(label, "toto"))); 721 FAIL_IF(elm_obj_widget_part_text, (!label || strcmp(label, "toto")));
632 } 722 }
723#else
724TEST_FUNC_ELM_OBJ_WIDGET_PART_TEXT_OVERRIDE
633#endif 725#endif
634 726
635#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY 727#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY
@@ -643,6 +735,8 @@ TEST_OBJ_ELM_LIST_CTOR
643 policy = elm_obj_widget_focus_move_policy_get(obj); 735 policy = elm_obj_widget_focus_move_policy_get(obj);
644 FAIL_IF(elm_obj_widget_focus_move_policy, (policy != ELM_FOCUS_MOVE_POLICY_IN)); 736 FAIL_IF(elm_obj_widget_focus_move_policy, (policy != ELM_FOCUS_MOVE_POLICY_IN));
645 } 737 }
738#else
739TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_OVERRIDE
646#endif 740#endif
647 741
648#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC 742#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC
@@ -656,6 +750,8 @@ TEST_OBJ_ELM_LIST_CTOR
656 automatic = elm_obj_widget_focus_move_policy_automatic_get(obj); 750 automatic = elm_obj_widget_focus_move_policy_automatic_get(obj);
657 FAIL_IF(elm_obj_widget_focus_move_policy_automatic, (automatic != EINA_FALSE)); 751 FAIL_IF(elm_obj_widget_focus_move_policy_automatic, (automatic != EINA_FALSE));
658 } 752 }
753#else
754TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_OVERRIDE
659#endif 755#endif
660 756
661#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX 757#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX
@@ -670,6 +766,8 @@ TEST_OBJ_ELM_LIST_CTOR
670 evas_obj_size_hint_max_get(obj, &w, &h); 766 evas_obj_size_hint_max_get(obj, &w, &h);
671 FAIL_IF(evas_obj_size_hint_max, (w != 100) || (h != 100)); 767 FAIL_IF(evas_obj_size_hint_max, (w != 100) || (h != 100));
672 } 768 }
769#else
770TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_OVERRIDE
673#endif 771#endif
674 772
675#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST 773#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST
@@ -684,6 +782,8 @@ TEST_OBJ_ELM_LIST_CTOR
684 evas_obj_size_hint_request_get(obj, &w, &h); 782 evas_obj_size_hint_request_get(obj, &w, &h);
685 FAIL_IF(evas_obj_size_hint_request, (w != 100) || (h != 100)); 783 FAIL_IF(evas_obj_size_hint_request, (w != 100) || (h != 100));
686 } 784 }
785#else
786TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_OVERRIDE
687#endif 787#endif
688 788
689#ifndef TEST_FUNC_EVAS_OBJ_TYPE 789#ifndef TEST_FUNC_EVAS_OBJ_TYPE
@@ -697,6 +797,8 @@ TEST_OBJ_ELM_LIST_CTOR
697 type = evas_obj_type_get(obj); 797 type = evas_obj_type_get(obj);
698 FAIL_IF(evas_obj_type, (!type || strcmp(type, "toto"))); 798 FAIL_IF(evas_obj_type, (!type || strcmp(type, "toto")));
699 } 799 }
800#else
801TEST_FUNC_EVAS_OBJ_TYPE_OVERRIDE
700#endif 802#endif
701 803
702#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN 804#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN
@@ -711,6 +813,8 @@ TEST_OBJ_ELM_LIST_CTOR
711 evas_obj_size_hint_min_get(obj, &w, &h); 813 evas_obj_size_hint_min_get(obj, &w, &h);
712 FAIL_IF(evas_obj_size_hint_min, (w != 100) || (h != 100)); 814 FAIL_IF(evas_obj_size_hint_min, (w != 100) || (h != 100));
713 } 815 }
816#else
817TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_OVERRIDE
714#endif 818#endif
715 819
716#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE 820#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE
@@ -724,6 +828,8 @@ TEST_OBJ_ELM_LIST_CTOR
724 pointer_mode = evas_obj_pointer_mode_get(obj); 828 pointer_mode = evas_obj_pointer_mode_get(obj);
725 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != EVAS_OBJECT_POINTER_MODE_NOGRAB)); 829 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != EVAS_OBJECT_POINTER_MODE_NOGRAB));
726 } 830 }
831#else
832TEST_FUNC_EVAS_OBJ_POINTER_MODE_OVERRIDE
727#endif 833#endif
728 834
729#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP 835#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP
@@ -737,6 +843,8 @@ TEST_OBJ_ELM_LIST_CTOR
737 render_op = evas_obj_render_op_get(obj); 843 render_op = evas_obj_render_op_get(obj);
738 FAIL_IF(evas_obj_render_op, (render_op != EVAS_RENDER_BLEND_REL)); 844 FAIL_IF(evas_obj_render_op, (render_op != EVAS_RENDER_BLEND_REL));
739 } 845 }
846#else
847TEST_FUNC_EVAS_OBJ_RENDER_OP_OVERRIDE
740#endif 848#endif
741 849
742#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS 850#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS
@@ -750,6 +858,8 @@ TEST_OBJ_ELM_LIST_CTOR
750 freeze = evas_obj_freeze_events_get(obj); 858 freeze = evas_obj_freeze_events_get(obj);
751 FAIL_IF(evas_obj_freeze_events, (freeze != EINA_FALSE)); 859 FAIL_IF(evas_obj_freeze_events, (freeze != EINA_FALSE));
752 } 860 }
861#else
862TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_OVERRIDE
753#endif 863#endif
754 864
755#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT 865#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT
@@ -765,6 +875,8 @@ TEST_OBJ_ELM_LIST_CTOR
765 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h); 875 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h);
766 FAIL_IF(evas_obj_size_hint_aspect, (aspect != EVAS_ASPECT_CONTROL_NEITHER) || (w != 100) || (h != 100)); 876 FAIL_IF(evas_obj_size_hint_aspect, (aspect != EVAS_ASPECT_CONTROL_NEITHER) || (w != 100) || (h != 100));
767 } 877 }
878#else
879TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_OVERRIDE
768#endif 880#endif
769 881
770#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING 882#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING
@@ -781,6 +893,8 @@ TEST_OBJ_ELM_LIST_CTOR
781 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b); 893 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b);
782 FAIL_IF(evas_obj_size_hint_padding, (l != 100) || (r != 100) || (t != 100) || (b != 100)); 894 FAIL_IF(evas_obj_size_hint_padding, (l != 100) || (r != 100) || (t != 100) || (b != 100));
783 } 895 }
896#else
897TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_OVERRIDE
784#endif 898#endif
785 899
786#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS 900#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS
@@ -794,6 +908,8 @@ TEST_OBJ_ELM_LIST_CTOR
794 repeat = evas_obj_repeat_events_get(obj); 908 repeat = evas_obj_repeat_events_get(obj);
795 FAIL_IF(evas_obj_repeat_events, (repeat != EINA_FALSE)); 909 FAIL_IF(evas_obj_repeat_events, (repeat != EINA_FALSE));
796 } 910 }
911#else
912TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_OVERRIDE
797#endif 913#endif
798 914
799#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT 915#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT
@@ -808,6 +924,8 @@ TEST_OBJ_ELM_LIST_CTOR
808 evas_obj_size_hint_weight_get(obj, &x, &y); 924 evas_obj_size_hint_weight_get(obj, &x, &y);
809 FAIL_IF(evas_obj_size_hint_weight, (x != 1.0) || (y != 1.0)); 925 FAIL_IF(evas_obj_size_hint_weight, (x != 1.0) || (y != 1.0));
810 } 926 }
927#else
928TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_OVERRIDE
811#endif 929#endif
812 930
813#ifndef TEST_FUNC_EVAS_OBJ_NAME 931#ifndef TEST_FUNC_EVAS_OBJ_NAME
@@ -821,6 +939,8 @@ TEST_OBJ_ELM_LIST_CTOR
821 name = evas_obj_name_get(obj); 939 name = evas_obj_name_get(obj);
822 FAIL_IF(evas_obj_name, (!name || strcmp(name, "toto"))); 940 FAIL_IF(evas_obj_name, (!name || strcmp(name, "toto")));
823 } 941 }
942#else
943TEST_FUNC_EVAS_OBJ_NAME_OVERRIDE
824#endif 944#endif
825 945
826#ifndef TEST_FUNC_EVAS_OBJ_SCALE 946#ifndef TEST_FUNC_EVAS_OBJ_SCALE
@@ -834,6 +954,8 @@ TEST_OBJ_ELM_LIST_CTOR
834 scale = evas_obj_scale_get(obj); 954 scale = evas_obj_scale_get(obj);
835 FAIL_IF(evas_obj_scale, (scale != 1.0)); 955 FAIL_IF(evas_obj_scale, (scale != 1.0));
836 } 956 }
957#else
958TEST_FUNC_EVAS_OBJ_SCALE_OVERRIDE
837#endif 959#endif
838 960
839#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP 961#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP
@@ -847,6 +969,8 @@ TEST_OBJ_ELM_LIST_CTOR
847 is_static_clip = evas_obj_static_clip_get(obj); 969 is_static_clip = evas_obj_static_clip_get(obj);
848 FAIL_IF(evas_obj_static_clip, (is_static_clip != EINA_FALSE)); 970 FAIL_IF(evas_obj_static_clip, (is_static_clip != EINA_FALSE));
849 } 971 }
972#else
973TEST_FUNC_EVAS_OBJ_STATIC_CLIP_OVERRIDE
850#endif 974#endif
851 975
852#ifndef TEST_FUNC_EVAS_OBJ_FOCUS 976#ifndef TEST_FUNC_EVAS_OBJ_FOCUS
@@ -860,6 +984,8 @@ TEST_OBJ_ELM_LIST_CTOR
860 focus = evas_obj_focus_get(obj); 984 focus = evas_obj_focus_get(obj);
861 FAIL_IF(evas_obj_focus, (focus != EINA_FALSE)); 985 FAIL_IF(evas_obj_focus, (focus != EINA_FALSE));
862 } 986 }
987#else
988TEST_FUNC_EVAS_OBJ_FOCUS_OVERRIDE
863#endif 989#endif
864 990
865#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT 991#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT
@@ -873,6 +999,8 @@ TEST_OBJ_ELM_LIST_CTOR
873 is_frame = evas_obj_is_frame_object_get(obj); 999 is_frame = evas_obj_is_frame_object_get(obj);
874 FAIL_IF(evas_obj_is_frame_object, (is_frame != EINA_FALSE)); 1000 FAIL_IF(evas_obj_is_frame_object, (is_frame != EINA_FALSE));
875 } 1001 }
1002#else
1003TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_OVERRIDE
876#endif 1004#endif
877 1005
878#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE 1006#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE
@@ -886,6 +1014,8 @@ TEST_OBJ_ELM_LIST_CTOR
886 enabled = evas_obj_map_enable_get(obj); 1014 enabled = evas_obj_map_enable_get(obj);
887 FAIL_IF(evas_obj_map_enable, (enabled != EINA_FALSE)); 1015 FAIL_IF(evas_obj_map_enable, (enabled != EINA_FALSE));
888 } 1016 }
1017#else
1018TEST_FUNC_EVAS_OBJ_MAP_ENABLE_OVERRIDE
889#endif 1019#endif
890 1020
891#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE 1021#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE
@@ -899,6 +1029,8 @@ TEST_OBJ_ELM_LIST_CTOR
899 precise = evas_obj_precise_is_inside_get(obj); 1029 precise = evas_obj_precise_is_inside_get(obj);
900 FAIL_IF(evas_obj_precise_is_inside, (precise != EINA_FALSE)); 1030 FAIL_IF(evas_obj_precise_is_inside, (precise != EINA_FALSE));
901 } 1031 }
1032#else
1033TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_OVERRIDE
902#endif 1034#endif
903 1035
904#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN 1036#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN
@@ -913,6 +1045,8 @@ TEST_OBJ_ELM_LIST_CTOR
913 evas_obj_size_hint_align_get(obj, &x, &y); 1045 evas_obj_size_hint_align_get(obj, &x, &y);
914 FAIL_IF(evas_obj_size_hint_align, (x != 1.0) || (y != 1.0)); 1046 FAIL_IF(evas_obj_size_hint_align, (x != 1.0) || (y != 1.0));
915 } 1047 }
1048#else
1049TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_OVERRIDE
916#endif 1050#endif
917 1051
918#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS 1052#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS
@@ -926,6 +1060,8 @@ TEST_OBJ_ELM_LIST_CTOR
926 propagate = evas_obj_propagate_events_get(obj); 1060 propagate = evas_obj_propagate_events_get(obj);
927 FAIL_IF(evas_obj_propagate_events, (propagate != EINA_FALSE)); 1061 FAIL_IF(evas_obj_propagate_events, (propagate != EINA_FALSE));
928 } 1062 }
1063#else
1064TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_OVERRIDE
929#endif 1065#endif
930 1066
931#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS 1067#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS
@@ -939,6 +1075,8 @@ TEST_OBJ_ELM_LIST_CTOR
939 pass = evas_obj_pass_events_get(obj); 1075 pass = evas_obj_pass_events_get(obj);
940 FAIL_IF(evas_obj_pass_events, (pass != EINA_FALSE)); 1076 FAIL_IF(evas_obj_pass_events, (pass != EINA_FALSE));
941 } 1077 }
1078#else
1079TEST_FUNC_EVAS_OBJ_PASS_EVENTS_OVERRIDE
942#endif 1080#endif
943 1081
944#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS 1082#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS
@@ -952,6 +1090,8 @@ TEST_OBJ_ELM_LIST_CTOR
952 anti_alias = evas_obj_anti_alias_get(obj); 1090 anti_alias = evas_obj_anti_alias_get(obj);
953 FAIL_IF(evas_obj_anti_alias, (anti_alias != EINA_FALSE)); 1091 FAIL_IF(evas_obj_anti_alias, (anti_alias != EINA_FALSE));
954 } 1092 }
1093#else
1094TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_OVERRIDE
955#endif 1095#endif
956 1096
957#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE 1097#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE
@@ -965,6 +1105,8 @@ TEST_OBJ_ELM_LIST_CTOR
965 dispmode = evas_obj_size_hint_display_mode_get(obj); 1105 dispmode = evas_obj_size_hint_display_mode_get(obj);
966 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != EVAS_DISPLAY_MODE_COMPRESS)); 1106 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != EVAS_DISPLAY_MODE_COMPRESS));
967 } 1107 }
1108#else
1109TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_OVERRIDE
968#endif 1110#endif
969 1111
970#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION 1112#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION
@@ -978,6 +1120,8 @@ TEST_OBJ_ELM_LIST_CTOR
978 dir = evas_obj_paragraph_direction_get(obj); 1120 dir = evas_obj_paragraph_direction_get(obj);
979 FAIL_IF(evas_obj_paragraph_direction, (dir != EVAS_BIDI_DIRECTION_NEUTRAL)); 1121 FAIL_IF(evas_obj_paragraph_direction, (dir != EVAS_BIDI_DIRECTION_NEUTRAL));
980 } 1122 }
1123#else
1124TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_OVERRIDE
981#endif 1125#endif
982 1126
983#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER 1127#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER
@@ -991,6 +1135,8 @@ TEST_OBJ_ELM_LIST_CTOR
991 enable = evas_obj_no_render_get(obj); 1135 enable = evas_obj_no_render_get(obj);
992 FAIL_IF(evas_obj_no_render, (enable != EINA_FALSE)); 1136 FAIL_IF(evas_obj_no_render, (enable != EINA_FALSE));
993 } 1137 }
1138#else
1139TEST_FUNC_EVAS_OBJ_NO_RENDER_OVERRIDE
994#endif 1140#endif
995 1141
996#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME 1142#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME
@@ -1004,6 +1150,8 @@ TEST_OBJ_ELM_LIST_CTOR
1004 name = elm_interface_atspi_accessible_name_get(obj); 1150 name = elm_interface_atspi_accessible_name_get(obj);
1005 FAIL_IF(elm_interface_atspi_accessible_name, (!name || strcmp(name, "toto"))); 1151 FAIL_IF(elm_interface_atspi_accessible_name, (!name || strcmp(name, "toto")));
1006 } 1152 }
1153#else
1154TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME_OVERRIDE
1007#endif 1155#endif
1008 1156
1009#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_ROLE 1157#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_ROLE
@@ -1017,6 +1165,8 @@ TEST_OBJ_ELM_LIST_CTOR
1017 role = elm_interface_atspi_accessible_role_get(obj); 1165 role = elm_interface_atspi_accessible_role_get(obj);
1018 FAIL_IF(elm_interface_atspi_accessible_role, (role != ELM_ATSPI_ROLE_ACCELERATOR_LABEL)); 1166 FAIL_IF(elm_interface_atspi_accessible_role, (role != ELM_ATSPI_ROLE_ACCELERATOR_LABEL));
1019 } 1167 }
1168#else
1169TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_ROLE_OVERRIDE
1020#endif 1170#endif
1021 1171
1022#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_DESCRIPTION 1172#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_DESCRIPTION
@@ -1030,6 +1180,8 @@ TEST_OBJ_ELM_LIST_CTOR
1030 description = elm_interface_atspi_accessible_description_get(obj); 1180 description = elm_interface_atspi_accessible_description_get(obj);
1031 FAIL_IF(elm_interface_atspi_accessible_description, (!description || strcmp(description, "toto"))); 1181 FAIL_IF(elm_interface_atspi_accessible_description, (!description || strcmp(description, "toto")));
1032 } 1182 }
1183#else
1184TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_DESCRIPTION_OVERRIDE
1033#endif 1185#endif
1034 1186
1035#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TRANSLATION_DOMAIN 1187#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TRANSLATION_DOMAIN
@@ -1043,6 +1195,8 @@ TEST_OBJ_ELM_LIST_CTOR
1043 domain = elm_interface_atspi_accessible_translation_domain_get(obj); 1195 domain = elm_interface_atspi_accessible_translation_domain_get(obj);
1044 FAIL_IF(elm_interface_atspi_accessible_translation_domain, (!domain || strcmp(domain, "toto"))); 1196 FAIL_IF(elm_interface_atspi_accessible_translation_domain, (!domain || strcmp(domain, "toto")));
1045 } 1197 }
1198#else
1199TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TRANSLATION_DOMAIN_OVERRIDE
1046#endif 1200#endif
1047 1201
1048#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TYPE 1202#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TYPE
@@ -1056,6 +1210,8 @@ TEST_OBJ_ELM_LIST_CTOR
1056 type = elm_interface_atspi_accessible_type_get(obj); 1210 type = elm_interface_atspi_accessible_type_get(obj);
1057 FAIL_IF(elm_interface_atspi_accessible_type, (type != ELM_ATSPI_TYPE_DISABLED)); 1211 FAIL_IF(elm_interface_atspi_accessible_type, (type != ELM_ATSPI_TYPE_DISABLED));
1058 } 1212 }
1213#else
1214TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_TYPE_OVERRIDE
1059#endif 1215#endif
1060 1216
1061#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_SIZE 1217#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_SIZE
@@ -1070,6 +1226,8 @@ TEST_OBJ_ELM_LIST_CTOR
1070 elm_interface_atspi_component_size_get(obj, &w, &h); 1226 elm_interface_atspi_component_size_get(obj, &w, &h);
1071 FAIL_IF(elm_interface_atspi_component_size, (w != 100) || (h != 100)); 1227 FAIL_IF(elm_interface_atspi_component_size, (w != 100) || (h != 100));
1072 } 1228 }
1229#else
1230TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_SIZE_OVERRIDE
1073#endif 1231#endif
1074 1232
1075#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_EXTENTS 1233#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_EXTENTS
@@ -1086,6 +1244,8 @@ TEST_OBJ_ELM_LIST_CTOR
1086 elm_interface_atspi_component_extents_get(obj, EINA_FALSE, &x, &y, &w, &h); 1244 elm_interface_atspi_component_extents_get(obj, EINA_FALSE, &x, &y, &w, &h);
1087 FAIL_IF(elm_interface_atspi_component_extents, (x != 100) || (y != 100) || (w != 100) || (h != 100)); 1245 FAIL_IF(elm_interface_atspi_component_extents, (x != 100) || (y != 100) || (w != 100) || (h != 100));
1088 } 1246 }
1247#else
1248TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_EXTENTS_OVERRIDE
1089#endif 1249#endif
1090 1250
1091#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION 1251#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION
@@ -1100,6 +1260,8 @@ TEST_OBJ_ELM_LIST_CTOR
1100 elm_interface_atspi_component_position_get(obj, EINA_FALSE, &x, &y); 1260 elm_interface_atspi_component_position_get(obj, EINA_FALSE, &x, &y);
1101 FAIL_IF(elm_interface_atspi_component_position, (x != 100) || (y != 100)); 1261 FAIL_IF(elm_interface_atspi_component_position, (x != 100) || (y != 100));
1102 } 1262 }
1263#else
1264TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_OVERRIDE
1103#endif 1265#endif
1104 1266
1105#ifndef TEST_FUNC_EFL_GFX_POSITION 1267#ifndef TEST_FUNC_EFL_GFX_POSITION
@@ -1114,6 +1276,8 @@ TEST_OBJ_ELM_LIST_CTOR
1114 efl_gfx_position_get(obj, &x, &y); 1276 efl_gfx_position_get(obj, &x, &y);
1115 FAIL_IF(efl_gfx_position, (x != 100) || (y != 100)); 1277 FAIL_IF(efl_gfx_position, (x != 100) || (y != 100));
1116 } 1278 }
1279#else
1280TEST_FUNC_EFL_GFX_POSITION_OVERRIDE
1117#endif 1281#endif
1118 1282
1119#ifndef TEST_FUNC_EFL_GFX_SIZE 1283#ifndef TEST_FUNC_EFL_GFX_SIZE
@@ -1128,6 +1292,8 @@ TEST_OBJ_ELM_LIST_CTOR
1128 efl_gfx_size_get(obj, &w, &h); 1292 efl_gfx_size_get(obj, &w, &h);
1129 FAIL_IF(efl_gfx_size, (w != 100) || (h != 100)); 1293 FAIL_IF(efl_gfx_size, (w != 100) || (h != 100));
1130 } 1294 }
1295#else
1296TEST_FUNC_EFL_GFX_SIZE_OVERRIDE
1131#endif 1297#endif
1132 1298
1133#ifndef TEST_FUNC_EFL_GFX_COLOR 1299#ifndef TEST_FUNC_EFL_GFX_COLOR
@@ -1144,6 +1310,8 @@ TEST_OBJ_ELM_LIST_CTOR
1144 efl_gfx_color_get(obj, &r, &g, &b, &a); 1310 efl_gfx_color_get(obj, &r, &g, &b, &a);
1145 FAIL_IF(efl_gfx_color, (r != 100) || (g != 100) || (b != 100) || (a != 100)); 1311 FAIL_IF(efl_gfx_color, (r != 100) || (g != 100) || (b != 100) || (a != 100));
1146 } 1312 }
1313#else
1314TEST_FUNC_EFL_GFX_COLOR_OVERRIDE
1147#endif 1315#endif
1148 1316
1149#ifndef TEST_FUNC_EFL_GFX_COLOR_PART 1317#ifndef TEST_FUNC_EFL_GFX_COLOR_PART
@@ -1160,6 +1328,8 @@ TEST_OBJ_ELM_LIST_CTOR
1160 efl_gfx_color_part_get(obj, "toto", &r, &g, &b, &a); 1328 efl_gfx_color_part_get(obj, "toto", &r, &g, &b, &a);
1161 FAIL_IF(efl_gfx_color_part, (r != 100) || (g != 100) || (b != 100) || (a != 100)); 1329 FAIL_IF(efl_gfx_color_part, (r != 100) || (g != 100) || (b != 100) || (a != 100));
1162 } 1330 }
1331#else
1332TEST_FUNC_EFL_GFX_COLOR_PART_OVERRIDE
1163#endif 1333#endif
1164 1334
1165#ifndef TEST_FUNC_EFL_GFX_VISIBLE 1335#ifndef TEST_FUNC_EFL_GFX_VISIBLE
@@ -1173,6 +1343,8 @@ TEST_OBJ_ELM_LIST_CTOR
1173 v = efl_gfx_visible_get(obj); 1343 v = efl_gfx_visible_get(obj);
1174 FAIL_IF(efl_gfx_visible, (v != EINA_FALSE)); 1344 FAIL_IF(efl_gfx_visible, (v != EINA_FALSE));
1175 } 1345 }
1346#else
1347TEST_FUNC_EFL_GFX_VISIBLE_OVERRIDE
1176#endif 1348#endif
1177 1349
1178#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER 1350#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER
@@ -1186,6 +1358,8 @@ TEST_OBJ_ELM_LIST_CTOR
1186 l = efl_gfx_stack_layer_get(obj); 1358 l = efl_gfx_stack_layer_get(obj);
1187 FAIL_IF(efl_gfx_stack_layer, (l != 100)); 1359 FAIL_IF(efl_gfx_stack_layer, (l != 100));
1188 } 1360 }
1361#else
1362TEST_FUNC_EFL_GFX_STACK_LAYER_OVERRIDE
1189#endif 1363#endif
1190 1364
1191#ifndef TEST_OBJ_ELM_LIST_DTOR 1365#ifndef TEST_OBJ_ELM_LIST_DTOR
@@ -1209,6 +1383,8 @@ TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
1209 directional = evas_canvas3d_light_directional_get(obj); 1383 directional = evas_canvas3d_light_directional_get(obj);
1210 FAIL_IF(evas_canvas3d_light_directional, (directional != EINA_FALSE)); 1384 FAIL_IF(evas_canvas3d_light_directional, (directional != EINA_FALSE));
1211 } 1385 }
1386#else
1387TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_OVERRIDE
1212#endif 1388#endif
1213 1389
1214#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT 1390#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT
@@ -1222,6 +1398,8 @@ TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
1222 exponent = evas_canvas3d_light_spot_exponent_get(obj); 1398 exponent = evas_canvas3d_light_spot_exponent_get(obj);
1223 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != 1.0)); 1399 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != 1.0));
1224 } 1400 }
1401#else
1402TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_OVERRIDE
1225#endif 1403#endif
1226 1404
1227#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF 1405#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF
@@ -1235,6 +1413,8 @@ TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
1235 cutoff = evas_canvas3d_light_spot_cutoff_get(obj); 1413 cutoff = evas_canvas3d_light_spot_cutoff_get(obj);
1236 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != 1.0)); 1414 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != 1.0));
1237 } 1415 }
1416#else
1417TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_OVERRIDE
1238#endif 1418#endif
1239 1419
1240#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE 1420#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE
@@ -1248,6 +1428,8 @@ TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
1248 enable = evas_canvas3d_light_attenuation_enable_get(obj); 1428 enable = evas_canvas3d_light_attenuation_enable_get(obj);
1249 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != EINA_FALSE)); 1429 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != EINA_FALSE));
1250 } 1430 }
1431#else
1432TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_OVERRIDE
1251#endif 1433#endif
1252 1434
1253#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR 1435#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
@@ -1271,6 +1453,8 @@ TEST_OBJ_ECORE_AUDIO_CTOR
1271 name = ecore_audio_obj_name_get(obj); 1453 name = ecore_audio_obj_name_get(obj);
1272 FAIL_IF(ecore_audio_obj_name, (!name || strcmp(name, "toto"))); 1454 FAIL_IF(ecore_audio_obj_name, (!name || strcmp(name, "toto")));
1273 } 1455 }
1456#else
1457TEST_FUNC_ECORE_AUDIO_OBJ_NAME_OVERRIDE
1274#endif 1458#endif
1275 1459
1276#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_PAUSED 1460#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_PAUSED
@@ -1284,6 +1468,8 @@ TEST_OBJ_ECORE_AUDIO_CTOR
1284 paused = ecore_audio_obj_paused_get(obj); 1468 paused = ecore_audio_obj_paused_get(obj);
1285 FAIL_IF(ecore_audio_obj_paused, (paused != EINA_FALSE)); 1469 FAIL_IF(ecore_audio_obj_paused, (paused != EINA_FALSE));
1286 } 1470 }
1471#else
1472TEST_FUNC_ECORE_AUDIO_OBJ_PAUSED_OVERRIDE
1287#endif 1473#endif
1288 1474
1289#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_VOLUME 1475#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_VOLUME
@@ -1297,6 +1483,8 @@ TEST_OBJ_ECORE_AUDIO_CTOR
1297 volume = ecore_audio_obj_volume_get(obj); 1483 volume = ecore_audio_obj_volume_get(obj);
1298 FAIL_IF(ecore_audio_obj_volume, (volume != 1.0)); 1484 FAIL_IF(ecore_audio_obj_volume, (volume != 1.0));
1299 } 1485 }
1486#else
1487TEST_FUNC_ECORE_AUDIO_OBJ_VOLUME_OVERRIDE
1300#endif 1488#endif
1301 1489
1302#ifndef TEST_OBJ_ECORE_AUDIO_DTOR 1490#ifndef TEST_OBJ_ECORE_AUDIO_DTOR
@@ -1320,6 +1508,8 @@ TEST_OBJ_ELM_CALENDAR_CTOR
1320 day = elm_obj_calendar_first_day_of_week_get(obj); 1508 day = elm_obj_calendar_first_day_of_week_get(obj);
1321 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != ELM_DAY_MONDAY)); 1509 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != ELM_DAY_MONDAY));
1322 } 1510 }
1511#else
1512TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_OVERRIDE
1323#endif 1513#endif
1324 1514
1325#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE 1515#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE
@@ -1333,6 +1523,8 @@ TEST_OBJ_ELM_CALENDAR_CTOR
1333 selectable = elm_obj_calendar_selectable_get(obj); 1523 selectable = elm_obj_calendar_selectable_get(obj);
1334 FAIL_IF(elm_obj_calendar_selectable, (selectable != ELM_CALENDAR_SELECTABLE_YEAR)); 1524 FAIL_IF(elm_obj_calendar_selectable, (selectable != ELM_CALENDAR_SELECTABLE_YEAR));
1335 } 1525 }
1526#else
1527TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_OVERRIDE
1336#endif 1528#endif
1337 1529
1338#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL 1530#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL
@@ -1346,6 +1538,8 @@ TEST_OBJ_ELM_CALENDAR_CTOR
1346 interval = elm_obj_calendar_interval_get(obj); 1538 interval = elm_obj_calendar_interval_get(obj);
1347 FAIL_IF(elm_obj_calendar_interval, (interval != 1.0)); 1539 FAIL_IF(elm_obj_calendar_interval, (interval != 1.0));
1348 } 1540 }
1541#else
1542TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_OVERRIDE
1349#endif 1543#endif
1350 1544
1351#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE 1545#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE
@@ -1359,6 +1553,8 @@ TEST_OBJ_ELM_CALENDAR_CTOR
1359 mode = elm_obj_calendar_select_mode_get(obj); 1553 mode = elm_obj_calendar_select_mode_get(obj);
1360 FAIL_IF(elm_obj_calendar_select_mode, (mode != ELM_CALENDAR_SELECT_MODE_ALWAYS)); 1554 FAIL_IF(elm_obj_calendar_select_mode, (mode != ELM_CALENDAR_SELECT_MODE_ALWAYS));
1361 } 1555 }
1556#else
1557TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_OVERRIDE
1362#endif 1558#endif
1363 1559
1364#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR 1560#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR
@@ -1373,6 +1569,8 @@ TEST_OBJ_ELM_CALENDAR_CTOR
1373 elm_obj_calendar_min_max_year_get(obj, &min, &max); 1569 elm_obj_calendar_min_max_year_get(obj, &min, &max);
1374 FAIL_IF(elm_obj_calendar_min_max_year, (min != 100) || (max != 100)); 1570 FAIL_IF(elm_obj_calendar_min_max_year, (min != 100) || (max != 100));
1375 } 1571 }
1572#else
1573TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_OVERRIDE
1376#endif 1574#endif
1377 1575
1378#ifndef TEST_OBJ_ELM_CALENDAR_DTOR 1576#ifndef TEST_OBJ_ELM_CALENDAR_DTOR
@@ -1397,6 +1595,8 @@ TEST_OBJ_ELM_GLVIEW_CTOR
1397 efl_gfx_view_size_get(obj, &w, &h); 1595 efl_gfx_view_size_get(obj, &w, &h);
1398 FAIL_IF(efl_gfx_view_size, (w != 100) || (h != 100)); 1596 FAIL_IF(efl_gfx_view_size, (w != 100) || (h != 100));
1399 } 1597 }
1598#else
1599TEST_FUNC_EFL_GFX_VIEW_SIZE_OVERRIDE
1400#endif 1600#endif
1401 1601
1402#ifndef TEST_OBJ_ELM_GLVIEW_DTOR 1602#ifndef TEST_OBJ_ELM_GLVIEW_DTOR
@@ -1420,6 +1620,8 @@ TEST_OBJ_ELM_COMBOBOX_CTOR
1420 enabled = elm_obj_combobox_multiple_selection_get(obj); 1620 enabled = elm_obj_combobox_multiple_selection_get(obj);
1421 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != EINA_FALSE)); 1621 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != EINA_FALSE));
1422 } 1622 }
1623#else
1624TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_OVERRIDE
1423#endif 1625#endif
1424 1626
1425#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT 1627#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT
@@ -1433,6 +1635,8 @@ TEST_OBJ_ELM_COMBOBOX_CTOR
1433 t = elm_obj_button_autorepeat_initial_timeout_get(obj); 1635 t = elm_obj_button_autorepeat_initial_timeout_get(obj);
1434 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != 1.0)); 1636 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != 1.0));
1435 } 1637 }
1638#else
1639TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_OVERRIDE
1436#endif 1640#endif
1437 1641
1438#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT 1642#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT
@@ -1446,6 +1650,8 @@ TEST_OBJ_ELM_COMBOBOX_CTOR
1446 t = elm_obj_button_autorepeat_gap_timeout_get(obj); 1650 t = elm_obj_button_autorepeat_gap_timeout_get(obj);
1447 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != 1.0)); 1651 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != 1.0));
1448 } 1652 }
1653#else
1654TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_OVERRIDE
1449#endif 1655#endif
1450 1656
1451#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT 1657#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT
@@ -1459,6 +1665,8 @@ TEST_OBJ_ELM_COMBOBOX_CTOR
1459 on = elm_obj_button_autorepeat_get(obj); 1665 on = elm_obj_button_autorepeat_get(obj);
1460 FAIL_IF(elm_obj_button_autorepeat, (on != EINA_FALSE)); 1666 FAIL_IF(elm_obj_button_autorepeat, (on != EINA_FALSE));
1461 } 1667 }
1668#else
1669TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_OVERRIDE
1462#endif 1670#endif
1463 1671
1464#ifndef TEST_OBJ_ELM_COMBOBOX_DTOR 1672#ifndef TEST_OBJ_ELM_COMBOBOX_DTOR
@@ -1482,6 +1690,8 @@ TEST_OBJ_ELM_MAP_CTOR
1482 zoom = elm_obj_map_zoom_get(obj); 1690 zoom = elm_obj_map_zoom_get(obj);
1483 FAIL_IF(elm_obj_map_zoom, (zoom != 100)); 1691 FAIL_IF(elm_obj_map_zoom, (zoom != 100));
1484 } 1692 }
1693#else
1694TEST_FUNC_ELM_OBJ_MAP_ZOOM_OVERRIDE
1485#endif 1695#endif
1486 1696
1487#ifndef TEST_FUNC_ELM_OBJ_MAP_PAUSED 1697#ifndef TEST_FUNC_ELM_OBJ_MAP_PAUSED
@@ -1495,6 +1705,8 @@ TEST_OBJ_ELM_MAP_CTOR
1495 paused = elm_obj_map_paused_get(obj); 1705 paused = elm_obj_map_paused_get(obj);
1496 FAIL_IF(elm_obj_map_paused, (paused != EINA_FALSE)); 1706 FAIL_IF(elm_obj_map_paused, (paused != EINA_FALSE));
1497 } 1707 }
1708#else
1709TEST_FUNC_ELM_OBJ_MAP_PAUSED_OVERRIDE
1498#endif 1710#endif
1499 1711
1500#ifndef TEST_FUNC_ELM_OBJ_MAP_WHEEL_DISABLED 1712#ifndef TEST_FUNC_ELM_OBJ_MAP_WHEEL_DISABLED
@@ -1508,6 +1720,8 @@ TEST_OBJ_ELM_MAP_CTOR
1508 disabled = elm_obj_map_wheel_disabled_get(obj); 1720 disabled = elm_obj_map_wheel_disabled_get(obj);
1509 FAIL_IF(elm_obj_map_wheel_disabled, (disabled != EINA_FALSE)); 1721 FAIL_IF(elm_obj_map_wheel_disabled, (disabled != EINA_FALSE));
1510 } 1722 }
1723#else
1724TEST_FUNC_ELM_OBJ_MAP_WHEEL_DISABLED_OVERRIDE
1511#endif 1725#endif
1512 1726
1513#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MIN 1727#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MIN
@@ -1521,6 +1735,8 @@ TEST_OBJ_ELM_MAP_CTOR
1521 zoom = elm_obj_map_zoom_min_get(obj); 1735 zoom = elm_obj_map_zoom_min_get(obj);
1522 FAIL_IF(elm_obj_map_zoom_min, (zoom != 100)); 1736 FAIL_IF(elm_obj_map_zoom_min, (zoom != 100));
1523 } 1737 }
1738#else
1739TEST_FUNC_ELM_OBJ_MAP_ZOOM_MIN_OVERRIDE
1524#endif 1740#endif
1525 1741
1526#ifndef TEST_FUNC_ELM_OBJ_MAP_ROTATE 1742#ifndef TEST_FUNC_ELM_OBJ_MAP_ROTATE
@@ -1536,6 +1752,8 @@ TEST_OBJ_ELM_MAP_CTOR
1536 elm_obj_map_rotate_get(obj, &degree, &cx, &cy); 1752 elm_obj_map_rotate_get(obj, &degree, &cx, &cy);
1537 FAIL_IF(elm_obj_map_rotate, (degree != 1.0) || (cx != 100) || (cy != 100)); 1753 FAIL_IF(elm_obj_map_rotate, (degree != 1.0) || (cx != 100) || (cy != 100));
1538 } 1754 }
1755#else
1756TEST_FUNC_ELM_OBJ_MAP_ROTATE_OVERRIDE
1539#endif 1757#endif
1540 1758
1541#ifndef TEST_FUNC_ELM_OBJ_MAP_USER_AGENT 1759#ifndef TEST_FUNC_ELM_OBJ_MAP_USER_AGENT
@@ -1549,6 +1767,8 @@ TEST_OBJ_ELM_MAP_CTOR
1549 user_agent = elm_obj_map_user_agent_get(obj); 1767 user_agent = elm_obj_map_user_agent_get(obj);
1550 FAIL_IF(elm_obj_map_user_agent, (!user_agent || strcmp(user_agent, "toto"))); 1768 FAIL_IF(elm_obj_map_user_agent, (!user_agent || strcmp(user_agent, "toto")));
1551 } 1769 }
1770#else
1771TEST_FUNC_ELM_OBJ_MAP_USER_AGENT_OVERRIDE
1552#endif 1772#endif
1553 1773
1554#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MAX 1774#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MAX
@@ -1562,6 +1782,8 @@ TEST_OBJ_ELM_MAP_CTOR
1562 zoom = elm_obj_map_zoom_max_get(obj); 1782 zoom = elm_obj_map_zoom_max_get(obj);
1563 FAIL_IF(elm_obj_map_zoom_max, (zoom != 100)); 1783 FAIL_IF(elm_obj_map_zoom_max, (zoom != 100));
1564 } 1784 }
1785#else
1786TEST_FUNC_ELM_OBJ_MAP_ZOOM_MAX_OVERRIDE
1565#endif 1787#endif
1566 1788
1567#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE 1789#ifndef TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE
@@ -1575,6 +1797,8 @@ TEST_OBJ_ELM_MAP_CTOR
1575 mode = elm_obj_map_zoom_mode_get(obj); 1797 mode = elm_obj_map_zoom_mode_get(obj);
1576 FAIL_IF(elm_obj_map_zoom_mode, (mode != ELM_MAP_ZOOM_MODE_AUTO_FIT)); 1798 FAIL_IF(elm_obj_map_zoom_mode, (mode != ELM_MAP_ZOOM_MODE_AUTO_FIT));
1577 } 1799 }
1800#else
1801TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE_OVERRIDE
1578#endif 1802#endif
1579 1803
1580#ifndef TEST_OBJ_ELM_MAP_DTOR 1804#ifndef TEST_OBJ_ELM_MAP_DTOR
@@ -1599,6 +1823,8 @@ TEST_OBJ_ELM_NOTIFY_CTOR
1599 elm_obj_notify_align_get(obj, &horizontal, &vertical); 1823 elm_obj_notify_align_get(obj, &horizontal, &vertical);
1600 FAIL_IF(elm_obj_notify_align, (horizontal != 1.0) || (vertical != 1.0)); 1824 FAIL_IF(elm_obj_notify_align, (horizontal != 1.0) || (vertical != 1.0));
1601 } 1825 }
1826#else
1827TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_OVERRIDE
1602#endif 1828#endif
1603 1829
1604#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS 1830#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS
@@ -1612,6 +1838,8 @@ TEST_OBJ_ELM_NOTIFY_CTOR
1612 allow = elm_obj_notify_allow_events_get(obj); 1838 allow = elm_obj_notify_allow_events_get(obj);
1613 FAIL_IF(elm_obj_notify_allow_events, (allow != EINA_FALSE)); 1839 FAIL_IF(elm_obj_notify_allow_events, (allow != EINA_FALSE));
1614 } 1840 }
1841#else
1842TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_OVERRIDE
1615#endif 1843#endif
1616 1844
1617#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT 1845#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT
@@ -1625,6 +1853,8 @@ TEST_OBJ_ELM_NOTIFY_CTOR
1625 timeout = elm_obj_notify_timeout_get(obj); 1853 timeout = elm_obj_notify_timeout_get(obj);
1626 FAIL_IF(elm_obj_notify_timeout, (timeout != 1.0)); 1854 FAIL_IF(elm_obj_notify_timeout, (timeout != 1.0));
1627 } 1855 }
1856#else
1857TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_OVERRIDE
1628#endif 1858#endif
1629 1859
1630#ifndef TEST_OBJ_ELM_NOTIFY_DTOR 1860#ifndef TEST_OBJ_ELM_NOTIFY_DTOR
@@ -1632,6 +1862,181 @@ TEST_OBJ_ELM_NOTIFY_CTOR
1632#endif 1862#endif
1633TEST_OBJ_ELM_NOTIFY_DTOR 1863TEST_OBJ_ELM_NOTIFY_DTOR
1634 1864
1865#ifndef TEST_OBJ_EDJE_OBJECT_CTOR
1866#define TEST_OBJ_EDJE_OBJECT_CTOR obj = eo_add(edje_object_class_get(), parent);
1867#endif
1868TEST_OBJ_EDJE_OBJECT_CTOR
1869
1870#ifndef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS
1871#define TEST_FUNC_EDJE_OBJ_UPDATE_HINTS
1872 {
1873 Eina_Bool update;
1874 edje_obj_update_hints_set(obj, EINA_TRUE);
1875 update = edje_obj_update_hints_get(obj);
1876 FAIL_IF(edje_obj_update_hints, (update != EINA_TRUE));
1877 edje_obj_update_hints_set(obj, EINA_FALSE);
1878 update = edje_obj_update_hints_get(obj);
1879 FAIL_IF(edje_obj_update_hints, (update != EINA_FALSE));
1880 }
1881#else
1882TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_OVERRIDE
1883#endif
1884
1885#ifndef TEST_FUNC_EDJE_OBJ_MIRRORED
1886#define TEST_FUNC_EDJE_OBJ_MIRRORED
1887 {
1888 Eina_Bool rtl;
1889 edje_obj_mirrored_set(obj, EINA_TRUE);
1890 rtl = edje_obj_mirrored_get(obj);
1891 FAIL_IF(edje_obj_mirrored, (rtl != EINA_TRUE));
1892 edje_obj_mirrored_set(obj, EINA_FALSE);
1893 rtl = edje_obj_mirrored_get(obj);
1894 FAIL_IF(edje_obj_mirrored, (rtl != EINA_FALSE));
1895 }
1896#else
1897TEST_FUNC_EDJE_OBJ_MIRRORED_OVERRIDE
1898#endif
1899
1900#ifndef TEST_FUNC_EDJE_OBJ_LANGUAGE
1901#define TEST_FUNC_EDJE_OBJ_LANGUAGE
1902 {
1903 const char * language = NULL;
1904 edje_obj_language_set(obj, NULL);
1905 language = edje_obj_language_get(obj);
1906 FAIL_IF(edje_obj_language, (language != NULL));
1907 edje_obj_language_set(obj, "toto");
1908 language = edje_obj_language_get(obj);
1909 FAIL_IF(edje_obj_language, (!language || strcmp(language, "toto")));
1910 }
1911#else
1912TEST_FUNC_EDJE_OBJ_LANGUAGE_OVERRIDE
1913#endif
1914
1915#ifndef TEST_FUNC_EDJE_OBJ_ANIMATION
1916#define TEST_FUNC_EDJE_OBJ_ANIMATION
1917 {
1918 Eina_Bool on;
1919 edje_obj_animation_set(obj, EINA_TRUE);
1920 on = edje_obj_animation_get(obj);
1921 FAIL_IF(edje_obj_animation, (on != EINA_TRUE));
1922 edje_obj_animation_set(obj, EINA_FALSE);
1923 on = edje_obj_animation_get(obj);
1924 FAIL_IF(edje_obj_animation, (on != EINA_FALSE));
1925 }
1926#else
1927TEST_FUNC_EDJE_OBJ_ANIMATION_OVERRIDE
1928#endif
1929
1930#ifndef TEST_FUNC_EDJE_OBJ_PLAY
1931#define TEST_FUNC_EDJE_OBJ_PLAY
1932 {
1933 Eina_Bool play;
1934 edje_obj_play_set(obj, EINA_TRUE);
1935 play = edje_obj_play_get(obj);
1936 FAIL_IF(edje_obj_play, (play != EINA_TRUE));
1937 edje_obj_play_set(obj, EINA_FALSE);
1938 play = edje_obj_play_get(obj);
1939 FAIL_IF(edje_obj_play, (play != EINA_FALSE));
1940 }
1941#else
1942TEST_FUNC_EDJE_OBJ_PLAY_OVERRIDE
1943#endif
1944
1945#ifndef TEST_FUNC_EDJE_OBJ_SCALE
1946#define TEST_FUNC_EDJE_OBJ_SCALE
1947 {
1948 double scale;
1949 edje_obj_scale_set(obj, 0.0);
1950 scale = edje_obj_scale_get(obj);
1951 FAIL_IF(edje_obj_scale, (scale != 0.0));
1952 edje_obj_scale_set(obj, 1.0);
1953 scale = edje_obj_scale_get(obj);
1954 FAIL_IF(edje_obj_scale, (scale != 1.0));
1955 }
1956#else
1957TEST_FUNC_EDJE_OBJ_SCALE_OVERRIDE
1958#endif
1959
1960#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS
1961#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS
1962 {
1963 const char * font = NULL;
1964 Evas_Font_Size size;
1965 edje_obj_text_class_set(obj, NULL, NULL, 0);
1966 edje_obj_text_class_get(obj, NULL, &font, &size);
1967 FAIL_IF(edje_obj_text_class, (font != NULL) || (size != 0));
1968 edje_obj_text_class_set(obj, "toto", "toto", 100);
1969 edje_obj_text_class_get(obj, "toto", &font, &size);
1970 FAIL_IF(edje_obj_text_class, (!font || strcmp(font, "toto")) || (size != 100));
1971 }
1972#else
1973TEST_FUNC_EDJE_OBJ_TEXT_CLASS_OVERRIDE
1974#endif
1975
1976#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS
1977#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS
1978 {
1979 int r;
1980 int g;
1981 int b;
1982 int a;
1983 int r2;
1984 int g2;
1985 int b2;
1986 int a2;
1987 int r3;
1988 int g3;
1989 int b3;
1990 int a3;
1991 edje_obj_color_class_set(obj, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
1992 edje_obj_color_class_get(obj, NULL, &r, &g, &b, &a, &r2, &g2, &b2, &a2, &r3, &g3, &b3, &a3);
1993 FAIL_IF(edje_obj_color_class, (r != 0) || (g != 0) || (b != 0) || (a != 0) || (r2 != 0) || (g2 != 0) || (b2 != 0) || (a2 != 0) || (r3 != 0) || (g3 != 0) || (b3 != 0) || (a3 != 0));
1994 edje_obj_color_class_set(obj, "toto", 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100);
1995 edje_obj_color_class_get(obj, "toto", &r, &g, &b, &a, &r2, &g2, &b2, &a2, &r3, &g3, &b3, &a3);
1996 FAIL_IF(edje_obj_color_class, (r != 100) || (g != 100) || (b != 100) || (a != 100) || (r2 != 100) || (g2 != 100) || (b2 != 100) || (a2 != 100) || (r3 != 100) || (g3 != 100) || (b3 != 100) || (a3 != 100));
1997 }
1998#else
1999TEST_FUNC_EDJE_OBJ_COLOR_CLASS_OVERRIDE
2000#endif
2001
2002#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS
2003#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS
2004 {
2005 int minw;
2006 int minh;
2007 int maxw;
2008 int maxh;
2009 edje_obj_size_class_set(obj, NULL, 0, 0, 0, 0);
2010 edje_obj_size_class_get(obj, NULL, &minw, &minh, &maxw, &maxh);
2011 FAIL_IF(edje_obj_size_class, (minw != 0) || (minh != 0) || (maxw != 0) || (maxh != 0));
2012 edje_obj_size_class_set(obj, "toto", 100, 100, 100, 100);
2013 edje_obj_size_class_get(obj, "toto", &minw, &minh, &maxw, &maxh);
2014 FAIL_IF(edje_obj_size_class, (minw != 100) || (minh != 100) || (maxw != 100) || (maxh != 100));
2015 }
2016#else
2017TEST_FUNC_EDJE_OBJ_SIZE_CLASS_OVERRIDE
2018#endif
2019
2020#ifndef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR
2021#define TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR
2022 {
2023 double scale;
2024 edje_obj_transition_duration_factor_set(obj, 0.0);
2025 scale = edje_obj_transition_duration_factor_get(obj);
2026 FAIL_IF(edje_obj_transition_duration_factor, (scale != 0.0));
2027 edje_obj_transition_duration_factor_set(obj, 1.0);
2028 scale = edje_obj_transition_duration_factor_get(obj);
2029 FAIL_IF(edje_obj_transition_duration_factor, (scale != 1.0));
2030 }
2031#else
2032TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_OVERRIDE
2033#endif
2034
2035#ifndef TEST_OBJ_EDJE_OBJECT_DTOR
2036#define TEST_OBJ_EDJE_OBJECT_DTOR eo_del(obj);
2037#endif
2038TEST_OBJ_EDJE_OBJECT_DTOR
2039
1635#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR 2040#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1636#define TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR obj = eo_add(elm_app_server_view_class_get(), parent); 2041#define TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR obj = eo_add(elm_app_server_view_class_get(), parent);
1637#endif 2042#endif
@@ -1648,6 +2053,8 @@ TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1648 progress = elm_app_server_view_progress_get(obj); 2053 progress = elm_app_server_view_progress_get(obj);
1649 FAIL_IF(elm_app_server_view_progress, (progress != 100)); 2054 FAIL_IF(elm_app_server_view_progress, (progress != 100));
1650 } 2055 }
2056#else
2057TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_OVERRIDE
1651#endif 2058#endif
1652 2059
1653#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS 2060#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS
@@ -1661,6 +2068,8 @@ TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1661 events = elm_app_server_view_new_events_get(obj); 2068 events = elm_app_server_view_new_events_get(obj);
1662 FAIL_IF(elm_app_server_view_new_events, (events != 100)); 2069 FAIL_IF(elm_app_server_view_new_events, (events != 100));
1663 } 2070 }
2071#else
2072TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_OVERRIDE
1664#endif 2073#endif
1665 2074
1666#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON 2075#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON
@@ -1674,6 +2083,8 @@ TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1674 icon = elm_app_server_view_icon_get(obj); 2083 icon = elm_app_server_view_icon_get(obj);
1675 FAIL_IF(elm_app_server_view_icon, (!icon || strcmp(icon, "toto"))); 2084 FAIL_IF(elm_app_server_view_icon, (!icon || strcmp(icon, "toto")));
1676 } 2085 }
2086#else
2087TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_OVERRIDE
1677#endif 2088#endif
1678 2089
1679#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE 2090#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE
@@ -1687,6 +2098,8 @@ TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1687 title = elm_app_server_view_title_get(obj); 2098 title = elm_app_server_view_title_get(obj);
1688 FAIL_IF(elm_app_server_view_title, (!title || strcmp(title, "toto"))); 2099 FAIL_IF(elm_app_server_view_title, (!title || strcmp(title, "toto")));
1689 } 2100 }
2101#else
2102TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_OVERRIDE
1690#endif 2103#endif
1691 2104
1692#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID 2105#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID
@@ -1700,6 +2113,8 @@ TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
1700 ret = elm_app_server_view_id_get(obj); 2113 ret = elm_app_server_view_id_get(obj);
1701 FAIL_IF(elm_app_server_view_id, (!ret || strcmp(ret, "toto"))); 2114 FAIL_IF(elm_app_server_view_id, (!ret || strcmp(ret, "toto")));
1702 } 2115 }
2116#else
2117TEST_FUNC_ELM_APP_SERVER_VIEW_ID_OVERRIDE
1703#endif 2118#endif
1704 2119
1705#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR 2120#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR
@@ -1723,6 +2138,8 @@ TEST_OBJ_ELM_BOX_CTOR
1723 homogeneous = elm_obj_box_homogeneous_get(obj); 2138 homogeneous = elm_obj_box_homogeneous_get(obj);
1724 FAIL_IF(elm_obj_box_homogeneous, (homogeneous != EINA_FALSE)); 2139 FAIL_IF(elm_obj_box_homogeneous, (homogeneous != EINA_FALSE));
1725 } 2140 }
2141#else
2142TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_OVERRIDE
1726#endif 2143#endif
1727 2144
1728#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN 2145#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN
@@ -1737,6 +2154,8 @@ TEST_OBJ_ELM_BOX_CTOR
1737 elm_obj_box_align_get(obj, &horizontal, &vertical); 2154 elm_obj_box_align_get(obj, &horizontal, &vertical);
1738 FAIL_IF(elm_obj_box_align, (horizontal != 1.0) || (vertical != 1.0)); 2155 FAIL_IF(elm_obj_box_align, (horizontal != 1.0) || (vertical != 1.0));
1739 } 2156 }
2157#else
2158TEST_FUNC_ELM_OBJ_BOX_ALIGN_OVERRIDE
1740#endif 2159#endif
1741 2160
1742#ifndef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL 2161#ifndef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL
@@ -1750,6 +2169,8 @@ TEST_OBJ_ELM_BOX_CTOR
1750 horizontal = elm_obj_box_horizontal_get(obj); 2169 horizontal = elm_obj_box_horizontal_get(obj);
1751 FAIL_IF(elm_obj_box_horizontal, (horizontal != EINA_FALSE)); 2170 FAIL_IF(elm_obj_box_horizontal, (horizontal != EINA_FALSE));
1752 } 2171 }
2172#else
2173TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_OVERRIDE
1753#endif 2174#endif
1754 2175
1755#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING 2176#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING
@@ -1764,6 +2185,8 @@ TEST_OBJ_ELM_BOX_CTOR
1764 elm_obj_box_padding_get(obj, &horizontal, &vertical); 2185 elm_obj_box_padding_get(obj, &horizontal, &vertical);
1765 FAIL_IF(elm_obj_box_padding, (horizontal != 100) || (vertical != 100)); 2186 FAIL_IF(elm_obj_box_padding, (horizontal != 100) || (vertical != 100));
1766 } 2187 }
2188#else
2189TEST_FUNC_ELM_OBJ_BOX_PADDING_OVERRIDE
1767#endif 2190#endif
1768 2191
1769#ifndef TEST_OBJ_ELM_BOX_DTOR 2192#ifndef TEST_OBJ_ELM_BOX_DTOR
@@ -1787,6 +2210,8 @@ TEST_OBJ_ELM_ICON_CTOR
1787 order = elm_obj_icon_order_lookup_get(obj); 2210 order = elm_obj_icon_order_lookup_get(obj);
1788 FAIL_IF(elm_obj_icon_order_lookup, (order != ELM_ICON_LOOKUP_THEME_FDO)); 2211 FAIL_IF(elm_obj_icon_order_lookup, (order != ELM_ICON_LOOKUP_THEME_FDO));
1789 } 2212 }
2213#else
2214TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_OVERRIDE
1790#endif 2215#endif
1791 2216
1792#ifndef TEST_FUNC_ELM_OBJ_ICON_STANDARD 2217#ifndef TEST_FUNC_ELM_OBJ_ICON_STANDARD
@@ -1800,32 +2225,8 @@ TEST_OBJ_ELM_ICON_CTOR
1800 name = elm_obj_icon_standard_get(obj); 2225 name = elm_obj_icon_standard_get(obj);
1801 FAIL_IF(elm_obj_icon_standard, (!name || strcmp(name, "toto"))); 2226 FAIL_IF(elm_obj_icon_standard, (!name || strcmp(name, "toto")));
1802 } 2227 }
1803#endif 2228#else
1804 2229TEST_FUNC_ELM_OBJ_ICON_STANDARD_OVERRIDE
1805#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZE_DOWN
1806#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZE_DOWN
1807 {
1808 Eina_Bool resize_down;
1809 elm_obj_image_resize_down_set(obj, EINA_TRUE);
1810 resize_down = elm_obj_image_resize_down_get(obj);
1811 FAIL_IF(elm_obj_image_resize_down, (resize_down != EINA_TRUE));
1812 elm_obj_image_resize_down_set(obj, EINA_FALSE);
1813 resize_down = elm_obj_image_resize_down_get(obj);
1814 FAIL_IF(elm_obj_image_resize_down, (resize_down != EINA_FALSE));
1815 }
1816#endif
1817
1818#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZE_UP
1819#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZE_UP
1820 {
1821 Eina_Bool resize_up;
1822 elm_obj_image_resize_up_set(obj, EINA_TRUE);
1823 resize_up = elm_obj_image_resize_up_get(obj);
1824 FAIL_IF(elm_obj_image_resize_up, (resize_up != EINA_TRUE));
1825 elm_obj_image_resize_up_set(obj, EINA_FALSE);
1826 resize_up = elm_obj_image_resize_up_get(obj);
1827 FAIL_IF(elm_obj_image_resize_up, (resize_up != EINA_FALSE));
1828 }
1829#endif 2230#endif
1830 2231
1831#ifndef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE 2232#ifndef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE
@@ -1839,6 +2240,8 @@ TEST_OBJ_ELM_ICON_CTOR
1839 no_scale = elm_obj_image_no_scale_get(obj); 2240 no_scale = elm_obj_image_no_scale_get(obj);
1840 FAIL_IF(elm_obj_image_no_scale, (no_scale != EINA_FALSE)); 2241 FAIL_IF(elm_obj_image_no_scale, (no_scale != EINA_FALSE));
1841 } 2242 }
2243#else
2244TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_OVERRIDE
1842#endif 2245#endif
1843 2246
1844#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE 2247#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE
@@ -1852,6 +2255,8 @@ TEST_OBJ_ELM_ICON_CTOR
1852 fill_inside = elm_obj_image_fill_inside_get(obj); 2255 fill_inside = elm_obj_image_fill_inside_get(obj);
1853 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != EINA_FALSE)); 2256 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != EINA_FALSE));
1854 } 2257 }
2258#else
2259TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_OVERRIDE
1855#endif 2260#endif
1856 2261
1857#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED 2262#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED
@@ -1865,32 +2270,8 @@ TEST_OBJ_ELM_ICON_CTOR
1865 fixed = elm_obj_image_aspect_fixed_get(obj); 2270 fixed = elm_obj_image_aspect_fixed_get(obj);
1866 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != EINA_FALSE)); 2271 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != EINA_FALSE));
1867 } 2272 }
1868#endif 2273#else
1869 2274TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_OVERRIDE
1870#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ORIENT
1871#define TEST_FUNC_ELM_OBJ_IMAGE_ORIENT
1872 {
1873 Elm_Image_Orient orient;
1874 elm_obj_image_orient_set(obj, ELM_IMAGE_ORIENT_NONE);
1875 orient = elm_obj_image_orient_get(obj);
1876 FAIL_IF(elm_obj_image_orient, (orient != ELM_IMAGE_ORIENT_NONE));
1877 elm_obj_image_orient_set(obj, ELM_IMAGE_ORIENT_0);
1878 orient = elm_obj_image_orient_get(obj);
1879 FAIL_IF(elm_obj_image_orient, (orient != ELM_IMAGE_ORIENT_0));
1880 }
1881#endif
1882
1883#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_OUTSIDE
1884#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_OUTSIDE
1885 {
1886 Eina_Bool fill_outside;
1887 elm_obj_image_fill_outside_set(obj, EINA_TRUE);
1888 fill_outside = elm_obj_image_fill_outside_get(obj);
1889 FAIL_IF(elm_obj_image_fill_outside, (fill_outside != EINA_TRUE));
1890 elm_obj_image_fill_outside_set(obj, EINA_FALSE);
1891 fill_outside = elm_obj_image_fill_outside_get(obj);
1892 FAIL_IF(elm_obj_image_fill_outside, (fill_outside != EINA_FALSE));
1893 }
1894#endif 2275#endif
1895 2276
1896#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE 2277#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE
@@ -1905,20 +2286,23 @@ TEST_OBJ_ELM_ICON_CTOR
1905 elm_obj_image_resizable_get(obj, &up, &down); 2286 elm_obj_image_resizable_get(obj, &up, &down);
1906 FAIL_IF(elm_obj_image_resizable, (up != EINA_FALSE) || (down != EINA_FALSE)); 2287 FAIL_IF(elm_obj_image_resizable, (up != EINA_FALSE) || (down != EINA_FALSE));
1907 } 2288 }
2289#else
2290TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_OVERRIDE
1908#endif 2291#endif
1909 2292
1910#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE 2293#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
1911#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE 2294#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
1912 { 2295 {
1913 int w; 2296 Eina_Bool set;
1914 int h; 2297 evas_draggable_interface_drag_target_set(obj, EINA_TRUE);
1915 efl_image_load_size_set(obj, 0, 0); 2298 set = evas_draggable_interface_drag_target_get(obj);
1916 efl_image_load_size_get(obj, &w, &h); 2299 FAIL_IF(evas_draggable_interface_drag_target, (set != EINA_TRUE));
1917 FAIL_IF(efl_image_load_size, (w != 0) || (h != 0)); 2300 evas_draggable_interface_drag_target_set(obj, EINA_FALSE);
1918 efl_image_load_size_set(obj, 100, 100); 2301 set = evas_draggable_interface_drag_target_get(obj);
1919 efl_image_load_size_get(obj, &w, &h); 2302 FAIL_IF(evas_draggable_interface_drag_target, (set != EINA_FALSE));
1920 FAIL_IF(efl_image_load_size, (w != 100) || (h != 100));
1921 } 2303 }
2304#else
2305TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_OVERRIDE
1922#endif 2306#endif
1923 2307
1924#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE 2308#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE
@@ -1932,32 +2316,39 @@ TEST_OBJ_ELM_ICON_CTOR
1932 smooth_scale = efl_image_smooth_scale_get(obj); 2316 smooth_scale = efl_image_smooth_scale_get(obj);
1933 FAIL_IF(efl_image_smooth_scale, (smooth_scale != EINA_FALSE)); 2317 FAIL_IF(efl_image_smooth_scale, (smooth_scale != EINA_FALSE));
1934 } 2318 }
2319#else
2320TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_OVERRIDE
1935#endif 2321#endif
1936 2322
1937#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET 2323#ifndef TEST_FUNC_EFL_IMAGE_ORIENTATION
1938#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET 2324#define TEST_FUNC_EFL_IMAGE_ORIENTATION
1939 { 2325 {
1940 Eina_Bool set; 2326 Efl_Gfx_Orientation orient;
1941 evas_draggable_interface_drag_target_set(obj, EINA_TRUE); 2327 efl_image_orientation_set(obj, EFL_GFX_ORIENTATION_ORIENT_NONE);
1942 set = evas_draggable_interface_drag_target_get(obj); 2328 orient = efl_image_orientation_get(obj);
1943 FAIL_IF(evas_draggable_interface_drag_target, (set != EINA_TRUE)); 2329 FAIL_IF(efl_image_orientation, (orient != EFL_GFX_ORIENTATION_ORIENT_NONE));
1944 evas_draggable_interface_drag_target_set(obj, EINA_FALSE); 2330 efl_image_orientation_set(obj, EFL_GFX_ORIENTATION_ORIENT_0);
1945 set = evas_draggable_interface_drag_target_get(obj); 2331 orient = efl_image_orientation_get(obj);
1946 FAIL_IF(evas_draggable_interface_drag_target, (set != EINA_FALSE)); 2332 FAIL_IF(efl_image_orientation, (orient != EFL_GFX_ORIENTATION_ORIENT_0));
1947 } 2333 }
2334#else
2335TEST_FUNC_EFL_IMAGE_ORIENTATION_OVERRIDE
1948#endif 2336#endif
1949 2337
1950#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION 2338#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE
1951#define TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION 2339#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE
1952 { 2340 {
1953 const char * description = NULL; 2341 int w;
1954 elm_interface_atspi_image_description_set(obj, NULL); 2342 int h;
1955 description = elm_interface_atspi_image_description_get(obj); 2343 efl_image_load_size_set(obj, 0, 0);
1956 FAIL_IF(elm_interface_atspi_image_description, (description != NULL)); 2344 efl_image_load_size_get(obj, &w, &h);
1957 elm_interface_atspi_image_description_set(obj, "toto"); 2345 FAIL_IF(efl_image_load_size, (w != 0) || (h != 0));
1958 description = elm_interface_atspi_image_description_get(obj); 2346 efl_image_load_size_set(obj, 100, 100);
1959 FAIL_IF(elm_interface_atspi_image_description, (!description || strcmp(description, "toto"))); 2347 efl_image_load_size_get(obj, &w, &h);
2348 FAIL_IF(efl_image_load_size, (w != 100) || (h != 100));
1960 } 2349 }
2350#else
2351TEST_FUNC_EFL_IMAGE_LOAD_SIZE_OVERRIDE
1961#endif 2352#endif
1962 2353
1963#ifndef TEST_FUNC_EFL_PLAYER_PLAY 2354#ifndef TEST_FUNC_EFL_PLAYER_PLAY
@@ -1971,6 +2362,23 @@ TEST_OBJ_ELM_ICON_CTOR
1971 play = efl_player_play_get(obj); 2362 play = efl_player_play_get(obj);
1972 FAIL_IF(efl_player_play, (play != EINA_FALSE)); 2363 FAIL_IF(efl_player_play, (play != EINA_FALSE));
1973 } 2364 }
2365#else
2366TEST_FUNC_EFL_PLAYER_PLAY_OVERRIDE
2367#endif
2368
2369#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION
2370#define TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION
2371 {
2372 const char * description = NULL;
2373 elm_interface_atspi_image_description_set(obj, NULL);
2374 description = elm_interface_atspi_image_description_get(obj);
2375 FAIL_IF(elm_interface_atspi_image_description, (description != NULL));
2376 elm_interface_atspi_image_description_set(obj, "toto");
2377 description = elm_interface_atspi_image_description_get(obj);
2378 FAIL_IF(elm_interface_atspi_image_description, (!description || strcmp(description, "toto")));
2379 }
2380#else
2381TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_OVERRIDE
1974#endif 2382#endif
1975 2383
1976#ifndef TEST_OBJ_ELM_ICON_DTOR 2384#ifndef TEST_OBJ_ELM_ICON_DTOR
@@ -1994,6 +2402,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
1994 alpha = efl_gfx_buffer_alpha_get(obj); 2402 alpha = efl_gfx_buffer_alpha_get(obj);
1995 FAIL_IF(efl_gfx_buffer_alpha, (alpha != EINA_FALSE)); 2403 FAIL_IF(efl_gfx_buffer_alpha, (alpha != EINA_FALSE));
1996 } 2404 }
2405#else
2406TEST_FUNC_EFL_GFX_BUFFER_ALPHA_OVERRIDE
1997#endif 2407#endif
1998 2408
1999#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO 2409#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO
@@ -2007,6 +2417,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
2007 filled = efl_gfx_fill_auto_get(obj); 2417 filled = efl_gfx_fill_auto_get(obj);
2008 FAIL_IF(efl_gfx_fill_auto, (filled != EINA_FALSE)); 2418 FAIL_IF(efl_gfx_fill_auto, (filled != EINA_FALSE));
2009 } 2419 }
2420#else
2421TEST_FUNC_EFL_GFX_FILL_AUTO_OVERRIDE
2010#endif 2422#endif
2011 2423
2012#ifndef TEST_FUNC_EFL_GFX_FILL 2424#ifndef TEST_FUNC_EFL_GFX_FILL
@@ -2023,6 +2435,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
2023 efl_gfx_fill_get(obj, &x, &y, &w, &h); 2435 efl_gfx_fill_get(obj, &x, &y, &w, &h);
2024 FAIL_IF(efl_gfx_fill, (x != 100) || (y != 100) || (w != 100) || (h != 100)); 2436 FAIL_IF(efl_gfx_fill, (x != 100) || (y != 100) || (w != 100) || (h != 100));
2025 } 2437 }
2438#else
2439TEST_FUNC_EFL_GFX_FILL_OVERRIDE
2026#endif 2440#endif
2027 2441
2028#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM 2442#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM
@@ -2037,6 +2451,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
2037 efl_gfx_filter_program_get(obj, &code, &name); 2451 efl_gfx_filter_program_get(obj, &code, &name);
2038 FAIL_IF(efl_gfx_filter_program, (!code || strcmp(code, "toto")) || (!name || strcmp(name, "toto"))); 2452 FAIL_IF(efl_gfx_filter_program, (!code || strcmp(code, "toto")) || (!name || strcmp(name, "toto")));
2039 } 2453 }
2454#else
2455TEST_FUNC_EFL_GFX_FILTER_PROGRAM_OVERRIDE
2040#endif 2456#endif
2041 2457
2042#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE 2458#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE
@@ -2054,6 +2470,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
2054 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos); 2470 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos);
2055 FAIL_IF(efl_gfx_filter_state, (!cur_state || strcmp(cur_state, "toto")) || (cur_val != 1.0) || (!next_state || strcmp(next_state, "toto")) || (next_val != 1.0) || (pos != 1.0)); 2471 FAIL_IF(efl_gfx_filter_state, (!cur_state || strcmp(cur_state, "toto")) || (cur_val != 1.0) || (!next_state || strcmp(next_state, "toto")) || (next_val != 1.0) || (pos != 1.0));
2056 } 2472 }
2473#else
2474TEST_FUNC_EFL_GFX_FILTER_STATE_OVERRIDE
2057#endif 2475#endif
2058 2476
2059#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA 2477#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA
@@ -2068,6 +2486,8 @@ TEST_OBJ_EVAS_IMAGE_CTOR
2068 efl_gfx_filter_data_get(obj, "toto", &value, &execute); 2486 efl_gfx_filter_data_get(obj, "toto", &value, &execute);
2069 FAIL_IF(efl_gfx_filter_data, (!value || strcmp(value, "toto")) || (execute != EINA_FALSE)); 2487 FAIL_IF(efl_gfx_filter_data, (!value || strcmp(value, "toto")) || (execute != EINA_FALSE));
2070 } 2488 }
2489#else
2490TEST_FUNC_EFL_GFX_FILTER_DATA_OVERRIDE
2071#endif 2491#endif
2072 2492
2073#ifndef TEST_OBJ_EVAS_IMAGE_DTOR 2493#ifndef TEST_OBJ_EVAS_IMAGE_DTOR
@@ -2091,6 +2511,8 @@ TEST_OBJ_ELM_GESTURE_LAYER_CTOR
2091 step = elm_obj_gesture_layer_zoom_step_get(obj); 2511 step = elm_obj_gesture_layer_zoom_step_get(obj);
2092 FAIL_IF(elm_obj_gesture_layer_zoom_step, (step != 1.0)); 2512 FAIL_IF(elm_obj_gesture_layer_zoom_step, (step != 1.0));
2093 } 2513 }
2514#else
2515TEST_FUNC_ELM_OBJ_GESTURE_LAYER_ZOOM_STEP_OVERRIDE
2094#endif 2516#endif
2095 2517
2096#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_TAP_FINGER_SIZE 2518#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_TAP_FINGER_SIZE
@@ -2104,6 +2526,8 @@ TEST_OBJ_ELM_GESTURE_LAYER_CTOR
2104 sz = elm_obj_gesture_layer_tap_finger_size_get(obj); 2526 sz = elm_obj_gesture_layer_tap_finger_size_get(obj);
2105 FAIL_IF(elm_obj_gesture_layer_tap_finger_size, (sz != 100)); 2527 FAIL_IF(elm_obj_gesture_layer_tap_finger_size, (sz != 100));
2106 } 2528 }
2529#else
2530TEST_FUNC_ELM_OBJ_GESTURE_LAYER_TAP_FINGER_SIZE_OVERRIDE
2107#endif 2531#endif
2108 2532
2109#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_HOLD_EVENTS 2533#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_HOLD_EVENTS
@@ -2117,6 +2541,8 @@ TEST_OBJ_ELM_GESTURE_LAYER_CTOR
2117 hold_events = elm_obj_gesture_layer_hold_events_get(obj); 2541 hold_events = elm_obj_gesture_layer_hold_events_get(obj);
2118 FAIL_IF(elm_obj_gesture_layer_hold_events, (hold_events != EINA_FALSE)); 2542 FAIL_IF(elm_obj_gesture_layer_hold_events, (hold_events != EINA_FALSE));
2119 } 2543 }
2544#else
2545TEST_FUNC_ELM_OBJ_GESTURE_LAYER_HOLD_EVENTS_OVERRIDE
2120#endif 2546#endif
2121 2547
2122#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_ROTATE_STEP 2548#ifndef TEST_FUNC_ELM_OBJ_GESTURE_LAYER_ROTATE_STEP
@@ -2130,6 +2556,8 @@ TEST_OBJ_ELM_GESTURE_LAYER_CTOR
2130 step = elm_obj_gesture_layer_rotate_step_get(obj); 2556 step = elm_obj_gesture_layer_rotate_step_get(obj);
2131 FAIL_IF(elm_obj_gesture_layer_rotate_step, (step != 1.0)); 2557 FAIL_IF(elm_obj_gesture_layer_rotate_step, (step != 1.0));
2132 } 2558 }
2559#else
2560TEST_FUNC_ELM_OBJ_GESTURE_LAYER_ROTATE_STEP_OVERRIDE
2133#endif 2561#endif
2134 2562
2135#ifndef TEST_OBJ_ELM_GESTURE_LAYER_DTOR 2563#ifndef TEST_OBJ_ELM_GESTURE_LAYER_DTOR
@@ -2153,6 +2581,8 @@ TEST_OBJ_ELM_DISKSELECTOR_CTOR
2153 len = elm_obj_diskselector_side_text_max_length_get(obj); 2581 len = elm_obj_diskselector_side_text_max_length_get(obj);
2154 FAIL_IF(elm_obj_diskselector_side_text_max_length, (len != 100)); 2582 FAIL_IF(elm_obj_diskselector_side_text_max_length, (len != 100));
2155 } 2583 }
2584#else
2585TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_OVERRIDE
2156#endif 2586#endif
2157 2587
2158#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_ROUND_ENABLED 2588#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_ROUND_ENABLED
@@ -2166,6 +2596,8 @@ TEST_OBJ_ELM_DISKSELECTOR_CTOR
2166 enabled = elm_obj_diskselector_round_enabled_get(obj); 2596 enabled = elm_obj_diskselector_round_enabled_get(obj);
2167 FAIL_IF(elm_obj_diskselector_round_enabled, (enabled != EINA_FALSE)); 2597 FAIL_IF(elm_obj_diskselector_round_enabled, (enabled != EINA_FALSE));
2168 } 2598 }
2599#else
2600TEST_FUNC_ELM_OBJ_DISKSELECTOR_ROUND_ENABLED_OVERRIDE
2169#endif 2601#endif
2170 2602
2171#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_DISPLAY_ITEM_NUM 2603#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_DISPLAY_ITEM_NUM
@@ -2179,6 +2611,8 @@ TEST_OBJ_ELM_DISKSELECTOR_CTOR
2179 num = elm_obj_diskselector_display_item_num_get(obj); 2611 num = elm_obj_diskselector_display_item_num_get(obj);
2180 FAIL_IF(elm_obj_diskselector_display_item_num, (num != 100)); 2612 FAIL_IF(elm_obj_diskselector_display_item_num, (num != 100));
2181 } 2613 }
2614#else
2615TEST_FUNC_ELM_OBJ_DISKSELECTOR_DISPLAY_ITEM_NUM_OVERRIDE
2182#endif 2616#endif
2183 2617
2184#ifndef TEST_OBJ_ELM_DISKSELECTOR_DTOR 2618#ifndef TEST_OBJ_ELM_DISKSELECTOR_DTOR
@@ -2202,6 +2636,8 @@ TEST_OBJ_ELM_HOVERSEL_CTOR
2202 horizontal = elm_obj_hoversel_horizontal_get(obj); 2636 horizontal = elm_obj_hoversel_horizontal_get(obj);
2203 FAIL_IF(elm_obj_hoversel_horizontal, (horizontal != EINA_FALSE)); 2637 FAIL_IF(elm_obj_hoversel_horizontal, (horizontal != EINA_FALSE));
2204 } 2638 }
2639#else
2640TEST_FUNC_ELM_OBJ_HOVERSEL_HORIZONTAL_OVERRIDE
2205#endif 2641#endif
2206 2642
2207#ifndef TEST_FUNC_ELM_OBJ_HOVERSEL_AUTO_UPDATE 2643#ifndef TEST_FUNC_ELM_OBJ_HOVERSEL_AUTO_UPDATE
@@ -2215,6 +2651,8 @@ TEST_OBJ_ELM_HOVERSEL_CTOR
2215 auto_update = elm_obj_hoversel_auto_update_get(obj); 2651 auto_update = elm_obj_hoversel_auto_update_get(obj);
2216 FAIL_IF(elm_obj_hoversel_auto_update, (auto_update != EINA_FALSE)); 2652 FAIL_IF(elm_obj_hoversel_auto_update, (auto_update != EINA_FALSE));
2217 } 2653 }
2654#else
2655TEST_FUNC_ELM_OBJ_HOVERSEL_AUTO_UPDATE_OVERRIDE
2218#endif 2656#endif
2219 2657
2220#ifndef TEST_OBJ_ELM_HOVERSEL_DTOR 2658#ifndef TEST_OBJ_ELM_HOVERSEL_DTOR
@@ -2238,6 +2676,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2238 w = elm_obj_label_wrap_width_get(obj); 2676 w = elm_obj_label_wrap_width_get(obj);
2239 FAIL_IF(elm_obj_label_wrap_width, (w != 100)); 2677 FAIL_IF(elm_obj_label_wrap_width, (w != 100));
2240 } 2678 }
2679#else
2680TEST_FUNC_ELM_OBJ_LABEL_WRAP_WIDTH_OVERRIDE
2241#endif 2681#endif
2242 2682
2243#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_SPEED 2683#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_SPEED
@@ -2251,6 +2691,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2251 speed = elm_obj_label_slide_speed_get(obj); 2691 speed = elm_obj_label_slide_speed_get(obj);
2252 FAIL_IF(elm_obj_label_slide_speed, (speed != 1.0)); 2692 FAIL_IF(elm_obj_label_slide_speed, (speed != 1.0));
2253 } 2693 }
2694#else
2695TEST_FUNC_ELM_OBJ_LABEL_SLIDE_SPEED_OVERRIDE
2254#endif 2696#endif
2255 2697
2256#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_MODE 2698#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_MODE
@@ -2264,6 +2706,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2264 mode = elm_obj_label_slide_mode_get(obj); 2706 mode = elm_obj_label_slide_mode_get(obj);
2265 FAIL_IF(elm_obj_label_slide_mode, (mode != ELM_LABEL_SLIDE_MODE_AUTO)); 2707 FAIL_IF(elm_obj_label_slide_mode, (mode != ELM_LABEL_SLIDE_MODE_AUTO));
2266 } 2708 }
2709#else
2710TEST_FUNC_ELM_OBJ_LABEL_SLIDE_MODE_OVERRIDE
2267#endif 2711#endif
2268 2712
2269#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_DURATION 2713#ifndef TEST_FUNC_ELM_OBJ_LABEL_SLIDE_DURATION
@@ -2277,6 +2721,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2277 duration = elm_obj_label_slide_duration_get(obj); 2721 duration = elm_obj_label_slide_duration_get(obj);
2278 FAIL_IF(elm_obj_label_slide_duration, (duration != 1.0)); 2722 FAIL_IF(elm_obj_label_slide_duration, (duration != 1.0));
2279 } 2723 }
2724#else
2725TEST_FUNC_ELM_OBJ_LABEL_SLIDE_DURATION_OVERRIDE
2280#endif 2726#endif
2281 2727
2282#ifndef TEST_FUNC_ELM_OBJ_LABEL_LINE_WRAP 2728#ifndef TEST_FUNC_ELM_OBJ_LABEL_LINE_WRAP
@@ -2290,6 +2736,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2290 wrap = elm_obj_label_line_wrap_get(obj); 2736 wrap = elm_obj_label_line_wrap_get(obj);
2291 FAIL_IF(elm_obj_label_line_wrap, (wrap != ELM_WRAP_CHAR)); 2737 FAIL_IF(elm_obj_label_line_wrap, (wrap != ELM_WRAP_CHAR));
2292 } 2738 }
2739#else
2740TEST_FUNC_ELM_OBJ_LABEL_LINE_WRAP_OVERRIDE
2293#endif 2741#endif
2294 2742
2295#ifndef TEST_FUNC_ELM_OBJ_LABEL_ELLIPSIS 2743#ifndef TEST_FUNC_ELM_OBJ_LABEL_ELLIPSIS
@@ -2303,6 +2751,8 @@ TEST_OBJ_ELM_LABEL_CTOR
2303 ellipsis = elm_obj_label_ellipsis_get(obj); 2751 ellipsis = elm_obj_label_ellipsis_get(obj);
2304 FAIL_IF(elm_obj_label_ellipsis, (ellipsis != EINA_FALSE)); 2752 FAIL_IF(elm_obj_label_ellipsis, (ellipsis != EINA_FALSE));
2305 } 2753 }
2754#else
2755TEST_FUNC_ELM_OBJ_LABEL_ELLIPSIS_OVERRIDE
2306#endif 2756#endif
2307 2757
2308#ifndef TEST_OBJ_ELM_LABEL_DTOR 2758#ifndef TEST_OBJ_ELM_LABEL_DTOR
@@ -2326,6 +2776,8 @@ TEST_OBJ_ELM_FLIP_CTOR
2326 mode = elm_obj_flip_interaction_get(obj); 2776 mode = elm_obj_flip_interaction_get(obj);
2327 FAIL_IF(elm_obj_flip_interaction, (mode != ELM_FLIP_INTERACTION_ROTATE)); 2777 FAIL_IF(elm_obj_flip_interaction, (mode != ELM_FLIP_INTERACTION_ROTATE));
2328 } 2778 }
2779#else
2780TEST_FUNC_ELM_OBJ_FLIP_INTERACTION_OVERRIDE
2329#endif 2781#endif
2330 2782
2331#ifndef TEST_OBJ_ELM_FLIP_DTOR 2783#ifndef TEST_OBJ_ELM_FLIP_DTOR
@@ -2349,6 +2801,8 @@ TEST_OBJ_ECORE_POLLER_CTOR
2349 interval = ecore_poller_interval_get(obj); 2801 interval = ecore_poller_interval_get(obj);
2350 FAIL_IF(ecore_poller_interval, (interval != 100)); 2802 FAIL_IF(ecore_poller_interval, (interval != 100));
2351 } 2803 }
2804#else
2805TEST_FUNC_ECORE_POLLER_INTERVAL_OVERRIDE
2352#endif 2806#endif
2353 2807
2354#ifndef TEST_OBJ_ECORE_POLLER_DTOR 2808#ifndef TEST_OBJ_ECORE_POLLER_DTOR
@@ -2356,205 +2810,45 @@ TEST_OBJ_ECORE_POLLER_CTOR
2356#endif 2810#endif
2357TEST_OBJ_ECORE_POLLER_DTOR 2811TEST_OBJ_ECORE_POLLER_DTOR
2358 2812
2359#ifndef TEST_OBJ_ELM_SYSTRAY_CTOR 2813#ifndef TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR
2360#define TEST_OBJ_ELM_SYSTRAY_CTOR obj = eo_add(elm_systray_class_get(), parent); 2814#define TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR obj = eo_add(evas_canvas3d_texture_class_get(), parent);
2361#endif
2362TEST_OBJ_ELM_SYSTRAY_CTOR
2363
2364#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ID
2365#define TEST_FUNC_ELM_OBJ_SYSTRAY_ID
2366 {
2367 const char * id = NULL;
2368 elm_obj_systray_id_set(obj, NULL);
2369 id = elm_obj_systray_id_get(obj);
2370 FAIL_IF(elm_obj_systray_id, (id != NULL));
2371 elm_obj_systray_id_set(obj, "toto");
2372 id = elm_obj_systray_id_get(obj);
2373 FAIL_IF(elm_obj_systray_id, (!id || strcmp(id, "toto")));
2374 }
2375#endif
2376
2377#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_CATEGORY
2378#define TEST_FUNC_ELM_OBJ_SYSTRAY_CATEGORY
2379 {
2380 Elm_Systray_Category cat;
2381 elm_obj_systray_category_set(obj, ELM_SYSTRAY_CATEGORY_APP_STATUS);
2382 cat = elm_obj_systray_category_get(obj);
2383 FAIL_IF(elm_obj_systray_category, (cat != ELM_SYSTRAY_CATEGORY_APP_STATUS));
2384 elm_obj_systray_category_set(obj, ELM_SYSTRAY_CATEGORY_COMMUNICATIONS);
2385 cat = elm_obj_systray_category_get(obj);
2386 FAIL_IF(elm_obj_systray_category, (cat != ELM_SYSTRAY_CATEGORY_COMMUNICATIONS));
2387 }
2388#endif
2389
2390#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_THEME_PATH
2391#define TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_THEME_PATH
2392 {
2393 const char * icon_theme_path = NULL;
2394 elm_obj_systray_icon_theme_path_set(obj, NULL);
2395 icon_theme_path = elm_obj_systray_icon_theme_path_get(obj);
2396 FAIL_IF(elm_obj_systray_icon_theme_path, (icon_theme_path != NULL));
2397 elm_obj_systray_icon_theme_path_set(obj, "toto");
2398 icon_theme_path = elm_obj_systray_icon_theme_path_get(obj);
2399 FAIL_IF(elm_obj_systray_icon_theme_path, (!icon_theme_path || strcmp(icon_theme_path, "toto")));
2400 }
2401#endif
2402
2403#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ATT_ICON_NAME
2404#define TEST_FUNC_ELM_OBJ_SYSTRAY_ATT_ICON_NAME
2405 {
2406 const char * att_icon_name = NULL;
2407 elm_obj_systray_att_icon_name_set(obj, NULL);
2408 att_icon_name = elm_obj_systray_att_icon_name_get(obj);
2409 FAIL_IF(elm_obj_systray_att_icon_name, (att_icon_name != NULL));
2410 elm_obj_systray_att_icon_name_set(obj, "toto");
2411 att_icon_name = elm_obj_systray_att_icon_name_get(obj);
2412 FAIL_IF(elm_obj_systray_att_icon_name, (!att_icon_name || strcmp(att_icon_name, "toto")));
2413 }
2414#endif
2415
2416#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_STATUS
2417#define TEST_FUNC_ELM_OBJ_SYSTRAY_STATUS
2418 {
2419 Elm_Systray_Status st;
2420 elm_obj_systray_status_set(obj, ELM_SYSTRAY_STATUS_PASSIVE);
2421 st = elm_obj_systray_status_get(obj);
2422 FAIL_IF(elm_obj_systray_status, (st != ELM_SYSTRAY_STATUS_PASSIVE));
2423 elm_obj_systray_status_set(obj, ELM_SYSTRAY_STATUS_ACTIVE);
2424 st = elm_obj_systray_status_get(obj);
2425 FAIL_IF(elm_obj_systray_status, (st != ELM_SYSTRAY_STATUS_ACTIVE));
2426 }
2427#endif
2428
2429#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_NAME
2430#define TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_NAME
2431 {
2432 const char * icon_name = NULL;
2433 elm_obj_systray_icon_name_set(obj, NULL);
2434 icon_name = elm_obj_systray_icon_name_get(obj);
2435 FAIL_IF(elm_obj_systray_icon_name, (icon_name != NULL));
2436 elm_obj_systray_icon_name_set(obj, "toto");
2437 icon_name = elm_obj_systray_icon_name_get(obj);
2438 FAIL_IF(elm_obj_systray_icon_name, (!icon_name || strcmp(icon_name, "toto")));
2439 }
2440#endif
2441
2442#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_TITLE
2443#define TEST_FUNC_ELM_OBJ_SYSTRAY_TITLE
2444 {
2445 const char * title = NULL;
2446 elm_obj_systray_title_set(obj, NULL);
2447 title = elm_obj_systray_title_get(obj);
2448 FAIL_IF(elm_obj_systray_title, (title != NULL));
2449 elm_obj_systray_title_set(obj, "toto");
2450 title = elm_obj_systray_title_get(obj);
2451 FAIL_IF(elm_obj_systray_title, (!title || strcmp(title, "toto")));
2452 }
2453#endif
2454
2455#ifndef TEST_OBJ_ELM_SYSTRAY_DTOR
2456#define TEST_OBJ_ELM_SYSTRAY_DTOR eo_del(obj);
2457#endif
2458TEST_OBJ_ELM_SYSTRAY_DTOR
2459
2460#ifndef TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR
2461#define TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR obj = eo_add(evas_canvas3d_primitive_class_get(), parent);
2462#endif
2463TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR
2464
2465#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_FORM
2466#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_FORM
2467 {
2468 Evas_Canvas3D_Mesh_Primitive form;
2469 evas_canvas3d_primitive_form_set(obj, EVAS_CANVAS3D_MESH_PRIMITIVE_NONE);
2470 form = evas_canvas3d_primitive_form_get(obj);
2471 FAIL_IF(evas_canvas3d_primitive_form, (form != EVAS_CANVAS3D_MESH_PRIMITIVE_NONE));
2472 evas_canvas3d_primitive_form_set(obj, EVAS_CANVAS3D_MESH_PRIMITIVE_SQUARE);
2473 form = evas_canvas3d_primitive_form_get(obj);
2474 FAIL_IF(evas_canvas3d_primitive_form, (form != EVAS_CANVAS3D_MESH_PRIMITIVE_SQUARE));
2475 }
2476#endif
2477
2478#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_MODE
2479#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_MODE
2480 {
2481 Evas_Canvas3D_Primitive_Mode mode;
2482 evas_canvas3d_primitive_mode_set(obj, EVAS_CANVAS3D_PRIMITIVE_MODE_DEFAULT);
2483 mode = evas_canvas3d_primitive_mode_get(obj);
2484 FAIL_IF(evas_canvas3d_primitive_mode, (mode != EVAS_CANVAS3D_PRIMITIVE_MODE_DEFAULT));
2485 evas_canvas3d_primitive_mode_set(obj, EVAS_CANVAS3D_PRIMITIVE_MODE_WITHOUT_BASE);
2486 mode = evas_canvas3d_primitive_mode_get(obj);
2487 FAIL_IF(evas_canvas3d_primitive_mode, (mode != EVAS_CANVAS3D_PRIMITIVE_MODE_WITHOUT_BASE));
2488 }
2489#endif
2490
2491#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_RATIO
2492#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_RATIO
2493 {
2494 Evas_Real ratio;
2495 evas_canvas3d_primitive_ratio_set(obj, 0.0);
2496 ratio = evas_canvas3d_primitive_ratio_get(obj);
2497 FAIL_IF(evas_canvas3d_primitive_ratio, (ratio != 0.0));
2498 evas_canvas3d_primitive_ratio_set(obj, 1.0);
2499 ratio = evas_canvas3d_primitive_ratio_get(obj);
2500 FAIL_IF(evas_canvas3d_primitive_ratio, (ratio != 1.0));
2501 }
2502#endif
2503
2504#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_PRECISION
2505#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_PRECISION
2506 {
2507 int precision;
2508 evas_canvas3d_primitive_precision_set(obj, 0);
2509 precision = evas_canvas3d_primitive_precision_get(obj);
2510 FAIL_IF(evas_canvas3d_primitive_precision, (precision != 0));
2511 evas_canvas3d_primitive_precision_set(obj, 100);
2512 precision = evas_canvas3d_primitive_precision_get(obj);
2513 FAIL_IF(evas_canvas3d_primitive_precision, (precision != 100));
2514 }
2515#endif 2815#endif
2816TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR
2516 2817
2517#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_TEX_SCALE 2818#ifndef TEST_FUNC_EVAS_CANVAS3D_TEXTURE_SOURCE_VISIBLE
2518#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_TEX_SCALE 2819#define TEST_FUNC_EVAS_CANVAS3D_TEXTURE_SOURCE_VISIBLE
2519 { 2820 {
2520 Evas_Real tex_scale_x; 2821 Eina_Bool visible;
2521 Evas_Real tex_scale_y; 2822 evas_canvas3d_texture_source_visible_set(obj, EINA_TRUE);
2522 evas_canvas3d_primitive_tex_scale_set(obj, 0.0, 0.0); 2823 visible = evas_canvas3d_texture_source_visible_get(obj);
2523 evas_canvas3d_primitive_tex_scale_get(obj, &tex_scale_x, &tex_scale_y); 2824 FAIL_IF(evas_canvas3d_texture_source_visible, (visible != EINA_TRUE));
2524 FAIL_IF(evas_canvas3d_primitive_tex_scale, (tex_scale_x != 0.0) || (tex_scale_y != 0.0)); 2825 evas_canvas3d_texture_source_visible_set(obj, EINA_FALSE);
2525 evas_canvas3d_primitive_tex_scale_set(obj, 1.0, 1.0); 2826 visible = evas_canvas3d_texture_source_visible_get(obj);
2526 evas_canvas3d_primitive_tex_scale_get(obj, &tex_scale_x, &tex_scale_y); 2827 FAIL_IF(evas_canvas3d_texture_source_visible, (visible != EINA_FALSE));
2527 FAIL_IF(evas_canvas3d_primitive_tex_scale, (tex_scale_x != 1.0) || (tex_scale_y != 1.0));
2528 } 2828 }
2829#else
2830TEST_FUNC_EVAS_CANVAS3D_TEXTURE_SOURCE_VISIBLE_OVERRIDE
2529#endif 2831#endif
2530 2832
2531#ifndef TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR 2833#ifndef TEST_FUNC_EVAS_CANVAS3D_TEXTURE_ATLAS_ENABLE
2532#define TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR eo_del(obj); 2834#define TEST_FUNC_EVAS_CANVAS3D_TEXTURE_ATLAS_ENABLE
2533#endif
2534TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR
2535
2536#ifndef TEST_OBJ_EFL_NETWORK_CLIENT_CTOR
2537#define TEST_OBJ_EFL_NETWORK_CLIENT_CTOR obj = eo_add(efl_network_client_class_get(), parent);
2538#endif
2539TEST_OBJ_EFL_NETWORK_CLIENT_CTOR
2540
2541#ifndef TEST_FUNC_EFL_NETWORK_BASE_TIMEOUT
2542#define TEST_FUNC_EFL_NETWORK_BASE_TIMEOUT
2543 { 2835 {
2544 double timeout; 2836 Eina_Bool use_atlas;
2545 efl_network_base_timeout_set(obj, 0.0); 2837 evas_canvas3d_texture_atlas_enable_set(obj, EINA_TRUE);
2546 timeout = efl_network_base_timeout_get(obj); 2838 use_atlas = evas_canvas3d_texture_atlas_enable_get(obj);
2547 FAIL_IF(efl_network_base_timeout, (timeout != 0.0)); 2839 FAIL_IF(evas_canvas3d_texture_atlas_enable, (use_atlas != EINA_TRUE));
2548 efl_network_base_timeout_set(obj, 1.0); 2840 evas_canvas3d_texture_atlas_enable_set(obj, EINA_FALSE);
2549 timeout = efl_network_base_timeout_get(obj); 2841 use_atlas = evas_canvas3d_texture_atlas_enable_get(obj);
2550 FAIL_IF(efl_network_base_timeout, (timeout != 1.0)); 2842 FAIL_IF(evas_canvas3d_texture_atlas_enable, (use_atlas != EINA_FALSE));
2551 } 2843 }
2844#else
2845TEST_FUNC_EVAS_CANVAS3D_TEXTURE_ATLAS_ENABLE_OVERRIDE
2552#endif 2846#endif
2553 2847
2554#ifndef TEST_OBJ_EFL_NETWORK_CLIENT_DTOR 2848#ifndef TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR
2555#define TEST_OBJ_EFL_NETWORK_CLIENT_DTOR eo_del(obj); 2849#define TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR eo_del(obj);
2556#endif 2850#endif
2557TEST_OBJ_EFL_NETWORK_CLIENT_DTOR 2851TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR
2558 2852
2559#ifndef TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR 2853#ifndef TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2560#define TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR obj = eo_add(evas_canvas3d_node_class_get(), parent); 2854#define TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR obj = eo_add(evas_canvas3d_node_class_get(), parent);
@@ -2572,6 +2866,8 @@ TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2572 inherit = evas_canvas3d_node_position_inherit_get(obj); 2866 inherit = evas_canvas3d_node_position_inherit_get(obj);
2573 FAIL_IF(evas_canvas3d_node_position_inherit, (inherit != EINA_FALSE)); 2867 FAIL_IF(evas_canvas3d_node_position_inherit, (inherit != EINA_FALSE));
2574 } 2868 }
2869#else
2870TEST_FUNC_EVAS_CANVAS3D_NODE_POSITION_INHERIT_OVERRIDE
2575#endif 2871#endif
2576 2872
2577#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_ORIENTATION_INHERIT 2873#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_ORIENTATION_INHERIT
@@ -2585,6 +2881,8 @@ TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2585 inherit = evas_canvas3d_node_orientation_inherit_get(obj); 2881 inherit = evas_canvas3d_node_orientation_inherit_get(obj);
2586 FAIL_IF(evas_canvas3d_node_orientation_inherit, (inherit != EINA_FALSE)); 2882 FAIL_IF(evas_canvas3d_node_orientation_inherit, (inherit != EINA_FALSE));
2587 } 2883 }
2884#else
2885TEST_FUNC_EVAS_CANVAS3D_NODE_ORIENTATION_INHERIT_OVERRIDE
2588#endif 2886#endif
2589 2887
2590#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_SCALE_INHERIT 2888#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_SCALE_INHERIT
@@ -2598,6 +2896,8 @@ TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2598 inherit = evas_canvas3d_node_scale_inherit_get(obj); 2896 inherit = evas_canvas3d_node_scale_inherit_get(obj);
2599 FAIL_IF(evas_canvas3d_node_scale_inherit, (inherit != EINA_FALSE)); 2897 FAIL_IF(evas_canvas3d_node_scale_inherit, (inherit != EINA_FALSE));
2600 } 2898 }
2899#else
2900TEST_FUNC_EVAS_CANVAS3D_NODE_SCALE_INHERIT_OVERRIDE
2601#endif 2901#endif
2602 2902
2603#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_LOD_ENABLE 2903#ifndef TEST_FUNC_EVAS_CANVAS3D_NODE_LOD_ENABLE
@@ -2611,6 +2911,8 @@ TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2611 enable = evas_canvas3d_node_lod_enable_get(obj); 2911 enable = evas_canvas3d_node_lod_enable_get(obj);
2612 FAIL_IF(evas_canvas3d_node_lod_enable, (enable != EINA_FALSE)); 2912 FAIL_IF(evas_canvas3d_node_lod_enable, (enable != EINA_FALSE));
2613 } 2913 }
2914#else
2915TEST_FUNC_EVAS_CANVAS3D_NODE_LOD_ENABLE_OVERRIDE
2614#endif 2916#endif
2615 2917
2616#ifndef TEST_OBJ_EVAS_CANVAS3D_NODE_DTOR 2918#ifndef TEST_OBJ_EVAS_CANVAS3D_NODE_DTOR
@@ -2618,6 +2920,31 @@ TEST_OBJ_EVAS_CANVAS3D_NODE_CTOR
2618#endif 2920#endif
2619TEST_OBJ_EVAS_CANVAS3D_NODE_DTOR 2921TEST_OBJ_EVAS_CANVAS3D_NODE_DTOR
2620 2922
2923#ifndef TEST_OBJ_EFL_NETWORK_CLIENT_CTOR
2924#define TEST_OBJ_EFL_NETWORK_CLIENT_CTOR obj = eo_add(efl_network_client_class_get(), parent);
2925#endif
2926TEST_OBJ_EFL_NETWORK_CLIENT_CTOR
2927
2928#ifndef TEST_FUNC_EFL_NETWORK_BASE_TIMEOUT
2929#define TEST_FUNC_EFL_NETWORK_BASE_TIMEOUT
2930 {
2931 double timeout;
2932 efl_network_base_timeout_set(obj, 0.0);
2933 timeout = efl_network_base_timeout_get(obj);
2934 FAIL_IF(efl_network_base_timeout, (timeout != 0.0));
2935 efl_network_base_timeout_set(obj, 1.0);
2936 timeout = efl_network_base_timeout_get(obj);
2937 FAIL_IF(efl_network_base_timeout, (timeout != 1.0));
2938 }
2939#else
2940TEST_FUNC_EFL_NETWORK_BASE_TIMEOUT_OVERRIDE
2941#endif
2942
2943#ifndef TEST_OBJ_EFL_NETWORK_CLIENT_DTOR
2944#define TEST_OBJ_EFL_NETWORK_CLIENT_DTOR eo_del(obj);
2945#endif
2946TEST_OBJ_EFL_NETWORK_CLIENT_DTOR
2947
2621#ifndef TEST_OBJ_EFL_NETWORK_SERVER_CTOR 2948#ifndef TEST_OBJ_EFL_NETWORK_SERVER_CTOR
2622#define TEST_OBJ_EFL_NETWORK_SERVER_CTOR obj = eo_add(efl_network_server_class_get(), parent); 2949#define TEST_OBJ_EFL_NETWORK_SERVER_CTOR obj = eo_add(efl_network_server_class_get(), parent);
2623#endif 2950#endif
@@ -2634,6 +2961,8 @@ TEST_OBJ_EFL_NETWORK_SERVER_CTOR
2634 name = efl_network_server_name_get(obj); 2961 name = efl_network_server_name_get(obj);
2635 FAIL_IF(efl_network_server_name, (!name || strcmp(name, "toto"))); 2962 FAIL_IF(efl_network_server_name, (!name || strcmp(name, "toto")));
2636 } 2963 }
2964#else
2965TEST_FUNC_EFL_NETWORK_SERVER_NAME_OVERRIDE
2637#endif 2966#endif
2638 2967
2639#ifndef TEST_FUNC_EFL_NETWORK_SERVER_CLIENT_LIMIT 2968#ifndef TEST_FUNC_EFL_NETWORK_SERVER_CLIENT_LIMIT
@@ -2648,6 +2977,8 @@ TEST_OBJ_EFL_NETWORK_SERVER_CTOR
2648 efl_network_server_client_limit_get(obj, &client_limit, &reject_excess_clients); 2977 efl_network_server_client_limit_get(obj, &client_limit, &reject_excess_clients);
2649 FAIL_IF(efl_network_server_client_limit, (client_limit != 100) || (reject_excess_clients != '\0')); 2978 FAIL_IF(efl_network_server_client_limit, (client_limit != 100) || (reject_excess_clients != '\0'));
2650 } 2979 }
2980#else
2981TEST_FUNC_EFL_NETWORK_SERVER_CLIENT_LIMIT_OVERRIDE
2651#endif 2982#endif
2652 2983
2653#ifndef TEST_FUNC_EFL_NETWORK_SERVER_CONNECTION_TYPE 2984#ifndef TEST_FUNC_EFL_NETWORK_SERVER_CONNECTION_TYPE
@@ -2661,6 +2992,8 @@ TEST_OBJ_EFL_NETWORK_SERVER_CTOR
2661 conn_type = efl_network_server_connection_type_get(obj); 2992 conn_type = efl_network_server_connection_type_get(obj);
2662 FAIL_IF(efl_network_server_connection_type, (conn_type != ECORE_CON_LOCAL_SYSTEM)); 2993 FAIL_IF(efl_network_server_connection_type, (conn_type != ECORE_CON_LOCAL_SYSTEM));
2663 } 2994 }
2995#else
2996TEST_FUNC_EFL_NETWORK_SERVER_CONNECTION_TYPE_OVERRIDE
2664#endif 2997#endif
2665 2998
2666#ifndef TEST_OBJ_EFL_NETWORK_SERVER_DTOR 2999#ifndef TEST_OBJ_EFL_NETWORK_SERVER_DTOR
@@ -2668,6 +3001,92 @@ TEST_OBJ_EFL_NETWORK_SERVER_CTOR
2668#endif 3001#endif
2669TEST_OBJ_EFL_NETWORK_SERVER_DTOR 3002TEST_OBJ_EFL_NETWORK_SERVER_DTOR
2670 3003
3004#ifndef TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR
3005#define TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR obj = eo_add(evas_canvas3d_primitive_class_get(), parent);
3006#endif
3007TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_CTOR
3008
3009#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_FORM
3010#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_FORM
3011 {
3012 Evas_Canvas3D_Mesh_Primitive form;
3013 evas_canvas3d_primitive_form_set(obj, EVAS_CANVAS3D_MESH_PRIMITIVE_NONE);
3014 form = evas_canvas3d_primitive_form_get(obj);
3015 FAIL_IF(evas_canvas3d_primitive_form, (form != EVAS_CANVAS3D_MESH_PRIMITIVE_NONE));
3016 evas_canvas3d_primitive_form_set(obj, EVAS_CANVAS3D_MESH_PRIMITIVE_SQUARE);
3017 form = evas_canvas3d_primitive_form_get(obj);
3018 FAIL_IF(evas_canvas3d_primitive_form, (form != EVAS_CANVAS3D_MESH_PRIMITIVE_SQUARE));
3019 }
3020#else
3021TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_FORM_OVERRIDE
3022#endif
3023
3024#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_MODE
3025#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_MODE
3026 {
3027 Evas_Canvas3D_Primitive_Mode mode;
3028 evas_canvas3d_primitive_mode_set(obj, EVAS_CANVAS3D_PRIMITIVE_MODE_DEFAULT);
3029 mode = evas_canvas3d_primitive_mode_get(obj);
3030 FAIL_IF(evas_canvas3d_primitive_mode, (mode != EVAS_CANVAS3D_PRIMITIVE_MODE_DEFAULT));
3031 evas_canvas3d_primitive_mode_set(obj, EVAS_CANVAS3D_PRIMITIVE_MODE_WITHOUT_BASE);
3032 mode = evas_canvas3d_primitive_mode_get(obj);
3033 FAIL_IF(evas_canvas3d_primitive_mode, (mode != EVAS_CANVAS3D_PRIMITIVE_MODE_WITHOUT_BASE));
3034 }
3035#else
3036TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_MODE_OVERRIDE
3037#endif
3038
3039#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_RATIO
3040#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_RATIO
3041 {
3042 Evas_Real ratio;
3043 evas_canvas3d_primitive_ratio_set(obj, 0.0);
3044 ratio = evas_canvas3d_primitive_ratio_get(obj);
3045 FAIL_IF(evas_canvas3d_primitive_ratio, (ratio != 0.0));
3046 evas_canvas3d_primitive_ratio_set(obj, 1.0);
3047 ratio = evas_canvas3d_primitive_ratio_get(obj);
3048 FAIL_IF(evas_canvas3d_primitive_ratio, (ratio != 1.0));
3049 }
3050#else
3051TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_RATIO_OVERRIDE
3052#endif
3053
3054#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_PRECISION
3055#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_PRECISION
3056 {
3057 int precision;
3058 evas_canvas3d_primitive_precision_set(obj, 0);
3059 precision = evas_canvas3d_primitive_precision_get(obj);
3060 FAIL_IF(evas_canvas3d_primitive_precision, (precision != 0));
3061 evas_canvas3d_primitive_precision_set(obj, 100);
3062 precision = evas_canvas3d_primitive_precision_get(obj);
3063 FAIL_IF(evas_canvas3d_primitive_precision, (precision != 100));
3064 }
3065#else
3066TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_PRECISION_OVERRIDE
3067#endif
3068
3069#ifndef TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_TEX_SCALE
3070#define TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_TEX_SCALE
3071 {
3072 Evas_Real tex_scale_x;
3073 Evas_Real tex_scale_y;
3074 evas_canvas3d_primitive_tex_scale_set(obj, 0.0, 0.0);
3075 evas_canvas3d_primitive_tex_scale_get(obj, &tex_scale_x, &tex_scale_y);
3076 FAIL_IF(evas_canvas3d_primitive_tex_scale, (tex_scale_x != 0.0) || (tex_scale_y != 0.0));
3077 evas_canvas3d_primitive_tex_scale_set(obj, 1.0, 1.0);
3078 evas_canvas3d_primitive_tex_scale_get(obj, &tex_scale_x, &tex_scale_y);
3079 FAIL_IF(evas_canvas3d_primitive_tex_scale, (tex_scale_x != 1.0) || (tex_scale_y != 1.0));
3080 }
3081#else
3082TEST_FUNC_EVAS_CANVAS3D_PRIMITIVE_TEX_SCALE_OVERRIDE
3083#endif
3084
3085#ifndef TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR
3086#define TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR eo_del(obj);
3087#endif
3088TEST_OBJ_EVAS_CANVAS3D_PRIMITIVE_DTOR
3089
2671#ifndef TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR 3090#ifndef TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2672#define TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR obj = eo_add(evas_canvas3d_mesh_class_get(), parent); 3091#define TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR obj = eo_add(evas_canvas3d_mesh_class_get(), parent);
2673#endif 3092#endif
@@ -2684,6 +3103,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2684 mode = evas_canvas3d_mesh_shade_mode_get(obj); 3103 mode = evas_canvas3d_mesh_shade_mode_get(obj);
2685 FAIL_IF(evas_canvas3d_mesh_shade_mode, (mode != EVAS_CANVAS3D_SHADE_MODE_DIFFUSE)); 3104 FAIL_IF(evas_canvas3d_mesh_shade_mode, (mode != EVAS_CANVAS3D_SHADE_MODE_DIFFUSE));
2686 } 3105 }
3106#else
3107TEST_FUNC_EVAS_CANVAS3D_MESH_SHADE_MODE_OVERRIDE
2687#endif 3108#endif
2688 3109
2689#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_COLOR_PICK_ENABLE 3110#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_COLOR_PICK_ENABLE
@@ -2697,6 +3118,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2697 enabled = evas_canvas3d_mesh_color_pick_enable_get(obj); 3118 enabled = evas_canvas3d_mesh_color_pick_enable_get(obj);
2698 FAIL_IF(evas_canvas3d_mesh_color_pick_enable, (enabled != EINA_FALSE)); 3119 FAIL_IF(evas_canvas3d_mesh_color_pick_enable, (enabled != EINA_FALSE));
2699 } 3120 }
3121#else
3122TEST_FUNC_EVAS_CANVAS3D_MESH_COLOR_PICK_ENABLE_OVERRIDE
2700#endif 3123#endif
2701 3124
2702#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_COUNT 3125#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_COUNT
@@ -2710,6 +3133,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2710 count = evas_canvas3d_mesh_vertex_count_get(obj); 3133 count = evas_canvas3d_mesh_vertex_count_get(obj);
2711 FAIL_IF(evas_canvas3d_mesh_vertex_count, (count != 100)); 3134 FAIL_IF(evas_canvas3d_mesh_vertex_count, (count != 100));
2712 } 3135 }
3136#else
3137TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_COUNT_OVERRIDE
2713#endif 3138#endif
2714 3139
2715#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_FOG_ENABLE 3140#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_FOG_ENABLE
@@ -2723,6 +3148,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2723 enabled = evas_canvas3d_mesh_fog_enable_get(obj); 3148 enabled = evas_canvas3d_mesh_fog_enable_get(obj);
2724 FAIL_IF(evas_canvas3d_mesh_fog_enable, (enabled != EINA_FALSE)); 3149 FAIL_IF(evas_canvas3d_mesh_fog_enable, (enabled != EINA_FALSE));
2725 } 3150 }
3151#else
3152TEST_FUNC_EVAS_CANVAS3D_MESH_FOG_ENABLE_OVERRIDE
2726#endif 3153#endif
2727 3154
2728#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_TEST_ENABLE 3155#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_TEST_ENABLE
@@ -2736,6 +3163,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2736 enabled = evas_canvas3d_mesh_alpha_test_enable_get(obj); 3163 enabled = evas_canvas3d_mesh_alpha_test_enable_get(obj);
2737 FAIL_IF(evas_canvas3d_mesh_alpha_test_enable, (enabled != EINA_FALSE)); 3164 FAIL_IF(evas_canvas3d_mesh_alpha_test_enable, (enabled != EINA_FALSE));
2738 } 3165 }
3166#else
3167TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_TEST_ENABLE_OVERRIDE
2739#endif 3168#endif
2740 3169
2741#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_FUNC 3170#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_FUNC
@@ -2750,6 +3179,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2750 evas_canvas3d_mesh_alpha_func_get(obj, &comparison_func, &ref_value); 3179 evas_canvas3d_mesh_alpha_func_get(obj, &comparison_func, &ref_value);
2751 FAIL_IF(evas_canvas3d_mesh_alpha_func, (comparison_func != EVAS_CANVAS3D_COMPARISON_LESS) || (ref_value != 1.0)); 3180 FAIL_IF(evas_canvas3d_mesh_alpha_func, (comparison_func != EVAS_CANVAS3D_COMPARISON_LESS) || (ref_value != 1.0));
2752 } 3181 }
3182#else
3183TEST_FUNC_EVAS_CANVAS3D_MESH_ALPHA_FUNC_OVERRIDE
2753#endif 3184#endif
2754 3185
2755#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_BLENDING_ENABLE 3186#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_BLENDING_ENABLE
@@ -2763,6 +3194,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2763 blending = evas_canvas3d_mesh_blending_enable_get(obj); 3194 blending = evas_canvas3d_mesh_blending_enable_get(obj);
2764 FAIL_IF(evas_canvas3d_mesh_blending_enable, (blending != EINA_FALSE)); 3195 FAIL_IF(evas_canvas3d_mesh_blending_enable, (blending != EINA_FALSE));
2765 } 3196 }
3197#else
3198TEST_FUNC_EVAS_CANVAS3D_MESH_BLENDING_ENABLE_OVERRIDE
2766#endif 3199#endif
2767 3200
2768#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_ASSEMBLY 3201#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_ASSEMBLY
@@ -2776,6 +3209,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2776 assembly = evas_canvas3d_mesh_vertex_assembly_get(obj); 3209 assembly = evas_canvas3d_mesh_vertex_assembly_get(obj);
2777 FAIL_IF(evas_canvas3d_mesh_vertex_assembly, (assembly != EVAS_CANVAS3D_VERTEX_ASSEMBLY_LINES)); 3210 FAIL_IF(evas_canvas3d_mesh_vertex_assembly, (assembly != EVAS_CANVAS3D_VERTEX_ASSEMBLY_LINES));
2778 } 3211 }
3212#else
3213TEST_FUNC_EVAS_CANVAS3D_MESH_VERTEX_ASSEMBLY_OVERRIDE
2779#endif 3214#endif
2780 3215
2781#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_EDGES_FILTERING 3216#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_EDGES_FILTERING
@@ -2790,6 +3225,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2790 evas_canvas3d_mesh_shadows_edges_filtering_get(obj, &blur_level, &edges_size); 3225 evas_canvas3d_mesh_shadows_edges_filtering_get(obj, &blur_level, &edges_size);
2791 FAIL_IF(evas_canvas3d_mesh_shadows_edges_filtering, (blur_level != 100) || (edges_size != 1.0)); 3226 FAIL_IF(evas_canvas3d_mesh_shadows_edges_filtering, (blur_level != 100) || (edges_size != 1.0));
2792 } 3227 }
3228#else
3229TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_EDGES_FILTERING_OVERRIDE
2793#endif 3230#endif
2794 3231
2795#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_CONSTANT_BIAS 3232#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_CONSTANT_BIAS
@@ -2803,6 +3240,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2803 bias = evas_canvas3d_mesh_shadows_constant_bias_get(obj); 3240 bias = evas_canvas3d_mesh_shadows_constant_bias_get(obj);
2804 FAIL_IF(evas_canvas3d_mesh_shadows_constant_bias, (bias != 1.0)); 3241 FAIL_IF(evas_canvas3d_mesh_shadows_constant_bias, (bias != 1.0));
2805 } 3242 }
3243#else
3244TEST_FUNC_EVAS_CANVAS3D_MESH_SHADOWS_CONSTANT_BIAS_OVERRIDE
2806#endif 3245#endif
2807 3246
2808#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_LOD_BOUNDARY 3247#ifndef TEST_FUNC_EVAS_CANVAS3D_MESH_LOD_BOUNDARY
@@ -2817,6 +3256,8 @@ TEST_OBJ_EVAS_CANVAS3D_MESH_CTOR
2817 evas_canvas3d_mesh_lod_boundary_get(obj, &near, &far); 3256 evas_canvas3d_mesh_lod_boundary_get(obj, &near, &far);
2818 FAIL_IF(evas_canvas3d_mesh_lod_boundary, (near != 1.0) || (far != 1.0)); 3257 FAIL_IF(evas_canvas3d_mesh_lod_boundary, (near != 1.0) || (far != 1.0));
2819 } 3258 }
3259#else
3260TEST_FUNC_EVAS_CANVAS3D_MESH_LOD_BOUNDARY_OVERRIDE
2820#endif 3261#endif
2821 3262
2822#ifndef TEST_OBJ_EVAS_CANVAS3D_MESH_DTOR 3263#ifndef TEST_OBJ_EVAS_CANVAS3D_MESH_DTOR
@@ -2840,6 +3281,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2840 horizontal = elm_obj_slider_horizontal_get(obj); 3281 horizontal = elm_obj_slider_horizontal_get(obj);
2841 FAIL_IF(elm_obj_slider_horizontal, (horizontal != EINA_FALSE)); 3282 FAIL_IF(elm_obj_slider_horizontal, (horizontal != EINA_FALSE));
2842 } 3283 }
3284#else
3285TEST_FUNC_ELM_OBJ_SLIDER_HORIZONTAL_OVERRIDE
2843#endif 3286#endif
2844 3287
2845#ifndef TEST_FUNC_ELM_OBJ_SLIDER_VALUE 3288#ifndef TEST_FUNC_ELM_OBJ_SLIDER_VALUE
@@ -2853,6 +3296,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2853 val = elm_obj_slider_value_get(obj); 3296 val = elm_obj_slider_value_get(obj);
2854 FAIL_IF(elm_obj_slider_value, (val != 1.0)); 3297 FAIL_IF(elm_obj_slider_value, (val != 1.0));
2855 } 3298 }
3299#else
3300TEST_FUNC_ELM_OBJ_SLIDER_VALUE_OVERRIDE
2856#endif 3301#endif
2857 3302
2858#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_FORMAT 3303#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_FORMAT
@@ -2866,6 +3311,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2866 indicator = elm_obj_slider_indicator_format_get(obj); 3311 indicator = elm_obj_slider_indicator_format_get(obj);
2867 FAIL_IF(elm_obj_slider_indicator_format, (!indicator || strcmp(indicator, "toto"))); 3312 FAIL_IF(elm_obj_slider_indicator_format, (!indicator || strcmp(indicator, "toto")));
2868 } 3313 }
3314#else
3315TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_FORMAT_OVERRIDE
2869#endif 3316#endif
2870 3317
2871#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INVERTED 3318#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INVERTED
@@ -2879,6 +3326,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2879 inverted = elm_obj_slider_inverted_get(obj); 3326 inverted = elm_obj_slider_inverted_get(obj);
2880 FAIL_IF(elm_obj_slider_inverted, (inverted != EINA_FALSE)); 3327 FAIL_IF(elm_obj_slider_inverted, (inverted != EINA_FALSE));
2881 } 3328 }
3329#else
3330TEST_FUNC_ELM_OBJ_SLIDER_INVERTED_OVERRIDE
2882#endif 3331#endif
2883 3332
2884#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW 3333#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW
@@ -2892,6 +3341,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2892 show = elm_obj_slider_indicator_show_get(obj); 3341 show = elm_obj_slider_indicator_show_get(obj);
2893 FAIL_IF(elm_obj_slider_indicator_show, (show != EINA_FALSE)); 3342 FAIL_IF(elm_obj_slider_indicator_show, (show != EINA_FALSE));
2894 } 3343 }
3344#else
3345TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW_OVERRIDE
2895#endif 3346#endif
2896 3347
2897#ifndef TEST_FUNC_ELM_OBJ_SLIDER_MIN_MAX 3348#ifndef TEST_FUNC_ELM_OBJ_SLIDER_MIN_MAX
@@ -2906,6 +3357,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2906 elm_obj_slider_min_max_get(obj, &min, &max); 3357 elm_obj_slider_min_max_get(obj, &min, &max);
2907 FAIL_IF(elm_obj_slider_min_max, (min != 1.0) || (max != 1.0)); 3358 FAIL_IF(elm_obj_slider_min_max, (min != 1.0) || (max != 1.0));
2908 } 3359 }
3360#else
3361TEST_FUNC_ELM_OBJ_SLIDER_MIN_MAX_OVERRIDE
2909#endif 3362#endif
2910 3363
2911#ifndef TEST_FUNC_ELM_OBJ_SLIDER_UNIT_FORMAT 3364#ifndef TEST_FUNC_ELM_OBJ_SLIDER_UNIT_FORMAT
@@ -2919,6 +3372,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2919 units = elm_obj_slider_unit_format_get(obj); 3372 units = elm_obj_slider_unit_format_get(obj);
2920 FAIL_IF(elm_obj_slider_unit_format, (!units || strcmp(units, "toto"))); 3373 FAIL_IF(elm_obj_slider_unit_format, (!units || strcmp(units, "toto")));
2921 } 3374 }
3375#else
3376TEST_FUNC_ELM_OBJ_SLIDER_UNIT_FORMAT_OVERRIDE
2922#endif 3377#endif
2923 3378
2924#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW_ON_FOCUS 3379#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW_ON_FOCUS
@@ -2932,6 +3387,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2932 flag = elm_obj_slider_indicator_show_on_focus_get(obj); 3387 flag = elm_obj_slider_indicator_show_on_focus_get(obj);
2933 FAIL_IF(elm_obj_slider_indicator_show_on_focus, (flag != EINA_FALSE)); 3388 FAIL_IF(elm_obj_slider_indicator_show_on_focus, (flag != EINA_FALSE));
2934 } 3389 }
3390#else
3391TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_SHOW_ON_FOCUS_OVERRIDE
2935#endif 3392#endif
2936 3393
2937#ifndef TEST_FUNC_ELM_OBJ_SLIDER_SPAN_SIZE 3394#ifndef TEST_FUNC_ELM_OBJ_SLIDER_SPAN_SIZE
@@ -2945,6 +3402,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2945 size = elm_obj_slider_span_size_get(obj); 3402 size = elm_obj_slider_span_size_get(obj);
2946 FAIL_IF(elm_obj_slider_span_size, (size != 100)); 3403 FAIL_IF(elm_obj_slider_span_size, (size != 100));
2947 } 3404 }
3405#else
3406TEST_FUNC_ELM_OBJ_SLIDER_SPAN_SIZE_OVERRIDE
2948#endif 3407#endif
2949 3408
2950#ifndef TEST_FUNC_ELM_OBJ_SLIDER_STEP 3409#ifndef TEST_FUNC_ELM_OBJ_SLIDER_STEP
@@ -2958,6 +3417,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2958 step = elm_obj_slider_step_get(obj); 3417 step = elm_obj_slider_step_get(obj);
2959 FAIL_IF(elm_obj_slider_step, (step != 1.0)); 3418 FAIL_IF(elm_obj_slider_step, (step != 1.0));
2960 } 3419 }
3420#else
3421TEST_FUNC_ELM_OBJ_SLIDER_STEP_OVERRIDE
2961#endif 3422#endif
2962 3423
2963#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_VISIBLE_MODE 3424#ifndef TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_VISIBLE_MODE
@@ -2971,6 +3432,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2971 indicator_visible_mode = elm_obj_slider_indicator_visible_mode_get(obj); 3432 indicator_visible_mode = elm_obj_slider_indicator_visible_mode_get(obj);
2972 FAIL_IF(elm_obj_slider_indicator_visible_mode, (indicator_visible_mode != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS)); 3433 FAIL_IF(elm_obj_slider_indicator_visible_mode, (indicator_visible_mode != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS));
2973 } 3434 }
3435#else
3436TEST_FUNC_ELM_OBJ_SLIDER_INDICATOR_VISIBLE_MODE_OVERRIDE
2974#endif 3437#endif
2975 3438
2976#ifndef TEST_FUNC_ELM_OBJ_SLIDER_RANGE 3439#ifndef TEST_FUNC_ELM_OBJ_SLIDER_RANGE
@@ -2985,6 +3448,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2985 elm_obj_slider_range_get(obj, &from, &to); 3448 elm_obj_slider_range_get(obj, &from, &to);
2986 FAIL_IF(elm_obj_slider_range, (from != 1.0) || (to != 1.0)); 3449 FAIL_IF(elm_obj_slider_range, (from != 1.0) || (to != 1.0));
2987 } 3450 }
3451#else
3452TEST_FUNC_ELM_OBJ_SLIDER_RANGE_OVERRIDE
2988#endif 3453#endif
2989 3454
2990#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_VALUE_AND_TEXT 3455#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_VALUE_AND_TEXT
@@ -2999,6 +3464,8 @@ TEST_OBJ_ELM_SLIDER_CTOR
2999 elm_interface_atspi_value_and_text_get(obj, &value, &text); 3464 elm_interface_atspi_value_and_text_get(obj, &value, &text);
3000 FAIL_IF(elm_interface_atspi_value_and_text, (value != 1.0) || (!text || strcmp(text, "toto"))); 3465 FAIL_IF(elm_interface_atspi_value_and_text, (value != 1.0) || (!text || strcmp(text, "toto")));
3001 } 3466 }
3467#else
3468TEST_FUNC_ELM_INTERFACE_ATSPI_VALUE_AND_TEXT_OVERRIDE
3002#endif 3469#endif
3003 3470
3004#ifndef TEST_OBJ_ELM_SLIDER_DTOR 3471#ifndef TEST_OBJ_ELM_SLIDER_DTOR
@@ -3006,42 +3473,6 @@ TEST_OBJ_ELM_SLIDER_CTOR
3006#endif 3473#endif
3007TEST_OBJ_ELM_SLIDER_DTOR 3474TEST_OBJ_ELM_SLIDER_DTOR
3008 3475
3009#ifndef TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR
3010#define TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR obj = eo_add(evas_canvas3d_texture_class_get(), parent);
3011#endif
3012TEST_OBJ_EVAS_CANVAS3D_TEXTURE_CTOR
3013
3014#ifndef TEST_FUNC_EVAS_CANVAS3D_TEXTURE_SOURCE_VISIBLE
3015#define TEST_FUNC_EVAS_CANVAS3D_TEXTURE_SOURCE_VISIBLE
3016 {
3017 Eina_Bool visible;
3018 evas_canvas3d_texture_source_visible_set(obj, EINA_TRUE);
3019 visible = evas_canvas3d_texture_source_visible_get(obj);
3020 FAIL_IF(evas_canvas3d_texture_source_visible, (visible != EINA_TRUE));
3021 evas_canvas3d_texture_source_visible_set(obj, EINA_FALSE);
3022 visible = evas_canvas3d_texture_source_visible_get(obj);
3023 FAIL_IF(evas_canvas3d_texture_source_visible, (visible != EINA_FALSE));
3024 }
3025#endif
3026
3027#ifndef TEST_FUNC_EVAS_CANVAS3D_TEXTURE_ATLAS_ENABLE
3028#define TEST_FUNC_EVAS_CANVAS3D_TEXTURE_ATLAS_ENABLE
3029 {
3030 Eina_Bool use_atlas;
3031 evas_canvas3d_texture_atlas_enable_set(obj, EINA_TRUE);
3032 use_atlas = evas_canvas3d_texture_atlas_enable_get(obj);
3033 FAIL_IF(evas_canvas3d_texture_atlas_enable, (use_atlas != EINA_TRUE));
3034 evas_canvas3d_texture_atlas_enable_set(obj, EINA_FALSE);
3035 use_atlas = evas_canvas3d_texture_atlas_enable_get(obj);
3036 FAIL_IF(evas_canvas3d_texture_atlas_enable, (use_atlas != EINA_FALSE));
3037 }
3038#endif
3039
3040#ifndef TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR
3041#define TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR eo_del(obj);
3042#endif
3043TEST_OBJ_EVAS_CANVAS3D_TEXTURE_DTOR
3044
3045#ifndef TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR 3476#ifndef TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR
3046#define TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR obj = eo_add(evas_canvas3d_material_class_get(), parent); 3477#define TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR obj = eo_add(evas_canvas3d_material_class_get(), parent);
3047#endif 3478#endif
@@ -3058,6 +3489,8 @@ TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR
3058 enable = evas_canvas3d_material_enable_get(obj, EVAS_CANVAS3D_MATERIAL_ATTRIB_DIFFUSE); 3489 enable = evas_canvas3d_material_enable_get(obj, EVAS_CANVAS3D_MATERIAL_ATTRIB_DIFFUSE);
3059 FAIL_IF(evas_canvas3d_material_enable, (enable != EINA_FALSE)); 3490 FAIL_IF(evas_canvas3d_material_enable, (enable != EINA_FALSE));
3060 } 3491 }
3492#else
3493TEST_FUNC_EVAS_CANVAS3D_MATERIAL_ENABLE_OVERRIDE
3061#endif 3494#endif
3062 3495
3063#ifndef TEST_FUNC_EVAS_CANVAS3D_MATERIAL_SHININESS 3496#ifndef TEST_FUNC_EVAS_CANVAS3D_MATERIAL_SHININESS
@@ -3071,6 +3504,8 @@ TEST_OBJ_EVAS_CANVAS3D_MATERIAL_CTOR
3071 shininess = evas_canvas3d_material_shininess_get(obj); 3504 shininess = evas_canvas3d_material_shininess_get(obj);
3072 FAIL_IF(evas_canvas3d_material_shininess, (shininess != 1.0)); 3505 FAIL_IF(evas_canvas3d_material_shininess, (shininess != 1.0));
3073 } 3506 }
3507#else
3508TEST_FUNC_EVAS_CANVAS3D_MATERIAL_SHININESS_OVERRIDE
3074#endif 3509#endif
3075 3510
3076#ifndef TEST_OBJ_EVAS_CANVAS3D_MATERIAL_DTOR 3511#ifndef TEST_OBJ_EVAS_CANVAS3D_MATERIAL_DTOR
@@ -3094,6 +3529,8 @@ TEST_OBJ_ELM_RADIO_CTOR
3094 value = elm_obj_radio_state_value_get(obj); 3529 value = elm_obj_radio_state_value_get(obj);
3095 FAIL_IF(elm_obj_radio_state_value, (value != 100)); 3530 FAIL_IF(elm_obj_radio_state_value, (value != 100));
3096 } 3531 }
3532#else
3533TEST_FUNC_ELM_OBJ_RADIO_STATE_VALUE_OVERRIDE
3097#endif 3534#endif
3098 3535
3099#ifndef TEST_FUNC_ELM_OBJ_RADIO_VALUE 3536#ifndef TEST_FUNC_ELM_OBJ_RADIO_VALUE
@@ -3107,6 +3544,8 @@ TEST_OBJ_ELM_RADIO_CTOR
3107 value = elm_obj_radio_value_get(obj); 3544 value = elm_obj_radio_value_get(obj);
3108 FAIL_IF(elm_obj_radio_value, (value != 100)); 3545 FAIL_IF(elm_obj_radio_value, (value != 100));
3109 } 3546 }
3547#else
3548TEST_FUNC_ELM_OBJ_RADIO_VALUE_OVERRIDE
3110#endif 3549#endif
3111 3550
3112#ifndef TEST_FUNC_ELM_OBJ_CHECK_STATE 3551#ifndef TEST_FUNC_ELM_OBJ_CHECK_STATE
@@ -3120,6 +3559,8 @@ TEST_OBJ_ELM_RADIO_CTOR
3120 state = elm_obj_check_state_get(obj); 3559 state = elm_obj_check_state_get(obj);
3121 FAIL_IF(elm_obj_check_state, (state != EINA_FALSE)); 3560 FAIL_IF(elm_obj_check_state, (state != EINA_FALSE));
3122 } 3561 }
3562#else
3563TEST_FUNC_ELM_OBJ_CHECK_STATE_OVERRIDE
3123#endif 3564#endif
3124 3565
3125#ifndef TEST_OBJ_ELM_RADIO_DTOR 3566#ifndef TEST_OBJ_ELM_RADIO_DTOR
@@ -3127,6 +3568,49 @@ TEST_OBJ_ELM_RADIO_CTOR
3127#endif 3568#endif
3128TEST_OBJ_ELM_RADIO_DTOR 3569TEST_OBJ_ELM_RADIO_DTOR
3129 3570
3571#ifndef TEST_OBJ_ELM_BG_CTOR
3572#define TEST_OBJ_ELM_BG_CTOR obj = eo_add(elm_bg_class_get(), parent);
3573#endif
3574TEST_OBJ_ELM_BG_CTOR
3575
3576#ifndef TEST_FUNC_ELM_OBJ_BG_OPTION
3577#define TEST_FUNC_ELM_OBJ_BG_OPTION
3578 {
3579 Elm_Bg_Option option;
3580 elm_obj_bg_option_set(obj, ELM_BG_OPTION_CENTER);
3581 option = elm_obj_bg_option_get(obj);
3582 FAIL_IF(elm_obj_bg_option, (option != ELM_BG_OPTION_CENTER));
3583 elm_obj_bg_option_set(obj, ELM_BG_OPTION_SCALE);
3584 option = elm_obj_bg_option_get(obj);
3585 FAIL_IF(elm_obj_bg_option, (option != ELM_BG_OPTION_SCALE));
3586 }
3587#else
3588TEST_FUNC_ELM_OBJ_BG_OPTION_OVERRIDE
3589#endif
3590
3591#ifndef TEST_FUNC_ELM_OBJ_BG_COLOR
3592#define TEST_FUNC_ELM_OBJ_BG_COLOR
3593 {
3594 int r;
3595 int g;
3596 int b;
3597 int a;
3598 elm_obj_bg_color_set(obj, 0, 0, 0, 0);
3599 elm_obj_bg_color_get(obj, &r, &g, &b, &a);
3600 FAIL_IF(elm_obj_bg_color, (r != 0) || (g != 0) || (b != 0) || (a != 0));
3601 elm_obj_bg_color_set(obj, 100, 100, 100, 100);
3602 elm_obj_bg_color_get(obj, &r, &g, &b, &a);
3603 FAIL_IF(elm_obj_bg_color, (r != 100) || (g != 100) || (b != 100) || (a != 100));
3604 }
3605#else
3606TEST_FUNC_ELM_OBJ_BG_COLOR_OVERRIDE
3607#endif
3608
3609#ifndef TEST_OBJ_ELM_BG_DTOR
3610#define TEST_OBJ_ELM_BG_DTOR eo_del(obj);
3611#endif
3612TEST_OBJ_ELM_BG_DTOR
3613
3130#ifndef TEST_OBJ_ELM_PROGRESSBAR_CTOR 3614#ifndef TEST_OBJ_ELM_PROGRESSBAR_CTOR
3131#define TEST_OBJ_ELM_PROGRESSBAR_CTOR obj = eo_add(elm_progressbar_class_get(), parent); 3615#define TEST_OBJ_ELM_PROGRESSBAR_CTOR obj = eo_add(elm_progressbar_class_get(), parent);
3132#endif 3616#endif
@@ -3143,6 +3627,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3143 size = elm_obj_progressbar_span_size_get(obj); 3627 size = elm_obj_progressbar_span_size_get(obj);
3144 FAIL_IF(elm_obj_progressbar_span_size, (size != 100)); 3628 FAIL_IF(elm_obj_progressbar_span_size, (size != 100));
3145 } 3629 }
3630#else
3631TEST_FUNC_ELM_OBJ_PROGRESSBAR_SPAN_SIZE_OVERRIDE
3146#endif 3632#endif
3147 3633
3148#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_PULSE 3634#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_PULSE
@@ -3156,6 +3642,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3156 pulse = elm_obj_progressbar_pulse_get(obj); 3642 pulse = elm_obj_progressbar_pulse_get(obj);
3157 FAIL_IF(elm_obj_progressbar_pulse, (pulse != EINA_FALSE)); 3643 FAIL_IF(elm_obj_progressbar_pulse, (pulse != EINA_FALSE));
3158 } 3644 }
3645#else
3646TEST_FUNC_ELM_OBJ_PROGRESSBAR_PULSE_OVERRIDE
3159#endif 3647#endif
3160 3648
3161#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_VALUE 3649#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_VALUE
@@ -3169,6 +3657,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3169 val = elm_obj_progressbar_value_get(obj); 3657 val = elm_obj_progressbar_value_get(obj);
3170 FAIL_IF(elm_obj_progressbar_value, (val != 1.0)); 3658 FAIL_IF(elm_obj_progressbar_value, (val != 1.0));
3171 } 3659 }
3660#else
3661TEST_FUNC_ELM_OBJ_PROGRESSBAR_VALUE_OVERRIDE
3172#endif 3662#endif
3173 3663
3174#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_INVERTED 3664#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_INVERTED
@@ -3182,6 +3672,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3182 inverted = elm_obj_progressbar_inverted_get(obj); 3672 inverted = elm_obj_progressbar_inverted_get(obj);
3183 FAIL_IF(elm_obj_progressbar_inverted, (inverted != EINA_FALSE)); 3673 FAIL_IF(elm_obj_progressbar_inverted, (inverted != EINA_FALSE));
3184 } 3674 }
3675#else
3676TEST_FUNC_ELM_OBJ_PROGRESSBAR_INVERTED_OVERRIDE
3185#endif 3677#endif
3186 3678
3187#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_HORIZONTAL 3679#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_HORIZONTAL
@@ -3195,6 +3687,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3195 horizontal = elm_obj_progressbar_horizontal_get(obj); 3687 horizontal = elm_obj_progressbar_horizontal_get(obj);
3196 FAIL_IF(elm_obj_progressbar_horizontal, (horizontal != EINA_FALSE)); 3688 FAIL_IF(elm_obj_progressbar_horizontal, (horizontal != EINA_FALSE));
3197 } 3689 }
3690#else
3691TEST_FUNC_ELM_OBJ_PROGRESSBAR_HORIZONTAL_OVERRIDE
3198#endif 3692#endif
3199 3693
3200#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_UNIT_FORMAT 3694#ifndef TEST_FUNC_ELM_OBJ_PROGRESSBAR_UNIT_FORMAT
@@ -3208,6 +3702,8 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3208 units = elm_obj_progressbar_unit_format_get(obj); 3702 units = elm_obj_progressbar_unit_format_get(obj);
3209 FAIL_IF(elm_obj_progressbar_unit_format, (!units || strcmp(units, "toto"))); 3703 FAIL_IF(elm_obj_progressbar_unit_format, (!units || strcmp(units, "toto")));
3210 } 3704 }
3705#else
3706TEST_FUNC_ELM_OBJ_PROGRESSBAR_UNIT_FORMAT_OVERRIDE
3211#endif 3707#endif
3212 3708
3213#ifndef TEST_OBJ_ELM_PROGRESSBAR_DTOR 3709#ifndef TEST_OBJ_ELM_PROGRESSBAR_DTOR
@@ -3215,94 +3711,6 @@ TEST_OBJ_ELM_PROGRESSBAR_CTOR
3215#endif 3711#endif
3216TEST_OBJ_ELM_PROGRESSBAR_DTOR 3712TEST_OBJ_ELM_PROGRESSBAR_DTOR
3217 3713
3218#ifndef TEST_OBJ_ELM_BG_CTOR
3219#define TEST_OBJ_ELM_BG_CTOR obj = eo_add(elm_bg_class_get(), parent);
3220#endif
3221TEST_OBJ_ELM_BG_CTOR
3222
3223#ifndef TEST_FUNC_ELM_OBJ_BG_OPTION
3224#define TEST_FUNC_ELM_OBJ_BG_OPTION
3225 {
3226 Elm_Bg_Option option;
3227 elm_obj_bg_option_set(obj, ELM_BG_OPTION_CENTER);
3228 option = elm_obj_bg_option_get(obj);
3229 FAIL_IF(elm_obj_bg_option, (option != ELM_BG_OPTION_CENTER));
3230 elm_obj_bg_option_set(obj, ELM_BG_OPTION_SCALE);
3231 option = elm_obj_bg_option_get(obj);
3232 FAIL_IF(elm_obj_bg_option, (option != ELM_BG_OPTION_SCALE));
3233 }
3234#endif
3235
3236#ifndef TEST_FUNC_ELM_OBJ_BG_COLOR
3237#define TEST_FUNC_ELM_OBJ_BG_COLOR
3238 {
3239 int r;
3240 int g;
3241 int b;
3242 int a;
3243 elm_obj_bg_color_set(obj, 0, 0, 0, 0);
3244 elm_obj_bg_color_get(obj, &r, &g, &b, &a);
3245 FAIL_IF(elm_obj_bg_color, (r != 0) || (g != 0) || (b != 0) || (a != 0));
3246 elm_obj_bg_color_set(obj, 100, 100, 100, 100);
3247 elm_obj_bg_color_get(obj, &r, &g, &b, &a);
3248 FAIL_IF(elm_obj_bg_color, (r != 100) || (g != 100) || (b != 100) || (a != 100));
3249 }
3250#endif
3251
3252#ifndef TEST_OBJ_ELM_BG_DTOR
3253#define TEST_OBJ_ELM_BG_DTOR eo_del(obj);
3254#endif
3255TEST_OBJ_ELM_BG_DTOR
3256
3257#ifndef TEST_OBJ_ELM_PHOTO_CTOR
3258#define TEST_OBJ_ELM_PHOTO_CTOR obj = eo_add(elm_photo_class_get(), parent);
3259#endif
3260TEST_OBJ_ELM_PHOTO_CTOR
3261
3262#ifndef TEST_FUNC_ELM_OBJ_PHOTO_FILL_INSIDE
3263#define TEST_FUNC_ELM_OBJ_PHOTO_FILL_INSIDE
3264 {
3265 Eina_Bool fill;
3266 elm_obj_photo_fill_inside_set(obj, EINA_TRUE);
3267 fill = elm_obj_photo_fill_inside_get(obj);
3268 FAIL_IF(elm_obj_photo_fill_inside, (fill != EINA_TRUE));
3269 elm_obj_photo_fill_inside_set(obj, EINA_FALSE);
3270 fill = elm_obj_photo_fill_inside_get(obj);
3271 FAIL_IF(elm_obj_photo_fill_inside, (fill != EINA_FALSE));
3272 }
3273#endif
3274
3275#ifndef TEST_FUNC_ELM_OBJ_PHOTO_ASPECT_FIXED
3276#define TEST_FUNC_ELM_OBJ_PHOTO_ASPECT_FIXED
3277 {
3278 Eina_Bool fixed;
3279 elm_obj_photo_aspect_fixed_set(obj, EINA_TRUE);
3280 fixed = elm_obj_photo_aspect_fixed_get(obj);
3281 FAIL_IF(elm_obj_photo_aspect_fixed, (fixed != EINA_TRUE));
3282 elm_obj_photo_aspect_fixed_set(obj, EINA_FALSE);
3283 fixed = elm_obj_photo_aspect_fixed_get(obj);
3284 FAIL_IF(elm_obj_photo_aspect_fixed, (fixed != EINA_FALSE));
3285 }
3286#endif
3287
3288#ifndef TEST_FUNC_ELM_OBJ_PHOTO_SIZE
3289#define TEST_FUNC_ELM_OBJ_PHOTO_SIZE
3290 {
3291 int size;
3292 elm_obj_photo_size_set(obj, 0);
3293 size = elm_obj_photo_size_get(obj);
3294 FAIL_IF(elm_obj_photo_size, (size != 0));
3295 elm_obj_photo_size_set(obj, 100);
3296 size = elm_obj_photo_size_get(obj);
3297 FAIL_IF(elm_obj_photo_size, (size != 100));
3298 }
3299#endif
3300
3301#ifndef TEST_OBJ_ELM_PHOTO_DTOR
3302#define TEST_OBJ_ELM_PHOTO_DTOR eo_del(obj);
3303#endif
3304TEST_OBJ_ELM_PHOTO_DTOR
3305
3306#ifndef TEST_OBJ_EFL_VG_CONTAINER_CTOR 3714#ifndef TEST_OBJ_EFL_VG_CONTAINER_CTOR
3307#define TEST_OBJ_EFL_VG_CONTAINER_CTOR obj = eo_add(efl_vg_container_class_get(), parent); 3715#define TEST_OBJ_EFL_VG_CONTAINER_CTOR obj = eo_add(efl_vg_container_class_get(), parent);
3308#endif 3716#endif
@@ -3319,6 +3727,8 @@ TEST_OBJ_EFL_VG_CONTAINER_CTOR
3319 name = efl_vg_name_get(obj); 3727 name = efl_vg_name_get(obj);
3320 FAIL_IF(efl_vg_name, (!name || strcmp(name, "toto"))); 3728 FAIL_IF(efl_vg_name, (!name || strcmp(name, "toto")));
3321 } 3729 }
3730#else
3731TEST_FUNC_EFL_VG_NAME_OVERRIDE
3322#endif 3732#endif
3323 3733
3324#ifndef TEST_FUNC_EFL_VG_ORIGIN 3734#ifndef TEST_FUNC_EFL_VG_ORIGIN
@@ -3333,6 +3743,8 @@ TEST_OBJ_EFL_VG_CONTAINER_CTOR
3333 efl_vg_origin_get(obj, &x, &y); 3743 efl_vg_origin_get(obj, &x, &y);
3334 FAIL_IF(efl_vg_origin, (x != 1.0) || (y != 1.0)); 3744 FAIL_IF(efl_vg_origin, (x != 1.0) || (y != 1.0));
3335 } 3745 }
3746#else
3747TEST_FUNC_EFL_VG_ORIGIN_OVERRIDE
3336#endif 3748#endif
3337 3749
3338#ifndef TEST_OBJ_EFL_VG_CONTAINER_DTOR 3750#ifndef TEST_OBJ_EFL_VG_CONTAINER_DTOR
@@ -3356,6 +3768,8 @@ TEST_OBJ_ELM_PANES_CTOR
3356 size = elm_obj_panes_content_left_size_get(obj); 3768 size = elm_obj_panes_content_left_size_get(obj);
3357 FAIL_IF(elm_obj_panes_content_left_size, (size != 1.0)); 3769 FAIL_IF(elm_obj_panes_content_left_size, (size != 1.0));
3358 } 3770 }
3771#else
3772TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_SIZE_OVERRIDE
3359#endif 3773#endif
3360 3774
3361#ifndef TEST_FUNC_ELM_OBJ_PANES_HORIZONTAL 3775#ifndef TEST_FUNC_ELM_OBJ_PANES_HORIZONTAL
@@ -3369,6 +3783,8 @@ TEST_OBJ_ELM_PANES_CTOR
3369 horizontal = elm_obj_panes_horizontal_get(obj); 3783 horizontal = elm_obj_panes_horizontal_get(obj);
3370 FAIL_IF(elm_obj_panes_horizontal, (horizontal != EINA_FALSE)); 3784 FAIL_IF(elm_obj_panes_horizontal, (horizontal != EINA_FALSE));
3371 } 3785 }
3786#else
3787TEST_FUNC_ELM_OBJ_PANES_HORIZONTAL_OVERRIDE
3372#endif 3788#endif
3373 3789
3374#ifndef TEST_FUNC_ELM_OBJ_PANES_FIXED 3790#ifndef TEST_FUNC_ELM_OBJ_PANES_FIXED
@@ -3382,6 +3798,8 @@ TEST_OBJ_ELM_PANES_CTOR
3382 fixed = elm_obj_panes_fixed_get(obj); 3798 fixed = elm_obj_panes_fixed_get(obj);
3383 FAIL_IF(elm_obj_panes_fixed, (fixed != EINA_FALSE)); 3799 FAIL_IF(elm_obj_panes_fixed, (fixed != EINA_FALSE));
3384 } 3800 }
3801#else
3802TEST_FUNC_ELM_OBJ_PANES_FIXED_OVERRIDE
3385#endif 3803#endif
3386 3804
3387#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_SIZE 3805#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_SIZE
@@ -3395,6 +3813,8 @@ TEST_OBJ_ELM_PANES_CTOR
3395 size = elm_obj_panes_content_right_size_get(obj); 3813 size = elm_obj_panes_content_right_size_get(obj);
3396 FAIL_IF(elm_obj_panes_content_right_size, (size != 1.0)); 3814 FAIL_IF(elm_obj_panes_content_right_size, (size != 1.0));
3397 } 3815 }
3816#else
3817TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_SIZE_OVERRIDE
3398#endif 3818#endif
3399 3819
3400#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_RELATIVE_SIZE 3820#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_RELATIVE_SIZE
@@ -3408,6 +3828,8 @@ TEST_OBJ_ELM_PANES_CTOR
3408 size = elm_obj_panes_content_left_min_relative_size_get(obj); 3828 size = elm_obj_panes_content_left_min_relative_size_get(obj);
3409 FAIL_IF(elm_obj_panes_content_left_min_relative_size, (size != 1.0)); 3829 FAIL_IF(elm_obj_panes_content_left_min_relative_size, (size != 1.0));
3410 } 3830 }
3831#else
3832TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_RELATIVE_SIZE_OVERRIDE
3411#endif 3833#endif
3412 3834
3413#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_RELATIVE_SIZE 3835#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_RELATIVE_SIZE
@@ -3421,6 +3843,8 @@ TEST_OBJ_ELM_PANES_CTOR
3421 size = elm_obj_panes_content_right_min_relative_size_get(obj); 3843 size = elm_obj_panes_content_right_min_relative_size_get(obj);
3422 FAIL_IF(elm_obj_panes_content_right_min_relative_size, (size != 1.0)); 3844 FAIL_IF(elm_obj_panes_content_right_min_relative_size, (size != 1.0));
3423 } 3845 }
3846#else
3847TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_RELATIVE_SIZE_OVERRIDE
3424#endif 3848#endif
3425 3849
3426#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_SIZE 3850#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_SIZE
@@ -3434,6 +3858,8 @@ TEST_OBJ_ELM_PANES_CTOR
3434 size = elm_obj_panes_content_left_min_size_get(obj); 3858 size = elm_obj_panes_content_left_min_size_get(obj);
3435 FAIL_IF(elm_obj_panes_content_left_min_size, (size != 100)); 3859 FAIL_IF(elm_obj_panes_content_left_min_size, (size != 100));
3436 } 3860 }
3861#else
3862TEST_FUNC_ELM_OBJ_PANES_CONTENT_LEFT_MIN_SIZE_OVERRIDE
3437#endif 3863#endif
3438 3864
3439#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_SIZE 3865#ifndef TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_SIZE
@@ -3447,6 +3873,8 @@ TEST_OBJ_ELM_PANES_CTOR
3447 size = elm_obj_panes_content_right_min_size_get(obj); 3873 size = elm_obj_panes_content_right_min_size_get(obj);
3448 FAIL_IF(elm_obj_panes_content_right_min_size, (size != 100)); 3874 FAIL_IF(elm_obj_panes_content_right_min_size, (size != 100));
3449 } 3875 }
3876#else
3877TEST_FUNC_ELM_OBJ_PANES_CONTENT_RIGHT_MIN_SIZE_OVERRIDE
3450#endif 3878#endif
3451 3879
3452#ifndef TEST_OBJ_ELM_PANES_DTOR 3880#ifndef TEST_OBJ_ELM_PANES_DTOR
@@ -3454,6 +3882,147 @@ TEST_OBJ_ELM_PANES_CTOR
3454#endif 3882#endif
3455TEST_OBJ_ELM_PANES_DTOR 3883TEST_OBJ_ELM_PANES_DTOR
3456 3884
3885#ifndef TEST_OBJ_EVAS_CANVAS3D_SCENE_CTOR
3886#define TEST_OBJ_EVAS_CANVAS3D_SCENE_CTOR obj = eo_add(evas_canvas3d_scene_class_get(), parent);
3887#endif
3888TEST_OBJ_EVAS_CANVAS3D_SCENE_CTOR
3889
3890#ifndef TEST_FUNC_EVAS_CANVAS3D_SCENE_SHADOWS_DEPTH
3891#define TEST_FUNC_EVAS_CANVAS3D_SCENE_SHADOWS_DEPTH
3892 {
3893 Evas_Real depth_offset;
3894 Evas_Real depth_constant;
3895 evas_canvas3d_scene_shadows_depth_set(obj, 0.0, 0.0);
3896 evas_canvas3d_scene_shadows_depth_get(obj, &depth_offset, &depth_constant);
3897 FAIL_IF(evas_canvas3d_scene_shadows_depth, (depth_offset != 0.0) || (depth_constant != 0.0));
3898 evas_canvas3d_scene_shadows_depth_set(obj, 1.0, 1.0);
3899 evas_canvas3d_scene_shadows_depth_get(obj, &depth_offset, &depth_constant);
3900 FAIL_IF(evas_canvas3d_scene_shadows_depth, (depth_offset != 1.0) || (depth_constant != 1.0));
3901 }
3902#else
3903TEST_FUNC_EVAS_CANVAS3D_SCENE_SHADOWS_DEPTH_OVERRIDE
3904#endif
3905
3906#ifndef TEST_OBJ_EVAS_CANVAS3D_SCENE_DTOR
3907#define TEST_OBJ_EVAS_CANVAS3D_SCENE_DTOR eo_del(obj);
3908#endif
3909TEST_OBJ_EVAS_CANVAS3D_SCENE_DTOR
3910
3911#ifndef TEST_OBJ_ELM_SYSTRAY_CTOR
3912#define TEST_OBJ_ELM_SYSTRAY_CTOR obj = eo_add(elm_systray_class_get(), parent);
3913#endif
3914TEST_OBJ_ELM_SYSTRAY_CTOR
3915
3916#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ID
3917#define TEST_FUNC_ELM_OBJ_SYSTRAY_ID
3918 {
3919 const char * id = NULL;
3920 elm_obj_systray_id_set(obj, NULL);
3921 id = elm_obj_systray_id_get(obj);
3922 FAIL_IF(elm_obj_systray_id, (id != NULL));
3923 elm_obj_systray_id_set(obj, "toto");
3924 id = elm_obj_systray_id_get(obj);
3925 FAIL_IF(elm_obj_systray_id, (!id || strcmp(id, "toto")));
3926 }
3927#else
3928TEST_FUNC_ELM_OBJ_SYSTRAY_ID_OVERRIDE
3929#endif
3930
3931#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_CATEGORY
3932#define TEST_FUNC_ELM_OBJ_SYSTRAY_CATEGORY
3933 {
3934 Elm_Systray_Category cat;
3935 elm_obj_systray_category_set(obj, ELM_SYSTRAY_CATEGORY_APP_STATUS);
3936 cat = elm_obj_systray_category_get(obj);
3937 FAIL_IF(elm_obj_systray_category, (cat != ELM_SYSTRAY_CATEGORY_APP_STATUS));
3938 elm_obj_systray_category_set(obj, ELM_SYSTRAY_CATEGORY_COMMUNICATIONS);
3939 cat = elm_obj_systray_category_get(obj);
3940 FAIL_IF(elm_obj_systray_category, (cat != ELM_SYSTRAY_CATEGORY_COMMUNICATIONS));
3941 }
3942#else
3943TEST_FUNC_ELM_OBJ_SYSTRAY_CATEGORY_OVERRIDE
3944#endif
3945
3946#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_THEME_PATH
3947#define TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_THEME_PATH
3948 {
3949 const char * icon_theme_path = NULL;
3950 elm_obj_systray_icon_theme_path_set(obj, NULL);
3951 icon_theme_path = elm_obj_systray_icon_theme_path_get(obj);
3952 FAIL_IF(elm_obj_systray_icon_theme_path, (icon_theme_path != NULL));
3953 elm_obj_systray_icon_theme_path_set(obj, "toto");
3954 icon_theme_path = elm_obj_systray_icon_theme_path_get(obj);
3955 FAIL_IF(elm_obj_systray_icon_theme_path, (!icon_theme_path || strcmp(icon_theme_path, "toto")));
3956 }
3957#else
3958TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_THEME_PATH_OVERRIDE
3959#endif
3960
3961#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ATT_ICON_NAME
3962#define TEST_FUNC_ELM_OBJ_SYSTRAY_ATT_ICON_NAME
3963 {
3964 const char * att_icon_name = NULL;
3965 elm_obj_systray_att_icon_name_set(obj, NULL);
3966 att_icon_name = elm_obj_systray_att_icon_name_get(obj);
3967 FAIL_IF(elm_obj_systray_att_icon_name, (att_icon_name != NULL));
3968 elm_obj_systray_att_icon_name_set(obj, "toto");
3969 att_icon_name = elm_obj_systray_att_icon_name_get(obj);
3970 FAIL_IF(elm_obj_systray_att_icon_name, (!att_icon_name || strcmp(att_icon_name, "toto")));
3971 }
3972#else
3973TEST_FUNC_ELM_OBJ_SYSTRAY_ATT_ICON_NAME_OVERRIDE
3974#endif
3975
3976#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_STATUS
3977#define TEST_FUNC_ELM_OBJ_SYSTRAY_STATUS
3978 {
3979 Elm_Systray_Status st;
3980 elm_obj_systray_status_set(obj, ELM_SYSTRAY_STATUS_PASSIVE);
3981 st = elm_obj_systray_status_get(obj);
3982 FAIL_IF(elm_obj_systray_status, (st != ELM_SYSTRAY_STATUS_PASSIVE));
3983 elm_obj_systray_status_set(obj, ELM_SYSTRAY_STATUS_ACTIVE);
3984 st = elm_obj_systray_status_get(obj);
3985 FAIL_IF(elm_obj_systray_status, (st != ELM_SYSTRAY_STATUS_ACTIVE));
3986 }
3987#else
3988TEST_FUNC_ELM_OBJ_SYSTRAY_STATUS_OVERRIDE
3989#endif
3990
3991#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_NAME
3992#define TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_NAME
3993 {
3994 const char * icon_name = NULL;
3995 elm_obj_systray_icon_name_set(obj, NULL);
3996 icon_name = elm_obj_systray_icon_name_get(obj);
3997 FAIL_IF(elm_obj_systray_icon_name, (icon_name != NULL));
3998 elm_obj_systray_icon_name_set(obj, "toto");
3999 icon_name = elm_obj_systray_icon_name_get(obj);
4000 FAIL_IF(elm_obj_systray_icon_name, (!icon_name || strcmp(icon_name, "toto")));
4001 }
4002#else
4003TEST_FUNC_ELM_OBJ_SYSTRAY_ICON_NAME_OVERRIDE
4004#endif
4005
4006#ifndef TEST_FUNC_ELM_OBJ_SYSTRAY_TITLE
4007#define TEST_FUNC_ELM_OBJ_SYSTRAY_TITLE
4008 {
4009 const char * title = NULL;
4010 elm_obj_systray_title_set(obj, NULL);
4011 title = elm_obj_systray_title_get(obj);
4012 FAIL_IF(elm_obj_systray_title, (title != NULL));
4013 elm_obj_systray_title_set(obj, "toto");
4014 title = elm_obj_systray_title_get(obj);
4015 FAIL_IF(elm_obj_systray_title, (!title || strcmp(title, "toto")));
4016 }
4017#else
4018TEST_FUNC_ELM_OBJ_SYSTRAY_TITLE_OVERRIDE
4019#endif
4020
4021#ifndef TEST_OBJ_ELM_SYSTRAY_DTOR
4022#define TEST_OBJ_ELM_SYSTRAY_DTOR eo_del(obj);
4023#endif
4024TEST_OBJ_ELM_SYSTRAY_DTOR
4025
3457#ifndef TEST_OBJ_ELM_VIDEO_CTOR 4026#ifndef TEST_OBJ_ELM_VIDEO_CTOR
3458#define TEST_OBJ_ELM_VIDEO_CTOR obj = eo_add(elm_video_class_get(), parent); 4027#define TEST_OBJ_ELM_VIDEO_CTOR obj = eo_add(elm_video_class_get(), parent);
3459#endif 4028#endif
@@ -3470,6 +4039,8 @@ TEST_OBJ_ELM_VIDEO_CTOR
3470 volume = elm_obj_video_audio_level_get(obj); 4039 volume = elm_obj_video_audio_level_get(obj);
3471 FAIL_IF(elm_obj_video_audio_level, (volume != 1.0)); 4040 FAIL_IF(elm_obj_video_audio_level, (volume != 1.0));
3472 } 4041 }
4042#else
4043TEST_FUNC_ELM_OBJ_VIDEO_AUDIO_LEVEL_OVERRIDE
3473#endif 4044#endif
3474 4045
3475#ifndef TEST_FUNC_ELM_OBJ_VIDEO_REMEMBER_POSITION 4046#ifndef TEST_FUNC_ELM_OBJ_VIDEO_REMEMBER_POSITION
@@ -3483,6 +4054,8 @@ TEST_OBJ_ELM_VIDEO_CTOR
3483 remember = elm_obj_video_remember_position_get(obj); 4054 remember = elm_obj_video_remember_position_get(obj);
3484 FAIL_IF(elm_obj_video_remember_position, (remember != EINA_FALSE)); 4055 FAIL_IF(elm_obj_video_remember_position, (remember != EINA_FALSE));
3485 } 4056 }
4057#else
4058TEST_FUNC_ELM_OBJ_VIDEO_REMEMBER_POSITION_OVERRIDE
3486#endif 4059#endif
3487 4060
3488#ifndef TEST_FUNC_ELM_OBJ_VIDEO_PLAY_POSITION 4061#ifndef TEST_FUNC_ELM_OBJ_VIDEO_PLAY_POSITION
@@ -3496,6 +4069,8 @@ TEST_OBJ_ELM_VIDEO_CTOR
3496 position = elm_obj_video_play_position_get(obj); 4069 position = elm_obj_video_play_position_get(obj);
3497 FAIL_IF(elm_obj_video_play_position, (position != 1.0)); 4070 FAIL_IF(elm_obj_video_play_position, (position != 1.0));
3498 } 4071 }
4072#else
4073TEST_FUNC_ELM_OBJ_VIDEO_PLAY_POSITION_OVERRIDE
3499#endif 4074#endif
3500 4075
3501#ifndef TEST_FUNC_ELM_OBJ_VIDEO_AUDIO_MUTE 4076#ifndef TEST_FUNC_ELM_OBJ_VIDEO_AUDIO_MUTE
@@ -3509,6 +4084,8 @@ TEST_OBJ_ELM_VIDEO_CTOR
3509 mute = elm_obj_video_audio_mute_get(obj); 4084 mute = elm_obj_video_audio_mute_get(obj);
3510 FAIL_IF(elm_obj_video_audio_mute, (mute != EINA_FALSE)); 4085 FAIL_IF(elm_obj_video_audio_mute, (mute != EINA_FALSE));
3511 } 4086 }
4087#else
4088TEST_FUNC_ELM_OBJ_VIDEO_AUDIO_MUTE_OVERRIDE
3512#endif 4089#endif
3513 4090
3514#ifndef TEST_OBJ_ELM_VIDEO_DTOR 4091#ifndef TEST_OBJ_ELM_VIDEO_DTOR
@@ -3516,91 +4093,6 @@ TEST_OBJ_ELM_VIDEO_CTOR
3516#endif 4093#endif
3517TEST_OBJ_ELM_VIDEO_DTOR 4094TEST_OBJ_ELM_VIDEO_DTOR
3518 4095
3519#ifndef TEST_OBJ_ELM_SCROLLER_CTOR
3520#define TEST_OBJ_ELM_SCROLLER_CTOR obj = eo_add(elm_scroller_class_get(), parent);
3521#endif
3522TEST_OBJ_ELM_SCROLLER_CTOR
3523
3524#ifndef TEST_FUNC_ELM_OBJ_SCROLLER_PROPAGATE_EVENTS
3525#define TEST_FUNC_ELM_OBJ_SCROLLER_PROPAGATE_EVENTS
3526 {
3527 Eina_Bool propagation;
3528 elm_obj_scroller_propagate_events_set(obj, EINA_TRUE);
3529 propagation = elm_obj_scroller_propagate_events_get(obj);
3530 FAIL_IF(elm_obj_scroller_propagate_events, (propagation != EINA_TRUE));
3531 elm_obj_scroller_propagate_events_set(obj, EINA_FALSE);
3532 propagation = elm_obj_scroller_propagate_events_get(obj);
3533 FAIL_IF(elm_obj_scroller_propagate_events, (propagation != EINA_FALSE));
3534 }
3535#endif
3536
3537#ifndef TEST_OBJ_ELM_SCROLLER_DTOR
3538#define TEST_OBJ_ELM_SCROLLER_DTOR eo_del(obj);
3539#endif
3540TEST_OBJ_ELM_SCROLLER_DTOR
3541
3542#ifndef TEST_OBJ_ECORE_AUDIO_IN_CTOR
3543#define TEST_OBJ_ECORE_AUDIO_IN_CTOR obj = eo_add(ecore_audio_in_class_get(), parent);
3544#endif
3545TEST_OBJ_ECORE_AUDIO_IN_CTOR
3546
3547#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_SPEED
3548#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_SPEED
3549 {
3550 double speed;
3551 ecore_audio_obj_in_speed_set(obj, 0.0);
3552 speed = ecore_audio_obj_in_speed_get(obj);
3553 FAIL_IF(ecore_audio_obj_in_speed, (speed != 0.0));
3554 ecore_audio_obj_in_speed_set(obj, 1.0);
3555 speed = ecore_audio_obj_in_speed_get(obj);
3556 FAIL_IF(ecore_audio_obj_in_speed, (speed != 1.0));
3557 }
3558#endif
3559
3560#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_SAMPLERATE
3561#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_SAMPLERATE
3562 {
3563 int samplerate;
3564 ecore_audio_obj_in_samplerate_set(obj, 0);
3565 samplerate = ecore_audio_obj_in_samplerate_get(obj);
3566 FAIL_IF(ecore_audio_obj_in_samplerate, (samplerate != 0));
3567 ecore_audio_obj_in_samplerate_set(obj, 100);
3568 samplerate = ecore_audio_obj_in_samplerate_get(obj);
3569 FAIL_IF(ecore_audio_obj_in_samplerate, (samplerate != 100));
3570 }
3571#endif
3572
3573#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_CHANNELS
3574#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_CHANNELS
3575 {
3576 int channels;
3577 ecore_audio_obj_in_channels_set(obj, 0);
3578 channels = ecore_audio_obj_in_channels_get(obj);
3579 FAIL_IF(ecore_audio_obj_in_channels, (channels != 0));
3580 ecore_audio_obj_in_channels_set(obj, 100);
3581 channels = ecore_audio_obj_in_channels_get(obj);
3582 FAIL_IF(ecore_audio_obj_in_channels, (channels != 100));
3583 }
3584#endif
3585
3586#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED
3587#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED
3588 {
3589 Eina_Bool looped;
3590 ecore_audio_obj_in_looped_set(obj, EINA_TRUE);
3591 looped = ecore_audio_obj_in_looped_get(obj);
3592 FAIL_IF(ecore_audio_obj_in_looped, (looped != EINA_TRUE));
3593 ecore_audio_obj_in_looped_set(obj, EINA_FALSE);
3594 looped = ecore_audio_obj_in_looped_get(obj);
3595 FAIL_IF(ecore_audio_obj_in_looped, (looped != EINA_FALSE));
3596 }
3597#endif
3598
3599#ifndef TEST_OBJ_ECORE_AUDIO_IN_DTOR
3600#define TEST_OBJ_ECORE_AUDIO_IN_DTOR eo_del(obj);
3601#endif
3602TEST_OBJ_ECORE_AUDIO_IN_DTOR
3603
3604#ifndef TEST_OBJ_ELM_INDEX_CTOR 4096#ifndef TEST_OBJ_ELM_INDEX_CTOR
3605#define TEST_OBJ_ELM_INDEX_CTOR obj = eo_add(elm_index_class_get(), parent); 4097#define TEST_OBJ_ELM_INDEX_CTOR obj = eo_add(elm_index_class_get(), parent);
3606#endif 4098#endif
@@ -3617,6 +4109,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3617 disabled = elm_obj_index_autohide_disabled_get(obj); 4109 disabled = elm_obj_index_autohide_disabled_get(obj);
3618 FAIL_IF(elm_obj_index_autohide_disabled, (disabled != EINA_FALSE)); 4110 FAIL_IF(elm_obj_index_autohide_disabled, (disabled != EINA_FALSE));
3619 } 4111 }
4112#else
4113TEST_FUNC_ELM_OBJ_INDEX_AUTOHIDE_DISABLED_OVERRIDE
3620#endif 4114#endif
3621 4115
3622#ifndef TEST_FUNC_ELM_OBJ_INDEX_OMIT_ENABLED 4116#ifndef TEST_FUNC_ELM_OBJ_INDEX_OMIT_ENABLED
@@ -3630,6 +4124,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3630 enabled = elm_obj_index_omit_enabled_get(obj); 4124 enabled = elm_obj_index_omit_enabled_get(obj);
3631 FAIL_IF(elm_obj_index_omit_enabled, (enabled != EINA_FALSE)); 4125 FAIL_IF(elm_obj_index_omit_enabled, (enabled != EINA_FALSE));
3632 } 4126 }
4127#else
4128TEST_FUNC_ELM_OBJ_INDEX_OMIT_ENABLED_OVERRIDE
3633#endif 4129#endif
3634 4130
3635#ifndef TEST_FUNC_ELM_OBJ_INDEX_STANDARD_PRIORITY 4131#ifndef TEST_FUNC_ELM_OBJ_INDEX_STANDARD_PRIORITY
@@ -3643,6 +4139,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3643 priority = elm_obj_index_standard_priority_get(obj); 4139 priority = elm_obj_index_standard_priority_get(obj);
3644 FAIL_IF(elm_obj_index_standard_priority, (priority != 100)); 4140 FAIL_IF(elm_obj_index_standard_priority, (priority != 100));
3645 } 4141 }
4142#else
4143TEST_FUNC_ELM_OBJ_INDEX_STANDARD_PRIORITY_OVERRIDE
3646#endif 4144#endif
3647 4145
3648#ifndef TEST_FUNC_ELM_OBJ_INDEX_HORIZONTAL 4146#ifndef TEST_FUNC_ELM_OBJ_INDEX_HORIZONTAL
@@ -3656,6 +4154,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3656 horizontal = elm_obj_index_horizontal_get(obj); 4154 horizontal = elm_obj_index_horizontal_get(obj);
3657 FAIL_IF(elm_obj_index_horizontal, (horizontal != EINA_FALSE)); 4155 FAIL_IF(elm_obj_index_horizontal, (horizontal != EINA_FALSE));
3658 } 4156 }
4157#else
4158TEST_FUNC_ELM_OBJ_INDEX_HORIZONTAL_OVERRIDE
3659#endif 4159#endif
3660 4160
3661#ifndef TEST_FUNC_ELM_OBJ_INDEX_DELAY_CHANGE_TIME 4161#ifndef TEST_FUNC_ELM_OBJ_INDEX_DELAY_CHANGE_TIME
@@ -3669,6 +4169,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3669 dtime = elm_obj_index_delay_change_time_get(obj); 4169 dtime = elm_obj_index_delay_change_time_get(obj);
3670 FAIL_IF(elm_obj_index_delay_change_time, (dtime != 1.0)); 4170 FAIL_IF(elm_obj_index_delay_change_time, (dtime != 1.0));
3671 } 4171 }
4172#else
4173TEST_FUNC_ELM_OBJ_INDEX_DELAY_CHANGE_TIME_OVERRIDE
3672#endif 4174#endif
3673 4175
3674#ifndef TEST_FUNC_ELM_OBJ_INDEX_INDICATOR_DISABLED 4176#ifndef TEST_FUNC_ELM_OBJ_INDEX_INDICATOR_DISABLED
@@ -3682,6 +4184,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3682 disabled = elm_obj_index_indicator_disabled_get(obj); 4184 disabled = elm_obj_index_indicator_disabled_get(obj);
3683 FAIL_IF(elm_obj_index_indicator_disabled, (disabled != EINA_FALSE)); 4185 FAIL_IF(elm_obj_index_indicator_disabled, (disabled != EINA_FALSE));
3684 } 4186 }
4187#else
4188TEST_FUNC_ELM_OBJ_INDEX_INDICATOR_DISABLED_OVERRIDE
3685#endif 4189#endif
3686 4190
3687#ifndef TEST_FUNC_ELM_OBJ_INDEX_ITEM_LEVEL 4191#ifndef TEST_FUNC_ELM_OBJ_INDEX_ITEM_LEVEL
@@ -3695,6 +4199,8 @@ TEST_OBJ_ELM_INDEX_CTOR
3695 level = elm_obj_index_item_level_get(obj); 4199 level = elm_obj_index_item_level_get(obj);
3696 FAIL_IF(elm_obj_index_item_level, (level != 100)); 4200 FAIL_IF(elm_obj_index_item_level, (level != 100));
3697 } 4201 }
4202#else
4203TEST_FUNC_ELM_OBJ_INDEX_ITEM_LEVEL_OVERRIDE
3698#endif 4204#endif
3699 4205
3700#ifndef TEST_OBJ_ELM_INDEX_DTOR 4206#ifndef TEST_OBJ_ELM_INDEX_DTOR
@@ -3702,67 +4208,210 @@ TEST_OBJ_ELM_INDEX_CTOR
3702#endif 4208#endif
3703TEST_OBJ_ELM_INDEX_DTOR 4209TEST_OBJ_ELM_INDEX_DTOR
3704 4210
3705#ifndef TEST_OBJ_ELM_PHOTOCAM_CTOR 4211#ifndef TEST_OBJ_ECORE_AUDIO_IN_CTOR
3706#define TEST_OBJ_ELM_PHOTOCAM_CTOR obj = eo_add(elm_photocam_class_get(), parent); 4212#define TEST_OBJ_ECORE_AUDIO_IN_CTOR obj = eo_add(ecore_audio_in_class_get(), parent);
3707#endif 4213#endif
3708TEST_OBJ_ELM_PHOTOCAM_CTOR 4214TEST_OBJ_ECORE_AUDIO_IN_CTOR
3709 4215
3710#ifndef TEST_FUNC_ELM_OBJ_PHOTOCAM_PAUSED 4216#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_SPEED
3711#define TEST_FUNC_ELM_OBJ_PHOTOCAM_PAUSED 4217#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_SPEED
3712 { 4218 {
3713 Eina_Bool paused; 4219 double speed;
3714 elm_obj_photocam_paused_set(obj, EINA_TRUE); 4220 ecore_audio_obj_in_speed_set(obj, 0.0);
3715 paused = elm_obj_photocam_paused_get(obj); 4221 speed = ecore_audio_obj_in_speed_get(obj);
3716 FAIL_IF(elm_obj_photocam_paused, (paused != EINA_TRUE)); 4222 FAIL_IF(ecore_audio_obj_in_speed, (speed != 0.0));
3717 elm_obj_photocam_paused_set(obj, EINA_FALSE); 4223 ecore_audio_obj_in_speed_set(obj, 1.0);
3718 paused = elm_obj_photocam_paused_get(obj); 4224 speed = ecore_audio_obj_in_speed_get(obj);
3719 FAIL_IF(elm_obj_photocam_paused, (paused != EINA_FALSE)); 4225 FAIL_IF(ecore_audio_obj_in_speed, (speed != 1.0));
3720 } 4226 }
4227#else
4228TEST_FUNC_ECORE_AUDIO_OBJ_IN_SPEED_OVERRIDE
3721#endif 4229#endif
3722 4230
3723#ifndef TEST_FUNC_ELM_OBJ_PHOTOCAM_GESTURE_ENABLED 4231#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_SAMPLERATE
3724#define TEST_FUNC_ELM_OBJ_PHOTOCAM_GESTURE_ENABLED 4232#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_SAMPLERATE
3725 { 4233 {
3726 Eina_Bool gesture; 4234 int samplerate;
3727 elm_obj_photocam_gesture_enabled_set(obj, EINA_TRUE); 4235 ecore_audio_obj_in_samplerate_set(obj, 0);
3728 gesture = elm_obj_photocam_gesture_enabled_get(obj); 4236 samplerate = ecore_audio_obj_in_samplerate_get(obj);
3729 FAIL_IF(elm_obj_photocam_gesture_enabled, (gesture != EINA_TRUE)); 4237 FAIL_IF(ecore_audio_obj_in_samplerate, (samplerate != 0));
3730 elm_obj_photocam_gesture_enabled_set(obj, EINA_FALSE); 4238 ecore_audio_obj_in_samplerate_set(obj, 100);
3731 gesture = elm_obj_photocam_gesture_enabled_get(obj); 4239 samplerate = ecore_audio_obj_in_samplerate_get(obj);
3732 FAIL_IF(elm_obj_photocam_gesture_enabled, (gesture != EINA_FALSE)); 4240 FAIL_IF(ecore_audio_obj_in_samplerate, (samplerate != 100));
3733 } 4241 }
4242#else
4243TEST_FUNC_ECORE_AUDIO_OBJ_IN_SAMPLERATE_OVERRIDE
3734#endif 4244#endif
3735 4245
3736#ifndef TEST_FUNC_ELM_OBJ_PHOTOCAM_ZOOM 4246#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_CHANNELS
3737#define TEST_FUNC_ELM_OBJ_PHOTOCAM_ZOOM 4247#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_CHANNELS
3738 { 4248 {
3739 double zoom; 4249 int channels;
3740 elm_obj_photocam_zoom_set(obj, 0.0); 4250 ecore_audio_obj_in_channels_set(obj, 0);
3741 zoom = elm_obj_photocam_zoom_get(obj); 4251 channels = ecore_audio_obj_in_channels_get(obj);
3742 FAIL_IF(elm_obj_photocam_zoom, (zoom != 0.0)); 4252 FAIL_IF(ecore_audio_obj_in_channels, (channels != 0));
3743 elm_obj_photocam_zoom_set(obj, 1.0); 4253 ecore_audio_obj_in_channels_set(obj, 100);
3744 zoom = elm_obj_photocam_zoom_get(obj); 4254 channels = ecore_audio_obj_in_channels_get(obj);
3745 FAIL_IF(elm_obj_photocam_zoom, (zoom != 1.0)); 4255 FAIL_IF(ecore_audio_obj_in_channels, (channels != 100));
3746 } 4256 }
4257#else
4258TEST_FUNC_ECORE_AUDIO_OBJ_IN_CHANNELS_OVERRIDE
3747#endif 4259#endif
3748 4260
3749#ifndef TEST_FUNC_ELM_OBJ_PHOTOCAM_ZOOM_MODE 4261#ifndef TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED
3750#define TEST_FUNC_ELM_OBJ_PHOTOCAM_ZOOM_MODE 4262#define TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED
3751 { 4263 {
3752 Elm_Photocam_Zoom_Mode mode; 4264 Eina_Bool looped;
3753 elm_obj_photocam_zoom_mode_set(obj, ELM_PHOTOCAM_ZOOM_MODE_MANUAL); 4265 ecore_audio_obj_in_looped_set(obj, EINA_TRUE);
3754 mode = elm_obj_photocam_zoom_mode_get(obj); 4266 looped = ecore_audio_obj_in_looped_get(obj);
3755 FAIL_IF(elm_obj_photocam_zoom_mode, (mode != ELM_PHOTOCAM_ZOOM_MODE_MANUAL)); 4267 FAIL_IF(ecore_audio_obj_in_looped, (looped != EINA_TRUE));
3756 elm_obj_photocam_zoom_mode_set(obj, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT); 4268 ecore_audio_obj_in_looped_set(obj, EINA_FALSE);
3757 mode = elm_obj_photocam_zoom_mode_get(obj); 4269 looped = ecore_audio_obj_in_looped_get(obj);
3758 FAIL_IF(elm_obj_photocam_zoom_mode, (mode != ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT)); 4270 FAIL_IF(ecore_audio_obj_in_looped, (looped != EINA_FALSE));
3759 } 4271 }
4272#else
4273TEST_FUNC_ECORE_AUDIO_OBJ_IN_LOOPED_OVERRIDE
3760#endif 4274#endif
3761 4275
3762#ifndef TEST_OBJ_ELM_PHOTOCAM_DTOR