summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-11 09:12:41 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2016-04-11 09:12:41 +0300
commit89069d93f68a6c216987daa86be6169d68cfaa74 (patch)
tree7ed10dee4216aff5e18f27fd0620a6eb08da56c3
parent07e7371f4d9b2a4fb36f45c2ca3277ba60291436 (diff)
Update generated file
-rw-r--r--src/bin/simple_callers.c11054
1 files changed, 5544 insertions, 5510 deletions
diff --git a/src/bin/simple_callers.c b/src/bin/simple_callers.c
index 3811bec..e7209e3 100644
--- a/src/bin/simple_callers.c
+++ b/src/bin/simple_callers.c
@@ -16,797 +16,1108 @@ int main(int argc, char **argv)
16 elm_init(argc, argv); 16 elm_init(argc, argv);
17 Eo *parent = elm_win_add(NULL, "TOTO", ELM_WIN_BASIC); 17 Eo *parent = elm_win_add(NULL, "TOTO", ELM_WIN_BASIC);
18 Eo *obj = NULL; 18 Eo *obj = NULL;
19#ifndef TEST_OBJ_ELM_LIST_CTOR 19#ifndef TEST_OBJ_EVAS_RECTANGLE_CTOR
20#define TEST_OBJ_ELM_LIST_CTOR obj = eo_add(elm_list_class_get(), parent); 20#define TEST_OBJ_EVAS_RECTANGLE_CTOR obj = eo_add(evas_rectangle_class_get(), parent);
21#endif 21#endif
22TEST_OBJ_ELM_LIST_CTOR 22TEST_OBJ_EVAS_RECTANGLE_CTOR
23 23
24#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL 24#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX
25#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL 25#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX
26 { 26 {
27 Eina_Bool horizontal; 27 Evas_Coord w;
28#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1 28 Evas_Coord h;
29#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1 EINA_TRUE 29#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1
30#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1 0
30#endif 31#endif
31#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2 32#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2
32#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2 EINA_FALSE 33#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2 100
33#endif 34#endif
34#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE 35#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1
35TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE 36#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1 0
36#endif 37#endif
37 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1); 38#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2
38 horizontal = elm_obj_list_horizontal_get(obj); 39#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2 100
39 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1)); 40#endif
40 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2); 41#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_PRE
41 horizontal = elm_obj_list_horizontal_get(obj); 42TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_PRE
42 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2)); 43#endif
43#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST 44 evas_obj_size_hint_max_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1);
44TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST 45 evas_obj_size_hint_max_get(obj, &w, &h);
46 FAIL_IF(evas_obj_size_hint_max, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1));
47 evas_obj_size_hint_max_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2);
48 evas_obj_size_hint_max_get(obj, &w, &h);
49 FAIL_IF(evas_obj_size_hint_max, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2));
50#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_POST
51TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_POST
45#endif 52#endif
46 } 53 }
47#else 54#else
48TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_OVERRIDE 55TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_OVERRIDE
49#endif 56#endif
50 57
51#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE 58#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST
52#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE 59#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST
53 { 60 {
54 Elm_Object_Select_Mode mode; 61 Evas_Coord w;
55#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1 62 Evas_Coord h;
56#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1 ELM_OBJECT_SELECT_MODE_DEFAULT 63#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1
64#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1 0
57#endif 65#endif
58#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2 66#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2
59#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2 ELM_OBJECT_SELECT_MODE_ALWAYS 67#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2 100
60#endif 68#endif
61#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE 69#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1
62TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE 70#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1 0
63#endif 71#endif
64 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1); 72#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2
65 mode = elm_obj_list_select_mode_get(obj); 73#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2 100
66 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1)); 74#endif
67 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2); 75#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_PRE
68 mode = elm_obj_list_select_mode_get(obj); 76TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_PRE
69 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2)); 77#endif
70#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST 78 evas_obj_size_hint_request_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1);
71TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST 79 evas_obj_size_hint_request_get(obj, &w, &h);
80 FAIL_IF(evas_obj_size_hint_request, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1));
81 evas_obj_size_hint_request_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2);
82 evas_obj_size_hint_request_get(obj, &w, &h);
83 FAIL_IF(evas_obj_size_hint_request, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2));
84#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_POST
85TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_POST
72#endif 86#endif
73 } 87 }
74#else 88#else
75TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_OVERRIDE 89TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_OVERRIDE
76#endif 90#endif
77 91
78#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION 92#ifndef TEST_FUNC_EVAS_OBJ_TYPE
79#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION 93#define TEST_FUNC_EVAS_OBJ_TYPE
80 { 94 {
81 Eina_Bool enabled; 95 const char * type = NULL;
82#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1 96#ifndef TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1
83#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1 EINA_TRUE 97#define TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1 NULL
84#endif 98#endif
85#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2 99#ifndef TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2
86#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2 EINA_FALSE 100#define TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2 "toto"
87#endif 101#endif
88#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE 102#ifdef TEST_FUNC_EVAS_OBJ_TYPE_PRE
89TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE 103TEST_FUNC_EVAS_OBJ_TYPE_PRE
90#endif 104#endif
91 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1); 105 evas_obj_type_set(obj, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1);
92 enabled = elm_obj_list_focus_on_selection_get(obj); 106 type = evas_obj_type_get(obj);
93 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1)); 107 FAIL_IF(evas_obj_type, (STRCMP(type, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1)));
94 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2); 108 evas_obj_type_set(obj, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2);
95 enabled = elm_obj_list_focus_on_selection_get(obj); 109 type = evas_obj_type_get(obj);
96 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2)); 110 FAIL_IF(evas_obj_type, (STRCMP(type, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2)));
97#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST 111#ifdef TEST_FUNC_EVAS_OBJ_TYPE_POST
98TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST 112TEST_FUNC_EVAS_OBJ_TYPE_POST
99#endif 113#endif
100 } 114 }
101#else 115#else
102TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_OVERRIDE 116TEST_FUNC_EVAS_OBJ_TYPE_OVERRIDE
103#endif 117#endif
104 118
105#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT 119#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN
106#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT 120#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN
107 { 121 {
108 Eina_Bool multi; 122 Evas_Coord w;
109#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1 123 Evas_Coord h;
110#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1 EINA_TRUE 124#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1
125#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1 0
111#endif 126#endif
112#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2 127#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2
113#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2 EINA_FALSE 128#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2 100
114#endif 129#endif
115#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE 130#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1
116TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE 131#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1 0
117#endif 132#endif
118 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1); 133#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2
119 multi = elm_obj_list_multi_select_get(obj); 134#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2 100
120 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1)); 135#endif
121 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2); 136#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_PRE
122 multi = elm_obj_list_multi_select_get(obj); 137TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_PRE
123 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2)); 138#endif
124#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST 139 evas_obj_size_hint_min_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1);
125TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST 140 evas_obj_size_hint_min_get(obj, &w, &h);
141 FAIL_IF(evas_obj_size_hint_min, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1));
142 evas_obj_size_hint_min_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2);
143 evas_obj_size_hint_min_get(obj, &w, &h);
144 FAIL_IF(evas_obj_size_hint_min, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2));
145#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_POST
146TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_POST
126#endif 147#endif
127 } 148 }
128#else 149#else
129TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_OVERRIDE 150TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_OVERRIDE
130#endif 151#endif
131 152
132#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE 153#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE
133#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE 154#define TEST_FUNC_EVAS_OBJ_POINTER_MODE
134 { 155 {
135 Elm_Object_Multi_Select_Mode mode; 156 Evas_Object_Pointer_Mode pointer_mode;
136#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1 157#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1
137#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1 ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT 158#define TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1 EVAS_OBJECT_POINTER_MODE_AUTOGRAB
138#endif 159#endif
139#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2 160#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2
140#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2 ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL 161#define TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2 EVAS_OBJECT_POINTER_MODE_NOGRAB
141#endif 162#endif
142#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE 163#ifdef TEST_FUNC_EVAS_OBJ_POINTER_MODE_PRE
143TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE 164TEST_FUNC_EVAS_OBJ_POINTER_MODE_PRE
144#endif 165#endif
145 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1); 166 evas_obj_pointer_mode_set(obj, TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1);
146 mode = elm_obj_list_multi_select_mode_get(obj); 167 pointer_mode = evas_obj_pointer_mode_get(obj);
147 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1)); 168 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1));
148 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2); 169 evas_obj_pointer_mode_set(obj, TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2);
149 mode = elm_obj_list_multi_select_mode_get(obj); 170 pointer_mode = evas_obj_pointer_mode_get(obj);
150 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2)); 171 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2));
151#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST 172#ifdef TEST_FUNC_EVAS_OBJ_POINTER_MODE_POST
152TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST 173TEST_FUNC_EVAS_OBJ_POINTER_MODE_POST
153#endif 174#endif
154 } 175 }
155#else 176#else
156TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_OVERRIDE 177TEST_FUNC_EVAS_OBJ_POINTER_MODE_OVERRIDE
157#endif 178#endif
158 179
159#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE 180#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP
160#define TEST_FUNC_ELM_OBJ_LIST_MODE 181#define TEST_FUNC_EVAS_OBJ_RENDER_OP
161 { 182 {
162 Elm_List_Mode mode; 183 Evas_Render_Op render_op;
163#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1 184#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1
164#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1 ELM_LIST_COMPRESS 185#define TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1 EVAS_RENDER_BLEND
165#endif 186#endif
166#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2 187#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2
167#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2 ELM_LIST_SCROLL 188#define TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2 EVAS_RENDER_BLEND_REL
168#endif 189#endif
169#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_PRE 190#ifdef TEST_FUNC_EVAS_OBJ_RENDER_OP_PRE
170TEST_FUNC_ELM_OBJ_LIST_MODE_PRE 191TEST_FUNC_EVAS_OBJ_RENDER_OP_PRE
171#endif 192#endif
172 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1); 193 evas_obj_render_op_set(obj, TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1);
173 mode = elm_obj_list_mode_get(obj); 194 render_op = evas_obj_render_op_get(obj);
174 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1)); 195 FAIL_IF(evas_obj_render_op, (render_op != TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1));
175 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2); 196 evas_obj_render_op_set(obj, TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2);
176 mode = elm_obj_list_mode_get(obj); 197 render_op = evas_obj_render_op_get(obj);
177 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2)); 198 FAIL_IF(evas_obj_render_op, (render_op != TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2));
178#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_POST 199#ifdef TEST_FUNC_EVAS_OBJ_RENDER_OP_POST
179TEST_FUNC_ELM_OBJ_LIST_MODE_POST 200TEST_FUNC_EVAS_OBJ_RENDER_OP_POST
180#endif 201#endif
181 } 202 }
182#else 203#else
183TEST_FUNC_ELM_OBJ_LIST_MODE_OVERRIDE 204TEST_FUNC_EVAS_OBJ_RENDER_OP_OVERRIDE
184#endif 205#endif
185 206
186#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS 207#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS
187#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS 208#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS
188 { 209 {
189 Eina_Bool can_access; 210 Eina_Bool freeze;
190#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1 211#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1
191#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1 EINA_TRUE 212#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1 EINA_TRUE
192#endif 213#endif
193#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2 214#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2
194#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2 EINA_FALSE 215#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2 EINA_FALSE
195#endif 216#endif
196#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_PRE 217#ifdef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_PRE
197TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_PRE 218TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_PRE
198#endif 219#endif
199 elm_obj_layout_edje_object_can_access_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1); 220 evas_obj_freeze_events_set(obj, TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1);
200 can_access = elm_obj_layout_edje_object_can_access_get(obj); 221 freeze = evas_obj_freeze_events_get(obj);
201 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1)); 222 FAIL_IF(evas_obj_freeze_events, (freeze != TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1));
202 elm_obj_layout_edje_object_can_access_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2); 223 evas_obj_freeze_events_set(obj, TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2);
203 can_access = elm_obj_layout_edje_object_can_access_get(obj); 224 freeze = evas_obj_freeze_events_get(obj);
204 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2)); 225 FAIL_IF(evas_obj_freeze_events, (freeze != TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2));
205#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_POST 226#ifdef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_POST
206TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_POST 227TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_POST
207#endif 228#endif
208 } 229 }
209#else 230#else
210TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_OVERRIDE 231TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_OVERRIDE
211#endif 232#endif
212 233
213#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT 234#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT
214#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT 235#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT
215 { 236 {
216 const char * text = NULL; 237 Evas_Aspect_Control aspect;
217#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1 238 Evas_Coord w;
218#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1 NULL 239 Evas_Coord h;
240#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1
241#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1 EVAS_ASPECT_CONTROL_NONE
219#endif 242#endif
220#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2 243#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2
221#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2 "toto" 244#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2 EVAS_ASPECT_CONTROL_NEITHER
222#endif 245#endif
223#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1 246#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1
224#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1 NULL 247#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1 0
225#endif 248#endif
226#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2 249#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2
227#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2 "toto" 250#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2 100
228#endif 251#endif
229#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_PRE 252#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1
230TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_PRE 253#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1 0
231#endif 254#endif
232 elm_obj_layout_text_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1); 255#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2
233 text = elm_obj_layout_text_get(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1); 256#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2 100
234 FAIL_IF(elm_obj_layout_text, (STRCMP(text, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1))); 257#endif
235 elm_obj_layout_text_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2); 258#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_PRE
236 text = elm_obj_layout_text_get(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2); 259TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_PRE
237 FAIL_IF(elm_obj_layout_text, (STRCMP(text, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2))); 260#endif
238#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_POST 261 evas_obj_size_hint_aspect_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1);
239TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_POST 262 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h);
263 FAIL_IF(evas_obj_size_hint_aspect, (aspect != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1) || (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1));
264 evas_obj_size_hint_aspect_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2);
265 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h);
266 FAIL_IF(evas_obj_size_hint_aspect, (aspect != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2) || (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2));
267#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_POST
268TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_POST
240#endif 269#endif
241 } 270 }
242#else 271#else
243TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_OVERRIDE 272TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_OVERRIDE
244#endif 273#endif
245 274
246#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY 275#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING
247#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY 276#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING
277 {
278 Evas_Coord l;
279 Evas_Coord r;
280 Evas_Coord t;
281 Evas_Coord b;
282#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1
283#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1 0
284#endif
285#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2
286#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2 100
287#endif
288#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1
289#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1 0
290#endif
291#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2
292#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2 100
293#endif
294#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1
295#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1 0
296#endif
297#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2
298#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2 100
299#endif
300#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1
301#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1 0
302#endif
303#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2
304#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2 100
305#endif
306#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_PRE
307TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_PRE
308#endif
309 evas_obj_size_hint_padding_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1);
310 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b);
311 FAIL_IF(evas_obj_size_hint_padding, (l != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1) || (r != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1) || (t != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1) || (b != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1));
312 evas_obj_size_hint_padding_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2);
313 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b);
314 FAIL_IF(evas_obj_size_hint_padding, (l != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2) || (r != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2) || (t != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2) || (b != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2));
315#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_POST
316TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_POST
317#endif
318 }
319#else
320TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_OVERRIDE
321#endif
322
323#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS
324#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS
325 {
326 Eina_Bool repeat;
327#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1
328#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1 EINA_TRUE
329#endif
330#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2
331#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2 EINA_FALSE
332#endif
333#ifdef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_PRE
334TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_PRE
335#endif
336 evas_obj_repeat_events_set(obj, TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1);
337 repeat = evas_obj_repeat_events_get(obj);
338 FAIL_IF(evas_obj_repeat_events, (repeat != TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1));
339 evas_obj_repeat_events_set(obj, TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2);
340 repeat = evas_obj_repeat_events_get(obj);
341 FAIL_IF(evas_obj_repeat_events, (repeat != TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2));
342#ifdef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_POST
343TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_POST
344#endif
345 }
346#else
347TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_OVERRIDE
348#endif
349
350#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT
351#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT
248 { 352 {
249 double x; 353 double x;
250 double y; 354 double y;
251#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1 355#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1
252#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1 0.0 356#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1 0.0
253#endif 357#endif
254#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2 358#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2
255#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2 1.0 359#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2 1.0
256#endif 360#endif
257#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1 361#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1
258#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1 0.0 362#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1 0.0
259#endif 363#endif
260#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2 364#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2
261#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2 1.0 365#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2 1.0
262#endif 366#endif
263#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_PRE 367#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_PRE
264TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_PRE 368TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_PRE
265#endif 369#endif
266 elm_interface_scrollable_gravity_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1); 370 evas_obj_size_hint_weight_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1);
267 elm_interface_scrollable_gravity_get(obj, &x, &y); 371 evas_obj_size_hint_weight_get(obj, &x, &y);
268 FAIL_IF(elm_interface_scrollable_gravity, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1)); 372 FAIL_IF(evas_obj_size_hint_weight, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1));
269 elm_interface_scrollable_gravity_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2); 373 evas_obj_size_hint_weight_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2);
270 elm_interface_scrollable_gravity_get(obj, &x, &y); 374 evas_obj_size_hint_weight_get(obj, &x, &y);
271 FAIL_IF(elm_interface_scrollable_gravity, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2)); 375 FAIL_IF(evas_obj_size_hint_weight, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2));
272#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_POST 376#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_POST
273TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_POST 377TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_POST
274#endif 378#endif
275 } 379 }
276#else 380#else
277TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_OVERRIDE 381TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_OVERRIDE
278#endif 382#endif
279 383
280#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW 384#ifndef TEST_FUNC_EVAS_OBJ_NAME
281#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW 385#define TEST_FUNC_EVAS_OBJ_NAME
282 { 386 {
283 Eina_Bool horiz; 387 const char * name = NULL;
284 Eina_Bool vert; 388#ifndef TEST_FUNC_EVAS_OBJ_NAME_name_VAL1
285#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1 389#define TEST_FUNC_EVAS_OBJ_NAME_name_VAL1 NULL
286#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1 EINA_TRUE
287#endif 390#endif
288#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2 391#ifndef TEST_FUNC_EVAS_OBJ_NAME_name_VAL2
289#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2 EINA_FALSE 392#define TEST_FUNC_EVAS_OBJ_NAME_name_VAL2 "toto"
290#endif 393#endif
291#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1 394#ifdef TEST_FUNC_EVAS_OBJ_NAME_PRE
292#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1 EINA_TRUE 395TEST_FUNC_EVAS_OBJ_NAME_PRE
293#endif 396#endif
294#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2 397 evas_obj_name_set(obj, TEST_FUNC_EVAS_OBJ_NAME_name_VAL1);
295#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2 EINA_FALSE 398 name = evas_obj_name_get(obj);
399 FAIL_IF(evas_obj_name, (STRCMP(name, TEST_FUNC_EVAS_OBJ_NAME_name_VAL1)));
400 evas_obj_name_set(obj, TEST_FUNC_EVAS_OBJ_NAME_name_VAL2);
401 name = evas_obj_name_get(obj);
402 FAIL_IF(evas_obj_name, (STRCMP(name, TEST_FUNC_EVAS_OBJ_NAME_name_VAL2)));
403#ifdef TEST_FUNC_EVAS_OBJ_NAME_POST
404TEST_FUNC_EVAS_OBJ_NAME_POST
296#endif 405#endif
297#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_PRE 406 }
298TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_PRE 407#else
408TEST_FUNC_EVAS_OBJ_NAME_OVERRIDE
299#endif 409#endif
300 elm_interface_scrollable_bounce_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1); 410
301 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert); 411#ifndef TEST_FUNC_EVAS_OBJ_SCALE
302 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1)); 412#define TEST_FUNC_EVAS_OBJ_SCALE
303 elm_interface_scrollable_bounce_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2); 413 {
304 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert); 414 double scale;
305 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2)); 415#ifndef TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1
306#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_POST 416#define TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1 0.0
307TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_POST 417#endif
418#ifndef TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2
419#define TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2 1.0
420#endif
421#ifdef TEST_FUNC_EVAS_OBJ_SCALE_PRE
422TEST_FUNC_EVAS_OBJ_SCALE_PRE
423#endif
424 evas_obj_scale_set(obj, TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1);
425 scale = evas_obj_scale_get(obj);
426 FAIL_IF(evas_obj_scale, (scale != TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1));
427 evas_obj_scale_set(obj, TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2);
428 scale = evas_obj_scale_get(obj);
429 FAIL_IF(evas_obj_scale, (scale != TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2));
430#ifdef TEST_FUNC_EVAS_OBJ_SCALE_POST
431TEST_FUNC_EVAS_OBJ_SCALE_POST
308#endif 432#endif
309 } 433 }
310#else 434#else
311TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_OVERRIDE 435TEST_FUNC_EVAS_OBJ_SCALE_OVERRIDE
312#endif 436#endif
313 437
314#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED 438#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP
315#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED 439#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP
316 { 440 {
317 Eina_Bool disabled; 441 Eina_Bool is_static_clip;
318#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1 442#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1
319#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1 EINA_TRUE 443#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1 EINA_TRUE
320#endif 444#endif
321#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2 445#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2
322#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2 EINA_FALSE 446#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2 EINA_FALSE
323#endif 447#endif
324#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_PRE 448#ifdef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_PRE
325TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_PRE 449TEST_FUNC_EVAS_OBJ_STATIC_CLIP_PRE
326#endif 450#endif
327 elm_interface_scrollable_wheel_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1); 451 evas_obj_static_clip_set(obj, TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1);
328 disabled = elm_interface_scrollable_wheel_disabled_get(obj); 452 is_static_clip = evas_obj_static_clip_get(obj);
329 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1)); 453 FAIL_IF(evas_obj_static_clip, (is_static_clip != TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1));
330 elm_interface_scrollable_wheel_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2); 454 evas_obj_static_clip_set(obj, TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2);
331 disabled = elm_interface_scrollable_wheel_disabled_get(obj); 455 is_static_clip = evas_obj_static_clip_get(obj);
332 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2)); 456 FAIL_IF(evas_obj_static_clip, (is_static_clip != TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2));
333#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_POST 457#ifdef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_POST
334TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_POST 458TEST_FUNC_EVAS_OBJ_STATIC_CLIP_POST
335#endif 459#endif
336 } 460 }
337#else 461#else
338TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_OVERRIDE 462TEST_FUNC_EVAS_OBJ_STATIC_CLIP_OVERRIDE
339#endif 463#endif
340 464
341#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK 465#ifndef TEST_FUNC_EVAS_OBJ_FOCUS
342#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK 466#define TEST_FUNC_EVAS_OBJ_FOCUS
343 { 467 {
344 Elm_Scroller_Movement_Block block; 468 Eina_Bool focus;
345#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1 469#ifndef TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1
346#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1 ELM_SCROLLER_MOVEMENT_NO_BLOCK 470#define TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1 EINA_TRUE
347#endif 471#endif
348#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2 472#ifndef TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2
349#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2 ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL 473#define TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2 EINA_FALSE
350#endif 474#endif
351#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_PRE 475#ifdef TEST_FUNC_EVAS_OBJ_FOCUS_PRE
352TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_PRE 476TEST_FUNC_EVAS_OBJ_FOCUS_PRE
353#endif 477#endif
354 elm_interface_scrollable_movement_block_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1); 478 evas_obj_focus_set(obj, TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1);
355 block = elm_interface_scrollable_movement_block_get(obj); 479 focus = evas_obj_focus_get(obj);
356 FAIL_IF(elm_interface_scrollable_movement_block, (block != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1)); 480 FAIL_IF(evas_obj_focus, (focus != TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1));
357 elm_interface_scrollable_movement_block_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2); 481 evas_obj_focus_set(obj, TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2);
358 block = elm_interface_scrollable_movement_block_get(obj); 482 focus = evas_obj_focus_get(obj);
359 FAIL_IF(elm_interface_scrollable_movement_block, (block != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2)); 483 FAIL_IF(evas_obj_focus, (focus != TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2));
360#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_POST 484#ifdef TEST_FUNC_EVAS_OBJ_FOCUS_POST
361TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_POST 485TEST_FUNC_EVAS_OBJ_FOCUS_POST
362#endif 486#endif
363 } 487 }
364#else 488#else
365TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_OVERRIDE 489TEST_FUNC_EVAS_OBJ_FOCUS_OVERRIDE
366#endif 490#endif
367 491
368#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED 492#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT
369#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED 493#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT
370 { 494 {
371 Eina_Bool disabled; 495 Eina_Bool is_frame;
372#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1 496#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1
373#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1 EINA_TRUE 497#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1 EINA_TRUE
374#endif 498#endif
375#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2 499#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2
376#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2 EINA_FALSE 500#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2 EINA_FALSE
377#endif 501#endif
378#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_PRE 502#ifdef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_PRE
379TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_PRE 503TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_PRE
380#endif 504#endif
381 elm_interface_scrollable_momentum_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1); 505 evas_obj_is_frame_object_set(obj, TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1);
382 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj); 506 is_frame = evas_obj_is_frame_object_get(obj);
383 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1)); 507 FAIL_IF(evas_obj_is_frame_object, (is_frame != TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1));
384 elm_interface_scrollable_momentum_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2); 508 evas_obj_is_frame_object_set(obj, TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2);
385 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj); 509 is_frame = evas_obj_is_frame_object_get(obj);
386 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2)); 510 FAIL_IF(evas_obj_is_frame_object, (is_frame != TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2));
387#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_POST 511#ifdef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_POST
388TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_POST 512TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_POST
389#endif 513#endif
390 } 514 }
391#else 515#else
392TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_OVERRIDE 516TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_OVERRIDE
393#endif 517#endif
394 518
395#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY 519#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE
396#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY 520#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE
397 { 521 {
398 Elm_Scroller_Policy hbar; 522 Eina_Bool enabled;
399 Elm_Scroller_Policy vbar; 523#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1
400#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1 524#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1 EINA_TRUE
401#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1 ELM_SCROLLER_POLICY_AUTO
402#endif 525#endif
403#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2 526#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2
404#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2 ELM_SCROLLER_POLICY_ON 527#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2 EINA_FALSE
405#endif 528#endif
406#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1 529#ifdef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_PRE
407#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1 ELM_SCROLLER_POLICY_AUTO 530TEST_FUNC_EVAS_OBJ_MAP_ENABLE_PRE
408#endif 531#endif
409#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2 532 evas_obj_map_enable_set(obj, TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1);
410#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2 ELM_SCROLLER_POLICY_ON 533 enabled = evas_obj_map_enable_get(obj);
534 FAIL_IF(evas_obj_map_enable, (enabled != TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1));
535 evas_obj_map_enable_set(obj, TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2);
536 enabled = evas_obj_map_enable_get(obj);
537 FAIL_IF(evas_obj_map_enable, (enabled != TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2));
538#ifdef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_POST
539TEST_FUNC_EVAS_OBJ_MAP_ENABLE_POST
411#endif 540#endif
412#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_PRE 541 }
413TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_PRE 542#else
543TEST_FUNC_EVAS_OBJ_MAP_ENABLE_OVERRIDE
414#endif 544#endif
415 elm_interface_scrollable_policy_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1); 545
416 elm_interface_scrollable_policy_get(obj, &hbar, &vbar); 546#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE
417 FAIL_IF(elm_interface_scrollable_policy, (hbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1) || (vbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1)); 547#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE
418 elm_interface_scrollable_policy_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2); 548 {
419 elm_interface_scrollable_policy_get(obj, &hbar, &vbar); 549 Eina_Bool precise;
420 FAIL_IF(elm_interface_scrollable_policy, (hbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2) || (vbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2)); 550#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1
421#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_POST 551#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1 EINA_TRUE
422TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_POST 552#endif
553#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2
554#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2 EINA_FALSE
555#endif
556#ifdef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_PRE
557TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_PRE
558#endif
559 evas_obj_precise_is_inside_set(obj, TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1);
560 precise = evas_obj_precise_is_inside_get(obj);
561 FAIL_IF(evas_obj_precise_is_inside, (precise != TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1));
562 evas_obj_precise_is_inside_set(obj, TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2);
563 precise = evas_obj_precise_is_inside_get(obj);
564 FAIL_IF(evas_obj_precise_is_inside, (precise != TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2));
565#ifdef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_POST
566TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_POST
423#endif 567#endif
424 } 568 }
425#else 569#else
426TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_OVERRIDE 570TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_OVERRIDE
427#endif 571#endif
428 572
429#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION 573#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN
430#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION 574#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN
431 { 575 {
432 Evas_Coord x; 576 double x;
433 Evas_Coord y; 577 double y;
434 Evas_Coord w; 578#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1
435 Evas_Coord h; 579#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1 0.0
436#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1
437#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1 0
438#endif 580#endif
439#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2 581#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2
440#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2 100 582#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2 1.0
441#endif 583#endif
442#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1 584#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1
443#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1 0 585#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1 0.0
444#endif 586#endif
445#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2 587#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2
446#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2 100 588#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2 1.0
447#endif 589#endif
448#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1 590#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_PRE
449#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1 0 591TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_PRE
450#endif 592#endif
451#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2 593 evas_obj_size_hint_align_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1);
452#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2 100 594 evas_obj_size_hint_align_get(obj, &x, &y);
595 FAIL_IF(evas_obj_size_hint_align, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1));
596 evas_obj_size_hint_align_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2);
597 evas_obj_size_hint_align_get(obj, &x, &y);
598 FAIL_IF(evas_obj_size_hint_align, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2));
599#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_POST
600TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_POST
453#endif 601#endif
454#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1 602 }
455#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1 0 603#else
604TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_OVERRIDE
456#endif 605#endif
457#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2 606
458#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2 100 607#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS
608#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS
609 {
610 Eina_Bool propagate;
611#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1
612#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1 EINA_TRUE
459#endif 613#endif
460#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_PRE 614#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2
461TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_PRE 615#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2 EINA_FALSE
462#endif 616#endif
463 elm_interface_scrollable_content_region_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1); 617#ifdef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_PRE
464 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h); 618TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_PRE
465 FAIL_IF(elm_interface_scrollable_content_region, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1) || (w != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1) || (h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1)); 619#endif
466 elm_interface_scrollable_content_region_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2); 620 evas_obj_propagate_events_set(obj, TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1);
467 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h); 621 propagate = evas_obj_propagate_events_get(obj);
468 FAIL_IF(elm_interface_scrollable_content_region, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2) || (w != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2) || (h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2)); 622 FAIL_IF(evas_obj_propagate_events, (propagate != TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1));
469#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_POST 623 evas_obj_propagate_events_set(obj, TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2);
470TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_POST 624 propagate = evas_obj_propagate_events_get(obj);
625 FAIL_IF(evas_obj_propagate_events, (propagate != TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2));
626#ifdef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_POST
627TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_POST
471#endif 628#endif
472 } 629 }
473#else 630#else
474TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_OVERRIDE 631TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_OVERRIDE
475#endif 632#endif
476 633
477#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS 634#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS
478#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS 635#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS
479 { 636 {
480 Eina_Bool repeat_events; 637 Eina_Bool pass;
481#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1 638#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1
482#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1 EINA_TRUE 639#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1 EINA_TRUE
483#endif 640#endif
484#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2 641#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2
485#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2 EINA_FALSE 642#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2 EINA_FALSE
486#endif 643#endif
487#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_PRE 644#ifdef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_PRE
488TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_PRE 645TEST_FUNC_EVAS_OBJ_PASS_EVENTS_PRE
489#endif 646#endif
490 elm_interface_scrollable_repeat_events_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1); 647 evas_obj_pass_events_set(obj, TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1);
491 repeat_events = elm_interface_scrollable_repeat_events_get(obj); 648 pass = evas_obj_pass_events_get(obj);
492 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1)); 649 FAIL_IF(evas_obj_pass_events, (pass != TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1));
493 elm_interface_scrollable_repeat_events_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2); 650 evas_obj_pass_events_set(obj, TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2);
494 repeat_events = elm_interface_scrollable_repeat_events_get(obj); 651 pass = evas_obj_pass_events_get(obj);
495 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2)); 652 FAIL_IF(evas_obj_pass_events, (pass != TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2));
496#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_POST 653#ifdef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_POST
497TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_POST 654TEST_FUNC_EVAS_OBJ_PASS_EVENTS_POST
498#endif 655#endif
499 } 656 }
500#else 657#else
501TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_OVERRIDE 658TEST_FUNC_EVAS_OBJ_PASS_EVENTS_OVERRIDE
502#endif 659#endif
503 660
504#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE 661#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS
505#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE 662#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS
506 { 663 {
507 Evas_Coord x; 664 Eina_Bool anti_alias;
508 Evas_Coord y; 665#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1
509#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1 666#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1 EINA_TRUE
510#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1 0
511#endif 667#endif
512#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2 668#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2
513#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2 100 669#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2 EINA_FALSE
514#endif 670#endif
515#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1 671#ifdef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_PRE
516#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1 0 672TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_PRE
517#endif 673#endif
518#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2 674 evas_obj_anti_alias_set(obj, TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1);
519#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2 100 675 anti_alias = evas_obj_anti_alias_get(obj);
676 FAIL_IF(evas_obj_anti_alias, (anti_alias != TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1));
677 evas_obj_anti_alias_set(obj, TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2);
678 anti_alias = evas_obj_anti_alias_get(obj);
679 FAIL_IF(evas_obj_anti_alias, (anti_alias != TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2));
680#ifdef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_POST
681TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_POST
520#endif 682#endif
521#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_PRE 683 }
522TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_PRE 684#else
685TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_OVERRIDE
523#endif 686#endif
524 elm_interface_scrollable_page_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1); 687
525 elm_interface_scrollable_page_size_get(obj, &x, &y); 688#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE
526 FAIL_IF(elm_interface_scrollable_page_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1)); 689#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE
527 elm_interface_scrollable_page_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2); 690 {
528 elm_interface_scrollable_page_size_get(obj, &x, &y); 691 Evas_Display_Mode dispmode;
529 FAIL_IF(elm_interface_scrollable_page_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2)); 692#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1
530#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_POST 693#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1 EVAS_DISPLAY_MODE_NONE
531TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_POST 694#endif
695#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2
696#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2 EVAS_DISPLAY_MODE_COMPRESS
697#endif
698#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_PRE
699TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_PRE
700#endif
701 evas_obj_size_hint_display_mode_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1);
702 dispmode = evas_obj_size_hint_display_mode_get(obj);
703 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1));
704 evas_obj_size_hint_display_mode_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2);
705 dispmode = evas_obj_size_hint_display_mode_get(obj);
706 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2));
707#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_POST
708TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_POST
532#endif 709#endif
533 } 710 }
534#else 711#else
535TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_OVERRIDE 712TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_OVERRIDE
536#endif 713#endif
537 714
538#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED 715#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION
539#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED 716#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION
540 { 717 {
541 Eina_Bool disabled; 718 Evas_BiDi_Direction dir;
542#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1 719#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1
543#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1 EINA_TRUE 720#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1 EVAS_BIDI_DIRECTION_NATURAL
544#endif 721#endif
545#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2 722#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2
546#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2 EINA_FALSE 723#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2 EVAS_BIDI_DIRECTION_NEUTRAL
547#endif 724#endif
548#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_PRE 725#ifdef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_PRE
549TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_PRE 726TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_PRE
550#endif 727#endif
551 elm_interface_scrollable_bounce_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1); 728 evas_obj_paragraph_direction_set(obj, TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1);
552 disabled = elm_interface_scrollable_bounce_animator_disabled_get(obj); 729 dir = evas_obj_paragraph_direction_get(obj);
553 FAIL_IF(elm_interface_scrollable_bounce_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1)); 730 FAIL_IF(evas_obj_paragraph_direction, (dir != TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1));
554 elm_interface_scrollable_bounce_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2); 731 evas_obj_paragraph_direction_set(obj, TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2);
555 disabled = elm_interface_scrollable_bounce_animator_disabled_get(obj); 732 dir = evas_obj_paragraph_direction_get(obj);
556 FAIL_IF(elm_interface_scrollable_bounce_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2)); 733 FAIL_IF(evas_obj_paragraph_direction, (dir != TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2));
557#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_POST 734#ifdef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_POST
558TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_POST 735TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_POST
559#endif 736#endif
560 } 737 }
561#else 738#else
562TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_OVERRIDE 739TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_OVERRIDE
563#endif 740#endif
564 741
565#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT 742#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER
566#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT 743#define TEST_FUNC_EVAS_OBJ_NO_RENDER
567 { 744 {
568 int page_limit_h; 745 Eina_Bool enable;
569 int page_limit_v; 746#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1
570#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL1 747#define TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1 EINA_TRUE
571#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL1 0
572#endif 748#endif
573#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL2 749#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2
574#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL2 100 750#define TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2 EINA_FALSE
575#endif 751#endif
576#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL1 752#ifdef TEST_FUNC_EVAS_OBJ_NO_RENDER_PRE
577#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL1 0 753TEST_FUNC_EVAS_OBJ_NO_RENDER_PRE
578#endif 754#endif
579#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL2 755 evas_obj_no_render_set(obj, TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1);
580#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL2 100 756 enable = evas_obj_no_render_get(obj);
757 FAIL_IF(evas_obj_no_render, (enable != TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1));
758 evas_obj_no_render_set(obj, TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2);
759 enable = evas_obj_no_render_get(obj);
760 FAIL_IF(evas_obj_no_render, (enable != TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2));
761#ifdef TEST_FUNC_EVAS_OBJ_NO_RENDER_POST
762TEST_FUNC_EVAS_OBJ_NO_RENDER_POST
581#endif 763#endif
582#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_PRE 764 }
583TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_PRE 765#else
766TEST_FUNC_EVAS_OBJ_NO_RENDER_OVERRIDE
584#endif 767#endif
585 elm_interface_scrollable_page_scroll_limit_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL1); 768
586 elm_interface_scrollable_page_scroll_limit_get(obj, &page_limit_h, &page_limit_v); 769#ifndef TEST_FUNC_EFL_GFX_POSITION
587 FAIL_IF(elm_interface_scrollable_page_scroll_limit, (page_limit_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL1) || (page_limit_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL1)); 770#define TEST_FUNC_EFL_GFX_POSITION
588 elm_interface_scrollable_page_scroll_limit_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL2); 771 {
589 elm_interface_scrollable_page_scroll_limit_get(obj, &page_limit_h, &page_limit_v); 772 int x;
590 FAIL_IF(elm_interface_scrollable_page_scroll_limit, (page_limit_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_h_VAL2) || (page_limit_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_page_limit_v_VAL2)); 773 int y;
591#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_POST 774#ifndef TEST_FUNC_EFL_GFX_POSITION_x_VAL1
592TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_POST 775#define TEST_FUNC_EFL_GFX_POSITION_x_VAL1 0
776#endif
777#ifndef TEST_FUNC_EFL_GFX_POSITION_x_VAL2
778#define TEST_FUNC_EFL_GFX_POSITION_x_VAL2 100
779#endif
780#ifndef TEST_FUNC_EFL_GFX_POSITION_y_VAL1
781#define TEST_FUNC_EFL_GFX_POSITION_y_VAL1 0
782#endif
783#ifndef TEST_FUNC_EFL_GFX_POSITION_y_VAL2
784#define TEST_FUNC_EFL_GFX_POSITION_y_VAL2 100
785#endif
786#ifdef TEST_FUNC_EFL_GFX_POSITION_PRE
787TEST_FUNC_EFL_GFX_POSITION_PRE
788#endif
789 efl_gfx_position_set(obj, TEST_FUNC_EFL_GFX_POSITION_x_VAL1, TEST_FUNC_EFL_GFX_POSITION_y_VAL1);
790 efl_gfx_position_get(obj, &x, &y);
791 FAIL_IF(efl_gfx_position, (x != TEST_FUNC_EFL_GFX_POSITION_x_VAL1) || (y != TEST_FUNC_EFL_GFX_POSITION_y_VAL1));
792 efl_gfx_position_set(obj, TEST_FUNC_EFL_GFX_POSITION_x_VAL2, TEST_FUNC_EFL_GFX_POSITION_y_VAL2);
793 efl_gfx_position_get(obj, &x, &y);
794 FAIL_IF(efl_gfx_position, (x != TEST_FUNC_EFL_GFX_POSITION_x_VAL2) || (y != TEST_FUNC_EFL_GFX_POSITION_y_VAL2));
795#ifdef TEST_FUNC_EFL_GFX_POSITION_POST
796TEST_FUNC_EFL_GFX_POSITION_POST
593#endif 797#endif
594 } 798 }
595#else 799#else
596TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SCROLL_LIMIT_OVERRIDE 800TEST_FUNC_EFL_GFX_POSITION_OVERRIDE
597#endif 801#endif
598 802
599#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW 803#ifndef TEST_FUNC_EFL_GFX_SIZE
600#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW 804#define TEST_FUNC_EFL_GFX_SIZE
601 { 805 {
602 Eina_Bool horiz; 806 int w;
603 Eina_Bool vert; 807 int h;
604#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL1 808#ifndef TEST_FUNC_EFL_GFX_SIZE_w_VAL1
605#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL1 EINA_TRUE 809#define TEST_FUNC_EFL_GFX_SIZE_w_VAL1 0
606#endif 810#endif
607#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL2 811#ifndef TEST_FUNC_EFL_GFX_SIZE_w_VAL2
608#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL2 EINA_FALSE 812#define TEST_FUNC_EFL_GFX_SIZE_w_VAL2 100
609#endif 813#endif
610#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL1 814#ifndef TEST_FUNC_EFL_GFX_SIZE_h_VAL1
611#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL1 EINA_TRUE 815#define TEST_FUNC_EFL_GFX_SIZE_h_VAL1 0
612#endif 816#endif
613#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL2 817#ifndef TEST_FUNC_EFL_GFX_SIZE_h_VAL2
614#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL2 EINA_FALSE 818#define TEST_FUNC_EFL_GFX_SIZE_h_VAL2 100
615#endif 819#endif
616#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_PRE 820#ifdef TEST_FUNC_EFL_GFX_SIZE_PRE
617TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_PRE 821TEST_FUNC_EFL_GFX_SIZE_PRE
618#endif 822#endif
619 elm_interface_scrollable_page_snap_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL1); 823 efl_gfx_size_set(obj, TEST_FUNC_EFL_GFX_SIZE_w_VAL1, TEST_FUNC_EFL_GFX_SIZE_h_VAL1);
620 elm_interface_scrollable_page_snap_allow_get(obj, &horiz, &vert); 824 efl_gfx_size_get(obj, &w, &h);
621 FAIL_IF(elm_interface_scrollable_page_snap_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL1) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL1)); 825 FAIL_IF(efl_gfx_size, (w != TEST_FUNC_EFL_GFX_SIZE_w_VAL1) || (h != TEST_FUNC_EFL_GFX_SIZE_h_VAL1));
622 elm_interface_scrollable_page_snap_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL2); 826 efl_gfx_size_set(obj, TEST_FUNC_EFL_GFX_SIZE_w_VAL2, TEST_FUNC_EFL_GFX_SIZE_h_VAL2);
623 elm_interface_scrollable_page_snap_allow_get(obj, &horiz, &vert); 827 efl_gfx_size_get(obj, &w, &h);
624 FAIL_IF(elm_interface_scrollable_page_snap_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_horiz_VAL2) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_vert_VAL2)); 828 FAIL_IF(efl_gfx_size, (w != TEST_FUNC_EFL_GFX_SIZE_w_VAL2) || (h != TEST_FUNC_EFL_GFX_SIZE_h_VAL2));
625#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_POST 829#ifdef TEST_FUNC_EFL_GFX_SIZE_POST
626TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_POST 830TEST_FUNC_EFL_GFX_SIZE_POST
627#endif 831#endif
628 } 832 }
629#else 833#else
630TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SNAP_ALLOW_OVERRIDE 834TEST_FUNC_EFL_GFX_SIZE_OVERRIDE
631#endif 835#endif
632 836
633#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING 837#ifndef TEST_FUNC_EFL_GFX_COLOR
634#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING 838#define TEST_FUNC_EFL_GFX_COLOR
635 { 839 {
636 double pagerel_h; 840 int r;
637 double pagerel_v; 841 int g;
638 Evas_Coord pagesize_h; 842 int b;
639 Evas_Coord pagesize_v; 843 int a;
640#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL1 844#ifndef TEST_FUNC_EFL_GFX_COLOR_r_VAL1
641#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL1 0.0 845#define TEST_FUNC_EFL_GFX_COLOR_r_VAL1 0
642#endif 846#endif
643#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL2 847#ifndef TEST_FUNC_EFL_GFX_COLOR_r_VAL2
644#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL2 1.0 848#define TEST_FUNC_EFL_GFX_COLOR_r_VAL2 100
645#endif 849#endif
646#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL1 850#ifndef TEST_FUNC_EFL_GFX_COLOR_g_VAL1
647#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL1 0.0 851#define TEST_FUNC_EFL_GFX_COLOR_g_VAL1 0
648#endif 852#endif
649#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL2 853#ifndef TEST_FUNC_EFL_GFX_COLOR_g_VAL2
650#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL2 1.0 854#define TEST_FUNC_EFL_GFX_COLOR_g_VAL2 100
651#endif 855#endif
652#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL1 856#ifndef TEST_FUNC_EFL_GFX_COLOR_b_VAL1
653#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL1 0 857#define TEST_FUNC_EFL_GFX_COLOR_b_VAL1 0
654#endif 858#endif
655#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL2 859#ifndef TEST_FUNC_EFL_GFX_COLOR_b_VAL2
656#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL2 100 860#define TEST_FUNC_EFL_GFX_COLOR_b_VAL2 100
657#endif 861#endif
658#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL1 862#ifndef TEST_FUNC_EFL_GFX_COLOR_a_VAL1
659#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL1 0 863#define TEST_FUNC_EFL_GFX_COLOR_a_VAL1 0
660#endif 864#endif
661#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL2 865#ifndef TEST_FUNC_EFL_GFX_COLOR_a_VAL2
662#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL2 100 866#define TEST_FUNC_EFL_GFX_COLOR_a_VAL2 100
663#endif 867#endif
664#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_PRE 868#ifdef TEST_FUNC_EFL_GFX_COLOR_PRE
665TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_PRE 869TEST_FUNC_EFL_GFX_COLOR_PRE
666#endif 870#endif
667 elm_interface_scrollable_paging_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL1); 871 efl_gfx_color_set(obj, TEST_FUNC_EFL_GFX_COLOR_r_VAL1, TEST_FUNC_EFL_GFX_COLOR_g_VAL1, TEST_FUNC_EFL_GFX_COLOR_b_VAL1, TEST_FUNC_EFL_GFX_COLOR_a_VAL1);
668 elm_interface_scrollable_paging_get(obj, &pagerel_h, &pagerel_v, &pagesize_h, &pagesize_v); 872 efl_gfx_color_get(obj, &r, &g, &b, &a);
669 FAIL_IF(elm_interface_scrollable_paging, (pagerel_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL1) || (pagerel_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL1) || (pagesize_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL1) || (pagesize_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL1)); 873 FAIL_IF(efl_gfx_color, (r != TEST_FUNC_EFL_GFX_COLOR_r_VAL1) || (g != TEST_FUNC_EFL_GFX_COLOR_g_VAL1) || (b != TEST_FUNC_EFL_GFX_COLOR_b_VAL1) || (a != TEST_FUNC_EFL_GFX_COLOR_a_VAL1));
670 elm_interface_scrollable_paging_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL2); 874 efl_gfx_color_set(obj, TEST_FUNC_EFL_GFX_COLOR_r_VAL2, TEST_FUNC_EFL_GFX_COLOR_g_VAL2, TEST_FUNC_EFL_GFX_COLOR_b_VAL2, TEST_FUNC_EFL_GFX_COLOR_a_VAL2);
671 elm_interface_scrollable_paging_get(obj, &pagerel_h, &pagerel_v, &pagesize_h, &pagesize_v); 875 efl_gfx_color_get(obj, &r, &g, &b, &a);
672 FAIL_IF(elm_interface_scrollable_paging, (pagerel_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_h_VAL2) || (pagerel_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagerel_v_VAL2) || (pagesize_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_h_VAL2) || (pagesize_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_pagesize_v_VAL2)); 876 FAIL_IF(efl_gfx_color, (r != TEST_FUNC_EFL_GFX_COLOR_r_VAL2) || (g != TEST_FUNC_EFL_GFX_COLOR_g_VAL2) || (b != TEST_FUNC_EFL_GFX_COLOR_b_VAL2) || (a != TEST_FUNC_EFL_GFX_COLOR_a_VAL2));
673#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_POST 877#ifdef TEST_FUNC_EFL_GFX_COLOR_POST
674TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_POST 878TEST_FUNC_EFL_GFX_COLOR_POST
675#endif 879#endif
676 } 880 }
677#else 881#else
678TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGING_OVERRIDE 882TEST_FUNC_EFL_GFX_COLOR_OVERRIDE
679#endif 883#endif
680 884
681#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION 885#ifndef TEST_FUNC_EFL_GFX_COLOR_PART
682#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION 886#define TEST_FUNC_EFL_GFX_COLOR_PART
683 { 887 {
684 Elm_Scroller_Single_Direction single_dir; 888 int r;
685#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL1 889 int g;
686#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL1 ELM_SCROLLER_SINGLE_DIRECTION_NONE 890 int b;
891 int a;
892#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1
893#define TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1 NULL
687#endif 894#endif
688#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL2 895#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2
689#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL2 ELM_SCROLLER_SINGLE_DIRECTION_SOFT 896#define TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2 "toto"
690#endif 897#endif
691#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_PRE 898#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1
692TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_PRE 899#define TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1 0
693#endif 900#endif
694 elm_interface_scrollable_single_direction_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL1); 901#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2
695 single_dir = elm_interface_scrollable_single_direction_get(obj); 902#define TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2 100
696 FAIL_IF(elm_interface_scrollable_single_direction, (single_dir != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL1)); 903#endif
697 elm_interface_scrollable_single_direction_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL2); 904#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1
698 single_dir = elm_interface_scrollable_single_direction_get(obj); 905#define TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1 0
699 FAIL_IF(elm_interface_scrollable_single_direction, (single_dir != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_single_dir_VAL2)); 906#endif
700#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_POST 907#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2
701TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_POST 908#define TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2 100
909#endif
910#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1
911#define TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1 0
912#endif
913#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2
914#define TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2 100
915#endif
916#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1
917#define TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1 0
918#endif
919#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2
920#define TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2 100
921#endif
922#ifdef TEST_FUNC_EFL_GFX_COLOR_PART_PRE
923TEST_FUNC_EFL_GFX_COLOR_PART_PRE
924#endif
925 efl_gfx_color_part_set(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1);
926 efl_gfx_color_part_get(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1, &r, &g, &b, &a);
927 FAIL_IF(efl_gfx_color_part, (r != TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1) || (g != TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1) || (b != TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1) || (a != TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1));
928 efl_gfx_color_part_set(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2);
929 efl_gfx_color_part_get(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2, &r, &g, &b, &a);
930 FAIL_IF(efl_gfx_color_part, (r != TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2) || (g != TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2) || (b != TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2) || (a != TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2));
931#ifdef TEST_FUNC_EFL_GFX_COLOR_PART_POST
932TEST_FUNC_EFL_GFX_COLOR_PART_POST
702#endif 933#endif
703 } 934 }
704#else 935#else
705TEST_FUNC_ELM_INTERFACE_SCROLLABLE_SINGLE_DIRECTION_OVERRIDE 936TEST_FUNC_EFL_GFX_COLOR_PART_OVERRIDE
706#endif 937#endif
707 938
708#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE 939#ifndef TEST_FUNC_EFL_GFX_VISIBLE
709#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE 940#define TEST_FUNC_EFL_GFX_VISIBLE
710 { 941 {
711 Evas_Coord x; 942 Eina_Bool v;
712 Evas_Coord y; 943#ifndef TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1
713#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL1 944#define TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1 EINA_TRUE
714#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL1 0
715#endif 945#endif
716#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL2 946#ifndef TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2
717#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL2 100 947#define TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2 EINA_FALSE
718#endif 948#endif
719#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL1 949#ifdef TEST_FUNC_EFL_GFX_VISIBLE_PRE
720#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL1 0 950TEST_FUNC_EFL_GFX_VISIBLE_PRE
721#endif 951#endif
722#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL2 952 efl_gfx_visible_set(obj, TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1);
723#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL2 100 953 v = efl_gfx_visible_get(obj);
954 FAIL_IF(efl_gfx_visible, (v != TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1));
955 efl_gfx_visible_set(obj, TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2);
956 v = efl_gfx_visible_get(obj);
957 FAIL_IF(efl_gfx_visible, (v != TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2));
958#ifdef TEST_FUNC_EFL_GFX_VISIBLE_POST
959TEST_FUNC_EFL_GFX_VISIBLE_POST
724#endif 960#endif
725#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_PRE 961 }
726TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_PRE 962#else
963TEST_FUNC_EFL_GFX_VISIBLE_OVERRIDE
727#endif 964#endif
728 elm_interface_scrollable_step_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL1); 965
729 elm_interface_scrollable_step_size_get(obj, &x, &y); 966#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER
730 FAIL_IF(elm_interface_scrollable_step_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL1)); 967#define TEST_FUNC_EFL_GFX_STACK_LAYER
731 elm_interface_scrollable_step_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL2); 968 {
732 elm_interface_scrollable_step_size_get(obj, &x, &y); 969 short l;
733 FAIL_IF(elm_interface_scrollable_step_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_y_VAL2)); 970#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1
734#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_POST 971#define TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1 0
735TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_POST 972#endif
973#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2
974#define TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2 100
975#endif
976#ifdef TEST_FUNC_EFL_GFX_STACK_LAYER_PRE
977TEST_FUNC_EFL_GFX_STACK_LAYER_PRE
978#endif
979 efl_gfx_stack_layer_set(obj, TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1);
980 l = efl_gfx_stack_layer_get(obj);
981 FAIL_IF(efl_gfx_stack_layer, (l != TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1));
982 efl_gfx_stack_layer_set(obj, TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2);
983 l = efl_gfx_stack_layer_get(obj);
984 FAIL_IF(efl_gfx_stack_layer, (l != TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2));
985#ifdef TEST_FUNC_EFL_GFX_STACK_LAYER_POST
986TEST_FUNC_EFL_GFX_STACK_LAYER_POST
736#endif 987#endif
737 } 988 }
738#else 989#else
739TEST_FUNC_ELM_INTERFACE_SCROLLABLE_STEP_SIZE_OVERRIDE 990TEST_FUNC_EFL_GFX_STACK_LAYER_OVERRIDE
740#endif 991#endif
741 992
742#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP 993#ifndef TEST_OBJ_EVAS_RECTANGLE_DTOR
743#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP 994#define TEST_OBJ_EVAS_RECTANGLE_DTOR eo_del(obj);
995#endif
996TEST_OBJ_EVAS_RECTANGLE_DTOR
997
998#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
999#define TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR obj = eo_add(evas_canvas3d_light_class_get(), parent);
1000#endif
1001TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
1002
1003#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL
1004#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL
744 { 1005 {
745 Eina_Bool loop_h; 1006 Eina_Bool directional;
746 Eina_Bool loop_v; 1007#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1
747#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL1 1008#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1 EINA_TRUE
748#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL1 EINA_TRUE
749#endif 1009#endif
750#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL2 1010#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2
751#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL2 EINA_FALSE 1011#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2 EINA_FALSE
752#endif 1012#endif
753#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL1 1013#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_PRE
754#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL1 EINA_TRUE 1014TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_PRE
755#endif 1015#endif
756#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL2 1016 evas_canvas3d_light_directional_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1);
757#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL2 EINA_FALSE 1017 directional = evas_canvas3d_light_directional_get(obj);
1018 FAIL_IF(evas_canvas3d_light_directional, (directional != TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1));
1019 evas_canvas3d_light_directional_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2);
1020 directional = evas_canvas3d_light_directional_get(obj);
1021 FAIL_IF(evas_canvas3d_light_directional, (directional != TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2));
1022#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_POST
1023TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_POST
758#endif 1024#endif
759#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_PRE 1025 }
760TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_PRE 1026#else
1027TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_OVERRIDE
761#endif 1028#endif
762 elm_interface_scrollable_loop_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL1); 1029
763 elm_interface_scrollable_loop_get(obj, &loop_h, &loop_v); 1030#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT
764 FAIL_IF(elm_interface_scrollable_loop, (loop_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL1) || (loop_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL1)); 1031#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT
765 elm_interface_scrollable_loop_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL2); 1032 {
766 elm_interface_scrollable_loop_get(obj, &loop_h, &loop_v); 1033 Evas_Real exponent;
767 FAIL_IF(elm_interface_scrollable_loop, (loop_h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_h_VAL2) || (loop_v != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_loop_v_VAL2)); 1034#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1
768#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_POST 1035#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1 0.0
769TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_POST 1036#endif
1037#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2
1038#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2 1.0
1039#endif
1040#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_PRE
1041TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_PRE
1042#endif
1043 evas_canvas3d_light_spot_exponent_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1);
1044 exponent = evas_canvas3d_light_spot_exponent_get(obj);
1045 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1));
1046 evas_canvas3d_light_spot_exponent_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2);
1047 exponent = evas_canvas3d_light_spot_exponent_get(obj);
1048 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2));
1049#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_POST
1050TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_POST
770#endif 1051#endif
771 } 1052 }
772#else 1053#else
773TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_OVERRIDE 1054TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_OVERRIDE
774#endif 1055#endif
775 1056
776#ifndef TEST_FUNC_EFL_FILE 1057#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF
777#define TEST_FUNC_EFL_FILE 1058#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF
778 { 1059 {
779 const char * file = NULL; 1060 Evas_Real cutoff;
780 const char * key = NULL; 1061#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1
781#ifndef TEST_FUNC_EFL_FILE_file_VAL1 1062#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1 0.0
782#define TEST_FUNC_EFL_FILE_file_VAL1 NULL
783#endif 1063#endif
784#ifndef TEST_FUNC_EFL_FILE_file_VAL2 1064#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2
785#define TEST_FUNC_EFL_FILE_file_VAL2 "toto" 1065#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2 1.0
786#endif 1066#endif
787#ifndef TEST_FUNC_EFL_FILE_key_VAL1 1067#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_PRE
788#define TEST_FUNC_EFL_FILE_key_VAL1 NULL 1068TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_PRE
789#endif 1069#endif
790#ifndef TEST_FUNC_EFL_FILE_key_VAL2 1070 evas_canvas3d_light_spot_cutoff_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1);
791#define TEST_FUNC_EFL_FILE_key_VAL2 "toto" 1071 cutoff = evas_canvas3d_light_spot_cutoff_get(obj);
1072 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1));
1073 evas_canvas3d_light_spot_cutoff_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2);
1074 cutoff = evas_canvas3d_light_spot_cutoff_get(obj);
1075 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2));
1076#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_POST
1077TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_POST
792#endif 1078#endif
793#ifdef TEST_FUNC_EFL_FILE_PRE 1079 }
794TEST_FUNC_EFL_FILE_PRE 1080#else
1081TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_OVERRIDE
795#endif 1082#endif
796 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL1, TEST_FUNC_EFL_FILE_key_VAL1); 1083
797 efl_file_get(obj, &file, &key); 1084#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE
798 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL1)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL1))); 1085#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE
799 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL2, TEST_FUNC_EFL_FILE_key_VAL2); 1086 {
800 efl_file_get(obj, &file, &key); 1087 Eina_Bool enable;
801 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL2)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL2))); 1088#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1
802#ifdef TEST_FUNC_EFL_FILE_POST 1089#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1 EINA_TRUE
803TEST_FUNC_EFL_FILE_POST 1090#endif
1091#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2
1092#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2 EINA_FALSE
1093#endif
1094#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_PRE
1095TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_PRE
1096#endif
1097 evas_canvas3d_light_attenuation_enable_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1);
1098 enable = evas_canvas3d_light_attenuation_enable_get(obj);
1099 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1));
1100 evas_canvas3d_light_attenuation_enable_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2);
1101 enable = evas_canvas3d_light_attenuation_enable_get(obj);
1102 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2));
1103#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_POST
1104TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_POST
804#endif 1105#endif
805 } 1106 }
806#else 1107#else
807TEST_FUNC_EFL_FILE_OVERRIDE 1108TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_OVERRIDE
808#endif 1109#endif
809 1110
1111#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
1112#define TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR eo_del(obj);
1113#endif
1114TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
1115
1116#ifndef TEST_OBJ_EVAS_SMART_CLIPPED_CTOR
1117#define TEST_OBJ_EVAS_SMART_CLIPPED_CTOR obj = eo_add(evas_smart_clipped_class_get(), parent);
1118#endif
1119TEST_OBJ_EVAS_SMART_CLIPPED_CTOR
1120
810#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE 1121#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
811#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE 1122#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
812 { 1123 {
@@ -834,38 +1145,15 @@ TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_POST
834TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_OVERRIDE 1145TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_OVERRIDE
835#endif 1146#endif
836 1147
837#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION 1148#ifndef TEST_OBJ_EVAS_SMART_CLIPPED_DTOR
838#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION 1149#define TEST_OBJ_EVAS_SMART_CLIPPED_DTOR eo_del(obj);
839 {
840 const char * description = NULL;
841#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1
842#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1 0
843#endif 1150#endif
844#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2 1151TEST_OBJ_EVAS_SMART_CLIPPED_DTOR
845#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2 100 1152
846#endif 1153#ifndef TEST_OBJ_ELM_CONTAINER_CTOR
847#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1 1154#define TEST_OBJ_ELM_CONTAINER_CTOR obj = eo_add(elm_container_class_get(), parent);
848#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1 NULL
849#endif
850#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2
851#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2 "toto"
852#endif
853#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
854TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
855#endif
856 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1);
857 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1);
858 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1)));
859 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2);
860 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2);
861 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2)));
862#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
863TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
864#endif
865 }
866#else
867TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_OVERRIDE
868#endif 1155#endif
1156TEST_OBJ_ELM_CONTAINER_CTOR
869 1157
870#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS 1158#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS
871#define TEST_FUNC_ELM_OBJ_WIDGET_FOCUS 1159#define TEST_FUNC_ELM_OBJ_WIDGET_FOCUS
@@ -1440,751 +1728,6 @@ TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_POST
1440TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_OVERRIDE 1728TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_OVERRIDE
1441#endif 1729#endif
1442 1730
1443#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX
1444#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX
1445 {
1446 Evas_Coord w;
1447 Evas_Coord h;
1448#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1
1449#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1 0
1450#endif
1451#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2
1452#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2 100
1453#endif
1454#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1
1455#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1 0
1456#endif
1457#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2
1458#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2 100
1459#endif
1460#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_PRE
1461TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_PRE
1462#endif
1463 evas_obj_size_hint_max_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1);
1464 evas_obj_size_hint_max_get(obj, &w, &h);
1465 FAIL_IF(evas_obj_size_hint_max, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL1));
1466 evas_obj_size_hint_max_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2);
1467 evas_obj_size_hint_max_get(obj, &w, &h);
1468 FAIL_IF(evas_obj_size_hint_max, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_h_VAL2));
1469#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_POST
1470TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_POST
1471#endif
1472 }
1473#else
1474TEST_FUNC_EVAS_OBJ_SIZE_HINT_MAX_OVERRIDE
1475#endif
1476
1477#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST
1478#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST
1479 {
1480 Evas_Coord w;
1481 Evas_Coord h;
1482#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1
1483#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1 0
1484#endif
1485#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2
1486#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2 100
1487#endif
1488#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1
1489#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1 0
1490#endif
1491#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2
1492#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2 100
1493#endif
1494#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_PRE
1495TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_PRE
1496#endif
1497 evas_obj_size_hint_request_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1);
1498 evas_obj_size_hint_request_get(obj, &w, &h);
1499 FAIL_IF(evas_obj_size_hint_request, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL1));
1500 evas_obj_size_hint_request_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2);
1501 evas_obj_size_hint_request_get(obj, &w, &h);
1502 FAIL_IF(evas_obj_size_hint_request, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_h_VAL2));
1503#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_POST
1504TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_POST
1505#endif
1506 }
1507#else
1508TEST_FUNC_EVAS_OBJ_SIZE_HINT_REQUEST_OVERRIDE
1509#endif
1510
1511#ifndef TEST_FUNC_EVAS_OBJ_TYPE
1512#define TEST_FUNC_EVAS_OBJ_TYPE
1513 {
1514 const char * type = NULL;
1515#ifndef TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1
1516#define TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1 NULL
1517#endif
1518#ifndef TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2
1519#define TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2 "toto"
1520#endif
1521#ifdef TEST_FUNC_EVAS_OBJ_TYPE_PRE
1522TEST_FUNC_EVAS_OBJ_TYPE_PRE
1523#endif
1524 evas_obj_type_set(obj, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1);
1525 type = evas_obj_type_get(obj);
1526 FAIL_IF(evas_obj_type, (STRCMP(type, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL1)));
1527 evas_obj_type_set(obj, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2);
1528 type = evas_obj_type_get(obj);
1529 FAIL_IF(evas_obj_type, (STRCMP(type, TEST_FUNC_EVAS_OBJ_TYPE_type_VAL2)));
1530#ifdef TEST_FUNC_EVAS_OBJ_TYPE_POST
1531TEST_FUNC_EVAS_OBJ_TYPE_POST
1532#endif
1533 }
1534#else
1535TEST_FUNC_EVAS_OBJ_TYPE_OVERRIDE
1536#endif
1537
1538#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN
1539#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN
1540 {
1541 Evas_Coord w;
1542 Evas_Coord h;
1543#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1
1544#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1 0
1545#endif
1546#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2
1547#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2 100
1548#endif
1549#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1
1550#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1 0
1551#endif
1552#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2
1553#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2 100
1554#endif
1555#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_PRE
1556TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_PRE
1557#endif
1558 evas_obj_size_hint_min_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1);
1559 evas_obj_size_hint_min_get(obj, &w, &h);
1560 FAIL_IF(evas_obj_size_hint_min, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL1));
1561 evas_obj_size_hint_min_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2);
1562 evas_obj_size_hint_min_get(obj, &w, &h);
1563 FAIL_IF(evas_obj_size_hint_min, (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_h_VAL2));
1564#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_POST
1565TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_POST
1566#endif
1567 }
1568#else
1569TEST_FUNC_EVAS_OBJ_SIZE_HINT_MIN_OVERRIDE
1570#endif
1571
1572#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE
1573#define TEST_FUNC_EVAS_OBJ_POINTER_MODE
1574 {
1575 Evas_Object_Pointer_Mode pointer_mode;
1576#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1
1577#define TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1 EVAS_OBJECT_POINTER_MODE_AUTOGRAB
1578#endif
1579#ifndef TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2
1580#define TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2 EVAS_OBJECT_POINTER_MODE_NOGRAB
1581#endif
1582#ifdef TEST_FUNC_EVAS_OBJ_POINTER_MODE_PRE
1583TEST_FUNC_EVAS_OBJ_POINTER_MODE_PRE
1584#endif
1585 evas_obj_pointer_mode_set(obj, TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1);
1586 pointer_mode = evas_obj_pointer_mode_get(obj);
1587 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL1));
1588 evas_obj_pointer_mode_set(obj, TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2);
1589 pointer_mode = evas_obj_pointer_mode_get(obj);
1590 FAIL_IF(evas_obj_pointer_mode, (pointer_mode != TEST_FUNC_EVAS_OBJ_POINTER_MODE_pointer_mode_VAL2));
1591#ifdef TEST_FUNC_EVAS_OBJ_POINTER_MODE_POST
1592TEST_FUNC_EVAS_OBJ_POINTER_MODE_POST
1593#endif
1594 }
1595#else
1596TEST_FUNC_EVAS_OBJ_POINTER_MODE_OVERRIDE
1597#endif
1598
1599#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP
1600#define TEST_FUNC_EVAS_OBJ_RENDER_OP
1601 {
1602 Evas_Render_Op render_op;
1603#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1
1604#define TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1 EVAS_RENDER_BLEND
1605#endif
1606#ifndef TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2
1607#define TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2 EVAS_RENDER_BLEND_REL
1608#endif
1609#ifdef TEST_FUNC_EVAS_OBJ_RENDER_OP_PRE
1610TEST_FUNC_EVAS_OBJ_RENDER_OP_PRE
1611#endif
1612 evas_obj_render_op_set(obj, TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1);
1613 render_op = evas_obj_render_op_get(obj);
1614 FAIL_IF(evas_obj_render_op, (render_op != TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL1));
1615 evas_obj_render_op_set(obj, TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2);
1616 render_op = evas_obj_render_op_get(obj);
1617 FAIL_IF(evas_obj_render_op, (render_op != TEST_FUNC_EVAS_OBJ_RENDER_OP_render_op_VAL2));
1618#ifdef TEST_FUNC_EVAS_OBJ_RENDER_OP_POST
1619TEST_FUNC_EVAS_OBJ_RENDER_OP_POST
1620#endif
1621 }
1622#else
1623TEST_FUNC_EVAS_OBJ_RENDER_OP_OVERRIDE
1624#endif
1625
1626#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS
1627#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS
1628 {
1629 Eina_Bool freeze;
1630#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1
1631#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1 EINA_TRUE
1632#endif
1633#ifndef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2
1634#define TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2 EINA_FALSE
1635#endif
1636#ifdef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_PRE
1637TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_PRE
1638#endif
1639 evas_obj_freeze_events_set(obj, TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1);
1640 freeze = evas_obj_freeze_events_get(obj);
1641 FAIL_IF(evas_obj_freeze_events, (freeze != TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL1));
1642 evas_obj_freeze_events_set(obj, TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2);
1643 freeze = evas_obj_freeze_events_get(obj);
1644 FAIL_IF(evas_obj_freeze_events, (freeze != TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_freeze_VAL2));
1645#ifdef TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_POST
1646TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_POST
1647#endif
1648 }
1649#else
1650TEST_FUNC_EVAS_OBJ_FREEZE_EVENTS_OVERRIDE
1651#endif
1652
1653#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT
1654#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT
1655 {
1656 Evas_Aspect_Control aspect;
1657 Evas_Coord w;
1658 Evas_Coord h;
1659#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1
1660#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1 EVAS_ASPECT_CONTROL_NONE
1661#endif
1662#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2
1663#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2 EVAS_ASPECT_CONTROL_NEITHER
1664#endif
1665#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1
1666#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1 0
1667#endif
1668#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2
1669#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2 100
1670#endif
1671#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1
1672#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1 0
1673#endif
1674#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2
1675#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2 100
1676#endif
1677#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_PRE
1678TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_PRE
1679#endif
1680 evas_obj_size_hint_aspect_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1);
1681 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h);
1682 FAIL_IF(evas_obj_size_hint_aspect, (aspect != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL1) || (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL1) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL1));
1683 evas_obj_size_hint_aspect_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2);
1684 evas_obj_size_hint_aspect_get(obj, &aspect, &w, &h);
1685 FAIL_IF(evas_obj_size_hint_aspect, (aspect != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_aspect_VAL2) || (w != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_w_VAL2) || (h != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_h_VAL2));
1686#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_POST
1687TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_POST
1688#endif
1689 }
1690#else
1691TEST_FUNC_EVAS_OBJ_SIZE_HINT_ASPECT_OVERRIDE
1692#endif
1693
1694#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING
1695#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING
1696 {
1697 Evas_Coord l;
1698 Evas_Coord r;
1699 Evas_Coord t;
1700 Evas_Coord b;
1701#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1
1702#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1 0
1703#endif
1704#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2
1705#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2 100
1706#endif
1707#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1
1708#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1 0
1709#endif
1710#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2
1711#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2 100
1712#endif
1713#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1
1714#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1 0
1715#endif
1716#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2
1717#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2 100
1718#endif
1719#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1
1720#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1 0
1721#endif
1722#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2
1723#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2 100
1724#endif
1725#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_PRE
1726TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_PRE
1727#endif
1728 evas_obj_size_hint_padding_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1);
1729 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b);
1730 FAIL_IF(evas_obj_size_hint_padding, (l != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL1) || (r != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL1) || (t != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL1) || (b != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL1));
1731 evas_obj_size_hint_padding_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2);
1732 evas_obj_size_hint_padding_get(obj, &l, &r, &t, &b);
1733 FAIL_IF(evas_obj_size_hint_padding, (l != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_l_VAL2) || (r != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_r_VAL2) || (t != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_t_VAL2) || (b != TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_b_VAL2));
1734#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_POST
1735TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_POST
1736#endif
1737 }
1738#else
1739TEST_FUNC_EVAS_OBJ_SIZE_HINT_PADDING_OVERRIDE
1740#endif
1741
1742#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS
1743#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS
1744 {
1745 Eina_Bool repeat;
1746#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1
1747#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1 EINA_TRUE
1748#endif
1749#ifndef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2
1750#define TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2 EINA_FALSE
1751#endif
1752#ifdef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_PRE
1753TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_PRE
1754#endif
1755 evas_obj_repeat_events_set(obj, TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1);
1756 repeat = evas_obj_repeat_events_get(obj);
1757 FAIL_IF(evas_obj_repeat_events, (repeat != TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL1));
1758 evas_obj_repeat_events_set(obj, TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2);
1759 repeat = evas_obj_repeat_events_get(obj);
1760 FAIL_IF(evas_obj_repeat_events, (repeat != TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_repeat_VAL2));
1761#ifdef TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_POST
1762TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_POST
1763#endif
1764 }
1765#else
1766TEST_FUNC_EVAS_OBJ_REPEAT_EVENTS_OVERRIDE
1767#endif
1768
1769#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT
1770#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT
1771 {
1772 double x;
1773 double y;
1774#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1
1775#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1 0.0
1776#endif
1777#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2
1778#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2 1.0
1779#endif
1780#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1
1781#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1 0.0
1782#endif
1783#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2
1784#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2 1.0
1785#endif
1786#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_PRE
1787TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_PRE
1788#endif
1789 evas_obj_size_hint_weight_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1);
1790 evas_obj_size_hint_weight_get(obj, &x, &y);
1791 FAIL_IF(evas_obj_size_hint_weight, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL1) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL1));
1792 evas_obj_size_hint_weight_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2);
1793 evas_obj_size_hint_weight_get(obj, &x, &y);
1794 FAIL_IF(evas_obj_size_hint_weight, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_x_VAL2) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_y_VAL2));
1795#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_POST
1796TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_POST
1797#endif
1798 }
1799#else
1800TEST_FUNC_EVAS_OBJ_SIZE_HINT_WEIGHT_OVERRIDE
1801#endif
1802
1803#ifndef TEST_FUNC_EVAS_OBJ_NAME
1804#define TEST_FUNC_EVAS_OBJ_NAME
1805 {
1806 const char * name = NULL;
1807#ifndef TEST_FUNC_EVAS_OBJ_NAME_name_VAL1
1808#define TEST_FUNC_EVAS_OBJ_NAME_name_VAL1 NULL
1809#endif
1810#ifndef TEST_FUNC_EVAS_OBJ_NAME_name_VAL2
1811#define TEST_FUNC_EVAS_OBJ_NAME_name_VAL2 "toto"
1812#endif
1813#ifdef TEST_FUNC_EVAS_OBJ_NAME_PRE
1814TEST_FUNC_EVAS_OBJ_NAME_PRE
1815#endif
1816 evas_obj_name_set(obj, TEST_FUNC_EVAS_OBJ_NAME_name_VAL1);
1817 name = evas_obj_name_get(obj);
1818 FAIL_IF(evas_obj_name, (STRCMP(name, TEST_FUNC_EVAS_OBJ_NAME_name_VAL1)));
1819 evas_obj_name_set(obj, TEST_FUNC_EVAS_OBJ_NAME_name_VAL2);
1820 name = evas_obj_name_get(obj);
1821 FAIL_IF(evas_obj_name, (STRCMP(name, TEST_FUNC_EVAS_OBJ_NAME_name_VAL2)));
1822#ifdef TEST_FUNC_EVAS_OBJ_NAME_POST
1823TEST_FUNC_EVAS_OBJ_NAME_POST
1824#endif
1825 }
1826#else
1827TEST_FUNC_EVAS_OBJ_NAME_OVERRIDE
1828#endif
1829
1830#ifndef TEST_FUNC_EVAS_OBJ_SCALE
1831#define TEST_FUNC_EVAS_OBJ_SCALE
1832 {
1833 double scale;
1834#ifndef TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1
1835#define TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1 0.0
1836#endif
1837#ifndef TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2
1838#define TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2 1.0
1839#endif
1840#ifdef TEST_FUNC_EVAS_OBJ_SCALE_PRE
1841TEST_FUNC_EVAS_OBJ_SCALE_PRE
1842#endif
1843 evas_obj_scale_set(obj, TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1);
1844 scale = evas_obj_scale_get(obj);
1845 FAIL_IF(evas_obj_scale, (scale != TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL1));
1846 evas_obj_scale_set(obj, TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2);
1847 scale = evas_obj_scale_get(obj);
1848 FAIL_IF(evas_obj_scale, (scale != TEST_FUNC_EVAS_OBJ_SCALE_scale_VAL2));
1849#ifdef TEST_FUNC_EVAS_OBJ_SCALE_POST
1850TEST_FUNC_EVAS_OBJ_SCALE_POST
1851#endif
1852 }
1853#else
1854TEST_FUNC_EVAS_OBJ_SCALE_OVERRIDE
1855#endif
1856
1857#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP
1858#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP
1859 {
1860 Eina_Bool is_static_clip;
1861#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1
1862#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1 EINA_TRUE
1863#endif
1864#ifndef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2
1865#define TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2 EINA_FALSE
1866#endif
1867#ifdef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_PRE
1868TEST_FUNC_EVAS_OBJ_STATIC_CLIP_PRE
1869#endif
1870 evas_obj_static_clip_set(obj, TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1);
1871 is_static_clip = evas_obj_static_clip_get(obj);
1872 FAIL_IF(evas_obj_static_clip, (is_static_clip != TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL1));
1873 evas_obj_static_clip_set(obj, TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2);
1874 is_static_clip = evas_obj_static_clip_get(obj);
1875 FAIL_IF(evas_obj_static_clip, (is_static_clip != TEST_FUNC_EVAS_OBJ_STATIC_CLIP_is_static_clip_VAL2));
1876#ifdef TEST_FUNC_EVAS_OBJ_STATIC_CLIP_POST
1877TEST_FUNC_EVAS_OBJ_STATIC_CLIP_POST
1878#endif
1879 }
1880#else
1881TEST_FUNC_EVAS_OBJ_STATIC_CLIP_OVERRIDE
1882#endif
1883
1884#ifndef TEST_FUNC_EVAS_OBJ_FOCUS
1885#define TEST_FUNC_EVAS_OBJ_FOCUS
1886 {
1887 Eina_Bool focus;
1888#ifndef TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1
1889#define TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1 EINA_TRUE
1890#endif
1891#ifndef TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2
1892#define TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2 EINA_FALSE
1893#endif
1894#ifdef TEST_FUNC_EVAS_OBJ_FOCUS_PRE
1895TEST_FUNC_EVAS_OBJ_FOCUS_PRE
1896#endif
1897 evas_obj_focus_set(obj, TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1);
1898 focus = evas_obj_focus_get(obj);
1899 FAIL_IF(evas_obj_focus, (focus != TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL1));
1900 evas_obj_focus_set(obj, TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2);
1901 focus = evas_obj_focus_get(obj);
1902 FAIL_IF(evas_obj_focus, (focus != TEST_FUNC_EVAS_OBJ_FOCUS_focus_VAL2));
1903#ifdef TEST_FUNC_EVAS_OBJ_FOCUS_POST
1904TEST_FUNC_EVAS_OBJ_FOCUS_POST
1905#endif
1906 }
1907#else
1908TEST_FUNC_EVAS_OBJ_FOCUS_OVERRIDE
1909#endif
1910
1911#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT
1912#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT
1913 {
1914 Eina_Bool is_frame;
1915#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1
1916#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1 EINA_TRUE
1917#endif
1918#ifndef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2
1919#define TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2 EINA_FALSE
1920#endif
1921#ifdef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_PRE
1922TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_PRE
1923#endif
1924 evas_obj_is_frame_object_set(obj, TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1);
1925 is_frame = evas_obj_is_frame_object_get(obj);
1926 FAIL_IF(evas_obj_is_frame_object, (is_frame != TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL1));
1927 evas_obj_is_frame_object_set(obj, TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2);
1928 is_frame = evas_obj_is_frame_object_get(obj);
1929 FAIL_IF(evas_obj_is_frame_object, (is_frame != TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_is_frame_VAL2));
1930#ifdef TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_POST
1931TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_POST
1932#endif
1933 }
1934#else
1935TEST_FUNC_EVAS_OBJ_IS_FRAME_OBJECT_OVERRIDE
1936#endif
1937
1938#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE
1939#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE
1940 {
1941 Eina_Bool enabled;
1942#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1
1943#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1 EINA_TRUE
1944#endif
1945#ifndef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2
1946#define TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2 EINA_FALSE
1947#endif
1948#ifdef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_PRE
1949TEST_FUNC_EVAS_OBJ_MAP_ENABLE_PRE
1950#endif
1951 evas_obj_map_enable_set(obj, TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1);
1952 enabled = evas_obj_map_enable_get(obj);
1953 FAIL_IF(evas_obj_map_enable, (enabled != TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL1));
1954 evas_obj_map_enable_set(obj, TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2);
1955 enabled = evas_obj_map_enable_get(obj);
1956 FAIL_IF(evas_obj_map_enable, (enabled != TEST_FUNC_EVAS_OBJ_MAP_ENABLE_enabled_VAL2));
1957#ifdef TEST_FUNC_EVAS_OBJ_MAP_ENABLE_POST
1958TEST_FUNC_EVAS_OBJ_MAP_ENABLE_POST
1959#endif
1960 }
1961#else
1962TEST_FUNC_EVAS_OBJ_MAP_ENABLE_OVERRIDE
1963#endif
1964
1965#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE
1966#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE
1967 {
1968 Eina_Bool precise;
1969#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1
1970#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1 EINA_TRUE
1971#endif
1972#ifndef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2
1973#define TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2 EINA_FALSE
1974#endif
1975#ifdef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_PRE
1976TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_PRE
1977#endif
1978 evas_obj_precise_is_inside_set(obj, TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1);
1979 precise = evas_obj_precise_is_inside_get(obj);
1980 FAIL_IF(evas_obj_precise_is_inside, (precise != TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL1));
1981 evas_obj_precise_is_inside_set(obj, TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2);
1982 precise = evas_obj_precise_is_inside_get(obj);
1983 FAIL_IF(evas_obj_precise_is_inside, (precise != TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_precise_VAL2));
1984#ifdef TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_POST
1985TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_POST
1986#endif
1987 }
1988#else
1989TEST_FUNC_EVAS_OBJ_PRECISE_IS_INSIDE_OVERRIDE
1990#endif
1991
1992#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN
1993#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN
1994 {
1995 double x;
1996 double y;
1997#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1
1998#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1 0.0
1999#endif
2000#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2
2001#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2 1.0
2002#endif
2003#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1
2004#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1 0.0
2005#endif
2006#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2
2007#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2 1.0
2008#endif
2009#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_PRE
2010TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_PRE
2011#endif
2012 evas_obj_size_hint_align_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1);
2013 evas_obj_size_hint_align_get(obj, &x, &y);
2014 FAIL_IF(evas_obj_size_hint_align, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL1) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL1));
2015 evas_obj_size_hint_align_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2, TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2);
2016 evas_obj_size_hint_align_get(obj, &x, &y);
2017 FAIL_IF(evas_obj_size_hint_align, (x != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_x_VAL2) || (y != TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_y_VAL2));
2018#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_POST
2019TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_POST
2020#endif
2021 }
2022#else
2023TEST_FUNC_EVAS_OBJ_SIZE_HINT_ALIGN_OVERRIDE
2024#endif
2025
2026#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS
2027#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS
2028 {
2029 Eina_Bool propagate;
2030#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1
2031#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1 EINA_TRUE
2032#endif
2033#ifndef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2
2034#define TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2 EINA_FALSE
2035#endif
2036#ifdef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_PRE
2037TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_PRE
2038#endif
2039 evas_obj_propagate_events_set(obj, TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1);
2040 propagate = evas_obj_propagate_events_get(obj);
2041 FAIL_IF(evas_obj_propagate_events, (propagate != TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL1));
2042 evas_obj_propagate_events_set(obj, TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2);
2043 propagate = evas_obj_propagate_events_get(obj);
2044 FAIL_IF(evas_obj_propagate_events, (propagate != TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_propagate_VAL2));
2045#ifdef TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_POST
2046TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_POST
2047#endif
2048 }
2049#else
2050TEST_FUNC_EVAS_OBJ_PROPAGATE_EVENTS_OVERRIDE
2051#endif
2052
2053#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS
2054#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS
2055 {
2056 Eina_Bool pass;
2057#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1
2058#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1 EINA_TRUE
2059#endif
2060#ifndef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2
2061#define TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2 EINA_FALSE
2062#endif
2063#ifdef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_PRE
2064TEST_FUNC_EVAS_OBJ_PASS_EVENTS_PRE
2065#endif
2066 evas_obj_pass_events_set(obj, TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1);
2067 pass = evas_obj_pass_events_get(obj);
2068 FAIL_IF(evas_obj_pass_events, (pass != TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL1));
2069 evas_obj_pass_events_set(obj, TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2);
2070 pass = evas_obj_pass_events_get(obj);
2071 FAIL_IF(evas_obj_pass_events, (pass != TEST_FUNC_EVAS_OBJ_PASS_EVENTS_pass_VAL2));
2072#ifdef TEST_FUNC_EVAS_OBJ_PASS_EVENTS_POST
2073TEST_FUNC_EVAS_OBJ_PASS_EVENTS_POST
2074#endif
2075 }
2076#else
2077TEST_FUNC_EVAS_OBJ_PASS_EVENTS_OVERRIDE
2078#endif
2079
2080#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS
2081#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS
2082 {
2083 Eina_Bool anti_alias;
2084#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1
2085#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1 EINA_TRUE
2086#endif
2087#ifndef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2
2088#define TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2 EINA_FALSE
2089#endif
2090#ifdef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_PRE
2091TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_PRE
2092#endif
2093 evas_obj_anti_alias_set(obj, TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1);
2094 anti_alias = evas_obj_anti_alias_get(obj);
2095 FAIL_IF(evas_obj_anti_alias, (anti_alias != TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL1));
2096 evas_obj_anti_alias_set(obj, TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2);
2097 anti_alias = evas_obj_anti_alias_get(obj);
2098 FAIL_IF(evas_obj_anti_alias, (anti_alias != TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_anti_alias_VAL2));
2099#ifdef TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_POST
2100TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_POST
2101#endif
2102 }
2103#else
2104TEST_FUNC_EVAS_OBJ_ANTI_ALIAS_OVERRIDE
2105#endif
2106
2107#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE
2108#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE
2109 {
2110 Evas_Display_Mode dispmode;
2111#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1
2112#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1 EVAS_DISPLAY_MODE_NONE
2113#endif
2114#ifndef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2
2115#define TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2 EVAS_DISPLAY_MODE_COMPRESS
2116#endif
2117#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_PRE
2118TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_PRE
2119#endif
2120 evas_obj_size_hint_display_mode_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1);
2121 dispmode = evas_obj_size_hint_display_mode_get(obj);
2122 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL1));
2123 evas_obj_size_hint_display_mode_set(obj, TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2);
2124 dispmode = evas_obj_size_hint_display_mode_get(obj);
2125 FAIL_IF(evas_obj_size_hint_display_mode, (dispmode != TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_dispmode_VAL2));
2126#ifdef TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_POST
2127TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_POST
2128#endif
2129 }
2130#else
2131TEST_FUNC_EVAS_OBJ_SIZE_HINT_DISPLAY_MODE_OVERRIDE
2132#endif
2133
2134#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION
2135#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION
2136 {
2137 Evas_BiDi_Direction dir;
2138#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1
2139#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1 EVAS_BIDI_DIRECTION_NATURAL
2140#endif
2141#ifndef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2
2142#define TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2 EVAS_BIDI_DIRECTION_NEUTRAL
2143#endif
2144#ifdef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_PRE
2145TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_PRE
2146#endif
2147 evas_obj_paragraph_direction_set(obj, TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1);
2148 dir = evas_obj_paragraph_direction_get(obj);
2149 FAIL_IF(evas_obj_paragraph_direction, (dir != TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL1));
2150 evas_obj_paragraph_direction_set(obj, TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2);
2151 dir = evas_obj_paragraph_direction_get(obj);
2152 FAIL_IF(evas_obj_paragraph_direction, (dir != TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_dir_VAL2));
2153#ifdef TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_POST
2154TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_POST
2155#endif
2156 }
2157#else
2158TEST_FUNC_EVAS_OBJ_PARAGRAPH_DIRECTION_OVERRIDE
2159#endif
2160
2161#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER
2162#define TEST_FUNC_EVAS_OBJ_NO_RENDER
2163 {
2164 Eina_Bool enable;
2165#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1
2166#define TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1 EINA_TRUE
2167#endif
2168#ifndef TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2
2169#define TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2 EINA_FALSE
2170#endif
2171#ifdef TEST_FUNC_EVAS_OBJ_NO_RENDER_PRE
2172TEST_FUNC_EVAS_OBJ_NO_RENDER_PRE
2173#endif
2174 evas_obj_no_render_set(obj, TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1);
2175 enable = evas_obj_no_render_get(obj);
2176 FAIL_IF(evas_obj_no_render, (enable != TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL1));
2177 evas_obj_no_render_set(obj, TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2);
2178 enable = evas_obj_no_render_get(obj);
2179 FAIL_IF(evas_obj_no_render, (enable != TEST_FUNC_EVAS_OBJ_NO_RENDER_enable_VAL2));
2180#ifdef TEST_FUNC_EVAS_OBJ_NO_RENDER_POST
2181TEST_FUNC_EVAS_OBJ_NO_RENDER_POST
2182#endif
2183 }
2184#else
2185TEST_FUNC_EVAS_OBJ_NO_RENDER_OVERRIDE
2186#endif
2187
2188#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME 1731#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME
2189#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME 1732#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME
2190 { 1733 {
@@ -2448,352 +1991,10 @@ TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_POST
2448TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_OVERRIDE 1991TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_OVERRIDE
2449#endif 1992#endif
2450 1993
2451#ifndef TEST_FUNC_EFL_GFX_POSITION 1994#ifndef TEST_OBJ_ELM_CONTAINER_DTOR
2452#define TEST_FUNC_EFL_GFX_POSITION 1995#define TEST_OBJ_ELM_CONTAINER_DTOR eo_del(obj);
2453 {
2454 int x;
2455 int y;
2456#ifndef TEST_FUNC_EFL_GFX_POSITION_x_VAL1
2457#define TEST_FUNC_EFL_GFX_POSITION_x_VAL1 0
2458#endif
2459#ifndef TEST_FUNC_EFL_GFX_POSITION_x_VAL2
2460#define TEST_FUNC_EFL_GFX_POSITION_x_VAL2 100
2461#endif
2462#ifndef TEST_FUNC_EFL_GFX_POSITION_y_VAL1
2463#define TEST_FUNC_EFL_GFX_POSITION_y_VAL1 0
2464#endif
2465#ifndef TEST_FUNC_EFL_GFX_POSITION_y_VAL2
2466#define TEST_FUNC_EFL_GFX_POSITION_y_VAL2 100
2467#endif
2468#ifdef TEST_FUNC_EFL_GFX_POSITION_PRE
2469TEST_FUNC_EFL_GFX_POSITION_PRE
2470#endif
2471 efl_gfx_position_set(obj, TEST_FUNC_EFL_GFX_POSITION_x_VAL1, TEST_FUNC_EFL_GFX_POSITION_y_VAL1);
2472 efl_gfx_position_get(obj, &x, &y);
2473 FAIL_IF(efl_gfx_position, (x != TEST_FUNC_EFL_GFX_POSITION_x_VAL1) || (y != TEST_FUNC_EFL_GFX_POSITION_y_VAL1));
2474 efl_gfx_position_set(obj, TEST_FUNC_EFL_GFX_POSITION_x_VAL2, TEST_FUNC_EFL_GFX_POSITION_y_VAL2);
2475 efl_gfx_position_get(obj, &x, &y);
2476 FAIL_IF(efl_gfx_position, (x != TEST_FUNC_EFL_GFX_POSITION_x_VAL2) || (y != TEST_FUNC_EFL_GFX_POSITION_y_VAL2));
2477#ifdef TEST_FUNC_EFL_GFX_POSITION_POST
2478TEST_FUNC_EFL_GFX_POSITION_POST
2479#endif
2480 }
2481#else
2482TEST_FUNC_EFL_GFX_POSITION_OVERRIDE
2483#endif
2484
2485#ifndef TEST_FUNC_EFL_GFX_SIZE
2486#define TEST_FUNC_EFL_GFX_SIZE
2487 {
2488 int w;
2489 int h;
2490#ifndef TEST_FUNC_EFL_GFX_SIZE_w_VAL1
2491#define TEST_FUNC_EFL_GFX_SIZE_w_VAL1 0
2492#endif
2493#ifndef TEST_FUNC_EFL_GFX_SIZE_w_VAL2
2494#define TEST_FUNC_EFL_GFX_SIZE_w_VAL2 100
2495#endif
2496#ifndef TEST_FUNC_EFL_GFX_SIZE_h_VAL1
2497#define TEST_FUNC_EFL_GFX_SIZE_h_VAL1 0
2498#endif
2499#ifndef TEST_FUNC_EFL_GFX_SIZE_h_VAL2
2500#define TEST_FUNC_EFL_GFX_SIZE_h_VAL2 100
2501#endif
2502#ifdef TEST_FUNC_EFL_GFX_SIZE_PRE
2503TEST_FUNC_EFL_GFX_SIZE_PRE
2504#endif
2505 efl_gfx_size_set(obj, TEST_FUNC_EFL_GFX_SIZE_w_VAL1, TEST_FUNC_EFL_GFX_SIZE_h_VAL1);
2506 efl_gfx_size_get(obj, &w, &h);
2507 FAIL_IF(efl_gfx_size, (w != TEST_FUNC_EFL_GFX_SIZE_w_VAL1) || (h != TEST_FUNC_EFL_GFX_SIZE_h_VAL1));
2508 efl_gfx_size_set(obj, TEST_FUNC_EFL_GFX_SIZE_w_VAL2, TEST_FUNC_EFL_GFX_SIZE_h_VAL2);
2509 efl_gfx_size_get(obj, &w, &h);
2510 FAIL_IF(efl_gfx_size, (w != TEST_FUNC_EFL_GFX_SIZE_w_VAL2) || (h != TEST_FUNC_EFL_GFX_SIZE_h_VAL2));
2511#ifdef TEST_FUNC_EFL_GFX_SIZE_POST
2512TEST_FUNC_EFL_GFX_SIZE_POST
2513#endif
2514 }
2515#else
2516TEST_FUNC_EFL_GFX_SIZE_OVERRIDE
2517#endif
2518
2519#ifndef TEST_FUNC_EFL_GFX_COLOR
2520#define TEST_FUNC_EFL_GFX_COLOR
2521 {
2522 int r;
2523 int g;
2524 int b;
2525 int a;
2526#ifndef TEST_FUNC_EFL_GFX_COLOR_r_VAL1
2527#define TEST_FUNC_EFL_GFX_COLOR_r_VAL1 0
2528#endif
2529#ifndef TEST_FUNC_EFL_GFX_COLOR_r_VAL2
2530#define TEST_FUNC_EFL_GFX_COLOR_r_VAL2 100
2531#endif
2532#ifndef TEST_FUNC_EFL_GFX_COLOR_g_VAL1
2533#define TEST_FUNC_EFL_GFX_COLOR_g_VAL1 0
2534#endif
2535#ifndef TEST_FUNC_EFL_GFX_COLOR_g_VAL2
2536#define TEST_FUNC_EFL_GFX_COLOR_g_VAL2 100
2537#endif
2538#ifndef TEST_FUNC_EFL_GFX_COLOR_b_VAL1
2539#define TEST_FUNC_EFL_GFX_COLOR_b_VAL1 0
2540#endif
2541#ifndef TEST_FUNC_EFL_GFX_COLOR_b_VAL2
2542#define TEST_FUNC_EFL_GFX_COLOR_b_VAL2 100
2543#endif
2544#ifndef TEST_FUNC_EFL_GFX_COLOR_a_VAL1
2545#define TEST_FUNC_EFL_GFX_COLOR_a_VAL1 0
2546#endif
2547#ifndef TEST_FUNC_EFL_GFX_COLOR_a_VAL2
2548#define TEST_FUNC_EFL_GFX_COLOR_a_VAL2 100
2549#endif
2550#ifdef TEST_FUNC_EFL_GFX_COLOR_PRE
2551TEST_FUNC_EFL_GFX_COLOR_PRE
2552#endif
2553 efl_gfx_color_set(obj, TEST_FUNC_EFL_GFX_COLOR_r_VAL1, TEST_FUNC_EFL_GFX_COLOR_g_VAL1, TEST_FUNC_EFL_GFX_COLOR_b_VAL1, TEST_FUNC_EFL_GFX_COLOR_a_VAL1);
2554 efl_gfx_color_get(obj, &r, &g, &b, &a);
2555 FAIL_IF(efl_gfx_color, (r != TEST_FUNC_EFL_GFX_COLOR_r_VAL1) || (g != TEST_FUNC_EFL_GFX_COLOR_g_VAL1) || (b != TEST_FUNC_EFL_GFX_COLOR_b_VAL1) || (a != TEST_FUNC_EFL_GFX_COLOR_a_VAL1));
2556 efl_gfx_color_set(obj, TEST_FUNC_EFL_GFX_COLOR_r_VAL2, TEST_FUNC_EFL_GFX_COLOR_g_VAL2, TEST_FUNC_EFL_GFX_COLOR_b_VAL2, TEST_FUNC_EFL_GFX_COLOR_a_VAL2);
2557 efl_gfx_color_get(obj, &r, &g, &b, &a);
2558 FAIL_IF(efl_gfx_color, (r != TEST_FUNC_EFL_GFX_COLOR_r_VAL2) || (g != TEST_FUNC_EFL_GFX_COLOR_g_VAL2) || (b != TEST_FUNC_EFL_GFX_COLOR_b_VAL2) || (a != TEST_FUNC_EFL_GFX_COLOR_a_VAL2));
2559#ifdef TEST_FUNC_EFL_GFX_COLOR_POST
2560TEST_FUNC_EFL_GFX_COLOR_POST
2561#endif
2562 }
2563#else
2564TEST_FUNC_EFL_GFX_COLOR_OVERRIDE
2565#endif
2566
2567#ifndef TEST_FUNC_EFL_GFX_COLOR_PART
2568#define TEST_FUNC_EFL_GFX_COLOR_PART
2569 {
2570 int r;
2571 int g;
2572 int b;
2573 int a;
2574#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1
2575#define TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1 NULL
2576#endif
2577#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2
2578#define TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2 "toto"
2579#endif
2580#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1
2581#define TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1 0
2582#endif
2583#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2
2584#define TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2 100
2585#endif
2586#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1
2587#define TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1 0
2588#endif
2589#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2
2590#define TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2 100
2591#endif
2592#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1
2593#define TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1 0
2594#endif
2595#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2
2596#define TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2 100
2597#endif
2598#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1
2599#define TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1 0
2600#endif
2601#ifndef TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2
2602#define TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2 100
2603#endif
2604#ifdef TEST_FUNC_EFL_GFX_COLOR_PART_PRE
2605TEST_FUNC_EFL_GFX_COLOR_PART_PRE
2606#endif
2607 efl_gfx_color_part_set(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1, TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1);
2608 efl_gfx_color_part_get(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL1, &r, &g, &b, &a);
2609 FAIL_IF(efl_gfx_color_part, (r != TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL1) || (g != TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL1) || (b != TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL1) || (a != TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL1));
2610 efl_gfx_color_part_set(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2, TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2);
2611 efl_gfx_color_part_get(obj, TEST_FUNC_EFL_GFX_COLOR_PART_part_VAL2, &r, &g, &b, &a);
2612 FAIL_IF(efl_gfx_color_part, (r != TEST_FUNC_EFL_GFX_COLOR_PART_r_VAL2) || (g != TEST_FUNC_EFL_GFX_COLOR_PART_g_VAL2) || (b != TEST_FUNC_EFL_GFX_COLOR_PART_b_VAL2) || (a != TEST_FUNC_EFL_GFX_COLOR_PART_a_VAL2));
2613#ifdef TEST_FUNC_EFL_GFX_COLOR_PART_POST
2614TEST_FUNC_EFL_GFX_COLOR_PART_POST
2615#endif
2616 }
2617#else
2618TEST_FUNC_EFL_GFX_COLOR_PART_OVERRIDE
2619#endif
2620
2621#ifndef TEST_FUNC_EFL_GFX_VISIBLE
2622#define TEST_FUNC_EFL_GFX_VISIBLE
2623 {
2624 Eina_Bool v;
2625#ifndef TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1
2626#define TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1 EINA_TRUE
2627#endif
2628#ifndef TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2
2629#define TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2 EINA_FALSE
2630#endif
2631#ifdef TEST_FUNC_EFL_GFX_VISIBLE_PRE
2632TEST_FUNC_EFL_GFX_VISIBLE_PRE
2633#endif
2634 efl_gfx_visible_set(obj, TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1);
2635 v = efl_gfx_visible_get(obj);
2636 FAIL_IF(efl_gfx_visible, (v != TEST_FUNC_EFL_GFX_VISIBLE_v_VAL1));
2637 efl_gfx_visible_set(obj, TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2);
2638 v = efl_gfx_visible_get(obj);
2639 FAIL_IF(efl_gfx_visible, (v != TEST_FUNC_EFL_GFX_VISIBLE_v_VAL2));
2640#ifdef TEST_FUNC_EFL_GFX_VISIBLE_POST
2641TEST_FUNC_EFL_GFX_VISIBLE_POST
2642#endif
2643 }
2644#else
2645TEST_FUNC_EFL_GFX_VISIBLE_OVERRIDE
2646#endif
2647
2648#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER
2649#define TEST_FUNC_EFL_GFX_STACK_LAYER
2650 {
2651 short l;
2652#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1
2653#define TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1 0
2654#endif
2655#ifndef TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2
2656#define TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2 100
2657#endif
2658#ifdef TEST_FUNC_EFL_GFX_STACK_LAYER_PRE
2659TEST_FUNC_EFL_GFX_STACK_LAYER_PRE
2660#endif
2661 efl_gfx_stack_layer_set(obj, TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1);
2662 l = efl_gfx_stack_layer_get(obj);
2663 FAIL_IF(efl_gfx_stack_layer, (l != TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL1));
2664 efl_gfx_stack_layer_set(obj, TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2);
2665 l = efl_gfx_stack_layer_get(obj);
2666 FAIL_IF(efl_gfx_stack_layer, (l != TEST_FUNC_EFL_GFX_STACK_LAYER_l_VAL2));
2667#ifdef TEST_FUNC_EFL_GFX_STACK_LAYER_POST
2668TEST_FUNC_EFL_GFX_STACK_LAYER_POST
2669#endif
2670 }
2671#else
2672TEST_FUNC_EFL_GFX_STACK_LAYER_OVERRIDE
2673#endif
2674
2675#ifndef TEST_OBJ_ELM_LIST_DTOR
2676#define TEST_OBJ_ELM_LIST_DTOR eo_del(obj);
2677#endif
2678TEST_OBJ_ELM_LIST_DTOR
2679
2680#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
2681#define TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR obj = eo_add(evas_canvas3d_light_class_get(), parent);
2682#endif
2683TEST_OBJ_EVAS_CANVAS3D_LIGHT_CTOR
2684
2685#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL
2686#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL
2687 {
2688 Eina_Bool directional;
2689#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1
2690#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1 EINA_TRUE
2691#endif
2692#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2
2693#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2 EINA_FALSE
2694#endif
2695#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_PRE
2696TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_PRE
2697#endif
2698 evas_canvas3d_light_directional_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1);
2699 directional = evas_canvas3d_light_directional_get(obj);
2700 FAIL_IF(evas_canvas3d_light_directional, (directional != TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL1));
2701 evas_canvas3d_light_directional_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2);
2702 directional = evas_canvas3d_light_directional_get(obj);
2703 FAIL_IF(evas_canvas3d_light_directional, (directional != TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_directional_VAL2));
2704#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_POST
2705TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_POST
2706#endif
2707 }
2708#else
2709TEST_FUNC_EVAS_CANVAS3D_LIGHT_DIRECTIONAL_OVERRIDE
2710#endif
2711
2712#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT
2713#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT
2714 {
2715 Evas_Real exponent;
2716#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1
2717#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1 0.0
2718#endif
2719#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2
2720#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2 1.0
2721#endif
2722#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_PRE
2723TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_PRE
2724#endif
2725 evas_canvas3d_light_spot_exponent_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1);
2726 exponent = evas_canvas3d_light_spot_exponent_get(obj);
2727 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL1));
2728 evas_canvas3d_light_spot_exponent_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2);
2729 exponent = evas_canvas3d_light_spot_exponent_get(obj);
2730 FAIL_IF(evas_canvas3d_light_spot_exponent, (exponent != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_exponent_VAL2));
2731#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_POST
2732TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_POST
2733#endif
2734 }
2735#else
2736TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_EXPONENT_OVERRIDE
2737#endif
2738
2739#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF
2740#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF
2741 {
2742 Evas_Real cutoff;
2743#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1
2744#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1 0.0
2745#endif
2746#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2
2747#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2 1.0
2748#endif
2749#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_PRE
2750TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_PRE
2751#endif
2752 evas_canvas3d_light_spot_cutoff_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1);
2753 cutoff = evas_canvas3d_light_spot_cutoff_get(obj);
2754 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL1));
2755 evas_canvas3d_light_spot_cutoff_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2);
2756 cutoff = evas_canvas3d_light_spot_cutoff_get(obj);
2757 FAIL_IF(evas_canvas3d_light_spot_cutoff, (cutoff != TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_cutoff_VAL2));
2758#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_POST
2759TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_POST
2760#endif
2761 }
2762#else
2763TEST_FUNC_EVAS_CANVAS3D_LIGHT_SPOT_CUTOFF_OVERRIDE
2764#endif 1996#endif
2765 1997TEST_OBJ_ELM_CONTAINER_DTOR
2766#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE
2767#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE
2768 {
2769 Eina_Bool enable;
2770#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1
2771#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1 EINA_TRUE
2772#endif
2773#ifndef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2
2774#define TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2 EINA_FALSE
2775#endif
2776#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_PRE
2777TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_PRE
2778#endif
2779 evas_canvas3d_light_attenuation_enable_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1);
2780 enable = evas_canvas3d_light_attenuation_enable_get(obj);
2781 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL1));
2782 evas_canvas3d_light_attenuation_enable_set(obj, TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2);
2783 enable = evas_canvas3d_light_attenuation_enable_get(obj);
2784 FAIL_IF(evas_canvas3d_light_attenuation_enable, (enable != TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_enable_VAL2));
2785#ifdef TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_POST
2786TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_POST
2787#endif
2788 }
2789#else
2790TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_OVERRIDE
2791#endif
2792
2793#ifndef TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
2794#define TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR eo_del(obj);
2795#endif
2796TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
2797 1998
2798#ifndef TEST_OBJ_ECORE_AUDIO_CTOR 1999#ifndef TEST_OBJ_ECORE_AUDIO_CTOR
2799#define TEST_OBJ_ECORE_AUDIO_CTOR obj = eo_add(ecore_audio_class_get(), parent); 2000#define TEST_OBJ_ECORE_AUDIO_CTOR obj = eo_add(ecore_audio_class_get(), parent);
@@ -3033,54 +2234,137 @@ TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_POST
3033TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_OVERRIDE 2234TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_OVERRIDE
3034#endif 2235#endif
3035 2236
3036#ifndef TEST_OBJ_ELM_CALENDAR_DTOR 2237#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS
3037#define TEST_OBJ_ELM_CALENDAR_DTOR eo_del(obj); 2238#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS
2239 {
2240 Eina_Bool can_access;
2241#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1
2242#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1 EINA_TRUE
2243#endif
2244#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2
2245#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2 EINA_FALSE
2246#endif
2247#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_PRE
2248TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_PRE
2249#endif
2250 elm_obj_layout_edje_object_can_access_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1);
2251 can_access = elm_obj_layout_edje_object_can_access_get(obj);
2252 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL1));
2253 elm_obj_layout_edje_object_can_access_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2);
2254 can_access = elm_obj_layout_edje_object_can_access_get(obj);
2255 FAIL_IF(elm_obj_layout_edje_object_can_access, (can_access != TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_can_access_VAL2));
2256#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_POST
2257TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_POST
2258#endif
2259 }
2260#else
2261TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS_OVERRIDE
3038#endif 2262#endif
3039TEST_OBJ_ELM_CALENDAR_DTOR
3040 2263
3041#ifndef TEST_OBJ_ELM_GLVIEW_CTOR 2264#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT
3042#define TEST_OBJ_ELM_GLVIEW_CTOR obj = eo_add(elm_glview_class_get(), parent); 2265#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT
2266 {
2267 const char * text = NULL;
2268#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1
2269#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1 NULL
2270#endif
2271#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2
2272#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2 "toto"
2273#endif
2274#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1
2275#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1 NULL
2276#endif
2277#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2
2278#define TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2 "toto"
2279#endif
2280#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_PRE
2281TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_PRE
2282#endif
2283 elm_obj_layout_text_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1);
2284 text = elm_obj_layout_text_get(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL1);
2285 FAIL_IF(elm_obj_layout_text, (STRCMP(text, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL1)));
2286 elm_obj_layout_text_set(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2);
2287 text = elm_obj_layout_text_get(obj, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_part_VAL2);
2288 FAIL_IF(elm_obj_layout_text, (STRCMP(text, TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_text_VAL2)));
2289#ifdef TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_POST
2290TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_POST
2291#endif
2292 }
2293#else
2294TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_OVERRIDE
3043#endif 2295#endif
3044TEST_OBJ_ELM_GLVIEW_CTOR
3045 2296
3046#ifndef TEST_FUNC_EFL_GFX_VIEW_SIZE 2297#ifndef TEST_FUNC_EFL_FILE
3047#define TEST_FUNC_EFL_GFX_VIEW_SIZE 2298#define TEST_FUNC_EFL_FILE
3048 { 2299 {
3049 int w; 2300 const char * file = NULL;
3050 int h; 2301 const char * key = NULL;
3051#ifndef TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL1 2302#ifndef TEST_FUNC_EFL_FILE_file_VAL1
3052#define TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL1 0 2303#define TEST_FUNC_EFL_FILE_file_VAL1 NULL
3053#endif 2304#endif
3054#ifndef TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL2 2305#ifndef TEST_FUNC_EFL_FILE_file_VAL2
3055#define TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL2 100 2306#define TEST_FUNC_EFL_FILE_file_VAL2 "toto"
3056#endif 2307#endif
3057#ifndef TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL1 2308#ifndef TEST_FUNC_EFL_FILE_key_VAL1
3058#define TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL1 0 2309#define TEST_FUNC_EFL_FILE_key_VAL1 NULL
3059#endif 2310#endif
3060#ifndef TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL2 2311#ifndef TEST_FUNC_EFL_FILE_key_VAL2
3061#define TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL2 100 2312#define TEST_FUNC_EFL_FILE_key_VAL2 "toto"
3062#endif 2313#endif
3063#ifdef TEST_FUNC_EFL_GFX_VIEW_SIZE_PRE 2314#ifdef TEST_FUNC_EFL_FILE_PRE
3064TEST_FUNC_EFL_GFX_VIEW_SIZE_PRE 2315TEST_FUNC_EFL_FILE_PRE
3065#endif 2316#endif
3066 efl_gfx_view_size_set(obj, TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL1, TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL1); 2317 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL1, TEST_FUNC_EFL_FILE_key_VAL1);
3067 efl_gfx_view_size_get(obj, &w, &h); 2318 efl_file_get(obj, &file, &key);
3068 FAIL_IF(efl_gfx_view_size, (w != TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL1) || (h != TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL1)); 2319 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL1)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL1)));
3069 efl_gfx_view_size_set(obj, TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL2, TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL2); 2320 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL2, TEST_FUNC_EFL_FILE_key_VAL2);
3070 efl_gfx_view_size_get(obj, &w, &h); 2321 efl_file_get(obj, &file, &key);
3071 FAIL_IF(efl_gfx_view_size, (w != TEST_FUNC_EFL_GFX_VIEW_SIZE_w_VAL2) || (h != TEST_FUNC_EFL_GFX_VIEW_SIZE_h_VAL2)); 2322 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL2)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL2)));
3072#ifdef TEST_FUNC_EFL_GFX_VIEW_SIZE_POST 2323#ifdef TEST_FUNC_EFL_FILE_POST
3073TEST_FUNC_EFL_GFX_VIEW_SIZE_POST 2324TEST_FUNC_EFL_FILE_POST
3074#endif 2325#endif
3075 } 2326 }
3076#else 2327#else
3077TEST_FUNC_EFL_GFX_VIEW_SIZE_OVERRIDE 2328TEST_FUNC_EFL_FILE_OVERRIDE
3078#endif 2329#endif
3079 2330
3080#ifndef TEST_OBJ_ELM_GLVIEW_DTOR 2331#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
3081#define TEST_OBJ_ELM_GLVIEW_DTOR eo_del(obj); 2332#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
2333 {
2334 const char * description = NULL;
2335#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1
2336#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1 0
3082#endif 2337#endif
3083TEST_OBJ_ELM_GLVIEW_DTOR 2338#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2
2339#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2 100
2340#endif
2341#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1
2342#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1 NULL
2343#endif
2344#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2
2345#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2 "toto"
2346#endif
2347#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
2348TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
2349#endif
2350 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1);
2351 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1);
2352 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1)));
2353 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2);
2354 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2);
2355 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2)));
2356#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
2357TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
2358#endif
2359 }
2360#else
2361TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_OVERRIDE
2362#endif
2363
2364#ifndef TEST_OBJ_ELM_CALENDAR_DTOR
2365#define TEST_OBJ_ELM_CALENDAR_DTOR eo_del(obj);
2366#endif
2367TEST_OBJ_ELM_CALENDAR_DTOR
3084 2368
3085#ifndef TEST_OBJ_ELM_BUTTON_CTOR 2369#ifndef TEST_OBJ_ELM_BUTTON_CTOR
3086#define TEST_OBJ_ELM_BUTTON_CTOR obj = eo_add(elm_button_class_get(), parent); 2370#define TEST_OBJ_ELM_BUTTON_CTOR obj = eo_add(elm_button_class_get(), parent);
@@ -3173,6 +2457,70 @@ TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_OVERRIDE
3173#endif 2457#endif
3174TEST_OBJ_ELM_BUTTON_DTOR 2458TEST_OBJ_ELM_BUTTON_DTOR
3175 2459
2460#ifndef TEST_OBJ_ELM_NSTATE_CTOR
2461#define TEST_OBJ_ELM_NSTATE_CTOR obj = eo_add(elm_nstate_class_get(), parent);
2462#endif
2463TEST_OBJ_ELM_NSTATE_CTOR
2464
2465#ifndef TEST_FUNC_EFL_UI_NSTATE_COUNT
2466#define TEST_FUNC_EFL_UI_NSTATE_COUNT
2467 {
2468 int nstate;
2469#ifndef TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL1
2470#define TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL1 0
2471#endif
2472#ifndef TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL2
2473#define TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL2 100
2474#endif
2475#ifdef TEST_FUNC_EFL_UI_NSTATE_COUNT_PRE
2476TEST_FUNC_EFL_UI_NSTATE_COUNT_PRE
2477#endif
2478 efl_ui_nstate_count_set(obj, TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL1);
2479 nstate = efl_ui_nstate_count_get(obj);
2480 FAIL_IF(efl_ui_nstate_count, (nstate != TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL1));
2481 efl_ui_nstate_count_set(obj, TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL2);
2482 nstate = efl_ui_nstate_count_get(obj);
2483 FAIL_IF(efl_ui_nstate_count, (nstate != TEST_FUNC_EFL_UI_NSTATE_COUNT_nstate_VAL2));
2484#ifdef TEST_FUNC_EFL_UI_NSTATE_COUNT_POST
2485TEST_FUNC_EFL_UI_NSTATE_COUNT_POST
2486#endif
2487 }
2488#else
2489TEST_FUNC_EFL_UI_NSTATE_COUNT_OVERRIDE
2490#endif
2491
2492#ifndef TEST_FUNC_EFL_UI_NSTATE_VALUE
2493#define TEST_FUNC_EFL_UI_NSTATE_VALUE
2494 {
2495 int state;
2496#ifndef TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL1
2497#define TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL1 0
2498#endif
2499#ifndef TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL2
2500#define TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL2 100
2501#endif
2502#ifdef TEST_FUNC_EFL_UI_NSTATE_VALUE_PRE
2503TEST_FUNC_EFL_UI_NSTATE_VALUE_PRE
2504#endif
2505 efl_ui_nstate_value_set(obj, TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL1);
2506 state = efl_ui_nstate_value_get(obj);
2507 FAIL_IF(efl_ui_nstate_value, (state != TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL1));
2508 efl_ui_nstate_value_set(obj, TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL2);
2509 state = efl_ui_nstate_value_get(obj);
2510 FAIL_IF(efl_ui_nstate_value, (state != TEST_FUNC_EFL_UI_NSTATE_VALUE_state_VAL2));
2511#ifdef TEST_FUNC_EFL_UI_NSTATE_VALUE_POST
2512TEST_FUNC_EFL_UI_NSTATE_VALUE_POST
2513#endif
2514 }
2515#else
2516TEST_FUNC_EFL_UI_NSTATE_VALUE_OVERRIDE
2517#endif
2518
2519#ifndef TEST_OBJ_ELM_NSTATE_DTOR
2520#define TEST_OBJ_ELM_NSTATE_DTOR eo_del(obj);
2521#endif
2522TEST_OBJ_ELM_NSTATE_DTOR
2523
3176#ifndef TEST_OBJ_ELM_MAP_CTOR 2524#ifndef TEST_OBJ_ELM_MAP_CTOR
3177#define TEST_OBJ_ELM_MAP_CTOR obj = eo_add(elm_map_class_get(), parent); 2525#define TEST_OBJ_ELM_MAP_CTOR obj = eo_add(elm_map_class_get(), parent);
3178#endif 2526#endif
@@ -3408,47 +2756,584 @@ TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE_POST
3408TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE_OVERRIDE 2756TEST_FUNC_ELM_OBJ_MAP_ZOOM_MODE_OVERRIDE
3409#endif 2757#endif
3410 2758
2759#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY
2760#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY
2761 {
2762 double x;
2763 double y;
2764#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1
2765#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1 0.0
2766#endif
2767#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2
2768#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2 1.0
2769#endif
2770#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1
2771#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1 0.0
2772#endif
2773#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2
2774#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2 1.0
2775#endif
2776#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_PRE
2777TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_PRE
2778#endif
2779 elm_interface_scrollable_gravity_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1);
2780 elm_interface_scrollable_gravity_get(obj, &x, &y);
2781 FAIL_IF(elm_interface_scrollable_gravity, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL1));
2782 elm_interface_scrollable_gravity_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2);
2783 elm_interface_scrollable_gravity_get(obj, &x, &y);
2784 FAIL_IF(elm_interface_scrollable_gravity, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_y_VAL2));
2785#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_POST
2786TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_POST
2787#endif
2788 }
2789#else
2790TEST_FUNC_ELM_INTERFACE_SCROLLABLE_GRAVITY_OVERRIDE
2791#endif
2792
2793#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW
2794#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW
2795 {
2796 Eina_Bool horiz;
2797 Eina_Bool vert;
2798#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1
2799#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1 EINA_TRUE
2800#endif
2801#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2
2802#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2 EINA_FALSE
2803#endif
2804#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1
2805#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1 EINA_TRUE
2806#endif
2807#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2
2808#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2 EINA_FALSE
2809#endif
2810#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_PRE
2811TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_PRE
2812#endif
2813 elm_interface_scrollable_bounce_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1);
2814 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert);
2815 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL1) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL1));
2816 elm_interface_scrollable_bounce_allow_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2);
2817 elm_interface_scrollable_bounce_allow_get(obj, &horiz, &vert);
2818 FAIL_IF(elm_interface_scrollable_bounce_allow, (horiz != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_horiz_VAL2) || (vert != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_vert_VAL2));
2819#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_POST
2820TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_POST
2821#endif
2822 }
2823#else
2824TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ALLOW_OVERRIDE
2825#endif
2826
2827#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED
2828#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED
2829 {
2830 Eina_Bool disabled;
2831#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1
2832#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1 EINA_TRUE
2833#endif
2834#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2
2835#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2 EINA_FALSE
2836#endif
2837#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_PRE
2838TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_PRE
2839#endif
2840 elm_interface_scrollable_wheel_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1);
2841 disabled = elm_interface_scrollable_wheel_disabled_get(obj);
2842 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL1));
2843 elm_interface_scrollable_wheel_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2);
2844 disabled = elm_interface_scrollable_wheel_disabled_get(obj);
2845 FAIL_IF(elm_interface_scrollable_wheel_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_disabled_VAL2));
2846#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_POST
2847TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_POST
2848#endif
2849 }
2850#else
2851TEST_FUNC_ELM_INTERFACE_SCROLLABLE_WHEEL_DISABLED_OVERRIDE
2852#endif
2853
2854#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK
2855#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK
2856 {
2857 Elm_Scroller_Movement_Block block;
2858#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1
2859#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1 ELM_SCROLLER_MOVEMENT_NO_BLOCK
2860#endif
2861#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2
2862#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2 ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL
2863#endif
2864#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_PRE
2865TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_PRE
2866#endif
2867 elm_interface_scrollable_movement_block_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1);
2868 block = elm_interface_scrollable_movement_block_get(obj);
2869 FAIL_IF(elm_interface_scrollable_movement_block, (block != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL1));
2870 elm_interface_scrollable_movement_block_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2);
2871 block = elm_interface_scrollable_movement_block_get(obj);
2872 FAIL_IF(elm_interface_scrollable_movement_block, (block != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_block_VAL2));
2873#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_POST
2874TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_POST
2875#endif
2876 }
2877#else
2878TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOVEMENT_BLOCK_OVERRIDE
2879#endif
2880
2881#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED
2882#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED
2883 {
2884 Eina_Bool disabled;
2885#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1
2886#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1 EINA_TRUE
2887#endif
2888#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2
2889#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2 EINA_FALSE
2890#endif
2891#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_PRE
2892TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_PRE
2893#endif
2894 elm_interface_scrollable_momentum_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1);
2895 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj);
2896 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL1));
2897 elm_interface_scrollable_momentum_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2);
2898 disabled = elm_interface_scrollable_momentum_animator_disabled_get(obj);
2899 FAIL_IF(elm_interface_scrollable_momentum_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_disabled_VAL2));
2900#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_POST
2901TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_POST
2902#endif
2903 }
2904#else
2905TEST_FUNC_ELM_INTERFACE_SCROLLABLE_MOMENTUM_ANIMATOR_DISABLED_OVERRIDE
2906#endif
2907
2908#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY
2909#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY
2910 {
2911 Elm_Scroller_Policy hbar;
2912 Elm_Scroller_Policy vbar;
2913#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1
2914#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1 ELM_SCROLLER_POLICY_AUTO
2915#endif
2916#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2
2917#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2 ELM_SCROLLER_POLICY_ON
2918#endif
2919#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1
2920#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1 ELM_SCROLLER_POLICY_AUTO
2921#endif
2922#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2
2923#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2 ELM_SCROLLER_POLICY_ON
2924#endif
2925#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_PRE
2926TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_PRE
2927#endif
2928 elm_interface_scrollable_policy_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1);
2929 elm_interface_scrollable_policy_get(obj, &hbar, &vbar);
2930 FAIL_IF(elm_interface_scrollable_policy, (hbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL1) || (vbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL1));
2931 elm_interface_scrollable_policy_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2);
2932 elm_interface_scrollable_policy_get(obj, &hbar, &vbar);
2933 FAIL_IF(elm_interface_scrollable_policy, (hbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_hbar_VAL2) || (vbar != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_vbar_VAL2));
2934#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_POST
2935TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_POST
2936#endif
2937 }
2938#else
2939TEST_FUNC_ELM_INTERFACE_SCROLLABLE_POLICY_OVERRIDE
2940#endif
2941
2942#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION
2943#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION
2944 {
2945 Evas_Coord x;
2946 Evas_Coord y;
2947 Evas_Coord w;
2948 Evas_Coord h;
2949#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1
2950#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1 0
2951#endif
2952#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2
2953#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2 100
2954#endif
2955#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1
2956#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1 0
2957#endif
2958#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2
2959#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2 100
2960#endif
2961#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1
2962#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1 0
2963#endif
2964#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2
2965#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2 100
2966#endif
2967#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1
2968#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1 0
2969#endif
2970#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2
2971#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2 100
2972#endif
2973#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_PRE
2974TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_PRE
2975#endif
2976 elm_interface_scrollable_content_region_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1);
2977 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
2978 FAIL_IF(elm_interface_scrollable_content_region, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL1) || (w != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL1) || (h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL1));
2979 elm_interface_scrollable_content_region_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2);
2980 elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
2981 FAIL_IF(elm_interface_scrollable_content_region, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_y_VAL2) || (w != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_w_VAL2) || (h != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_h_VAL2));
2982#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_POST
2983TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_POST
2984#endif
2985 }
2986#else
2987TEST_FUNC_ELM_INTERFACE_SCROLLABLE_CONTENT_REGION_OVERRIDE
2988#endif
2989
2990#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS
2991#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS
2992 {
2993 Eina_Bool repeat_events;
2994#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1
2995#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1 EINA_TRUE
2996#endif
2997#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2
2998#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2 EINA_FALSE
2999#endif
3000#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_PRE
3001TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_PRE
3002#endif
3003 elm_interface_scrollable_repeat_events_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1);
3004 repeat_events = elm_interface_scrollable_repeat_events_get(obj);
3005 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL1));
3006 elm_interface_scrollable_repeat_events_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2);
3007 repeat_events = elm_interface_scrollable_repeat_events_get(obj);
3008 FAIL_IF(elm_interface_scrollable_repeat_events, (repeat_events != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_repeat_events_VAL2));
3009#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_POST
3010TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_POST
3011#endif
3012 }
3013#else
3014TEST_FUNC_ELM_INTERFACE_SCROLLABLE_REPEAT_EVENTS_OVERRIDE
3015#endif
3016
3017#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE
3018#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE
3019 {
3020 Evas_Coord x;
3021 Evas_Coord y;
3022#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1
3023#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1 0
3024#endif
3025#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2
3026#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2 100
3027#endif
3028#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1
3029#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1 0
3030#endif
3031#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2
3032#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2 100
3033#endif
3034#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_PRE
3035TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_PRE
3036#endif
3037 elm_interface_scrollable_page_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1);
3038 elm_interface_scrollable_page_size_get(obj, &x, &y);
3039 FAIL_IF(elm_interface_scrollable_page_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL1) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL1));
3040 elm_interface_scrollable_page_size_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2);
3041 elm_interface_scrollable_page_size_get(obj, &x, &y);
3042 FAIL_IF(elm_interface_scrollable_page_size, (x != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_x_VAL2) || (y != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_y_VAL2));
3043#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_POST
3044TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_POST
3045#endif
3046 }
3047#else
3048TEST_FUNC_ELM_INTERFACE_SCROLLABLE_PAGE_SIZE_OVERRIDE
3049#endif
3050
3051#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED
3052#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED
3053 {
3054 Eina_Bool disabled;
3055#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1
3056#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1 EINA_TRUE
3057#endif
3058#ifndef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2
3059#define TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL2 EINA_FALSE
3060#endif
3061#ifdef TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_PRE
3062TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_PRE
3063#endif
3064 elm_interface_scrollable_bounce_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1);
3065 disabled = elm_interface_scrollable_bounce_animator_disabled_get(obj);
3066 FAIL_IF(elm_interface_scrollable_bounce_animator_disabled, (disabled != TEST_FUNC_ELM_INTERFACE_SCROLLABLE_BOUNCE_ANIMATOR_DISABLED_disabled_VAL1));
3067 elm_interface_scrollable_bounce_animator_disabled_set(obj, TEST_FUNC_ELM_INTERFACE_