summaryrefslogtreecommitdiff
path: root/src/tests/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-27 13:51:13 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:26 +0200
commit624925fe6e9c72c639d47135d5ea70d4110ac1fe (patch)
treeb57c12a611bf3b4b492327a7fcb5722cd39dad5b /src/tests/elementary
parent730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5 (diff)
tests: move to using checked fixtures for all test suites
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/elementary')
-rw-r--r--src/tests/elementary/efl_ui_suite.c12
-rw-r--r--src/tests/elementary/elm_suite.c16
-rw-r--r--src/tests/elementary/elm_test_actionslider.c6
-rw-r--r--src/tests/elementary/elm_test_atspi.c55
-rw-r--r--src/tests/elementary/elm_test_bg.c5
-rw-r--r--src/tests/elementary/elm_test_box.c6
-rw-r--r--src/tests/elementary/elm_test_bubble.c6
-rw-r--r--src/tests/elementary/elm_test_button.c9
-rw-r--r--src/tests/elementary/elm_test_calendar.c6
-rw-r--r--src/tests/elementary/elm_test_check.c12
-rw-r--r--src/tests/elementary/elm_test_clock.c6
-rw-r--r--src/tests/elementary/elm_test_colorselector.c9
-rw-r--r--src/tests/elementary/elm_test_config.c12
-rw-r--r--src/tests/elementary/elm_test_conformant.c6
-rw-r--r--src/tests/elementary/elm_test_ctxpopup.c6
-rw-r--r--src/tests/elementary/elm_test_datetime.c6
-rw-r--r--src/tests/elementary/elm_test_dayselector.c6
-rw-r--r--src/tests/elementary/elm_test_diskselector.c6
-rw-r--r--src/tests/elementary/elm_test_entry.c36
-rw-r--r--src/tests/elementary/elm_test_fileselector.c10
-rw-r--r--src/tests/elementary/elm_test_fileselector_button.c6
-rw-r--r--src/tests/elementary/elm_test_fileselector_entry.c6
-rw-r--r--src/tests/elementary/elm_test_flip.c6
-rw-r--r--src/tests/elementary/elm_test_flipselector.c6
-rw-r--r--src/tests/elementary/elm_test_focus.c96
-rw-r--r--src/tests/elementary/elm_test_focus_sub.c12
-rw-r--r--src/tests/elementary/elm_test_frame.c6
-rw-r--r--src/tests/elementary/elm_test_gengrid.c9
-rw-r--r--src/tests/elementary/elm_test_genlist.c14
-rw-r--r--src/tests/elementary/elm_test_glview.c6
-rw-r--r--src/tests/elementary/elm_test_grid.c6
-rw-r--r--src/tests/elementary/elm_test_hover.c6
-rw-r--r--src/tests/elementary/elm_test_hoversel.c6
-rw-r--r--src/tests/elementary/elm_test_icon.c6
-rw-r--r--src/tests/elementary/elm_test_image.c15
-rw-r--r--src/tests/elementary/elm_test_index.c6
-rw-r--r--src/tests/elementary/elm_test_init.c5
-rw-r--r--src/tests/elementary/elm_test_inwin.c6
-rw-r--r--src/tests/elementary/elm_test_label.c6
-rw-r--r--src/tests/elementary/elm_test_layout.c12
-rw-r--r--src/tests/elementary/elm_test_list.c38
-rw-r--r--src/tests/elementary/elm_test_map.c6
-rw-r--r--src/tests/elementary/elm_test_mapbuf.c6
-rw-r--r--src/tests/elementary/elm_test_menu.c6
-rw-r--r--src/tests/elementary/elm_test_multibuttonentry.c6
-rw-r--r--src/tests/elementary/elm_test_naviframe.c6
-rw-r--r--src/tests/elementary/elm_test_notify.c6
-rw-r--r--src/tests/elementary/elm_test_panel.c6
-rw-r--r--src/tests/elementary/elm_test_panes.c6
-rw-r--r--src/tests/elementary/elm_test_photo.c6
-rw-r--r--src/tests/elementary/elm_test_photocam.c9
-rw-r--r--src/tests/elementary/elm_test_player.c6
-rw-r--r--src/tests/elementary/elm_test_plug.c6
-rw-r--r--src/tests/elementary/elm_test_popup.c6
-rw-r--r--src/tests/elementary/elm_test_prefs.c6
-rw-r--r--src/tests/elementary/elm_test_progressbar.c6
-rw-r--r--src/tests/elementary/elm_test_radio.c6
-rw-r--r--src/tests/elementary/elm_test_scroller.c6
-rw-r--r--src/tests/elementary/elm_test_segmentcontrol.c6
-rw-r--r--src/tests/elementary/elm_test_separator.c6
-rw-r--r--src/tests/elementary/elm_test_slider.c6
-rw-r--r--src/tests/elementary/elm_test_slideshow.c6
-rw-r--r--src/tests/elementary/elm_test_spinner.c6
-rw-r--r--src/tests/elementary/elm_test_table.c6
-rw-r--r--src/tests/elementary/elm_test_thumb.c6
-rw-r--r--src/tests/elementary/elm_test_toolbar.c6
-rw-r--r--src/tests/elementary/elm_test_video.c6
-rw-r--r--src/tests/elementary/elm_test_web.c6
-rw-r--r--src/tests/elementary/elm_test_win.c26
69 files changed, 34 insertions, 672 deletions
diff --git a/src/tests/elementary/efl_ui_suite.c b/src/tests/elementary/efl_ui_suite.c
index fbe5f36..54e8ed1 100644
--- a/src/tests/elementary/efl_ui_suite.c
+++ b/src/tests/elementary/efl_ui_suite.c
@@ -54,6 +54,16 @@ static const Efl_Test_Case etc[] = {
54 { NULL, NULL } 54 { NULL, NULL }
55}; 55};
56 56
57SUITE_INIT(efl_ui)
58{
59 //???
60}
61
62SUITE_SHUTDOWN(efl_ui)
63{
64
65}
66
57int 67int
58main(int argc, char **argv) 68main(int argc, char **argv)
59{ 69{
@@ -67,7 +77,7 @@ main(int argc, char **argv)
67#endif 77#endif
68 78
69 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1, 79 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
70 "Efl_Ui", etc); 80 "Efl_Ui", etc, SUITE_INIT_FN(efl_ui), SUITE_SHUTDOWN_FN(efl_ui));
71 81
72 return (failed_count == 0) ? 0 : 255; 82 return (failed_count == 0) ? 0 : 255;
73} 83}
diff --git a/src/tests/elementary/elm_suite.c b/src/tests/elementary/elm_suite.c
index e57e118..2cf66ac 100644
--- a/src/tests/elementary/elm_suite.c
+++ b/src/tests/elementary/elm_suite.c
@@ -88,6 +88,20 @@ static const Efl_Test_Case etc[] = {
88 { NULL, NULL } 88 { NULL, NULL }
89}; 89};
90 90
91SUITE_INIT(elm)
92{
93 char *args[] = { "exe" };
94 ck_assert_int_eq(elm_init(1, args), 1);
95}
96
97SUITE_SHUTDOWN(elm)
98{
99 ck_assert_int_eq(elm_shutdown(), 0);
100 /* verify that ecore was de-initialized completely */
101 ck_assert_int_eq(ecore_init(), 1);
102 ck_assert_int_eq(ecore_shutdown(), 0);
103}
104
91int 105int
92main(int argc, char **argv) 106main(int argc, char **argv)
93{ 107{
@@ -105,7 +119,7 @@ main(int argc, char **argv)
105 putenv("TESTS_GL_DISABLED=1"); 119 putenv("TESTS_GL_DISABLED=1");
106 120
107 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1, 121 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
108 "Elementary", etc); 122 "Elementary", etc, SUITE_INIT_FN(elm), SUITE_SHUTDOWN_FN(elm));
109 123
110 return (failed_count == 0) ? 0 : 255; 124 return (failed_count == 0) ? 0 : 255;
111} 125}
diff --git a/src/tests/elementary/elm_test_actionslider.c b/src/tests/elementary/elm_test_actionslider.c
index 9120625..38a09e5 100644
--- a/src/tests/elementary/elm_test_actionslider.c
+++ b/src/tests/elementary/elm_test_actionslider.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_actionslider_legacy_type_check)
11 Evas_Object *win, *actionslider; 11 Evas_Object *win, *actionslider;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
17 15
18 actionslider = elm_actionslider_add(win); 16 actionslider = elm_actionslider_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_actionslider_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_actionslider")); 24 ck_assert(!strcmp(type, "elm_actionslider"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *actionslider; 31 Evas_Object *win, *actionslider;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
40 35
41 actionslider = elm_actionslider_add(win); 36 actionslider = elm_actionslider_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_SLIDER); 39 ck_assert(role == EFL_ACCESS_ROLE_SLIDER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_atspi.c b/src/tests/elementary/elm_test_atspi.c
index d54de1b..607045b 100644
--- a/src/tests/elementary/elm_test_atspi.c
+++ b/src/tests/elementary/elm_test_atspi.c
@@ -28,9 +28,6 @@ void generate_app(void)
28 28
29EFL_START_TEST (test_efl_access_app_obj_name_get) 29EFL_START_TEST (test_efl_access_app_obj_name_get)
30{ 30{
31 char *args[] = { "exe" };
32 elm_init(1, args);
33
34 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 31 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
35 32
36 ck_assert(root != NULL); 33 ck_assert(root != NULL);
@@ -44,14 +41,11 @@ EFL_START_TEST (test_efl_access_app_obj_name_get)
44 ck_assert_str_eq(ret, "Test name"); 41 ck_assert_str_eq(ret, "Test name");
45 42
46 efl_del(root); 43 efl_del(root);
47 elm_shutdown();
48} 44}
49EFL_END_TEST 45EFL_END_TEST
50 46
51EFL_START_TEST (test_efl_access_i18n_name_get) 47EFL_START_TEST (test_efl_access_i18n_name_get)
52{ 48{
53 char *args[] = { "exe" };
54 elm_init(1, args);
55 generate_app(); 49 generate_app();
56 50
57 const char *name; 51 const char *name;
@@ -71,14 +65,11 @@ EFL_START_TEST (test_efl_access_i18n_name_get)
71 ck_assert(name != NULL); 65 ck_assert(name != NULL);
72 ck_assert_str_eq(name, "Some\ntext"); 66 ck_assert_str_eq(name, "Some\ntext");
73 67
74 elm_shutdown();
75} 68}
76EFL_END_TEST 69EFL_END_TEST
77 70
78EFL_START_TEST (test_efl_access_i18n_name_set) 71EFL_START_TEST (test_efl_access_i18n_name_set)
79{ 72{
80 char *args[] = { "exe" };
81 elm_init(1, args);
82 generate_app(); 73 generate_app();
83 74
84 const char *name; 75 const char *name;
@@ -97,15 +88,11 @@ EFL_START_TEST (test_efl_access_i18n_name_set)
97 ck_assert(name != NULL); 88 ck_assert(name != NULL);
98 ck_assert_str_eq(name, "Other text"); 89 ck_assert_str_eq(name, "Other text");
99 90
100 elm_shutdown();
101} 91}
102EFL_END_TEST 92EFL_END_TEST
103 93
104EFL_START_TEST (test_efl_access_role_get) 94EFL_START_TEST (test_efl_access_role_get)
105{ 95{
106 char *args[] = { "exe" };
107 elm_init(1, args);
108
109 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 96 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
110 97
111 Efl_Access_Role role; 98 Efl_Access_Role role;
@@ -115,14 +102,11 @@ EFL_START_TEST (test_efl_access_role_get)
115 ck_assert(role == EFL_ACCESS_ROLE_APPLICATION); 102 ck_assert(role == EFL_ACCESS_ROLE_APPLICATION);
116 103
117 efl_del(root); 104 efl_del(root);
118 elm_shutdown();
119} 105}
120EFL_END_TEST 106EFL_END_TEST
121 107
122EFL_START_TEST (test_efl_access_role_set) 108EFL_START_TEST (test_efl_access_role_set)
123{ 109{
124 char *args[] = { "exe" };
125 elm_init(1, args);
126 generate_app(); 110 generate_app();
127 Efl_Access_Role role; 111 Efl_Access_Role role;
128 112
@@ -138,15 +122,11 @@ EFL_START_TEST (test_efl_access_role_set)
138 if (role != EFL_ACCESS_ROLE_ENTRY) 122 if (role != EFL_ACCESS_ROLE_ENTRY)
139 ck_assert(0); 123 ck_assert(0);
140 124
141 elm_shutdown();
142} 125}
143EFL_END_TEST 126EFL_END_TEST
144 127
145EFL_START_TEST (test_efl_access_role_name_get) 128EFL_START_TEST (test_efl_access_role_name_get)
146{ 129{
147 char *args[] = { "exe" };
148 elm_init(1, args);
149
150 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 130 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
151 131
152 const char *ret = NULL; 132 const char *ret = NULL;
@@ -156,15 +136,11 @@ EFL_START_TEST (test_efl_access_role_name_get)
156 ck_assert(ret != NULL); 136 ck_assert(ret != NULL);
157 137
158 efl_del(root); 138 efl_del(root);
159 elm_shutdown();
160} 139}
161EFL_END_TEST 140EFL_END_TEST
162 141
163EFL_START_TEST (test_efl_access_localized_role_name_get) 142EFL_START_TEST (test_efl_access_localized_role_name_get)
164{ 143{
165 char *args[] = { "exe" };
166 elm_init(1, args);
167
168 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 144 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
169 145
170 const char *ret = NULL; 146 const char *ret = NULL;
@@ -174,15 +150,11 @@ EFL_START_TEST (test_efl_access_localized_role_name_get)
174 ck_assert(ret != NULL); 150 ck_assert(ret != NULL);
175 151
176 efl_del(root); 152 efl_del(root);
177 elm_shutdown();
178} 153}
179EFL_END_TEST 154EFL_END_TEST
180 155
181EFL_START_TEST (test_efl_access_description_set) 156EFL_START_TEST (test_efl_access_description_set)
182{ 157{
183 char *args[] = { "exe" };
184 elm_init(1, args);
185
186 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 158 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
187 159
188 const char *ret = NULL; 160 const char *ret = NULL;
@@ -205,15 +177,12 @@ EFL_START_TEST (test_efl_access_description_set)
205 ck_assert(ret == NULL); 177 ck_assert(ret == NULL);
206 178
207 efl_del(root); 179 efl_del(root);
208 elm_shutdown();
209} 180}
210EFL_END_TEST 181EFL_END_TEST
211 182
212/* Test if initial description value is NULL */ 183/* Test if initial description value is NULL */
213EFL_START_TEST (test_efl_access_description_get) 184EFL_START_TEST (test_efl_access_description_get)
214{ 185{
215 char *args[] = { "exe" };
216 elm_init(1, args);
217 generate_app(); 186 generate_app();
218 187
219 const char *descr; 188 const char *descr;
@@ -221,15 +190,11 @@ EFL_START_TEST (test_efl_access_description_get)
221 190
222 ck_assert(descr == NULL); 191 ck_assert(descr == NULL);
223 192
224 elm_shutdown();
225} 193}
226EFL_END_TEST 194EFL_END_TEST
227 195
228EFL_START_TEST (test_efl_access_children_and_parent) 196EFL_START_TEST (test_efl_access_children_and_parent)
229{ 197{
230 char *args[] = { "exe" };
231 elm_init(1, args);
232
233 generate_app(); 198 generate_app();
234 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 199 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
235 200
@@ -249,15 +214,11 @@ EFL_START_TEST (test_efl_access_children_and_parent)
249 ck_assert(win == g_win); 214 ck_assert(win == g_win);
250 215
251 efl_del(root); 216 efl_del(root);
252 elm_shutdown();
253} 217}
254EFL_END_TEST 218EFL_END_TEST
255 219
256EFL_START_TEST (test_efl_access_children_and_parent2) 220EFL_START_TEST (test_efl_access_children_and_parent2)
257{ 221{
258 char *args[] = { "exe" };
259 elm_init(1, args);
260
261 generate_app(); 222 generate_app();
262 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); 223 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get());
263 224
@@ -279,15 +240,12 @@ EFL_START_TEST (test_efl_access_children_and_parent2)
279 ck_assert(btn == g_btn); 240 ck_assert(btn == g_btn);
280 241
281 efl_del(root); 242 efl_del(root);
282 elm_shutdown();
283} 243}
284EFL_END_TEST 244EFL_END_TEST
285 245
286/* Initial value of translation domain should be NULL */ 246/* Initial value of translation domain should be NULL */
287EFL_START_TEST (test_efl_access_translation_domain_get) 247EFL_START_TEST (test_efl_access_translation_domain_get)
288{ 248{
289 char *args[] = { "exe" };
290 elm_init(1, args);
291 generate_app(); 249 generate_app();
292 250
293 const char *domain; 251 const char *domain;
@@ -296,14 +254,11 @@ EFL_START_TEST (test_efl_access_translation_domain_get)
296 254
297 ck_assert(domain == NULL); 255 ck_assert(domain == NULL);
298 256
299 elm_shutdown();
300} 257}
301EFL_END_TEST 258EFL_END_TEST
302 259
303EFL_START_TEST (test_efl_access_translation_domain_set) 260EFL_START_TEST (test_efl_access_translation_domain_set)
304{ 261{
305 char *args[] = { "exe" };
306 elm_init(1, args);
307 generate_app(); 262 generate_app();
308 263
309 const char *domain; 264 const char *domain;
@@ -319,14 +274,11 @@ EFL_START_TEST (test_efl_access_translation_domain_set)
319 274
320 ck_assert(domain == NULL); 275 ck_assert(domain == NULL);
321 276
322 elm_shutdown();
323} 277}
324EFL_END_TEST 278EFL_END_TEST
325 279
326EFL_START_TEST (test_efl_access_relationship_append) 280EFL_START_TEST (test_efl_access_relationship_append)
327{ 281{
328 char *args[] = { "exe" };
329 elm_init(1, args);
330 generate_app(); 282 generate_app();
331 283
332 Efl_Access_Relation_Set set; 284 Efl_Access_Relation_Set set;
@@ -383,14 +335,11 @@ EFL_START_TEST (test_efl_access_relationship_append)
383 335
384 efl_access_relation_set_free(set); 336 efl_access_relation_set_free(set);
385 337
386 elm_shutdown();
387} 338}
388EFL_END_TEST 339EFL_END_TEST
389 340
390EFL_START_TEST (test_efl_access_relationship_remove) 341EFL_START_TEST (test_efl_access_relationship_remove)
391{ 342{
392 char *args[] = { "exe" };
393 elm_init(1, args);
394 generate_app(); 343 generate_app();
395 344
396 Efl_Access_Relation_Set set; 345 Efl_Access_Relation_Set set;
@@ -461,7 +410,6 @@ EFL_START_TEST (test_efl_access_relationship_remove)
461 if (rel_from) ck_assert(eina_list_data_find(rel_from->objects, g_bg) == NULL); 410 if (rel_from) ck_assert(eina_list_data_find(rel_from->objects, g_bg) == NULL);
462 411
463 efl_access_relation_set_free(set); 412 efl_access_relation_set_free(set);
464 elm_shutdown();
465} 413}
466EFL_END_TEST 414EFL_END_TEST
467 415
@@ -471,8 +419,6 @@ EFL_START_TEST (test_efl_access_relationships_clear)
471 Efl_Access_Relation *rel; 419 Efl_Access_Relation *rel;
472 Eina_List *l; 420 Eina_List *l;
473 421
474 char *args[] = { "exe" };
475 elm_init(1, args);
476 generate_app(); 422 generate_app();
477 423
478 efl_access_relationship_append(g_btn, EFL_ACCESS_RELATION_FLOWS_TO, g_bg); 424 efl_access_relationship_append(g_btn, EFL_ACCESS_RELATION_FLOWS_TO, g_bg);
@@ -492,7 +438,6 @@ EFL_START_TEST (test_efl_access_relationships_clear)
492 } 438 }
493 439
494 efl_access_relation_set_free(set); 440 efl_access_relation_set_free(set);
495 elm_shutdown();
496} 441}
497EFL_END_TEST 442EFL_END_TEST
498 443
diff --git a/src/tests/elementary/elm_test_bg.c b/src/tests/elementary/elm_test_bg.c
index 244d026..6b4076c 100644
--- a/src/tests/elementary/elm_test_bg.c
+++ b/src/tests/elementary/elm_test_bg.c
@@ -10,8 +10,6 @@ EFL_START_TEST (elm_bg_legacy_type_check)
10 Evas_Object *win, *bg; 10 Evas_Object *win, *bg;
11 const char *type; 11 const char *type;
12 12
13 char *args[] = { "exe" };
14 elm_init(1, args);
15 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC); 13 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC);
16 14
17 bg = elm_bg_add(win); 15 bg = elm_bg_add(win);
@@ -24,7 +22,6 @@ EFL_START_TEST (elm_bg_legacy_type_check)
24 ck_assert(type != NULL); 22 ck_assert(type != NULL);
25 ck_assert(!strcmp(type, "elm_bg")); 23 ck_assert(!strcmp(type, "elm_bg"));
26 24
27 elm_shutdown();
28} 25}
29EFL_END_TEST 26EFL_END_TEST
30 27
@@ -33,7 +30,6 @@ EFL_START_TEST (elm_bg_legacy_file_set_get_check)
33 Evas_Object *win, *bg; 30 Evas_Object *win, *bg;
34 const char *file = NULL, *key = NULL; 31 const char *file = NULL, *key = NULL;
35 32
36 elm_init(1, NULL);
37 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC); 33 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC);
38 34
39 bg = elm_bg_add(win); 35 bg = elm_bg_add(win);
@@ -51,7 +47,6 @@ EFL_START_TEST (elm_bg_legacy_file_set_get_check)
51 ck_assert(key != NULL); 47 ck_assert(key != NULL);
52 ck_assert(!strcmp(key, "test_key")); 48 ck_assert(!strcmp(key, "test_key"));
53 49
54 elm_shutdown();
55} 50}
56EFL_END_TEST 51EFL_END_TEST
57 52
diff --git a/src/tests/elementary/elm_test_box.c b/src/tests/elementary/elm_test_box.c
index c170498..becfb98 100644
--- a/src/tests/elementary/elm_test_box.c
+++ b/src/tests/elementary/elm_test_box.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_box_legacy_type_check)
11 Evas_Object *win, *box; 11 Evas_Object *win, *box;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "box", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
17 15
18 box = elm_box_add(win); 16 box = elm_box_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_box_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_box")); 24 ck_assert(!strcmp(type, "elm_box"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *box; 31 Evas_Object *win, *box;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "box", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
40 35
41 box = elm_box_add(win); 36 box = elm_box_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILLER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILLER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_bubble.c b/src/tests/elementary/elm_test_bubble.c
index 011087c..485ac91 100644
--- a/src/tests/elementary/elm_test_bubble.c
+++ b/src/tests/elementary/elm_test_bubble.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_bubble_legacy_type_check)
11 Evas_Object *win, *bubble; 11 Evas_Object *win, *bubble;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
17 15
18 bubble = elm_bubble_add(win); 16 bubble = elm_bubble_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_bubble_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_bubble")); 24 ck_assert(!strcmp(type, "elm_bubble"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *bubble; 31 Evas_Object *win, *bubble;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
40 35
41 bubble = elm_bubble_add(win); 36 bubble = elm_bubble_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILLER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILLER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_button.c b/src/tests/elementary/elm_test_button.c
index 0c87f88..ee49bb9 100644
--- a/src/tests/elementary/elm_test_button.c
+++ b/src/tests/elementary/elm_test_button.c
@@ -13,8 +13,6 @@ EFL_START_TEST (elm_button_legacy_type_check)
13 Evas_Object *win, *button; 13 Evas_Object *win, *button;
14 const char *type; 14 const char *type;
15 15
16 char *args[] = { "exe" };
17 elm_init(1, args);
18 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
19 17
20 button = elm_button_add(win); 18 button = elm_button_add(win);
@@ -27,7 +25,6 @@ EFL_START_TEST (elm_button_legacy_type_check)
27 ck_assert(type != NULL); 25 ck_assert(type != NULL);
28 ck_assert(!strcmp(type, "elm_button")); 26 ck_assert(!strcmp(type, "elm_button"));
29 27
30 elm_shutdown();
31} 28}
32EFL_END_TEST 29EFL_END_TEST
33 30
@@ -36,8 +33,6 @@ EFL_START_TEST (elm_atspi_role_get)
36 Evas_Object *win, *button; 33 Evas_Object *win, *button;
37 Efl_Access_Role role; 34 Efl_Access_Role role;
38 35
39 char *args[] = { "exe" };
40 elm_init(1, args);
41 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 36 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
42 37
43 button = elm_button_add(win); 38 button = elm_button_add(win);
@@ -45,7 +40,6 @@ EFL_START_TEST (elm_atspi_role_get)
45 40
46 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON); 41 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON);
47 42
48 elm_shutdown();
49} 43}
50EFL_END_TEST 44EFL_END_TEST
51 45
@@ -53,8 +47,6 @@ EFL_START_TEST (elm_atspi_interfaces_check)
53{ 47{
54 Evas_Object *win, *button; 48 Evas_Object *win, *button;
55 49
56 char *args[] = { "exe" };
57 elm_init(1, args);
58 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 50 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
59 51
60 button = elm_button_add(win); 52 button = elm_button_add(win);
@@ -63,7 +55,6 @@ EFL_START_TEST (elm_atspi_interfaces_check)
63 ck_assert(efl_isa(button, EFL_ACCESS_COMPONENT_MIXIN)); 55 ck_assert(efl_isa(button, EFL_ACCESS_COMPONENT_MIXIN));
64 ck_assert(efl_isa(button, EFL_ACCESS_ACTION_MIXIN)); 56 ck_assert(efl_isa(button, EFL_ACCESS_ACTION_MIXIN));
65 57
66 elm_shutdown();
67} 58}
68EFL_END_TEST 59EFL_END_TEST
69 60
diff --git a/src/tests/elementary/elm_test_calendar.c b/src/tests/elementary/elm_test_calendar.c
index 5f2fa95..90da2ff 100644
--- a/src/tests/elementary/elm_test_calendar.c
+++ b/src/tests/elementary/elm_test_calendar.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_calendar_legacy_type_check)
11 Evas_Object *win, *calendar; 11 Evas_Object *win, *calendar;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
17 15
18 calendar = elm_calendar_add(win); 16 calendar = elm_calendar_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_calendar_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_calendar")); 24 ck_assert(!strcmp(type, "elm_calendar"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *calendar; 31 Evas_Object *win, *calendar;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
40 35
41 calendar = elm_calendar_add(win); 36 calendar = elm_calendar_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_CALENDAR); 39 ck_assert(role == EFL_ACCESS_ROLE_CALENDAR);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_check.c b/src/tests/elementary/elm_test_check.c
index 2d9ee72..486475f 100644
--- a/src/tests/elementary/elm_test_check.c
+++ b/src/tests/elementary/elm_test_check.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_check_legacy_type_check)
11 Evas_Object *win, *check; 11 Evas_Object *win, *check;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
17 15
18 check = elm_check_add(win); 16 check = elm_check_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_check_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_check")); 24 ck_assert(!strcmp(type, "elm_check"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -33,8 +30,6 @@ EFL_START_TEST (elm_check_onoff_text)
33{ 30{
34 Evas_Object *win, *check; 31 Evas_Object *win, *check;
35 32
36 char *args[] = { "exe" };
37 elm_init(1, args);
38 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 33 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
39 34
40 check = elm_check_add(win); 35 check = elm_check_add(win);
@@ -49,7 +44,6 @@ EFL_START_TEST (elm_check_onoff_text)
49 ck_assert(elm_object_part_text_get(check, "on") == NULL); 44 ck_assert(elm_object_part_text_get(check, "on") == NULL);
50 ck_assert(elm_object_part_text_get(check, "off") == NULL); 45 ck_assert(elm_object_part_text_get(check, "off") == NULL);
51 46
52 elm_shutdown();
53} 47}
54EFL_END_TEST 48EFL_END_TEST
55 49
@@ -58,8 +52,6 @@ EFL_START_TEST (elm_check_state)
58 Evas_Object *win, *check; 52 Evas_Object *win, *check;
59 Eina_Bool state = EINA_TRUE; 53 Eina_Bool state = EINA_TRUE;
60 54
61 char *args[] = { "exe" };
62 elm_init(1, args);
63 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 55 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
64 56
65 check = elm_check_add(win); 57 check = elm_check_add(win);
@@ -71,7 +63,6 @@ EFL_START_TEST (elm_check_state)
71 ck_assert(elm_check_state_get(check) == EINA_FALSE); 63 ck_assert(elm_check_state_get(check) == EINA_FALSE);
72 ck_assert(state == EINA_FALSE); 64 ck_assert(state == EINA_FALSE);
73 65
74 elm_shutdown();
75} 66}
76EFL_END_TEST 67EFL_END_TEST
77 68
@@ -80,8 +71,6 @@ EFL_START_TEST (elm_atspi_role_get)
80 Evas_Object *win, *check; 71 Evas_Object *win, *check;
81 Efl_Access_Role role; 72 Efl_Access_Role role;
82 73
83 char *args[] = { "exe" };
84 elm_init(1, args);
85 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 74 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
86 75
87 check = elm_check_add(win); 76 check = elm_check_add(win);
@@ -89,7 +78,6 @@ EFL_START_TEST (elm_atspi_role_get)
89 78
90 ck_assert(role == EFL_ACCESS_ROLE_CHECK_BOX); 79 ck_assert(role == EFL_ACCESS_ROLE_CHECK_BOX);
91 80
92 elm_shutdown();
93} 81}
94EFL_END_TEST 82EFL_END_TEST
95 83
diff --git a/src/tests/elementary/elm_test_clock.c b/src/tests/elementary/elm_test_clock.c
index 926dd47..e1827a9 100644
--- a/src/tests/elementary/elm_test_clock.c
+++ b/src/tests/elementary/elm_test_clock.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_clock_legacy_type_check)
11 Evas_Object *win, *clock; 11 Evas_Object *win, *clock;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
17 15
18 clock = elm_clock_add(win); 16 clock = elm_clock_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_clock_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_clock")); 24 ck_assert(!strcmp(type, "elm_clock"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *clk; 31 Evas_Object *win, *clk;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
40 35
41 clk = elm_clock_add(win); 36 clk = elm_clock_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_TEXT); 39 ck_assert(role == EFL_ACCESS_ROLE_TEXT);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_colorselector.c b/src/tests/elementary/elm_test_colorselector.c
index fc89b19..5e4c781 100644
--- a/src/tests/elementary/elm_test_colorselector.c
+++ b/src/tests/elementary/elm_test_colorselector.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_colorselector_legacy_type_check)
11 Evas_Object *win, *colorselector; 11 Evas_Object *win, *colorselector;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
17 15
18 colorselector = elm_colorselector_add(win); 16 colorselector = elm_colorselector_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_colorselector_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_colorselector")); 24 ck_assert(!strcmp(type, "elm_colorselector"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_colorselector_palette)
34 Evas_Object *win, *c; 31 Evas_Object *win, *c;
35 unsigned int palette_cnt; 32 unsigned int palette_cnt;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
40 35
41 c = elm_colorselector_add(win); 36 c = elm_colorselector_add(win);
@@ -53,7 +48,6 @@ EFL_START_TEST (elm_colorselector_palette)
53 ck_assert(eina_list_count(elm_colorselector_palette_items_get(c)) == palette_cnt); 48 ck_assert(eina_list_count(elm_colorselector_palette_items_get(c)) == palette_cnt);
54 evas_object_del(c); 49 evas_object_del(c);
55 50
56 elm_shutdown();
57} 51}
58EFL_END_TEST 52EFL_END_TEST
59 53
@@ -62,8 +56,6 @@ EFL_START_TEST (elm_atspi_role_get)
62 Evas_Object *win, *c; 56 Evas_Object *win, *c;
63 Efl_Access_Role role; 57 Efl_Access_Role role;
64 58
65 char *args[] = { "exe" };
66 elm_init(1, args);
67 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC); 59 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
68 60
69 c = elm_colorselector_add(win); 61 c = elm_colorselector_add(win);
@@ -71,7 +63,6 @@ EFL_START_TEST (elm_atspi_role_get)
71 63
72 ck_assert(role == EFL_ACCESS_ROLE_COLOR_CHOOSER); 64 ck_assert(role == EFL_ACCESS_ROLE_COLOR_CHOOSER);
73 65
74 elm_shutdown();
75} 66}
76EFL_END_TEST 67EFL_END_TEST
77 68
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c
index 1276890..c69b533 100644
--- a/src/tests/elementary/elm_test_config.c
+++ b/src/tests/elementary/elm_test_config.c
@@ -11,9 +11,6 @@ typedef unsigned int uint;
11 11
12EFL_START_TEST (elm_config_eoapi) 12EFL_START_TEST (elm_config_eoapi)
13{ 13{
14 char *args[] = { "exe" };
15 elm_init(1, args);
16
17 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 14 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
18 fail_if(!cfg); 15 fail_if(!cfg);
19 16
@@ -143,15 +140,11 @@ EFL_START_TEST (elm_config_eoapi)
143 fail(channels[i].name); 140 fail(channels[i].name);
144 } 141 }
145 142
146 elm_shutdown();
147} 143}
148EFL_END_TEST 144EFL_END_TEST
149 145
150EFL_START_TEST (elm_config_win) 146EFL_START_TEST (elm_config_win)
151{ 147{
152 char *args[] = { "exe" };
153 elm_init(1, args);
154
155 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 148 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
156 fail_if(!cfg); 149 fail_if(!cfg);
157 150
@@ -163,7 +156,6 @@ EFL_START_TEST (elm_config_win)
163 fail_if(efl_config_int_get(win, "cache_flush_interval") != 42); 156 fail_if(efl_config_int_get(win, "cache_flush_interval") != 42);
164 157
165 efl_del(win); 158 efl_del(win);
166 elm_shutdown();
167} 159}
168EFL_END_TEST 160EFL_END_TEST
169 161
@@ -182,9 +174,6 @@ _eina_list_string_has(const Eina_List *list, const char *str)
182 174
183EFL_START_TEST (elm_config_profiles) 175EFL_START_TEST (elm_config_profiles)
184{ 176{
185 char *args[] = { "exe" };
186 elm_init(1, args);
187
188 // this only tests some of the profile APIs. we're not going to mess with 177 // this only tests some of the profile APIs. we're not going to mess with
189 // the global config during make check :) 178 // the global config during make check :)
190 179
@@ -228,7 +217,6 @@ EFL_START_TEST (elm_config_profiles)
228 elm_config_profile_dir_free(dir); 217 elm_config_profile_dir_free(dir);
229 eina_stringshare_del(str); 218 eina_stringshare_del(str);
230 219
231 elm_shutdown();
232} 220}
233EFL_END_TEST 221EFL_END_TEST
234 222
diff --git a/src/tests/elementary/elm_test_conformant.c b/src/tests/elementary/elm_test_conformant.c
index aa26d5b..befb997 100644
--- a/src/tests/elementary/elm_test_conformant.c
+++ b/src/tests/elementary/elm_test_conformant.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_conformant_legacy_type_check)
11 Evas_Object *win, *conformant; 11 Evas_Object *win, *conformant;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
17 15
18 conformant = elm_conformant_add(win); 16 conformant = elm_conformant_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_conformant_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_conformant")); 24 ck_assert(!strcmp(type, "elm_conformant"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *conformant; 31 Evas_Object *win, *conformant;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
40 35
41 conformant = elm_conformant_add(win); 36 conformant = elm_conformant_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILLER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILLER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_ctxpopup.c b/src/tests/elementary/elm_test_ctxpopup.c
index 66f5e06..053a5ad 100644
--- a/src/tests/elementary/elm_test_ctxpopup.c
+++ b/src/tests/elementary/elm_test_ctxpopup.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_ctxpopup_legacy_type_check)
11 Evas_Object *win, *ctxpopup; 11 Evas_Object *win, *ctxpopup;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC);
17 15
18 ctxpopup = elm_ctxpopup_add(win); 16 ctxpopup = elm_ctxpopup_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_ctxpopup_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_ctxpopup")); 24 ck_assert(!strcmp(type, "elm_ctxpopup"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *ctxpopup; 31 Evas_Object *win, *ctxpopup;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
40 35
41 ctxpopup = elm_ctxpopup_add(win); 36 ctxpopup = elm_ctxpopup_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_POPUP_MENU); 39 ck_assert(role == EFL_ACCESS_ROLE_POPUP_MENU);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_datetime.c b/src/tests/elementary/elm_test_datetime.c
index ac40b95..3c614c9 100644
--- a/src/tests/elementary/elm_test_datetime.c
+++ b/src/tests/elementary/elm_test_datetime.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_datetime_legacy_type_check)
11 Evas_Object *win, *datetime; 11 Evas_Object *win, *datetime;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
17 15
18 datetime = elm_datetime_add(win); 16 datetime = elm_datetime_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_datetime_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_datetime")); 24 ck_assert(!strcmp(type, "elm_datetime"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *datetime; 31 Evas_Object *win, *datetime;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
40 35
41 datetime = elm_datetime_add(win); 36 datetime = elm_datetime_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_DATE_EDITOR); 39 ck_assert(role == EFL_ACCESS_ROLE_DATE_EDITOR);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_dayselector.c b/src/tests/elementary/elm_test_dayselector.c
index 04c8d28..1c3b480 100644
--- a/src/tests/elementary/elm_test_dayselector.c
+++ b/src/tests/elementary/elm_test_dayselector.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_dayselector_legacy_type_check)
11 Evas_Object *win, *dayselector; 11 Evas_Object *win, *dayselector;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
17 15
18 dayselector = elm_dayselector_add(win); 16 dayselector = elm_dayselector_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_dayselector_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_dayselector")); 24 ck_assert(!strcmp(type, "elm_dayselector"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *dayselector; 31 Evas_Object *win, *dayselector;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
40 35
41 dayselector = elm_dayselector_add(win); 36 dayselector = elm_dayselector_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_PANEL); 39 ck_assert(role == EFL_ACCESS_ROLE_PANEL);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_diskselector.c b/src/tests/elementary/elm_test_diskselector.c
index 1007b7c..fcf95ef 100644
--- a/src/tests/elementary/elm_test_diskselector.c
+++ b/src/tests/elementary/elm_test_diskselector.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_diskselector_legacy_type_check)
11 Evas_Object *win, *diskselector; 11 Evas_Object *win, *diskselector;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
17 15
18 diskselector = elm_diskselector_add(win); 16 diskselector = elm_diskselector_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_diskselector_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_diskselector")); 24 ck_assert(!strcmp(type, "elm_diskselector"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *diskselector; 31 Evas_Object *win, *diskselector;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
40 35
41 diskselector = elm_diskselector_add(win); 36 diskselector = elm_diskselector_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_LIST); 39 ck_assert(role == EFL_ACCESS_ROLE_LIST);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_entry.c b/src/tests/elementary/elm_test_entry.c
index aef5ccb..9be9da6 100644
--- a/src/tests/elementary/elm_test_entry.c
+++ b/src/tests/elementary/elm_test_entry.c
@@ -13,8 +13,6 @@ EFL_START_TEST (elm_entry_legacy_type_check)
13 Evas_Object *win, *entry; 13 Evas_Object *win, *entry;
14 const char *type; 14 const char *type;
15 15
16 char *args[] = { "exe" };
17 elm_init(1, args);
18 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
19 17
20 entry = elm_entry_add(win); 18 entry = elm_entry_add(win);
@@ -27,7 +25,6 @@ EFL_START_TEST (elm_entry_legacy_type_check)
27 ck_assert(type != NULL); 25 ck_assert(type != NULL);
28 ck_assert(!strcmp(type, "elm_entry")); 26 ck_assert(!strcmp(type, "elm_entry"));
29 27
30 elm_shutdown();
31} 28}
32EFL_END_TEST 29EFL_END_TEST
33 30
@@ -35,14 +32,11 @@ EFL_START_TEST (elm_entry_del)
35{ 32{
36 Evas_Object *win, *entry; 33 Evas_Object *win, *entry;
37 34
38 char *args[] = { "exe" };
39 elm_init(1, args);
40 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 35 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
41 36
42 entry = elm_entry_add(win); 37 entry = elm_entry_add(win);
43 elm_object_text_set(entry, "TEST"); 38 elm_object_text_set(entry, "TEST");
44 39
45 elm_shutdown();
46} 40}
47EFL_END_TEST 41EFL_END_TEST
48 42
@@ -58,8 +52,6 @@ EFL_START_TEST (elm_entry_signal_callback)
58 void *data; 52 void *data;
59 int k; 53 int k;
60 54
61 char *args[] = { "exe" };
62 elm_init(1, args);
63 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 55 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
64 56
65 entry = elm_entry_add(win); 57 entry = elm_entry_add(win);
@@ -90,7 +82,6 @@ EFL_START_TEST (elm_entry_signal_callback)
90 data = elm_layout_signal_callback_del(entry, "sig", "src", _dummy_cb); 82 data = elm_layout_signal_callback_del(entry, "sig", "src", _dummy_cb);
91 fail_if(data); 83 fail_if(data);
92 84
93 elm_shutdown();
94} 85}
95EFL_END_TEST 86EFL_END_TEST
96 87
@@ -103,8 +94,6 @@ EFL_START_TEST (elm_entry_atspi_text_char_get)
103 const char *txt = "ĄA11Y Ł TEST"; 94 const char *txt = "ĄA11Y Ł TEST";
104 const char *mtxt = "<b>ĄA11Y</b> <title>Ł</> TEST"; 95 const char *mtxt = "<b>ĄA11Y</b> <title>Ł</> TEST";
105 96
106 char *args[] = { "exe" };
107 elm_init(1, args);
108 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 97 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
109 98
110 entry = elm_entry_add(win); 99 entry = elm_entry_add(win);
@@ -131,7 +120,6 @@ EFL_START_TEST (elm_entry_atspi_text_char_get)
131 ck_assert(val == 0); 120 ck_assert(val == 0);
132 121
133 free(expected); 122 free(expected);
134 elm_shutdown();
135} 123}
136EFL_END_TEST 124EFL_END_TEST
137 125
@@ -142,8 +130,6 @@ EFL_START_TEST (elm_entry_atspi_text_char_count)
142 130
143 const char *mtxt = "<b>AĄ11Y</b> <title>Ł</> TEST"; 131 const char *mtxt = "<b>AĄ11Y</b> <title>Ł</> TEST";
144 132
145 char *args[] = { "exe" };
146 elm_init(1, args);
147 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 133 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
148 134
149 entry = elm_entry_add(win); 135 entry = elm_entry_add(win);
@@ -152,7 +138,6 @@ EFL_START_TEST (elm_entry_atspi_text_char_count)
152 val = efl_access_text_character_count_get(entry); 138 val = efl_access_text_character_count_get(entry);
153 ck_assert(val == 12); 139 ck_assert(val == 12);
154 140
155 elm_shutdown();
156} 141}
157EFL_END_TEST 142EFL_END_TEST
158 143
@@ -164,8 +149,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_char)
164 149
165 const char *txt = "Lorem ipśum dolor sit amęt"; 150 const char *txt = "Lorem ipśum dolor sit amęt";
166 151
167 char *args[] = { "exe" };
168 elm_init(1, args);
169 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 152 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
170 153
171 entry = elm_entry_add(win); 154 entry = elm_entry_add(win);
@@ -198,7 +181,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_char)
198 ck_assert(end == -1); 181 ck_assert(end == -1);
199 ck_assert(val == NULL); 182 ck_assert(val == NULL);
200 183
201 elm_shutdown();
202} 184}
203EFL_END_TEST 185EFL_END_TEST
204 186
@@ -210,8 +192,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_word)
210 192
211 const char *txt = "Lorem ipśum dolor sit amęt"; 193 const char *txt = "Lorem ipśum dolor sit amęt";
212 194
213 char *args[] = { "exe" };
214 elm_init(1, args);
215 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 195 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
216 196
217 entry = elm_entry_add(win); 197 entry = elm_entry_add(win);
@@ -245,7 +225,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_word)
245 ck_assert(val == NULL); 225 ck_assert(val == NULL);
246 if (val) free(val); 226 if (val) free(val);
247 227
248 elm_shutdown();
249} 228}
250EFL_END_TEST 229EFL_END_TEST
251 230
@@ -257,8 +236,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_paragraph)
257 236
258 const char *txt = "Lorem ipśum<br> dolor sit<br> amęt"; 237 const char *txt = "Lorem ipśum<br> dolor sit<br> amęt";
259 238
260 char *args[] = { "exe" };
261 elm_init(1, args);
262 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 239 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
263 240
264 entry = elm_entry_add(win); 241 entry = elm_entry_add(win);
@@ -292,7 +269,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_paragraph)
292 ck_assert(val == NULL); 269 ck_assert(val == NULL);
293 if (val) free(val); 270 if (val) free(val);
294 271
295 elm_shutdown();
296} 272}
297EFL_END_TEST 273EFL_END_TEST
298 274
@@ -304,8 +280,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_line)
304 280
305 const char *txt = "Lorem ipśum<br> dolor sit amęt"; 281 const char *txt = "Lorem ipśum<br> dolor sit amęt";
306 282
307 char *args[] = { "exe" };
308 elm_init(1, args);
309 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 283 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
310 284
311 entry = elm_entry_add(win); 285 entry = elm_entry_add(win);
@@ -328,7 +302,6 @@ EFL_START_TEST (elm_entry_atspi_text_string_get_line)
328 ck_assert(end == 29); 302 ck_assert(end == 29);
329 if (val) free(val); 303 if (val) free(val);
330 304
331 elm_shutdown();
332} 305}
333EFL_END_TEST 306EFL_END_TEST
334 307
@@ -338,8 +311,6 @@ EFL_START_TEST (elm_entry_atspi_text_text_get)
338 char *val; 311 char *val;
339 const char *txt = "Lorem Xpśum dolor sit amęt"; 312 const char *txt = "Lorem Xpśum dolor sit amęt";
340 313
341 char *args[] = { "exe" };
342 elm_init(1, args);
343 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 314 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
344 315
345 entry = elm_entry_add(win); 316 entry = elm_entry_add(win);
@@ -360,7 +331,6 @@ EFL_START_TEST (elm_entry_atspi_text_text_get)
360 ck_assert_str_eq(val, "Xpśum dolor"); 331 ck_assert_str_eq(val, "Xpśum dolor");
361 332
362 if (val) free(val); 333 if (val) free(val);
363 elm_shutdown();
364} 334}
365EFL_END_TEST 335EFL_END_TEST
366 336
@@ -372,8 +342,6 @@ EFL_START_TEST (elm_entry_atspi_text_selections)
372 Eina_Bool ret; 342 Eina_Bool ret;
373 const char *txt = "Lorem ipśum<br> dolor sit\n amęt"; 343 const char *txt = "Lorem ipśum<br> dolor sit\n amęt";
374 344
375 char *args[] = { "exe" };
376 elm_init(1, args);
377 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 345 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
378 346
379 entry = elm_entry_add(win); 347 entry = elm_entry_add(win);
@@ -407,7 +375,6 @@ EFL_START_TEST (elm_entry_atspi_text_selections)
407 str = elm_entry_selection_get(entry); 375 str = elm_entry_selection_get(entry);
408 ck_assert(str == NULL); 376 ck_assert(str == NULL);
409 377
410 elm_shutdown();
411} 378}
412EFL_END_TEST 379EFL_END_TEST
413 380
@@ -416,8 +383,6 @@ EFL_START_TEST (elm_atspi_role_get)
416 Evas_Object *win, *entry; 383 Evas_Object *win, *entry;
417 Efl_Access_Role role; 384 Efl_Access_Role role;
418 385
419 char *args[] = { "exe" };
420 elm_init(1, args);
421 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 386 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
422 387
423 entry = elm_entry_add(win); 388 entry = elm_entry_add(win);
@@ -425,7 +390,6 @@ EFL_START_TEST (elm_atspi_role_get)
425 390
426 ck_assert(role == EFL_ACCESS_ROLE_ENTRY); 391 ck_assert(role == EFL_ACCESS_ROLE_ENTRY);
427 392
428 elm_shutdown();
429} 393}
430EFL_END_TEST 394EFL_END_TEST
431 395
diff --git a/src/tests/elementary/elm_test_fileselector.c b/src/tests/elementary/elm_test_fileselector.c
index 1c648b0..096cf36 100644
--- a/src/tests/elementary/elm_test_fileselector.c
+++ b/src/tests/elementary/elm_test_fileselector.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_fileselector_legacy_type_check)
11 Evas_Object *win, *fileselector; 11 Evas_Object *win, *fileselector;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
17 15
18 fileselector = elm_fileselector_add(win); 16 fileselector = elm_fileselector_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_fileselector_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_fileselector")); 24 ck_assert(!strcmp(type, "elm_fileselector"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *fileselector; 31 Evas_Object *win, *fileselector;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
40 35
41 fileselector = elm_fileselector_add(win); 36 fileselector = elm_fileselector_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILE_CHOOSER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILE_CHOOSER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
@@ -63,9 +57,6 @@ EFL_START_TEST (elm_fileselector_selected)
63 char *path; 57 char *path;
64 Eina_Bool open, selected; 58 Eina_Bool open, selected;
65 59
66 char *args[] = { "exe" };
67 elm_init(1, args);
68
69 if (!eina_file_mkdtemp("elm_test-XXXXXX", &tmp_path)) 60 if (!eina_file_mkdtemp("elm_test-XXXXXX", &tmp_path))
70 { 61 {
71 /* can not test */ 62 /* can not test */
@@ -105,7 +96,6 @@ EFL_START_TEST (elm_fileselector_selected)
105 eina_stringshare_del(no_exist); 96 eina_stringshare_del(no_exist);
106 free(path); 97 free(path);
107 98
108 elm_shutdown();
109} 99}
110EFL_END_TEST 100EFL_END_TEST
111 101
diff --git a/src/tests/elementary/elm_test_fileselector_button.c b/src/tests/elementary/elm_test_fileselector_button.c
index 0d27f4c..9079860 100644
--- a/src/tests/elementary/elm_test_fileselector_button.c
+++ b/src/tests/elementary/elm_test_fileselector_button.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_fileselector_button_legacy_type_check)
11 Evas_Object *win, *fs_button; 11 Evas_Object *win, *fs_button;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
17 15
18 fs_button = elm_fileselector_button_add(win); 16 fs_button = elm_fileselector_button_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_fileselector_button_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_fileselector_button")); 24 ck_assert(!strcmp(type, "elm_fileselector_button"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *fs_button; 31 Evas_Object *win, *fs_button;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
40 35
41 fs_button = elm_fileselector_button_add(win); 36 fs_button = elm_fileselector_button_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON); 39 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_fileselector_entry.c b/src/tests/elementary/elm_test_fileselector_entry.c
index c1973be..42af797 100644
--- a/src/tests/elementary/elm_test_fileselector_entry.c
+++ b/src/tests/elementary/elm_test_fileselector_entry.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_fileselector_entry_legacy_type_check)
11 Evas_Object *win, *fileselector_entry; 11 Evas_Object *win, *fileselector_entry;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "fileselector_entry", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "fileselector_entry", ELM_WIN_BASIC);
17 15
18 fileselector_entry = elm_fileselector_entry_add(win); 16 fileselector_entry = elm_fileselector_entry_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_fileselector_entry_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_fileselector_entry")); 24 ck_assert(!strcmp(type, "elm_fileselector_entry"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *fs_entry; 31 Evas_Object *win, *fs_entry;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC);
40 35
41 fs_entry = elm_fileselector_entry_add(win); 36 fs_entry = elm_fileselector_entry_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_GROUPING); 39 ck_assert(role == EFL_ACCESS_ROLE_GROUPING);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_flip.c b/src/tests/elementary/elm_test_flip.c
index 698d046..4d87dfa 100644
--- a/src/tests/elementary/elm_test_flip.c
+++ b/src/tests/elementary/elm_test_flip.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_flip_legacy_type_check)
11 Evas_Object *win, *flip; 11 Evas_Object *win, *flip;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
17 15
18 flip = elm_flip_add(win); 16 flip = elm_flip_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_flip_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_flip")); 24 ck_assert(!strcmp(type, "elm_flip"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *flip; 31 Evas_Object *win, *flip;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
40 35
41 flip = elm_flip_add(win); 36 flip = elm_flip_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_PAGE_TAB_LIST); 39 ck_assert(role == EFL_ACCESS_ROLE_PAGE_TAB_LIST);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_flipselector.c b/src/tests/elementary/elm_test_flipselector.c
index 8c637f9..40523b7 100644
--- a/src/tests/elementary/elm_test_flipselector.c
+++ b/src/tests/elementary/elm_test_flipselector.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_flipselector_legacy_type_check)
11 Evas_Object *win, *flipselector; 11 Evas_Object *win, *flipselector;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
17 15
18 flipselector = elm_flipselector_add(win); 16 flipselector = elm_flipselector_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_flipselector_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_flipselector")); 24 ck_assert(!strcmp(type, "elm_flipselector"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *flipselector; 31 Evas_Object *win, *flipselector;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
40 35
41 flipselector = elm_flipselector_add(win); 36 flipselector = elm_flipselector_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_LIST); 39 ck_assert(role == EFL_ACCESS_ROLE_LIST);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_focus.c b/src/tests/elementary/elm_test_focus.c
index bf10de4..c8459ec 100644
--- a/src/tests/elementary/elm_test_focus.c
+++ b/src/tests/elementary/elm_test_focus.c
@@ -2,8 +2,6 @@
2 2
3EFL_START_TEST(focus_unregister_twice) 3EFL_START_TEST(focus_unregister_twice)
4{ 4{
5 char *args[] = { "exe" };
6 elm_init(1, args);
7 Efl_Ui_Focus_Object *r1 = efl_add(FOCUS_TEST_CLASS, efl_main_loop_get()); 5 Efl_Ui_Focus_Object *r1 = efl_add(FOCUS_TEST_CLASS, efl_main_loop_get());
8 Efl_Ui_Focus_Object *r2 = efl_add(FOCUS_TEST_CLASS, efl_main_loop_get()); 6 Efl_Ui_Focus_Object *r2 = efl_add(FOCUS_TEST_CLASS, efl_main_loop_get());
9 7
@@ -21,15 +19,11 @@ EFL_START_TEST(focus_unregister_twice)
21 efl_del(r1); 19 efl_del(r1);
22 efl_del(m); 20 efl_del(m);
23 21
24 elm_shutdown();
25} 22}
26EFL_END_TEST 23EFL_END_TEST
27 24
28EFL_START_TEST(focus_register_twice) 25EFL_START_TEST(focus_register_twice)
29{ 26{
30 char *args[] = { "exe" };
31 elm_init(1, args);
32
33 Efl_Ui_Focus_Object *r1 = elm_focus_test_object_new("r1", 0, 0, 10, 10); 27 Efl_Ui_Focus_Object *r1 = elm_focus_test_object_new("r1", 0, 0, 10, 10);
34 Efl_Ui_Focus_Object *r2 = elm_focus_test_object_new("r2", 0, 10, 10, 10); 28 Efl_Ui_Focus_Object *r2 = elm_focus_test_object_new("r2", 0, 10, 10, 10);
35 29
@@ -43,7 +37,6 @@ EFL_START_TEST(focus_register_twice)
43 efl_del(r1); 37 efl_del(r1);
44 efl_del(m); 38 efl_del(m);
45 39
46 elm_shutdown();
47} 40}
48EFL_END_TEST 41EFL_END_TEST
49 42
@@ -52,9 +45,6 @@ EFL_START_TEST(pos_check)
52 Efl_Ui_Focus_Manager *m; 45 Efl_Ui_Focus_Manager *m;
53 Efl_Ui_Focus_Object *middle, *east, *west, *north, *south, *root; 46 Efl_Ui_Focus_Object *middle, *east, *west, *north, *south, *root;
54 47
55 char *args[] = { "exe" };
56 elm_init(1, args);
57
58 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west); 48 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west);
59 49
60 m = elm_focus_test_manager_new(&root); 50 m = elm_focus_test_manager_new(&root);
@@ -88,7 +78,6 @@ EFL_START_TEST(pos_check)
88 efl_del(west); 78 efl_del(west);
89 efl_del(m); 79 efl_del(m);
90 80
91 elm_shutdown();
92} 81}
93EFL_END_TEST 82EFL_END_TEST
94 83
@@ -124,9 +113,6 @@ EFL_START_TEST(pos_check2)
124 Efl_Ui_Focus_Relations *rel; 113 Efl_Ui_Focus_Relations *rel;
125 Efl_Ui_Focus_Object *root, *middle, *north_east, *north_west, *south_east, *south_west; 114 Efl_Ui_Focus_Object *root, *middle, *north_east, *north_west, *south_east, *south_west;
126 115
127 char *args[] = { "exe" };
128 elm_init(1, args);
129
130 middle = elm_focus_test_object_new("middle", 40, 40, 5, 5); 116 middle = elm_focus_test_object_new("middle", 40, 40, 5, 5);
131 117
132 north_east = elm_focus_test_object_new("north_east", 60, 20, 5, 5); 118 north_east = elm_focus_test_object_new("north_east", 60, 20, 5, 5);
@@ -162,14 +148,10 @@ EFL_START_TEST(pos_check2)
162 efl_del(south_east); 148 efl_del(south_east);
163 efl_del(south_west); 149 efl_del(south_west);
164 150
165 elm_shutdown();
166} 151}
167EFL_END_TEST 152EFL_END_TEST
168EFL_START_TEST(redirect) 153EFL_START_TEST(redirect)
169{ 154{
170 char *args[] = { "exe" };
171 elm_init(1, args);
172
173 TEST_OBJ_NEW(root, 0, 0, 20, 20); 155 TEST_OBJ_NEW(root, 0, 0, 20, 20);
174 TEST_OBJ_NEW(root2, 0, 0, 20, 20); 156 TEST_OBJ_NEW(root2, 0, 0, 20, 20);
175 TEST_OBJ_NEW(one, 0, 0, 20, 20); 157 TEST_OBJ_NEW(one, 0, 0, 20, 20);
@@ -193,8 +175,6 @@ EFL_START_TEST(redirect)
193 175
194 efl_del(m); 176 efl_del(m);
195 efl_del(m2); 177 efl_del(m2);
196
197 elm_shutdown();
198} 178}
199EFL_END_TEST 179EFL_END_TEST
200 180
@@ -206,9 +186,6 @@ EFL_START_TEST(border_check)
206 Eina_Iterator *iter; 186 Eina_Iterator *iter;
207 Efl_Ui_Focus_Object *obj; 187 Efl_Ui_Focus_Object *obj;
208 188
209 char *args[] = { "exe" };
210 elm_init(1, args);
211
212 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west); 189 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west);
213 190
214 m = elm_focus_test_manager_new(&root); 191 m = elm_focus_test_manager_new(&root);
@@ -234,7 +211,6 @@ EFL_START_TEST(border_check)
234 ck_assert(eina_list_data_find(list, middle) == NULL); 211 ck_assert(eina_list_data_find(list, middle) == NULL);
235 ck_assert(eina_list_count(list) == 4); 212 ck_assert(eina_list_count(list) == 4);
236 213
237 elm_shutdown();
238} 214}
239EFL_END_TEST 215EFL_END_TEST
240 216
@@ -244,9 +220,6 @@ EFL_START_TEST(logical_chain)
244 Efl_Ui_Focus_Object *lroot; 220 Efl_Ui_Focus_Object *lroot;
245 int i = 0; 221 int i = 0;
246 222
247 char *args[] = { "exe" };
248 elm_init(1, args);
249
250 TEST_OBJ_NEW(root, 0, 0, 20, 20); 223 TEST_OBJ_NEW(root, 0, 0, 20, 20);
251 224
252 m = elm_focus_test_manager_new(&lroot); 225 m = elm_focus_test_manager_new(&lroot);
@@ -301,7 +274,6 @@ EFL_START_TEST(logical_chain)
301 { 274 {
302 ck_assert_ptr_eq(logical_chain[i], efl_ui_focus_manager_move(m, EFL_UI_FOCUS_DIRECTION_PREVIOUS)); 275 ck_assert_ptr_eq(logical_chain[i], efl_ui_focus_manager_move(m, EFL_UI_FOCUS_DIRECTION_PREVIOUS));
303 } 276 }
304 elm_shutdown();
305} 277}
306EFL_END_TEST 278EFL_END_TEST
307 279
@@ -309,14 +281,10 @@ EFL_START_TEST(finalize_check)
309{ 281{
310 Efl_Ui_Focus_Manager *m; 282 Efl_Ui_Focus_Manager *m;
311 283
312 char *args[] = { "exe" };
313 elm_init(1, args);
314
315 m = efl_add(EFL_UI_FOCUS_MANAGER_CALC_CLASS, efl_main_loop_get()); 284 m = efl_add(EFL_UI_FOCUS_MANAGER_CALC_CLASS, efl_main_loop_get());
316 fail_if(m); 285 fail_if(m);
317 286
318 efl_del(m); 287 efl_del(m);
319 elm_shutdown();
320} 288}
321EFL_END_TEST 289EFL_END_TEST
322 290
@@ -324,9 +292,6 @@ EFL_START_TEST(redirect_param)
324{ 292{
325 Efl_Ui_Focus_Manager *m, *m2; 293 Efl_Ui_Focus_Manager *m, *m2;
326 294
327 char *args[] = { "exe" };
328 elm_init(1, args);
329
330 TEST_OBJ_NEW(root, 0, 20, 20, 20); 295 TEST_OBJ_NEW(root, 0, 20, 20, 20);
331 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 296 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
332 TEST_OBJ_NEW(child, 0, 20, 20, 20); 297 TEST_OBJ_NEW(child, 0, 20, 20, 20);
@@ -346,7 +311,6 @@ EFL_START_TEST(redirect_param)
346 311
347 efl_del(m); 312 efl_del(m);
348 efl_del(m2); 313 efl_del(m2);
349 elm_shutdown();
350} 314}
351EFL_END_TEST 315EFL_END_TEST
352 316
@@ -354,9 +318,6 @@ EFL_START_TEST(invalid_args_check)
354{ 318{
355 Efl_Ui_Focus_Manager *m; 319 Efl_Ui_Focus_Manager *m;
356 320
357 char *args[] = { "exe" };
358 elm_init(1, args);
359
360 TEST_OBJ_NEW(root, 0, 20, 20, 20); 321 TEST_OBJ_NEW(root, 0, 20, 20, 20);
361 TEST_OBJ_NEW(child, 0, 20, 20, 20); 322 TEST_OBJ_NEW(child, 0, 20, 20, 20);
362 TEST_OBJ_NEW(child2, 0, 20, 20, 20); 323 TEST_OBJ_NEW(child2, 0, 20, 20, 20);
@@ -380,7 +341,6 @@ EFL_START_TEST(invalid_args_check)
380 ck_assert_int_eq(efl_ui_focus_manager_calc_update_parent(m, child, child2), 1); 341 ck_assert_int_eq(efl_ui_focus_manager_calc_update_parent(m, child, child2), 1);
381 342
382 efl_del(m); 343 efl_del(m);
383 elm_shutdown();
384} 344}
385EFL_END_TEST 345EFL_END_TEST
386 346
@@ -389,9 +349,6 @@ EFL_START_TEST(order_check)
389 Efl_Ui_Focus_Manager *m; 349 Efl_Ui_Focus_Manager *m;
390 Eina_List *order = NULL; 350 Eina_List *order = NULL;
391 351
392 char *args[] = { "exe" };
393 elm_init(1, args);
394
395 TEST_OBJ_NEW(root, 0, 20, 20, 20); 352 TEST_OBJ_NEW(root, 0, 20, 20, 20);
396 TEST_OBJ_NEW(child1, 0, 20, 20, 20); 353 TEST_OBJ_NEW(child1, 0, 20, 20, 20);
397 TEST_OBJ_NEW(child2, 0, 20, 20, 20); 354 TEST_OBJ_NEW(child2, 0, 20, 20, 20);
@@ -420,7 +377,6 @@ EFL_START_TEST(order_check)
420 ck_assert_int_eq(efl_ui_focus_manager_calc_update_children(m, root, order), 0); 377 ck_assert_int_eq(efl_ui_focus_manager_calc_update_children(m, root, order), 0);
421 378
422 efl_del(m); 379 efl_del(m);
423 elm_shutdown();
424} 380}
425EFL_END_TEST 381EFL_END_TEST
426 382
@@ -428,9 +384,6 @@ EFL_START_TEST(logical_shift)
428{ 384{
429 Efl_Ui_Focus_Manager *m; 385 Efl_Ui_Focus_Manager *m;
430 386
431 char *args[] = { "exe" };
432 elm_init(1, args);
433
434 TEST_OBJ_NEW(root, 0, 0, 10, 10); 387 TEST_OBJ_NEW(root, 0, 0, 10, 10);
435 TEST_OBJ_NEW(child, 0, 0, 10, 10); 388 TEST_OBJ_NEW(child, 0, 0, 10, 10);
436 TEST_OBJ_NEW(sub, 0, 0, 10, 10); 389 TEST_OBJ_NEW(sub, 0, 0, 10, 10);
@@ -456,7 +409,6 @@ EFL_START_TEST(logical_shift)
456 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), sub_child); 409 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), sub_child);
457 410
458 efl_del(m); 411 efl_del(m);
459 elm_shutdown();
460} 412}
461EFL_END_TEST 413EFL_END_TEST
462 414
@@ -464,9 +416,6 @@ EFL_START_TEST(root_redirect_chain)
464{ 416{
465 Efl_Ui_Focus_Manager *m, *m2; 417 Efl_Ui_Focus_Manager *m, *m2;
466 418
467 char *args[] = { "exe" };
468 elm_init(1, args);
469
470 TEST_OBJ_NEW(root, 0, 20, 20, 20); 419 TEST_OBJ_NEW(root, 0, 20, 20, 20);
471 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 420 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
472 TEST_OBJ_NEW(child, 0, 20, 20, 20); 421 TEST_OBJ_NEW(child, 0, 20, 20, 20);
@@ -489,7 +438,6 @@ EFL_START_TEST(root_redirect_chain)
489 438
490 efl_del(m); 439 efl_del(m);
491 efl_del(m2); 440 efl_del(m2);
492 elm_shutdown();
493} 441}
494EFL_END_TEST 442EFL_END_TEST
495 443
@@ -497,9 +445,6 @@ EFL_START_TEST(root_redirect_chain_unset)
497{ 445{
498 Efl_Ui_Focus_Manager *m, *m2, *m3, *m4; 446 Efl_Ui_Focus_Manager *m, *m2, *m3, *m4;
499 447
500 char *args[] = { "exe" };
501 elm_init(1, args);
502
503 TEST_OBJ_NEW(root, 0, 20, 20, 20); 448 TEST_OBJ_NEW(root, 0, 20, 20, 20);
504 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 449 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
505 TEST_OBJ_NEW(child, 0, 20, 20, 20); 450 TEST_OBJ_NEW(child, 0, 20, 20, 20);
@@ -539,7 +484,6 @@ EFL_START_TEST(root_redirect_chain_unset)
539 efl_del(m2); 484 efl_del(m2);
540 efl_del(m3); 485 efl_del(m3);
541 efl_del(m4); 486 efl_del(m4);
542 elm_shutdown();
543} 487}
544EFL_END_TEST 488EFL_END_TEST
545 489
@@ -620,9 +564,6 @@ EFL_START_TEST(first_touch_check)
620 Efl_Ui_Focus_Object *most_left, *most_right; 564 Efl_Ui_Focus_Object *most_left, *most_right;
621 Eina_List *managers = NULL; 565 Eina_List *managers = NULL;
622 566
623 char *args[] = { "exe" };
624 elm_init(1, args);
625
626 m = _recursive_triangle_manager(0, &most_right, &most_left, &managers); 567 m = _recursive_triangle_manager(0, &most_right, &most_left, &managers);
627 568
628 efl_ui_focus_manager_setup_on_first_touch(m, EFL_UI_FOCUS_DIRECTION_NEXT, efl_ui_focus_manager_root_get(m)); 569 efl_ui_focus_manager_setup_on_first_touch(m, EFL_UI_FOCUS_DIRECTION_NEXT, efl_ui_focus_manager_root_get(m));
@@ -639,7 +580,6 @@ EFL_START_TEST(first_touch_check)
639 EINA_LIST_FREE(managers, m) 580 EINA_LIST_FREE(managers, m)
640 efl_del(m); 581 efl_del(m);
641 582
642 elm_shutdown();
643} 583}
644EFL_END_TEST 584EFL_END_TEST
645 585
@@ -648,15 +588,11 @@ EFL_START_TEST(test_request_subchild_empty)
648 Efl_Ui_Focus_Manager *m; 588 Efl_Ui_Focus_Manager *m;
649 Efl_Ui_Focus_Object *root; 589 Efl_Ui_Focus_Object *root;
650 590
651 char *args[] = { "exe" };
652 elm_init(1, args);
653
654 m = elm_focus_test_manager_new(&root); 591 m = elm_focus_test_manager_new(&root);
655 592
656 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, root), NULL); 593 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, root), NULL);
657 594
658 efl_del(m); 595 efl_del(m);
659 elm_shutdown();
660} 596}
661EFL_END_TEST 597EFL_END_TEST
662 598
@@ -665,9 +601,6 @@ EFL_START_TEST(test_request_subchild_one_element)
665 Efl_Ui_Focus_Manager *m; 601 Efl_Ui_Focus_Manager *m;
666 Efl_Ui_Focus_Object *root, *c1; 602 Efl_Ui_Focus_Object *root, *c1;
667 603
668 char *args[] = { "exe" };
669 elm_init(1, args);
670
671 m = elm_focus_test_manager_new(&root); 604 m = elm_focus_test_manager_new(&root);
672 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 605 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
673 efl_ui_focus_manager_calc_register(m, c1, root, NULL); 606 efl_ui_focus_manager_calc_register(m, c1, root, NULL);
@@ -676,7 +609,6 @@ EFL_START_TEST(test_request_subchild_one_element)
676 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c1), NULL); 609 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c1), NULL);
677 610
678 efl_del(m); 611 efl_del(m);
679 elm_shutdown();
680} 612}
681EFL_END_TEST 613EFL_END_TEST
682 614
@@ -685,9 +617,6 @@ EFL_START_TEST(test_request_subchild_child_alongside)
685 Efl_Ui_Focus_Manager *m; 617 Efl_Ui_Focus_Manager *m;
686 Efl_Ui_Focus_Object *root, *c1, *c2; 618 Efl_Ui_Focus_Object *root, *c1, *c2;
687 619
688 char *args[] = { "exe" };
689 elm_init(1, args);
690
691 m = elm_focus_test_manager_new(&root); 620 m = elm_focus_test_manager_new(&root);
692 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 621 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
693 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 622 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -699,7 +628,6 @@ EFL_START_TEST(test_request_subchild_child_alongside)
699 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL); 628 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL);
700 629
701 efl_del(m); 630 efl_del(m);
702 elm_shutdown();
703} 631}
704EFL_END_TEST 632EFL_END_TEST
705 633
@@ -708,9 +636,6 @@ EFL_START_TEST(test_request_subchild_child_logical_regular)
708 Efl_Ui_Focus_Manager *m; 636 Efl_Ui_Focus_Manager *m;
709 Efl_Ui_Focus_Object *root, *c1, *c2; 637 Efl_Ui_Focus_Object *root, *c1, *c2;
710 638
711 char *args[] = { "exe" };
712 elm_init(1, args);
713
714 m = elm_focus_test_manager_new(&root); 639 m = elm_focus_test_manager_new(&root);
715 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 640 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
716 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 641 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -722,7 +647,6 @@ EFL_START_TEST(test_request_subchild_child_logical_regular)
722 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL); 647 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL);
723 648
724 efl_del(m); 649 efl_del(m);
725 elm_shutdown();
726} 650}
727EFL_END_TEST 651EFL_END_TEST
728 652
@@ -731,9 +655,6 @@ EFL_START_TEST(test_request_subchild_child_regular_regular)
731 Efl_Ui_Focus_Manager *m; 655 Efl_Ui_Focus_Manager *m;
732 Efl_Ui_Focus_Object *root, *c1, *c2; 656 Efl_Ui_Focus_Object *root, *c1, *c2;
733 657
734 char *args[] = { "exe" };
735 elm_init(1, args);
736
737 m = elm_focus_test_manager_new(&root); 658 m = elm_focus_test_manager_new(&root);
738 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 659 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
739 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 660 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -745,7 +666,6 @@ EFL_START_TEST(test_request_subchild_child_regular_regular)
745 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL); 666 ck_assert_ptr_eq(efl_ui_focus_manager_request_subchild(m, c2), NULL);
746 667
747 efl_del(m); 668 efl_del(m);
748 elm_shutdown();
749} 669}
750EFL_END_TEST 670EFL_END_TEST
751 671
@@ -754,9 +674,6 @@ EFL_START_TEST(test_unregister_last_focused_no_history)
754 Efl_Ui_Focus_Manager *m; 674 Efl_Ui_Focus_Manager *m;
755 Efl_Ui_Focus_Object *root, *c1, *c2, *c3; 675 Efl_Ui_Focus_Object *root, *c1, *c2, *c3;
756 676
757 char *args[] = { "exe" };
758 elm_init(1, args);
759
760 m = elm_focus_test_manager_new(&root); 677 m = elm_focus_test_manager_new(&root);
761 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 678 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
762 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 679 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -772,7 +689,6 @@ EFL_START_TEST(test_unregister_last_focused_no_history)
772 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), c1); 689 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), c1);
773 690
774 efl_del(m); 691 efl_del(m);
775 elm_shutdown();
776} 692}
777EFL_END_TEST 693EFL_END_TEST
778 694
@@ -781,9 +697,6 @@ EFL_START_TEST(test_unregister_last_focused)
781 Efl_Ui_Focus_Manager *m; 697 Efl_Ui_Focus_Manager *m;
782 Efl_Ui_Focus_Object *root, *c1, *c2, *c3; 698 Efl_Ui_Focus_Object *root, *c1, *c2, *c3;
783 699
784 char *args[] = { "exe" };
785 elm_init(1, args);
786
787 m = elm_focus_test_manager_new(&root); 700 m = elm_focus_test_manager_new(&root);
788 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 701 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
789 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 702 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -801,7 +714,6 @@ EFL_START_TEST(test_unregister_last_focused)
801 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), c2); 714 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), c2);
802 715
803 efl_del(m); 716 efl_del(m);
804 elm_shutdown();
805} 717}
806EFL_END_TEST 718EFL_END_TEST
807 719
@@ -810,9 +722,6 @@ EFL_START_TEST(test_unregister_last_focused_no_child)
810 Efl_Ui_Focus_Manager *m; 722 Efl_Ui_Focus_Manager *m;
811 Efl_Ui_Focus_Object *root, *c1; 723 Efl_Ui_Focus_Object *root, *c1;
812 724
813 char *args[] = { "exe" };
814 elm_init(1, args);
815
816 m = elm_focus_test_manager_new(&root); 725 m = elm_focus_test_manager_new(&root);
817 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 726 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
818 efl_ui_focus_manager_calc_register(m, c1, root, NULL); 727 efl_ui_focus_manager_calc_register(m, c1, root, NULL);
@@ -823,7 +732,6 @@ EFL_START_TEST(test_unregister_last_focused_no_child)
823 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), NULL); 732 ck_assert_ptr_eq(efl_ui_focus_manager_focus_get(m), NULL);
824 733
825 efl_del(m); 734 efl_del(m);
826 elm_shutdown();
827} 735}
828EFL_END_TEST 736EFL_END_TEST
829 737
@@ -832,9 +740,6 @@ EFL_START_TEST(test_pop_history_element)
832 Efl_Ui_Focus_Manager *m; 740 Efl_Ui_Focus_Manager *m;
833 Efl_Ui_Focus_Object *root, *c1, *c2, *c3; 741 Efl_Ui_Focus_Object *root, *c1, *c2, *c3;
834 742
835 char *args[] = { "exe" };
836 elm_init(1, args);
837
838 m = elm_focus_test_manager_new(&root); 743 m = elm_focus_test_manager_new(&root);
839 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20); 744 c1 = elm_focus_test_object_new("child1", 0, 0, 20, 20);
840 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20); 745 c2 = elm_focus_test_object_new("child2", 0, 0, 20, 20);
@@ -861,7 +766,6 @@ EFL_START_TEST(test_pop_history_element)
861 ck_assert_int_eq(efl_ui_focus_object_focus_get(c1), EINA_TRUE); 766 ck_assert_int_eq(efl_ui_focus_object_focus_get(c1), EINA_TRUE);
862 767
863 efl_del(m); 768 efl_del(m);
864 elm_shutdown();
865} 769}
866EFL_END_TEST 770EFL_END_TEST
867 771
diff --git a/src/tests/elementary/elm_test_focus_sub.c b/src/tests/elementary/elm_test_focus_sub.c
index 94359ab..56a0e79 100644
--- a/src/tests/elementary/elm_test_focus_sub.c
+++ b/src/tests/elementary/elm_test_focus_sub.c
@@ -110,9 +110,6 @@ EFL_START_TEST(correct_register)
110 Eina_List *set1 = NULL; 110 Eina_List *set1 = NULL;
111 Efl_Ui_Focus_Object *root; 111 Efl_Ui_Focus_Object *root;
112 Efl_Ui_Focus_Manager *manager, *sub; 112 Efl_Ui_Focus_Manager *manager, *sub;
113 char *args[] = { "exe" };
114 elm_init(1, args);
115
116 _setup(&manager, &sub, &root); 113 _setup(&manager, &sub, &root);
117 114
118 TEST_OBJ_NEW(child1, 0, 0, 10, 10); 115 TEST_OBJ_NEW(child1, 0, 0, 10, 10);
@@ -142,7 +139,6 @@ EFL_START_TEST(correct_register)
142 efl_del(child3); 139 efl_del(child3);
143 efl_del(sub); 140 efl_del(sub);
144 efl_del(manager); 141 efl_del(manager);
145 elm_shutdown();
146} 142}
147EFL_END_TEST 143EFL_END_TEST
148 144
@@ -151,9 +147,6 @@ EFL_START_TEST(correct_unregister)
151 Eina_List *set = NULL; 147 Eina_List *set = NULL;
152 Efl_Ui_Focus_Object *root; 148 Efl_Ui_Focus_Object *root;
153 Efl_Ui_Focus_Manager *manager, *sub; 149 Efl_Ui_Focus_Manager *manager, *sub;
154 char *args[] = { "exe" };
155 elm_init(1, args);
156
157 _setup(&manager, &sub, &root); 150 _setup(&manager, &sub, &root);
158 151
159 TEST_OBJ_NEW(child1, 0, 0, 10, 10); 152 TEST_OBJ_NEW(child1, 0, 0, 10, 10);
@@ -186,7 +179,6 @@ EFL_START_TEST(correct_unregister)
186 efl_del(child1); 179 efl_del(child1);
187 efl_del(child2); 180 efl_del(child2);
188 efl_del(child3); 181 efl_del(child3);
189 elm_shutdown();
190} 182}
191EFL_END_TEST 183EFL_END_TEST
192 184
@@ -195,9 +187,6 @@ EFL_START_TEST(correct_un_register)
195 Eina_List *set_add = NULL, *set_del = NULL; 187 Eina_List *set_add = NULL, *set_del = NULL;
196 Efl_Ui_Focus_Object *root; 188 Efl_Ui_Focus_Object *root;
197 Efl_Ui_Focus_Manager *manager, *sub; 189 Efl_Ui_Focus_Manager *manager, *sub;
198 char *args[] = { "exe" };
199 elm_init(1, args);
200
201 _setup(&manager, &sub, &root); 190 _setup(&manager, &sub, &root);
202 191
203 TEST_OBJ_NEW(child1, 0, 0, 10, 10); 192 TEST_OBJ_NEW(child1, 0, 0, 10, 10);
@@ -228,7 +217,6 @@ EFL_START_TEST(correct_un_register)
228 efl_del(child1); 217 efl_del(child1);
229 efl_del(child2); 218 efl_del(child2);
230 efl_del(child3); 219 efl_del(child3);
231 elm_shutdown();
232} 220}
233EFL_END_TEST 221EFL_END_TEST
234 222
diff --git a/src/tests/elementary/elm_test_frame.c b/src/tests/elementary/elm_test_frame.c
index ad6f2ba..d6ca3fe 100644
--- a/src/tests/elementary/elm_test_frame.c
+++ b/src/tests/elementary/elm_test_frame.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_frame_legacy_type_check)
11 Evas_Object *win, *frame; 11 Evas_Object *win, *frame;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
17 15
18 frame = elm_frame_add(win); 16 frame = elm_frame_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_frame_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_frame")); 24 ck_assert(!strcmp(type, "elm_frame"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *frame; 31 Evas_Object *win, *frame;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
40 35
41 frame = elm_frame_add(win); 36 frame = elm_frame_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FRAME); 39 ck_assert(role == EFL_ACCESS_ROLE_FRAME);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_gengrid.c b/src/tests/elementary/elm_test_gengrid.c
index 15c142a..85fe9af 100644
--- a/src/tests/elementary/elm_test_gengrid.c
+++ b/src/tests/elementary/elm_test_gengrid.c
@@ -12,8 +12,6 @@ EFL_START_TEST (elm_gengrid_legacy_type_check)
12 Evas_Object *win, *gengrid; 12 Evas_Object *win, *gengrid;
13 const char *type; 13 const char *type;
14 14
15 char *args[] = { "exe" };
16 elm_init(1, args);
17 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); 15 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
18 16
19 gengrid = elm_gengrid_add(win); 17 gengrid = elm_gengrid_add(win);
@@ -26,7 +24,6 @@ EFL_START_TEST (elm_gengrid_legacy_type_check)
26 ck_assert(type != NULL); 24 ck_assert(type != NULL);
27 ck_assert(!strcmp(type, "elm_gengrid")); 25 ck_assert(!strcmp(type, "elm_gengrid"));
28 26
29 elm_shutdown();
30} 27}
31EFL_END_TEST 28EFL_END_TEST
32 29
@@ -35,8 +32,6 @@ EFL_START_TEST (elm_atspi_role_get)
35 Evas_Object *win, *gengrid; 32 Evas_Object *win, *gengrid;
36 Efl_Access_Role role; 33 Efl_Access_Role role;
37 34
38 char *args[] = { "exe" };
39 elm_init(1, args);
40 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); 35 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
41 36
42 gengrid = elm_gengrid_add(win); 37 gengrid = elm_gengrid_add(win);
@@ -44,7 +39,6 @@ EFL_START_TEST (elm_atspi_role_get)
44 39
45 ck_assert(role == EFL_ACCESS_ROLE_TREE_TABLE); 40 ck_assert(role == EFL_ACCESS_ROLE_TREE_TABLE);
46 41
47 elm_shutdown();
48} 42}
49EFL_END_TEST 43EFL_END_TEST
50 44
@@ -67,8 +61,6 @@ gl_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part EINA_U
67 */ 61 */
68EFL_START_TEST(elm_atspi_children_parent) 62EFL_START_TEST(elm_atspi_children_parent)
69{ 63{
70 char *args[] = { "exe" };
71 elm_init(1, args);
72 elm_config_atspi_mode_set(EINA_TRUE); 64 elm_config_atspi_mode_set(EINA_TRUE);
73 static Elm_Gengrid_Item_Class itc; 65 static Elm_Gengrid_Item_Class itc;
74 66
@@ -93,7 +85,6 @@ EFL_START_TEST(elm_atspi_children_parent)
93 parent = efl_provider_find(efl_parent_get(content), EFL_ACCESS_MIXIN); 85 parent = efl_provider_find(efl_parent_get(content), EFL_ACCESS_MIXIN);
94 ck_assert(it == parent); 86 ck_assert(it == parent);
95 87
96 elm_shutdown();
97} 88}
98EFL_END_TEST 89EFL_END_TEST
99#endif 90#endif
diff --git a/src/tests/elementary/elm_test_genlist.c b/src/tests/elementary/elm_test_genlist.c
index 5bc703f..455ac76 100644
--- a/src/tests/elementary/elm_test_genlist.c
+++ b/src/tests/elementary/elm_test_genlist.c
@@ -59,8 +59,6 @@ EFL_START_TEST (elm_genlist_group)
59 Elm_Object_Item *git; 59 Elm_Object_Item *git;
60 int i; 60 int i;
61 61
62 char *args[] = { "exe" };
63 elm_init(1, args);
64 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); 62 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
65 63
66 genlist = elm_genlist_add(win); 64 genlist = elm_genlist_add(win);
@@ -71,7 +69,6 @@ EFL_START_TEST (elm_genlist_group)
71 69
72 verify_group_api(git); 70 verify_group_api(git);
73 71
74 elm_shutdown();
75} 72}
76EFL_END_TEST 73EFL_END_TEST
77 74
@@ -79,8 +76,6 @@ EFL_START_TEST (elm_genlist_legacy_type_check)
79{ 76{
80 const char *type; 77 const char *type;
81 78
82 char *args[] = { "exe" };
83 elm_init(1, args);
84 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); 79 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
85 80
86 genlist = elm_genlist_add(win); 81 genlist = elm_genlist_add(win);
@@ -93,14 +88,11 @@ EFL_START_TEST (elm_genlist_legacy_type_check)
93 ck_assert(type != NULL); 88 ck_assert(type != NULL);
94 ck_assert(!strcmp(type, "elm_genlist")); 89 ck_assert(!strcmp(type, "elm_genlist"));
95 90
96 elm_shutdown();
97} 91}
98EFL_END_TEST 92EFL_END_TEST
99 93
100void test_init(void) 94void test_init(void)
101{ 95{
102 char *args[] = { "exe" };
103 elm_init(1, args);
104 elm_config_atspi_mode_set(EINA_TRUE); 96 elm_config_atspi_mode_set(EINA_TRUE);
105 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); 97 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
106 genlist = elm_genlist_add(win); 98 genlist = elm_genlist_add(win);
@@ -116,7 +108,6 @@ EFL_START_TEST (elm_atspi_role_get)
116 108
117 ck_assert(role == EFL_ACCESS_ROLE_LIST); 109 ck_assert(role == EFL_ACCESS_ROLE_LIST);
118 110
119 elm_shutdown();
120} 111}
121EFL_END_TEST 112EFL_END_TEST
122 113
@@ -141,7 +132,6 @@ EFL_START_TEST(elm_atspi_children_get1)
141 132
142 eina_list_free(children); 133 eina_list_free(children);
143 134
144 elm_shutdown();
145} 135}
146EFL_END_TEST 136EFL_END_TEST
147 137
@@ -160,7 +150,6 @@ EFL_START_TEST(elm_atspi_children_get2)
160 ck_assert(eina_list_nth(children, 0) == it[1]); 150 ck_assert(eina_list_nth(children, 0) == it[1]);
161 ck_assert(eina_list_nth(children, 2) == it[2]); 151 ck_assert(eina_list_nth(children, 2) == it[2]);
162 152
163 elm_shutdown();
164} 153}
165EFL_END_TEST 154EFL_END_TEST
166 155
@@ -204,7 +193,6 @@ EFL_START_TEST(elm_atspi_children_events_add)
204 ck_assert(ev_data.is_added == EINA_TRUE); 193 ck_assert(ev_data.is_added == EINA_TRUE);
205 ck_assert(ev_data.child == it[2]); 194 ck_assert(ev_data.child == it[2]);
206 195
207 elm_shutdown();
208} 196}
209EFL_END_TEST 197EFL_END_TEST
210 198
@@ -235,7 +223,6 @@ EFL_START_TEST(elm_atspi_children_events_del1)
235 ck_assert(ev_data.is_added == EINA_FALSE); 223 ck_assert(ev_data.is_added == EINA_FALSE);
236 ck_assert(ev_data.child == it[2]); 224 ck_assert(ev_data.child == it[2]);
237 225
238 elm_shutdown();
239} 226}
240EFL_END_TEST 227EFL_END_TEST
241 228
@@ -257,7 +244,6 @@ EFL_START_TEST(elm_atspi_children_events_del2)
257 ck_assert(ev_data.is_added == EINA_FALSE); 244 ck_assert(ev_data.is_added == EINA_FALSE);
258 ck_assert(ev_data.child == it); 245 ck_assert(ev_data.child == it);
259 246
260 elm_shutdown();
261} 247}
262EFL_END_TEST 248EFL_END_TEST
263 249
diff --git a/src/tests/elementary/elm_test_glview.c b/src/tests/elementary/elm_test_glview.c
index d61d8a2..4d8525c 100644
--- a/src/tests/elementary/elm_test_glview.c
+++ b/src/tests/elementary/elm_test_glview.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_glview_legacy_type_check)
11 Evas_Object *win, *glview; 11 Evas_Object *win, *glview;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
17 15
18 glview = elm_glview_add(win); 16 glview = elm_glview_add(win);
@@ -28,7 +26,6 @@ EFL_START_TEST (elm_glview_legacy_type_check)
28 ck_assert(!strcmp(type, "elm_glview")); 26 ck_assert(!strcmp(type, "elm_glview"));
29 } 27 }
30 28
31 elm_shutdown();
32} 29}
33EFL_END_TEST 30EFL_END_TEST
34 31
@@ -37,8 +34,6 @@ EFL_START_TEST (elm_atspi_role_get)
37 Evas_Object *win, *glview; 34 Evas_Object *win, *glview;
38 Efl_Access_Role role; 35 Efl_Access_Role role;
39 36
40 char *args[] = { "exe" };
41 elm_init(1, args);
42 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC); 37 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
43 38
44 glview = elm_glview_add(win); 39 glview = elm_glview_add(win);
@@ -50,7 +45,6 @@ EFL_START_TEST (elm_atspi_role_get)
50 ck_assert(role == EFL_ACCESS_ROLE_ANIMATION); 45 ck_assert(role == EFL_ACCESS_ROLE_ANIMATION);
51 } 46 }
52 47
53 elm_shutdown();
54} 48}
55EFL_END_TEST 49EFL_END_TEST
56 50
diff --git a/src/tests/elementary/elm_test_grid.c b/src/tests/elementary/elm_test_grid.c
index 37db2ac..ec08a36 100644
--- a/src/tests/elementary/elm_test_grid.c
+++ b/src/tests/elementary/elm_test_grid.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_grid_legacy_type_check)
11 Evas_Object *win, *grid; 11 Evas_Object *win, *grid;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
17 15
18 grid = elm_grid_add(win); 16 grid = elm_grid_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_grid_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_grid")); 24 ck_assert(!strcmp(type, "elm_grid"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *grid; 31 Evas_Object *win, *grid;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
40 35
41 grid = elm_grid_add(win); 36 grid = elm_grid_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILLER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILLER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_hover.c b/src/tests/elementary/elm_test_hover.c
index addfdcc..b3660ff 100644
--- a/src/tests/elementary/elm_test_hover.c
+++ b/src/tests/elementary/elm_test_hover.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_hover_legacy_type_check)
11 Evas_Object *win, *hover; 11 Evas_Object *win, *hover;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
17 15
18 hover = elm_hover_add(win); 16 hover = elm_hover_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_hover_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_hover")); 24 ck_assert(!strcmp(type, "elm_hover"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *hover; 31 Evas_Object *win, *hover;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
40 35
41 hover = elm_hover_add(win); 36 hover = elm_hover_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_POPUP_MENU); 39 ck_assert(role == EFL_ACCESS_ROLE_POPUP_MENU);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_hoversel.c b/src/tests/elementary/elm_test_hoversel.c
index 6f66b4f..1e22955 100644
--- a/src/tests/elementary/elm_test_hoversel.c
+++ b/src/tests/elementary/elm_test_hoversel.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_hoversel_legacy_type_check)
11 Evas_Object *win, *hoversel; 11 Evas_Object *win, *hoversel;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
17 15
18 hoversel = elm_hoversel_add(win); 16 hoversel = elm_hoversel_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_hoversel_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_hoversel")); 24 ck_assert(!strcmp(type, "elm_hoversel"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *hoversel; 31 Evas_Object *win, *hoversel;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
40 35
41 hoversel = elm_hoversel_add(win); 36 hoversel = elm_hoversel_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON); 39 ck_assert(role == EFL_ACCESS_ROLE_PUSH_BUTTON);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_icon.c b/src/tests/elementary/elm_test_icon.c
index 483d345..afd747a 100644
--- a/src/tests/elementary/elm_test_icon.c
+++ b/src/tests/elementary/elm_test_icon.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_icon_legacy_type_check)
11 Evas_Object *win, *icon; 11 Evas_Object *win, *icon;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
17 15
18 icon = elm_icon_add(win); 16 icon = elm_icon_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_icon_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_icon")); 24 ck_assert(!strcmp(type, "elm_icon"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *icon; 31 Evas_Object *win, *icon;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
40 35
41 icon = elm_icon_add(win); 36 icon = elm_icon_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_ICON); 39 ck_assert(role == EFL_ACCESS_ROLE_ICON);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_image.c b/src/tests/elementary/elm_test_image.c
index 2882f8d..8e4c791 100644
--- a/src/tests/elementary/elm_test_image.c
+++ b/src/tests/elementary/elm_test_image.c
@@ -22,8 +22,6 @@ EFL_START_TEST (elm_image_legacy_type_check)
22 Evas_Object *win, *image; 22 Evas_Object *win, *image;
23 const char *type; 23 const char *type;
24 24
25 char *args[] = { "exe" };
26 elm_init(1, args);
27 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 25 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
28 26
29 image = elm_image_add(win); 27 image = elm_image_add(win);
@@ -36,7 +34,6 @@ EFL_START_TEST (elm_image_legacy_type_check)
36 ck_assert(type != NULL); 34 ck_assert(type != NULL);
37 ck_assert(!strcmp(type, "elm_image")); 35 ck_assert(!strcmp(type, "elm_image"));
38 36
39 elm_shutdown();
40} 37}
41EFL_END_TEST 38EFL_END_TEST
42 39
@@ -45,8 +42,6 @@ EFL_START_TEST (elm_atspi_role_get)
45 Evas_Object *win, *image; 42 Evas_Object *win, *image;
46 Efl_Access_Role role; 43 Efl_Access_Role role;
47 44
48 char *args[] = { "exe" };
49 elm_init(1, args);
50 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 45 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
51 46
52 image = elm_image_add(win); 47 image = elm_image_add(win);
@@ -54,7 +49,6 @@ EFL_START_TEST (elm_atspi_role_get)
54 49
55 ck_assert(role == EFL_ACCESS_ROLE_IMAGE); 50 ck_assert(role == EFL_ACCESS_ROLE_IMAGE);
56 51
57 elm_shutdown();
58} 52}
59EFL_END_TEST 53EFL_END_TEST
60 54
@@ -139,8 +133,6 @@ EFL_START_TEST (elm_image_async_path)
139 Eina_Bool ok; 133 Eina_Bool ok;
140 Test_Data td; 134 Test_Data td;
141 135
142 char *args[] = { "exe" };
143 elm_init(1, args);
144 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 136 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
145 137
146 td.success = 0; 138 td.success = 0;
@@ -160,7 +152,6 @@ EFL_START_TEST (elm_image_async_path)
160 elm_run(); 152 elm_run();
161 ck_assert(td.success == 3); 153 ck_assert(td.success == 3);
162 154
163 elm_shutdown();
164} 155}
165EFL_END_TEST 156EFL_END_TEST
166 157
@@ -172,8 +163,6 @@ EFL_START_TEST (elm_image_async_mmap)
172 Eina_File *f; 163 Eina_File *f;
173 char path[PATH_MAX]; 164 char path[PATH_MAX];
174 165
175 char *args[] = { "exe" };
176 elm_init(1, args);
177 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 166 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
178 167
179 td.success = 1; // skip "error" case 168 td.success = 1; // skip "error" case
@@ -199,7 +188,6 @@ EFL_START_TEST (elm_image_async_mmap)
199 188
200 eina_file_close(f); 189 eina_file_close(f);
201 190
202 elm_shutdown();
203} 191}
204EFL_END_TEST 192EFL_END_TEST
205 193
@@ -209,8 +197,6 @@ EFL_START_TEST (efl_ui_image_icon)
209 Eina_Bool ok; 197 Eina_Bool ok;
210 const char *icon_name; 198 const char *icon_name;
211 199
212 char *args[] = { "exe" };
213 elm_init(1, args);
214 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 200 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
215 201
216 image = efl_add(EFL_UI_IMAGE_CLASS, win); 202 image = efl_add(EFL_UI_IMAGE_CLASS, win);
@@ -226,7 +212,6 @@ EFL_START_TEST (efl_ui_image_icon)
226 icon_name = efl_ui_image_icon_get(image); 212 icon_name = efl_ui_image_icon_get(image);
227 ck_assert(icon_name == NULL); 213 ck_assert(icon_name == NULL);
228 214
229 elm_shutdown();
230} 215}
231EFL_END_TEST 216EFL_END_TEST
232 217
diff --git a/src/tests/elementary/elm_test_index.c b/src/tests/elementary/elm_test_index.c
index dd107c5..e8ea3ec 100644
--- a/src/tests/elementary/elm_test_index.c
+++ b/src/tests/elementary/elm_test_index.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_index_legacy_type_check)
11 Evas_Object *win, *index; 11 Evas_Object *win, *index;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "index", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
17 15
18 index = elm_index_add(win); 16 index = elm_index_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_index_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_index")); 24 ck_assert(!strcmp(type, "elm_index"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *idx; 31 Evas_Object *win, *idx;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "index", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
40 35
41 idx = elm_index_add(win); 36 idx = elm_index_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_SCROLL_BAR); 39 ck_assert(role == EFL_ACCESS_ROLE_SCROLL_BAR);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_init.c b/src/tests/elementary/elm_test_init.c
index fa7d7f5..da3a584 100644
--- a/src/tests/elementary/elm_test_init.c
+++ b/src/tests/elementary/elm_test_init.c
@@ -7,11 +7,6 @@
7 7
8EFL_START_TEST (elm_main) 8EFL_START_TEST (elm_main)
9{ 9{
10 char *args[] = { "exe" };
11 ck_assert(elm_init(1, args) == 1);
12 ck_assert(elm_shutdown() == 0);
13 ck_assert(ecore_init() == 1);
14 ck_assert(ecore_shutdown() == 0);
15} 10}
16EFL_END_TEST 11EFL_END_TEST
17 12
diff --git a/src/tests/elementary/elm_test_inwin.c b/src/tests/elementary/elm_test_inwin.c
index b356a81..33141b4 100644
--- a/src/tests/elementary/elm_test_inwin.c
+++ b/src/tests/elementary/elm_test_inwin.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_inwin_legacy_type_check)
11 Evas_Object *win, *inwin; 11 Evas_Object *win, *inwin;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
17 15
18 inwin = elm_win_inwin_add(win); 16 inwin = elm_win_inwin_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_inwin_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_inwin")); 24 ck_assert(!strcmp(type, "elm_inwin"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *inwin; 31 Evas_Object *win, *inwin;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
40 35
41 inwin = elm_win_inwin_add(win); 36 inwin = elm_win_inwin_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_GLASS_PANE); 39 ck_assert(role == EFL_ACCESS_ROLE_GLASS_PANE);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_label.c b/src/tests/elementary/elm_test_label.c
index e6e898c..e580ec4 100644
--- a/src/tests/elementary/elm_test_label.c
+++ b/src/tests/elementary/elm_test_label.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_label_legacy_type_check)
11 Evas_Object *win, *label; 11 Evas_Object *win, *label;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "label", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
17 15
18 label = elm_label_add(win); 16 label = elm_label_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_label_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_label")); 24 ck_assert(!strcmp(type, "elm_label"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *label; 31 Evas_Object *win, *label;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "label", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
40 35
41 label = elm_label_add(win); 36 label = elm_label_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_LABEL); 39 ck_assert(role == EFL_ACCESS_ROLE_LABEL);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_layout.c b/src/tests/elementary/elm_test_layout.c
index 8e5809b..cf7bade 100644
--- a/src/tests/elementary/elm_test_layout.c
+++ b/src/tests/elementary/elm_test_layout.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_layout_legacy_type_check)
11 Evas_Object *win, *layout; 11 Evas_Object *win, *layout;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
17 15
18 layout = elm_layout_add(win); 16 layout = elm_layout_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_layout_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_layout")); 24 ck_assert(!strcmp(type, "elm_layout"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST(elm_atspi_role_get)
34 Evas_Object *win, *layout; 31 Evas_Object *win, *layout;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
40 35
41 layout = elm_layout_add(win); 36 layout = elm_layout_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST(elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_FILLER); 39 ck_assert(role == EFL_ACCESS_ROLE_FILLER);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
@@ -52,8 +46,6 @@ EFL_START_TEST(elm_layout_swallows)
52 char buf[PATH_MAX]; 46 char buf[PATH_MAX];
53 Evas_Object *win, *ly, *bt, *bt2; 47 Evas_Object *win, *ly, *bt, *bt2;
54 48
55 char *args[] = { "exe" };
56 elm_init(1, args);
57 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 49 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
58 50
59 ly = efl_add(EFL_UI_LAYOUT_CLASS, win); 51 ly = efl_add(EFL_UI_LAYOUT_CLASS, win);
@@ -75,7 +67,6 @@ EFL_START_TEST(elm_layout_swallows)
75 fail_if(!efl_content_set(efl_part(ly, "element1"), bt2)); 67 fail_if(!efl_content_set(efl_part(ly, "element1"), bt2));
76 ck_assert_ptr_eq(efl_parent_get(bt2), ly); 68 ck_assert_ptr_eq(efl_parent_get(bt2), ly);
77 69
78 elm_shutdown();
79} 70}
80EFL_END_TEST 71EFL_END_TEST
81 72
@@ -88,8 +79,6 @@ EFL_START_TEST(elm_layout_model_connect)
88 const char *part_text; 79 const char *part_text;
89 const char text_value[] = "A random string for elm_layout_model_connect test"; 80 const char text_value[] = "A random string for elm_layout_model_connect test";
90 81
91 char *args[] = { "exe" };
92 elm_init(1, args);
93 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 82 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
94 83
95 ly = efl_add(EFL_UI_LAYOUT_CLASS, win); 84 ly = efl_add(EFL_UI_LAYOUT_CLASS, win);
@@ -111,7 +100,6 @@ EFL_START_TEST(elm_layout_model_connect)
111 100
112 ck_assert_str_eq(part_text, text_value); 101 ck_assert_str_eq(part_text, text_value);
113 102
114 elm_shutdown();
115} 103}
116EFL_END_TEST 104EFL_END_TEST
117 105
diff --git a/src/tests/elementary/elm_test_list.c b/src/tests/elementary/elm_test_list.c
index e366f52..e5e27e6 100644
--- a/src/tests/elementary/elm_test_list.c
+++ b/src/tests/elementary/elm_test_list.c
@@ -13,8 +13,6 @@ EFL_START_TEST (elm_list_legacy_type_check)
13 Evas_Object *win, *list; 13 Evas_Object *win, *list;
14 const char *type; 14 const char *type;
15 15
16 char *args[] = { "exe" };
17 elm_init(1, args);
18 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
19 17
20 list = elm_list_add(win); 18 list = elm_list_add(win);
@@ -27,7 +25,6 @@ EFL_START_TEST (elm_list_legacy_type_check)
27 ck_assert(type != NULL); 25 ck_assert(type != NULL);
28 ck_assert(!strcmp(type, "elm_list")); 26 ck_assert(!strcmp(type, "elm_list"));
29 27
30 elm_shutdown();
31} 28}
32EFL_END_TEST 29EFL_END_TEST
33 30
@@ -41,8 +38,7 @@ EFL_START_TEST (elm_list_atspi_selection_selected_children_count_get)
41 Elm_Object_Item *item; 38 Elm_Object_Item *item;
42 int val; 39 int val;
43 40
44 char *args[] = { "exe" }; 41
45 elm_init(1, args);
46 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 42 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
47 43
48 list = elm_list_add(win); 44 list = elm_list_add(win);
@@ -59,7 +55,6 @@ EFL_START_TEST (elm_list_atspi_selection_selected_children_count_get)
59 val = elm_interface_atspi_selection_selected_children_count_get(list); 55 val = elm_interface_atspi_selection_selected_children_count_get(list);
60 ck_assert(val == 0); 56 ck_assert(val == 0);
61 57
62 elm_shutdown();
63} 58}
64EFL_END_TEST 59EFL_END_TEST
65 60
@@ -69,8 +64,7 @@ EFL_START_TEST (elm_list_atspi_selection_child_select)
69 Elm_Object_Item *item; 64 Elm_Object_Item *item;
70 Eina_Bool val; 65 Eina_Bool val;
71 66
72 char *args[] = { "exe" }; 67
73 elm_init(1, args);
74 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 68 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
75 69
76 list = elm_list_add(win); 70 list = elm_list_add(win);
@@ -80,7 +74,6 @@ EFL_START_TEST (elm_list_atspi_selection_child_select)
80 ck_assert(val == EINA_TRUE); 74 ck_assert(val == EINA_TRUE);
81 ck_assert(EINA_TRUE == elm_list_item_selected_get(item)); 75 ck_assert(EINA_TRUE == elm_list_item_selected_get(item));
82 76
83 elm_shutdown();
84} 77}
85EFL_END_TEST 78EFL_END_TEST
86 79
@@ -90,8 +83,7 @@ EFL_START_TEST (elm_list_atspi_selection_selected_child_deselect)
90 Elm_Object_Item *item; 83 Elm_Object_Item *item;
91 Eina_Bool val; 84 Eina_Bool val;
92 85
93 char *args[] = { "exe" }; 86
94 elm_init(1, args);
95 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 87 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
96 88
97 list = elm_list_add(win); 89 list = elm_list_add(win);
@@ -104,7 +96,6 @@ EFL_START_TEST (elm_list_atspi_selection_selected_child_deselect)
104 ck_assert(val == EINA_TRUE); 96 ck_assert(val == EINA_TRUE);
105 ck_assert(EINA_FALSE == elm_list_item_selected_get(item)); 97 ck_assert(EINA_FALSE == elm_list_item_selected_get(item));
106 98
107 elm_shutdown();
108} 99}
109EFL_END_TEST 100EFL_END_TEST
110 101
@@ -114,8 +105,7 @@ EFL_START_TEST (elm_list_atspi_selection_is_child_selected)
114 Elm_Object_Item *item; 105 Elm_Object_Item *item;
115 Eina_Bool val; 106 Eina_Bool val;
116 107
117 char *args[] = { "exe" }; 108
118 elm_init(1, args);
119 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 109 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
120 110
121 list = elm_list_add(win); 111 list = elm_list_add(win);
@@ -128,7 +118,6 @@ EFL_START_TEST (elm_list_atspi_selection_is_child_selected)
128 val = elm_interface_atspi_selection_is_child_selected(list, 0); 118 val = elm_interface_atspi_selection_is_child_selected(list, 0);
129 ck_assert(val == EINA_TRUE); 119 ck_assert(val == EINA_TRUE);
130 120
131 elm_shutdown();
132} 121}
133EFL_END_TEST 122EFL_END_TEST
134 123
@@ -138,8 +127,7 @@ EFL_START_TEST (elm_list_atspi_selection_all_children_select)
138 Elm_Object_Item *item1, *item2; 127 Elm_Object_Item *item1, *item2;
139 Eina_Bool val; 128 Eina_Bool val;
140 129
141 char *args[] = { "exe" }; 130
142 elm_init(1, args);
143 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 131 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
144 132
145 list = elm_list_add(win); 133 list = elm_list_add(win);
@@ -156,7 +144,6 @@ EFL_START_TEST (elm_list_atspi_selection_all_children_select)
156 ck_assert(EINA_TRUE == elm_list_item_selected_get(item1)); 144 ck_assert(EINA_TRUE == elm_list_item_selected_get(item1));
157 ck_assert(EINA_TRUE == elm_list_item_selected_get(item2)); 145 ck_assert(EINA_TRUE == elm_list_item_selected_get(item2));
158 146
159 elm_shutdown();
160} 147}
161EFL_END_TEST 148EFL_END_TEST
162 149
@@ -167,8 +154,7 @@ EFL_START_TEST (elm_list_atspi_selection_clear)
167 Elm_Object_Item *item1, *item2; 154 Elm_Object_Item *item1, *item2;
168 Eina_Bool val; 155 Eina_Bool val;
169 156
170 char *args[] = { "exe" }; 157
171 elm_init(1, args);
172 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 158 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
173 159
174 list = elm_list_add(win); 160 list = elm_list_add(win);
@@ -184,7 +170,6 @@ EFL_START_TEST (elm_list_atspi_selection_clear)
184 ck_assert(EINA_FALSE == elm_list_item_selected_get(item1)); 170 ck_assert(EINA_FALSE == elm_list_item_selected_get(item1));
185 ck_assert(EINA_FALSE == elm_list_item_selected_get(item2)); 171 ck_assert(EINA_FALSE == elm_list_item_selected_get(item2));
186 172
187 elm_shutdown();
188} 173}
189EFL_END_TEST 174EFL_END_TEST
190 175
@@ -194,8 +179,7 @@ EFL_START_TEST (elm_list_atspi_selection_child_deselect)
194 Elm_Object_Item *item; 179 Elm_Object_Item *item;
195 Eina_Bool val; 180 Eina_Bool val;
196 181
197 char *args[] = { "exe" }; 182
198 elm_init(1, args);
199 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 183 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
200 184
201 list = elm_list_add(win); 185 list = elm_list_add(win);
@@ -208,7 +192,6 @@ EFL_START_TEST (elm_list_atspi_selection_child_deselect)
208 ck_assert(val == EINA_TRUE); 192 ck_assert(val == EINA_TRUE);
209 ck_assert(EINA_FALSE == elm_list_item_selected_get(item)); 193 ck_assert(EINA_FALSE == elm_list_item_selected_get(item));
210 194
211 elm_shutdown();
212} 195}
213EFL_END_TEST 196EFL_END_TEST
214 197
@@ -219,8 +202,7 @@ EFL_START_TEST (elm_atspi_role_get)
219 Evas_Object *win, *list; 202 Evas_Object *win, *list;
220 Efl_Access_Role role; 203 Efl_Access_Role role;
221 204
222 char *args[] = { "exe" }; 205
223 elm_init(1, args);
224 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 206 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
225 207
226 list = elm_list_add(win); 208 list = elm_list_add(win);
@@ -228,7 +210,6 @@ EFL_START_TEST (elm_atspi_role_get)
228 210
229 ck_assert(role == EFL_ACCESS_ROLE_LIST); 211 ck_assert(role == EFL_ACCESS_ROLE_LIST);
230 212
231 elm_shutdown();
232} 213}
233EFL_END_TEST 214EFL_END_TEST
234 215
@@ -242,8 +223,6 @@ EFL_START_TEST(elm_atspi_children_parent)
242 Efl_Access *parent; 223 Efl_Access *parent;
243 Elm_Object_Item *it; 224 Elm_Object_Item *it;
244 225
245 char *args[] = { "exe" };
246 elm_init(1, args);
247 Evas_Object *win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 226 Evas_Object *win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
248 227
249 Evas_Object *icon = elm_icon_add(win); 228 Evas_Object *icon = elm_icon_add(win);
@@ -260,7 +239,6 @@ EFL_START_TEST(elm_atspi_children_parent)
260 parent = efl_provider_find(efl_parent_get(end), EFL_ACCESS_MIXIN); 239 parent = efl_provider_find(efl_parent_get(end), EFL_ACCESS_MIXIN);
261 ck_assert(it == parent); 240 ck_assert(it == parent);
262 241
263 elm_shutdown();
264} 242}
265EFL_END_TEST 243EFL_END_TEST
266 244
diff --git a/src/tests/elementary/elm_test_map.c b/src/tests/elementary/elm_test_map.c
index d07bea0..b127027 100644
--- a/src/tests/elementary/elm_test_map.c
+++ b/src/tests/elementary/elm_test_map.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_map_legacy_type_check)
11 Evas_Object *win, *map; 11 Evas_Object *win, *map;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "map", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
17 15
18 map = elm_map_add(win); 16 map = elm_map_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_map_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_map")); 24 ck_assert(!strcmp(type, "elm_map"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *map; 31 Evas_Object *win, *map;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "map", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
40 35
41 map = elm_map_add(win); 36 map = elm_map_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_IMAGE_MAP); 39 ck_assert(role == EFL_ACCESS_ROLE_IMAGE_MAP);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_mapbuf.c b/src/tests/elementary/elm_test_mapbuf.c
index 85f9b5f..7f86c90 100644
--- a/src/tests/elementary/elm_test_mapbuf.c
+++ b/src/tests/elementary/elm_test_mapbuf.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_mapbuf_legacy_type_check)
11 Evas_Object *win, *mapbuf; 11 Evas_Object *win, *mapbuf;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
17 15
18 mapbuf = elm_mapbuf_add(win); 16 mapbuf = elm_mapbuf_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_mapbuf_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_mapbuf")); 24 ck_assert(!strcmp(type, "elm_mapbuf"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *mapbuf; 31 Evas_Object *win, *mapbuf;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
40 35
41 mapbuf = elm_mapbuf_add(win); 36 mapbuf = elm_mapbuf_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_IMAGE_MAP); 39 ck_assert(role == EFL_ACCESS_ROLE_IMAGE_MAP);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_menu.c b/src/tests/elementary/elm_test_menu.c
index 3027eb5..3477a60 100644
--- a/src/tests/elementary/elm_test_menu.c
+++ b/src/tests/elementary/elm_test_menu.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_menu_legacy_type_check)
11 Evas_Object *win, *menu; 11 Evas_Object *win, *menu;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC);
17 15
18 menu = elm_menu_add(win); 16 menu = elm_menu_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_menu_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_menu")); 24 ck_assert(!strcmp(type, "elm_menu"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *menu; 31 Evas_Object *win, *menu;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC);
40 35
41 menu = elm_menu_add(win); 36 menu = elm_menu_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_MENU); 39 ck_assert(role == EFL_ACCESS_ROLE_MENU);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_multibuttonentry.c b/src/tests/elementary/elm_test_multibuttonentry.c
index f652e46..8d988a5 100644
--- a/src/tests/elementary/elm_test_multibuttonentry.c
+++ b/src/tests/elementary/elm_test_multibuttonentry.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_multibuttonentry_legacy_type_check)
11 Evas_Object *win, *multibuttonentry; 11 Evas_Object *win, *multibuttonentry;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC);
17 15
18 multibuttonentry = elm_multibuttonentry_add(win); 16 multibuttonentry = elm_multibuttonentry_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_multibuttonentry_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_multibuttonentry")); 24 ck_assert(!strcmp(type, "elm_multibuttonentry"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *multibuttonentry; 31 Evas_Object *win, *multibuttonentry;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC);
40 35
41 multibuttonentry = elm_multibuttonentry_add(win); 36 multibuttonentry = elm_multibuttonentry_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert_int_eq(role, EFL_ACCESS_ROLE_PANEL); 39 ck_assert_int_eq(role, EFL_ACCESS_ROLE_PANEL);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_naviframe.c b/src/tests/elementary/elm_test_naviframe.c
index 22a169c..fcabc19 100644
--- a/src/tests/elementary/elm_test_naviframe.c
+++ b/src/tests/elementary/elm_test_naviframe.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_naviframe_legacy_type_check)
11 Evas_Object *win, *naviframe; 11 Evas_Object *win, *naviframe;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC);
17 15
18 naviframe = elm_naviframe_add(win); 16 naviframe = elm_naviframe_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_naviframe_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_naviframe")); 24 ck_assert(!strcmp(type, "elm_naviframe"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *naviframe; 31 Evas_Object *win, *naviframe;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC);
40 35
41 naviframe = elm_naviframe_add(win); 36 naviframe = elm_naviframe_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_PAGE_TAB_LIST); 39 ck_assert(role == EFL_ACCESS_ROLE_PAGE_TAB_LIST);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_notify.c b/src/tests/elementary/elm_test_notify.c
index e87dc05..4115630 100644
--- a/src/tests/elementary/elm_test_notify.c
+++ b/src/tests/elementary/elm_test_notify.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_notify_legacy_type_check)
11 Evas_Object *win, *notify; 11 Evas_Object *win, *notify;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC);
17 15
18 notify = elm_notify_add(win); 16 notify = elm_notify_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_notify_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_notify")); 24 ck_assert(!strcmp(type, "elm_notify"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *notify; 31 Evas_Object *win, *notify;
35 Efl_Access_Role role; 32 Efl_Access_Role role;
36 33
37 char *args[] = { "exe" };
38 elm_init(1, args);
39 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); 34 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC);
40 35
41 notify = elm_notify_add(win); 36 notify = elm_notify_add(win);
@@ -43,7 +38,6 @@ EFL_START_TEST (elm_atspi_role_get)
43 38
44 ck_assert(role == EFL_ACCESS_ROLE_NOTIFICATION); 39 ck_assert(role == EFL_ACCESS_ROLE_NOTIFICATION);
45 40
46 elm_shutdown();
47} 41}
48EFL_END_TEST 42EFL_END_TEST
49 43
diff --git a/src/tests/elementary/elm_test_panel.c b/src/tests/elementary/elm_test_panel.c
index 99c2b7f..8a52b75 100644
--- a/src/tests/elementary/elm_test_panel.c
+++ b/src/tests/elementary/elm_test_panel.c
@@ -11,8 +11,6 @@ EFL_START_TEST (elm_panel_legacy_type_check)
11 Evas_Object *win, *panel; 11 Evas_Object *win, *panel;
12 const char *type; 12 const char *type;
13 13
14 char *args[] = { "exe" };
15 elm_init(1, args);
16 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC); 14 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC);
17 15
18 panel = elm_panel_add(win); 16 panel = elm_panel_add(win);
@@ -25,7 +23,6 @@ EFL_START_TEST (elm_panel_legacy_type_check)
25 ck_assert(type != NULL); 23 ck_assert(type != NULL);
26 ck_assert(!strcmp(type, "elm_panel")); 24 ck_assert(!strcmp(type, "elm_panel"));
27 25
28 elm_shutdown();
29} 26}
30EFL_END_TEST 27EFL_END_TEST
31 28
@@ -34,8 +31,6 @@ EFL_START_TEST (elm_atspi_role_get)
34 Evas_Object