summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-06 23:43:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-07 02:32:15 +0900
commit9c8749b99a03d3601321da6d16071dd7b631d1ae (patch)
tree1baee8a41dfe32bd6bb2f155564ae04c08fb086b
parent6865ad177368cdc54b587ab0979f39b20ff61552 (diff)
ecore - go back to args 0 being the command and 1+ being actual args
so this is then inconsistent with efl.exe and efl.thread, so go back to being normal with 0'th arg being the binary itself jsut to make sure we have conistent usage.
-rw-r--r--src/lib/ecore/ecore.c4
-rw-r--r--src/tests/elementary/efl_ui_suite.c4
-rw-r--r--src/tests/elementary/elm_code_file_test_load.c21
-rw-r--r--src/tests/elementary/elm_code_file_test_memory.c6
-rw-r--r--src/tests/elementary/elm_code_test_basic.c6
-rw-r--r--src/tests/elementary/elm_code_test_indent.c15
-rw-r--r--src/tests/elementary/elm_code_test_line.c9
-rw-r--r--src/tests/elementary/elm_code_test_parse.c9
-rw-r--r--src/tests/elementary/elm_code_test_syntax.c6
-rw-r--r--src/tests/elementary/elm_code_test_text.c18
-rw-r--r--src/tests/elementary/elm_code_test_widget.c12
-rw-r--r--src/tests/elementary/elm_code_test_widget_selection.c54
-rw-r--r--src/tests/elementary/elm_code_test_widget_text.c6
-rw-r--r--src/tests/elementary/elm_code_test_widget_undo.c15
-rw-r--r--src/tests/elementary/elm_test_actionslider.c6
-rw-r--r--src/tests/elementary/elm_test_atspi.c48
-rw-r--r--src/tests/elementary/elm_test_bg.c3
-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.c9
-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.c9
-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.c45
-rw-r--r--src/tests/elementary/elm_test_focus_sub.c9
-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.c6
-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.c30
-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.c21
81 files changed, 515 insertions, 260 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 754b826..a7a4850 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -490,8 +490,8 @@ ecore_init_ex(int argc, char **argv)
490 if (_ecore_init_ex++ != 0) return _ecore_init_ex; 490 if (_ecore_init_ex++ != 0) return _ecore_init_ex;
491 491
492 ecore_init(); 492 ecore_init();
493 ecore_loop_arguments_send(argc - 1, 493 ecore_loop_arguments_send(argc,
494 (argc > 1) ? ((const char **) argv + 1) : NULL); 494 (argc > 0) ? ((const char **)argv) : NULL);
495 ecore_app_args_set(argc, (const char**) argv); 495 ecore_app_args_set(argc, (const char**) argv);
496 496
497 return _ecore_init_ex; 497 return _ecore_init_ex;
diff --git a/src/tests/elementary/efl_ui_suite.c b/src/tests/elementary/efl_ui_suite.c
index d2269b6..a3e3bf9 100644
--- a/src/tests/elementary/efl_ui_suite.c
+++ b/src/tests/elementary/efl_ui_suite.c
@@ -15,8 +15,8 @@ efl_main(void *data EINA_UNUSED,
15 15
16 fail_if(!arge->initialization); 16 fail_if(!arge->initialization);
17 fprintf(stderr, "ARGC %d\n", eina_array_count(arge->argv)); 17 fprintf(stderr, "ARGC %d\n", eina_array_count(arge->argv));
18 fail_if(eina_array_count(arge->argv) != 1); 18 fail_if(eina_array_count(arge->argv) != 2);
19 fail_if(!eina_streq(eina_array_data_get(arge->argv, 0), "test")); 19 fail_if(!eina_streq(eina_array_data_get(arge->argv, 1), "test"));
20 20
21 efl_loop_quit(ev->object, eina_value_string_init("success")); 21 efl_loop_quit(ev->object, eina_value_string_init("success"));
22} 22}
diff --git a/src/tests/elementary/elm_code_file_test_load.c b/src/tests/elementary/elm_code_file_test_load.c
index fcdfb2f..a17548f 100644
--- a/src/tests/elementary/elm_code_file_test_load.c
+++ b/src/tests/elementary/elm_code_file_test_load.c
@@ -16,7 +16,8 @@ START_TEST (elm_code_file_load)
16 Elm_Code_File *file; 16 Elm_Code_File *file;
17 Elm_Code *code; 17 Elm_Code *code;
18 18
19 elm_init(1, NULL); 19 char *args[] = { "exe" };
20 elm_init(1, args);
20 code = elm_code_create(); 21 code = elm_code_create();
21 file = elm_code_file_open(code, path); 22 file = elm_code_file_open(code, path);
22 ck_assert_ptr_ne(realpath(path, real), NULL); 23 ck_assert_ptr_ne(realpath(path, real), NULL);
@@ -35,7 +36,8 @@ START_TEST (elm_code_file_load_lines)
35 Elm_Code_File *file; 36 Elm_Code_File *file;
36 Elm_Code *code; 37 Elm_Code *code;
37 38
38 elm_init(1, NULL); 39 char *args[] = { "exe" };
40 elm_init(1, args);
39 code = elm_code_create(); 41 code = elm_code_create();
40 file = elm_code_file_open(code, path); 42 file = elm_code_file_open(code, path);
41 43
@@ -52,7 +54,8 @@ START_TEST (elm_code_file_load_blank_lines)
52 Elm_Code_File *file; 54 Elm_Code_File *file;
53 Elm_Code *code; 55 Elm_Code *code;
54 56
55 elm_init(1, NULL); 57 char *args[] = { "exe" };
58 elm_init(1, args);
56 code = elm_code_create(); 59 code = elm_code_create();
57 file = elm_code_file_open(code, path); 60 file = elm_code_file_open(code, path);
58 61
@@ -69,7 +72,8 @@ START_TEST (elm_code_file_load_windows)
69 Elm_Code_File *file; 72 Elm_Code_File *file;
70 Elm_Code *code; 73 Elm_Code *code;
71 74
72 elm_init(1, NULL); 75 char *args[] = { "exe" };
76 elm_init(1, args);
73 code = elm_code_create(); 77 code = elm_code_create();
74 file = elm_code_file_open(code, path); 78 file = elm_code_file_open(code, path);
75 79
@@ -98,7 +102,8 @@ START_TEST (elm_code_file_load_content)
98 Elm_Code_File *file; 102 Elm_Code_File *file;
99 Elm_Code *code; 103 Elm_Code *code;
100 104
101 elm_init(1, NULL); 105 char *args[] = { "exe" };
106 elm_init(1, args);
102 code = elm_code_create(); 107 code = elm_code_create();
103 file = elm_code_file_open(code, path); 108 file = elm_code_file_open(code, path);
104 109
@@ -117,7 +122,8 @@ START_TEST (elm_code_file_line_ending_unix)
117 Elm_Code *code; 122 Elm_Code *code;
118 short len; 123 short len;
119 124
120 elm_init(1, NULL); 125 char *args[] = { "exe" };
126 elm_init(1, args);
121 code = elm_code_create(); 127 code = elm_code_create();
122 file = elm_code_file_open(code, path); 128 file = elm_code_file_open(code, path);
123 129
@@ -138,7 +144,8 @@ START_TEST (elm_code_file_line_ending_windows)
138 Elm_Code *code; 144 Elm_Code *code;
139 short len; 145 short len;
140 146
141 elm_init(1, NULL); 147 char *args[] = { "exe" };
148 elm_init(1, args);
142 code = elm_code_create(); 149 code = elm_code_create();
143 file = elm_code_file_open(code, path); 150 file = elm_code_file_open(code, path);
144 151
diff --git a/src/tests/elementary/elm_code_file_test_memory.c b/src/tests/elementary/elm_code_file_test_memory.c
index f39228d..9df6f76 100644
--- a/src/tests/elementary/elm_code_file_test_memory.c
+++ b/src/tests/elementary/elm_code_file_test_memory.c
@@ -11,7 +11,8 @@ START_TEST (elm_code_file_memory_lines)
11{ 11{
12 Elm_Code *code; 12 Elm_Code *code;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 code = elm_code_create(); 16 code = elm_code_create();
16 ck_assert_uint_eq(0, elm_code_file_lines_get(code->file)); 17 ck_assert_uint_eq(0, elm_code_file_lines_get(code->file));
17 18
@@ -29,7 +30,8 @@ START_TEST (elm_code_file_memory_tokens)
29 Elm_Code_Line *line; 30 Elm_Code_Line *line;
30 Elm_Code *code; 31 Elm_Code *code;
31 32
32 elm_init(1, NULL); 33 char *args[] = { "exe" };
34 elm_init(1, args);
33 code = elm_code_create(); 35 code = elm_code_create();
34 file = code->file; 36 file = code->file;
35 elm_code_file_line_append(file, "a line", 6, NULL); 37 elm_code_file_line_append(file, "a line", 6, NULL);
diff --git a/src/tests/elementary/elm_code_test_basic.c b/src/tests/elementary/elm_code_test_basic.c
index 0016c67..fa0c2d0 100644
--- a/src/tests/elementary/elm_code_test_basic.c
+++ b/src/tests/elementary/elm_code_test_basic.c
@@ -13,7 +13,8 @@ START_TEST (elm_code_create_test)
13{ 13{
14 Elm_Code *code; 14 Elm_Code *code;
15 15
16 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 code = elm_code_create(); 18 code = elm_code_create();
18 19
19 ck_assert(!!code); 20 ck_assert(!!code);
@@ -29,7 +30,8 @@ START_TEST (elm_code_open_test)
29 char realpath1[PATH_MAX], realpath2[PATH_MAX]; 30 char realpath1[PATH_MAX], realpath2[PATH_MAX];
30 Elm_Code *code; 31 Elm_Code *code;
31 32
32 elm_init(1, NULL); 33 char *args[] = { "exe" };
34 elm_init(1, args);
33 code = elm_code_create(); 35 code = elm_code_create();
34 elm_code_file_open(code, path); 36 elm_code_file_open(code, path);
35 37
diff --git a/src/tests/elementary/elm_code_test_indent.c b/src/tests/elementary/elm_code_test_indent.c
index 9a35b7c..8aac2e3 100644
--- a/src/tests/elementary/elm_code_test_indent.c
+++ b/src/tests/elementary/elm_code_test_indent.c
@@ -31,7 +31,8 @@ START_TEST (elm_code_indent_whitespace_test)
31 Elm_Code *code; 31 Elm_Code *code;
32 Elm_Code_File *file; 32 Elm_Code_File *file;
33 33
34 elm_init(1, NULL); 34 char *args[] = { "exe" };
35 elm_init(1, args);
35 code = elm_code_create(); 36 code = elm_code_create();
36 file = elm_code_file_new(code); 37 file = elm_code_file_new(code);
37 38
@@ -49,7 +50,8 @@ START_TEST (elm_code_indent_comments_test)
49 Elm_Code *code; 50 Elm_Code *code;
50 Elm_Code_File *file; 51 Elm_Code_File *file;
51 52
52 elm_init(1, NULL); 53 char *args[] = { "exe" };
54 elm_init(1, args);
53 code = elm_code_create(); 55 code = elm_code_create();
54 file = elm_code_file_new(code); 56 file = elm_code_file_new(code);
55 57
@@ -71,7 +73,8 @@ START_TEST (elm_code_indent_simple_braces)
71 Elm_Code *code; 73 Elm_Code *code;
72 Elm_Code_File *file; 74 Elm_Code_File *file;
73 75
74 elm_init(1, NULL); 76 char *args[] = { "exe" };
77 elm_init(1, args);
75 code = elm_code_create(); 78 code = elm_code_create();
76 file = elm_code_file_new(code); 79 file = elm_code_file_new(code);
77 80
@@ -93,7 +96,8 @@ START_TEST (elm_code_indent_matching_braces)
93 const char *str; 96 const char *str;
94 unsigned int str_len; 97 unsigned int str_len;
95 98
96 elm_init(1, NULL); 99 char *args[] = { "exe" };
100 elm_init(1, args);
97 code = elm_code_create(); 101 code = elm_code_create();
98 file = elm_code_file_new(code); 102 file = elm_code_file_new(code);
99 103
@@ -130,7 +134,8 @@ START_TEST (elm_code_indent_startswith_keyword)
130 Elm_Code_File *file; 134 Elm_Code_File *file;
131 Elm_Code *code; 135 Elm_Code *code;
132 136
133 elm_init(1, NULL); 137 char *args[] = { "exe" };
138 elm_init(1, args);
134 code = elm_code_create(); 139 code = elm_code_create();
135 file = elm_code_file_new(code); 140 file = elm_code_file_new(code);
136 141
diff --git a/src/tests/elementary/elm_code_test_line.c b/src/tests/elementary/elm_code_test_line.c
index cdbc628..d1160e0 100644
--- a/src/tests/elementary/elm_code_test_line.c
+++ b/src/tests/elementary/elm_code_test_line.c
@@ -13,7 +13,8 @@ START_TEST (elm_code_line_create_test)
13 Elm_Code_File *file; 13 Elm_Code_File *file;
14 Elm_Code_Line *line; 14 Elm_Code_Line *line;
15 15
16 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 code = elm_code_create(); 18 code = elm_code_create();
18 file = elm_code_file_new(code); 19 file = elm_code_file_new(code);
19 20
@@ -33,7 +34,8 @@ START_TEST (elm_code_line_token_count_test)
33 Elm_Code_File *file; 34 Elm_Code_File *file;
34 Elm_Code_Line *line; 35 Elm_Code_Line *line;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 code = elm_code_create(); 39 code = elm_code_create();
38 file = elm_code_file_new(code); 40 file = elm_code_file_new(code);
39 41
@@ -57,7 +59,8 @@ START_TEST (elm_code_line_split_test)
57 Elm_Code_File *file; 59 Elm_Code_File *file;
58 Elm_Code_Line *line, *newline; 60 Elm_Code_Line *line, *newline;
59 61
60 elm_init(1, NULL); 62 char *args[] = { "exe" };
63 elm_init(1, args);
61 code = elm_code_create(); 64 code = elm_code_create();
62 file = elm_code_file_new(code); 65 file = elm_code_file_new(code);
63 66
diff --git a/src/tests/elementary/elm_code_test_parse.c b/src/tests/elementary/elm_code_test_parse.c
index bc2af0f..da2d1ff 100644
--- a/src/tests/elementary/elm_code_test_parse.c
+++ b/src/tests/elementary/elm_code_test_parse.c
@@ -28,7 +28,8 @@ START_TEST (elm_code_parse_hook_memory_test)
28 line_calls = 0; 28 line_calls = 0;
29 file_calls = 0; 29 file_calls = 0;
30 30
31 elm_init(1, NULL); 31 char *args[] = { "exe" };
32 elm_init(1, args);
32 code = elm_code_create(); 33 code = elm_code_create();
33 file = elm_code_file_new(code); 34 file = elm_code_file_new(code);
34 35
@@ -52,7 +53,8 @@ START_TEST (elm_code_parse_hook_file_test)
52 line_calls = 0; 53 line_calls = 0;
53 file_calls = 0; 54 file_calls = 0;
54 55
55 elm_init(1, NULL); 56 char *args[] = { "exe" };
57 elm_init(1, args);
56 code = elm_code_create(); 58 code = elm_code_create();
57 59
58 elm_code_parser_add(code, _parser_line_callback, _parser_file_callback, NULL); 60 elm_code_parser_add(code, _parser_line_callback, _parser_file_callback, NULL);
@@ -73,7 +75,8 @@ START_TEST (elm_code_parse_todo_test)
73 Elm_Code_File *file; 75 Elm_Code_File *file;
74 Elm_Code_Line *line; 76 Elm_Code_Line *line;
75 77
76 elm_init(1, NULL); 78 char *args[] = { "exe" };
79 elm_init(1, args);
77 code = elm_code_create(); 80 code = elm_code_create();
78 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_TODO); 81 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_TODO);
79 file = elm_code_file_new(code); 82 file = elm_code_file_new(code);
diff --git a/src/tests/elementary/elm_code_test_syntax.c b/src/tests/elementary/elm_code_test_syntax.c
index 7e1d0d1..4b54deb 100644
--- a/src/tests/elementary/elm_code_test_syntax.c
+++ b/src/tests/elementary/elm_code_test_syntax.c
@@ -57,7 +57,8 @@ START_TEST (elm_code_syntax_c)
57 Elm_Code_Widget *widget; 57 Elm_Code_Widget *widget;
58 Evas_Object *win; 58 Evas_Object *win;
59 59
60 elm_init(1, NULL); 60 char *args[] = { "exe" };
61 elm_init(1, args);
61 code = elm_code_create(); 62 code = elm_code_create();
62 file = elm_code_file_new(code); 63 file = elm_code_file_new(code);
63 64
@@ -122,7 +123,8 @@ START_TEST (elm_code_syntax_scope_change_braces_test)
122 Elm_Code_Line *line; 123 Elm_Code_Line *line;
123 Elm_Code *code; 124 Elm_Code *code;
124 125
125 elm_init(1, NULL); 126 char *args[] = { "exe" };
127 elm_init(1, args);
126 code = elm_code_create(); 128 code = elm_code_create();
127 code->file->mime = "text/x-csrc"; 129 code->file->mime = "text/x-csrc";
128 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_SYNTAX); 130 elm_code_parser_standard_add(code, ELM_CODE_PARSER_STANDARD_SYNTAX);
diff --git a/src/tests/elementary/elm_code_test_text.c b/src/tests/elementary/elm_code_test_text.c
index dfff80f..0ab22df 100644
--- a/src/tests/elementary/elm_code_test_text.c
+++ b/src/tests/elementary/elm_code_test_text.c
@@ -17,7 +17,8 @@ START_TEST (elm_code_text_get_test)
17 const char *str; 17 const char *str;
18 unsigned int len; 18 unsigned int len;
19 19
20 elm_init(1, NULL); 20 char *args[] = { "exe" };
21 elm_init(1, args);
21 code = elm_code_create(); 22 code = elm_code_create();
22 file = elm_code_file_new(code); 23 file = elm_code_file_new(code);
23 24
@@ -38,7 +39,8 @@ START_TEST (elm_code_text_insert_test)
38 const char *text; 39 const char *text;
39 unsigned int length; 40 unsigned int length;
40 41
41 elm_init(1, NULL); 42 char *args[] = { "exe" };
43 elm_init(1, args);
42 code = elm_code_create(); 44 code = elm_code_create();
43 file = elm_code_file_new(code); 45 file = elm_code_file_new(code);
44 46
@@ -58,7 +60,8 @@ START_TEST (elm_code_text_contains_test)
58 Elm_Code_File *file; 60 Elm_Code_File *file;
59 Elm_Code_Line *line; 61 Elm_Code_Line *line;
60 62
61 elm_init(1, NULL); 63 char *args[] = { "exe" };
64 elm_init(1, args);
62 code = elm_code_create(); 65 code = elm_code_create();
63 file = elm_code_file_new(code); 66 file = elm_code_file_new(code);
64 67
@@ -80,7 +83,8 @@ START_TEST (elm_code_text_strpos_test)
80 Elm_Code_File *file; 83 Elm_Code_File *file;
81 Elm_Code_Line *line; 84 Elm_Code_Line *line;
82 85
83 elm_init(1, NULL); 86 char *args[] = { "exe" };
87 elm_init(1, args);
84 code = elm_code_create(); 88 code = elm_code_create();
85 file = elm_code_file_new(code); 89 file = elm_code_file_new(code);
86 90
@@ -106,7 +110,8 @@ START_TEST (elm_code_text_newline_position_test)
106 const char *unixtext = "a test\nwith newline"; 110 const char *unixtext = "a test\nwith newline";
107 const char *wintext = "a windows\r\nnewline"; 111 const char *wintext = "a windows\r\nnewline";
108 112
109 elm_init(1, NULL); 113 char *args[] = { "exe" };
114 elm_init(1, args);
110 ck_assert_int_eq(6, elm_code_text_newlinenpos(unixtext, strlen(unixtext), &nllen)); 115 ck_assert_int_eq(6, elm_code_text_newlinenpos(unixtext, strlen(unixtext), &nllen));
111 ck_assert_int_eq(1, nllen); 116 ck_assert_int_eq(1, nllen);
112 ck_assert_int_eq(9, elm_code_text_newlinenpos(wintext, strlen(wintext), &nllen)); 117 ck_assert_int_eq(9, elm_code_text_newlinenpos(wintext, strlen(wintext), &nllen));
@@ -119,7 +124,8 @@ START_TEST (elm_code_text_is_whitespace_test)
119{ 124{
120 const char *text; 125 const char *text;
121 126
122 elm_init(1, NULL); 127 char *args[] = { "exe" };
128 elm_init(1, args);
123 text = " "; 129 text = " ";
124 ck_assert_int_eq(1, elm_code_text_is_whitespace(text, strlen(text))); 130 ck_assert_int_eq(1, elm_code_text_is_whitespace(text, strlen(text)));
125 131
diff --git a/src/tests/elementary/elm_code_test_widget.c b/src/tests/elementary/elm_code_test_widget.c
index e832449..193f1f1 100644
--- a/src/tests/elementary/elm_code_test_widget.c
+++ b/src/tests/elementary/elm_code_test_widget.c
@@ -51,7 +51,8 @@ START_TEST (elm_code_widget_token_render_simple_test)
51 51
52 Evas_Textgrid_Cell cells[25]; 52 Evas_Textgrid_Cell cells[25];
53 53
54 elm_init(1, NULL); 54 char *args[] = { "exe" };
55 elm_init(1, args);
55 code = elm_code_create(); 56 code = elm_code_create();
56 57
57 win = elm_win_add(NULL, "code", ELM_WIN_BASIC); 58 win = elm_win_add(NULL, "code", ELM_WIN_BASIC);
@@ -82,7 +83,8 @@ START_TEST (elm_code_widget_construct)
82 Elm_Code_Widget *widget; 83 Elm_Code_Widget *widget;
83 Evas_Object *win; 84 Evas_Object *win;
84 85
85 elm_init(1, NULL); 86 char *args[] = { "exe" };
87 elm_init(1, args);
86 code = elm_code_create(); 88 code = elm_code_create();
87 89
88 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 90 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
@@ -99,7 +101,8 @@ START_TEST (elm_code_widget_construct_nocode)
99 Elm_Code_Widget *widget; 101 Elm_Code_Widget *widget;
100 Evas_Object *win; 102 Evas_Object *win;
101 103
102 elm_init(1, NULL); 104 char *args[] = { "exe" };
105 elm_init(1, args);
103 106
104 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 107 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
105 widget = elm_code_widget_add(win, NULL); 108 widget = elm_code_widget_add(win, NULL);
@@ -116,7 +119,8 @@ START_TEST (elm_code_widget_position)
116 Evas_Object *win; 119 Evas_Object *win;
117 Evas_Coord x, y, w, h, x2, y2, w2, h2; 120 Evas_Coord x, y, w, h, x2, y2, w2, h2;
118 121
119 elm_init(1, NULL); 122 char *args[] = { "exe" };
123 elm_init(1, args);
120 code = elm_code_create(); 124 code = elm_code_create();
121 125
122 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 126 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
diff --git a/src/tests/elementary/elm_code_test_widget_selection.c b/src/tests/elementary/elm_code_test_widget_selection.c
index 59c1565..5790c9b 100644
--- a/src/tests/elementary/elm_code_test_widget_selection.c
+++ b/src/tests/elementary/elm_code_test_widget_selection.c
@@ -16,7 +16,8 @@ START_TEST (elm_code_test_widget_selection_set)
16 Elm_Code_Widget *widget; 16 Elm_Code_Widget *widget;
17 Evas_Object *win; 17 Evas_Object *win;
18 18
19 elm_init(1, NULL); 19 char *args[] = { "exe" };
20 elm_init(1, args);
20 code = elm_code_create(); 21 code = elm_code_create();
21 file = elm_code_file_new(code); 22 file = elm_code_file_new(code);
22 elm_code_file_line_append(file, "test", 4, NULL); 23 elm_code_file_line_append(file, "test", 4, NULL);
@@ -41,7 +42,8 @@ START_TEST (elm_code_test_widget_selection_normalized_get)
41 Elm_Code_Widget_Selection_Data *selection; 42 Elm_Code_Widget_Selection_Data *selection;
42 Evas_Object *win; 43 Evas_Object *win;
43 44
44 elm_init(1, NULL); 45 char *args[] = { "exe" };
46 elm_init(1, args);
45 code = elm_code_create(); 47 code = elm_code_create();
46 file = elm_code_file_new(code); 48 file = elm_code_file_new(code);
47 elm_code_file_line_append(file, "test", 4, NULL); 49 elm_code_file_line_append(file, "test", 4, NULL);
@@ -83,7 +85,8 @@ START_TEST (elm_code_test_widget_selection_text_get)
83 Evas_Object *win; 85 Evas_Object *win;
84 char *selection; 86 char *selection;
85 87
86 elm_init(1, NULL); 88 char *args[] = { "exe" };
89 elm_init(1, args);
87 code = elm_code_create(); 90 code = elm_code_create();
88 file = elm_code_file_new(code); 91 file = elm_code_file_new(code);
89 elm_code_file_line_append(file, "test", 4, NULL); 92 elm_code_file_line_append(file, "test", 4, NULL);
@@ -116,7 +119,8 @@ START_TEST (elm_code_test_widget_selection_reverse_text_get)
116 Evas_Object *win; 119 Evas_Object *win;
117 char *selection; 120 char *selection;
118 121
119 elm_init(1, NULL); 122 char *args[] = { "exe" };
123 elm_init(1, args);
120 code = elm_code_create(); 124 code = elm_code_create();
121 file = elm_code_file_new(code); 125 file = elm_code_file_new(code);
122 elm_code_file_line_append(file, "test", 4, NULL); 126 elm_code_file_line_append(file, "test", 4, NULL);
@@ -149,7 +153,8 @@ START_TEST (elm_code_test_widget_selection_text_get_twoline)
149 Evas_Object *win; 153 Evas_Object *win;
150 char *selection; 154 char *selection;
151 155
152 elm_init(1, NULL); 156 char *args[] = { "exe" };
157 elm_init(1, args);
153 code = elm_code_create(); 158 code = elm_code_create();
154 file = elm_code_file_new(code); 159 file = elm_code_file_new(code);
155 elm_code_file_line_append(file, "test", 4, NULL); 160 elm_code_file_line_append(file, "test", 4, NULL);
@@ -178,7 +183,8 @@ START_TEST (elm_code_test_widget_selection_reverse_text_get_twoline)
178 Evas_Object *win; 183 Evas_Object *win;
179 char *selection; 184 char *selection;
180 185
181 elm_init(1, NULL); 186 char *args[] = { "exe" };
187 elm_init(1, args);
182 code = elm_code_create(); 188 code = elm_code_create();
183 file = elm_code_file_new(code); 189 file = elm_code_file_new(code);
184 elm_code_file_line_append(file, "test", 4, NULL); 190 elm_code_file_line_append(file, "test", 4, NULL);
@@ -207,7 +213,8 @@ START_TEST (elm_code_test_widget_selection_text_get_multiline)
207 Evas_Object *win; 213 Evas_Object *win;
208 char *selection; 214 char *selection;
209 215
210 elm_init(1, NULL); 216 char *args[] = { "exe" };
217 elm_init(1, args);
211 code = elm_code_create(); 218 code = elm_code_create();
212 file = elm_code_file_new(code); 219 file = elm_code_file_new(code);
213 elm_code_file_line_append(file, "test", 4, NULL); 220 elm_code_file_line_append(file, "test", 4, NULL);
@@ -237,7 +244,8 @@ START_TEST (elm_code_test_widget_selection_reverse_text_get_multiline)
237 Evas_Object *win; 244 Evas_Object *win;
238 char *selection; 245 char *selection;
239 246
240 elm_init(1, NULL); 247 char *args[] = { "exe" };
248 elm_init(1, args);
241 code = elm_code_create(); 249 code = elm_code_create();
242 file = elm_code_file_new(code); 250 file = elm_code_file_new(code);
243 elm_code_file_line_append(file, "test", 4, NULL); 251 elm_code_file_line_append(file, "test", 4, NULL);
@@ -269,7 +277,8 @@ START_TEST (elm_code_test_widget_selection_delete)
269 const char *text; 277 const char *text;
270 unsigned int length; 278 unsigned int length;
271 279
272 elm_init(1, NULL); 280 char *args[] = { "exe" };
281 elm_init(1, args);
273 code = elm_code_create(); 282 code = elm_code_create();
274 file = elm_code_file_new(code); 283 file = elm_code_file_new(code);
275 elm_code_file_line_append(file, "text", 4, NULL); 284 elm_code_file_line_append(file, "text", 4, NULL);
@@ -305,7 +314,8 @@ START_TEST (elm_code_test_widget_selection_reverse_delete)
305 const char *text; 314 const char *text;
306 unsigned int length; 315 unsigned int length;
307 316
308 elm_init(1, NULL); 317 char *args[] = { "exe" };
318 elm_init(1, args);
309 code = elm_code_create(); 319 code = elm_code_create();
310 file = elm_code_file_new(code); 320 file = elm_code_file_new(code);
311 elm_code_file_line_append(file, "text", 4, NULL); 321 elm_code_file_line_append(file, "text", 4, NULL);
@@ -341,7 +351,8 @@ START_TEST (elm_code_test_widget_selection_delete_twoline)
341 const char *text; 351 const char *text;
342 unsigned int length; 352 unsigned int length;
343 353
344 elm_init(1, NULL); 354 char *args[] = { "exe" };
355 elm_init(1, args);
345 code = elm_code_create(); 356 code = elm_code_create();
346 file = elm_code_file_new(code); 357 file = elm_code_file_new(code);
347 elm_code_file_line_append(file, "text", 4, NULL); 358 elm_code_file_line_append(file, "text", 4, NULL);
@@ -388,7 +399,8 @@ START_TEST (elm_code_test_widget_selection_reverse_delete_twoline)
388 const char *text; 399 const char *text;
389 unsigned int length; 400 unsigned int length;
390 401
391 elm_init(1, NULL); 402 char *args[] = { "exe" };
403 elm_init(1, args);
392 code = elm_code_create(); 404 code = elm_code_create();
393 file = elm_code_file_new(code); 405 file = elm_code_file_new(code);
394 elm_code_file_line_append(file, "text", 4, NULL); 406 elm_code_file_line_append(file, "text", 4, NULL);
@@ -435,7 +447,8 @@ START_TEST (elm_code_test_widget_selection_delete_multiline)
435 const char *text; 447 const char *text;
436 unsigned int length; 448 unsigned int length;
437 449
438 elm_init(1, NULL); 450 char *args[] = { "exe" };
451 elm_init(1, args);
439 code = elm_code_create(); 452 code = elm_code_create();
440 file = elm_code_file_new(code); 453 file = elm_code_file_new(code);
441 elm_code_file_line_append(file, "text", 4, NULL); 454 elm_code_file_line_append(file, "text", 4, NULL);
@@ -484,7 +497,8 @@ START_TEST (elm_code_test_widget_selection_reverse_delete_multiline)
484 const char *text; 497 const char *text;
485 unsigned int length; 498 unsigned int length;
486 499
487 elm_init(1, NULL); 500 char *args[] = { "exe" };
501 elm_init(1, args);
488 code = elm_code_create(); 502 code = elm_code_create();
489 file = elm_code_file_new(code); 503 file = elm_code_file_new(code);
490 elm_code_file_line_append(file, "text", 4, NULL); 504 elm_code_file_line_append(file, "text", 4, NULL);
@@ -531,7 +545,8 @@ START_TEST (elm_code_test_widget_selection_select_line)
531 Evas_Object *win; 545 Evas_Object *win;
532 char *selection; 546 char *selection;
533 547
534 elm_init(1, NULL); 548 char *args[] = { "exe" };
549 elm_init(1, args);
535 code = elm_code_create(); 550 code = elm_code_create();
536 file = elm_code_file_new(code); 551 file = elm_code_file_new(code);
537 elm_code_file_line_append(file, "line selection", 14, NULL); 552 elm_code_file_line_append(file, "line selection", 14, NULL);
@@ -561,7 +576,8 @@ START_TEST (elm_code_test_widget_selection_select_word)
561 Evas_Object *win; 576 Evas_Object *win;
562 char *selection; 577 char *selection;
563 578
564 elm_init(1, NULL); 579 char *args[] = { "exe" };
580 elm_init(1, args);
565 code = elm_code_create(); 581 code = elm_code_create();
566 file = elm_code_file_new(code); 582 file = elm_code_file_new(code);
567 elm_code_file_line_append(file, "word selection test", 19, NULL); 583 elm_code_file_line_append(file, "word selection test", 19, NULL);
@@ -602,7 +618,8 @@ START_TEST (elm_code_test_widget_selection_select_word_punctuation)
602 Evas_Object *win; 618 Evas_Object *win;
603 char *selection; 619 char *selection;
604 620
605 elm_init(1, NULL); 621 char *args[] = { "exe" };
622 elm_init(1, args);
606 code = elm_code_create(); 623 code = elm_code_create();
607 file = elm_code_file_new(code); 624 file = elm_code_file_new(code);
608 elm_code_file_line_append(file, "comma, stop. question? mark!", 38, NULL); 625 elm_code_file_line_append(file, "comma, stop. question? mark!", 38, NULL);
@@ -641,7 +658,8 @@ START_TEST (elm_code_test_widget_selection_select_word_symbols)
641 Evas_Object *win; 658 Evas_Object *win;
642 char *selection; 659 char *selection;
643 660
644 elm_init(1, NULL); 661 char *args[] = { "exe" };
662 elm_init(1, args);
645 code = elm_code_create(); 663 code = elm_code_create();
646 file = elm_code_file_new(code); 664 file = elm_code_file_new(code);
647 elm_code_file_line_append(file, "colon: [array] (brackets) {braces}", 38, NULL); 665 elm_code_file_line_append(file, "colon: [array] (brackets) {braces}", 38, NULL);
diff --git a/src/tests/elementary/elm_code_test_widget_text.c b/src/tests/elementary/elm_code_test_widget_text.c
index e11ce6f..c98926b 100644
--- a/src/tests/elementary/elm_code_test_widget_text.c
+++ b/src/tests/elementary/elm_code_test_widget_text.c
@@ -13,7 +13,8 @@ START_TEST (elm_code_test_widget_text_tab_width)
13 Elm_Code_Widget *widget; 13 Elm_Code_Widget *widget;
14 Evas_Object *win; 14 Evas_Object *win;
15 15
16 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 code = elm_code_create(); 18 code = elm_code_create();
18 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 19 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
19 widget = elm_code_widget_add(win, code); 20 widget = elm_code_widget_add(win, code);
@@ -36,7 +37,8 @@ START_TEST (elm_code_test_widget_text_position)
36 Elm_Code_Widget *widget; 37 Elm_Code_Widget *widget;
37 Evas_Object *win; 38 Evas_Object *win;
38 39
39 elm_init(1, NULL); 40 char *args[] = { "exe" };
41 elm_init(1, args);
40 code = elm_code_create(); 42 code = elm_code_create();
41 file = elm_code_file_new(code); 43 file = elm_code_file_new(code);
42 elm_code_file_line_append(file, "a\tb", 4, NULL); 44 elm_code_file_line_append(file, "a\tb", 4, NULL);
diff --git a/src/tests/elementary/elm_code_test_widget_undo.c b/src/tests/elementary/elm_code_test_widget_undo.c
index 0e54fcb..1076242 100644
--- a/src/tests/elementary/elm_code_test_widget_undo.c
+++ b/src/tests/elementary/elm_code_test_widget_undo.c
@@ -18,7 +18,8 @@ START_TEST (elm_code_test_widget_undo_text_insert)
18 unsigned int length; 18 unsigned int length;
19 const char *content; 19 const char *content;
20 20
21 elm_init(1, NULL); 21 char *args[] = { "exe" };
22 elm_init(1, args);
22 code = elm_code_create(); 23 code = elm_code_create();
23 file = elm_code_file_new(code); 24 file = elm_code_file_new(code);
24 elm_code_file_line_append(file, "test", 4, NULL); 25 elm_code_file_line_append(file, "test", 4, NULL);
@@ -68,7 +69,8 @@ START_TEST (elm_code_test_widget_undo_text_insert_multiple)
68 unsigned int length; 69 unsigned int length;
69 const char *content; 70 const char *content;
70 71
71 elm_init(1, NULL); 72 char *args[] = { "exe" };
73 elm_init(1, args);
72 code = elm_code_create(); 74 code = elm_code_create();
73 file = elm_code_file_new(code); 75 file = elm_code_file_new(code);
74 elm_code_file_line_append(file, "test", 4, NULL); 76 elm_code_file_line_append(file, "test", 4, NULL);
@@ -105,7 +107,8 @@ START_TEST (elm_code_test_widget_undo_newline)
105 unsigned int length; 107 unsigned int length;
106 const char *content; 108 const char *content;
107 109
108 elm_init(1, NULL); 110 char *args[] = { "exe" };
111 elm_init(1, args);
109 code = elm_code_create(); 112 code = elm_code_create();
110 file = elm_code_file_new(code); 113 file = elm_code_file_new(code);
111 elm_code_file_line_append(file, "test", 4, NULL); 114 elm_code_file_line_append(file, "test", 4, NULL);
@@ -142,7 +145,8 @@ START_TEST (elm_code_test_widget_undo_delete)
142 unsigned int length; 145 unsigned int length;
143 const char *content; 146 const char *content;
144 147
145 elm_init(1, NULL); 148 char *args[] = { "exe" };
149 elm_init(1, args);
146 code = elm_code_create(); 150 code = elm_code_create();
147 file = elm_code_file_new(code); 151 file = elm_code_file_new(code);
148 elm_code_file_line_append(file, "test", 4, NULL); 152 elm_code_file_line_append(file, "test", 4, NULL);
@@ -204,7 +208,8 @@ START_TEST (elm_code_test_widget_undo_delete_multiple)
204 unsigned int length; 208 unsigned int length;
205 const char *content; 209 const char *content;
206 210
207 elm_init(1, NULL); 211 char *args[] = { "exe" };
212 elm_init(1, args);
208 code = elm_code_create(); 213 code = elm_code_create();
209 file = elm_code_file_new(code); 214 file = elm_code_file_new(code);
210 elm_code_file_line_append(file, "test", 4, NULL); 215 elm_code_file_line_append(file, "test", 4, NULL);
diff --git a/src/tests/elementary/elm_test_actionslider.c b/src/tests/elementary/elm_test_actionslider.c
index aaeeb13..b634505 100644
--- a/src/tests/elementary/elm_test_actionslider.c
+++ b/src/tests/elementary/elm_test_actionslider.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
16 17
17 actionslider = elm_actionslider_add(win); 18 actionslider = elm_actionslider_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *actionslider; 34 Evas_Object *win, *actionslider;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
38 40
39 actionslider = elm_actionslider_add(win); 41 actionslider = elm_actionslider_add(win);
diff --git a/src/tests/elementary/elm_test_atspi.c b/src/tests/elementary/elm_test_atspi.c
index ad4d47d..61c9c4e 100644
--- a/src/tests/elementary/elm_test_atspi.c
+++ b/src/tests/elementary/elm_test_atspi.c
@@ -28,7 +28,8 @@ void generate_app(void)
28 28
29START_TEST (test_efl_access_app_obj_name_get) 29START_TEST (test_efl_access_app_obj_name_get)
30{ 30{
31 elm_init(0, NULL); 31 char *args[] = { "exe" };
32 elm_init(1, args);
32 33
33 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 34 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
34 35
@@ -49,7 +50,8 @@ END_TEST
49 50
50START_TEST (test_efl_access_i18n_name_get) 51START_TEST (test_efl_access_i18n_name_get)
51{ 52{
52 elm_init(0, NULL); 53 char *args[] = { "exe" };
54 elm_init(1, args);
53 generate_app(); 55 generate_app();
54 56
55 const char *name; 57 const char *name;
@@ -75,7 +77,8 @@ END_TEST
75 77
76START_TEST (test_efl_access_i18n_name_set) 78START_TEST (test_efl_access_i18n_name_set)
77{ 79{
78 elm_init(0, NULL); 80 char *args[] = { "exe" };
81 elm_init(1, args);
79 generate_app(); 82 generate_app();
80 83
81 const char *name; 84 const char *name;
@@ -100,7 +103,8 @@ END_TEST
100 103
101START_TEST (test_efl_access_role_get) 104START_TEST (test_efl_access_role_get)
102{ 105{
103 elm_init(0, NULL); 106 char *args[] = { "exe" };
107 elm_init(1, args);
104 108
105 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 109 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
106 110
@@ -117,7 +121,8 @@ END_TEST
117 121
118START_TEST (test_efl_access_role_set) 122START_TEST (test_efl_access_role_set)
119{ 123{
120 elm_init(0, NULL); 124 char *args[] = { "exe" };
125 elm_init(1, args);
121 generate_app(); 126 generate_app();
122 Efl_Access_Role role; 127 Efl_Access_Role role;
123 128
@@ -139,7 +144,8 @@ END_TEST
139 144
140START_TEST (test_efl_access_role_name_get) 145START_TEST (test_efl_access_role_name_get)
141{ 146{
142 elm_init(0, NULL); 147 char *args[] = { "exe" };
148 elm_init(1, args);
143 149
144 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 150 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
145 151
@@ -156,7 +162,8 @@ END_TEST
156 162
157START_TEST (test_efl_access_localized_role_name_get) 163START_TEST (test_efl_access_localized_role_name_get)
158{ 164{
159 elm_init(0, NULL); 165 char *args[] = { "exe" };
166 elm_init(1, args);
160 167
161 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 168 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
162 169
@@ -173,7 +180,8 @@ END_TEST
173 180
174START_TEST (test_efl_access_description_set) 181START_TEST (test_efl_access_description_set)
175{ 182{
176 elm_init(0, NULL); 183 char *args[] = { "exe" };
184 elm_init(1, args);
177 185
178 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 186 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
179 187
@@ -204,7 +212,8 @@ END_TEST
204/* Test if initial description value is NULL */ 212/* Test if initial description value is NULL */
205START_TEST (test_efl_access_description_get) 213START_TEST (test_efl_access_description_get)
206{ 214{
207 elm_init(0, NULL); 215 char *args[] = { "exe" };
216 elm_init(1, args);
208 generate_app(); 217 generate_app();
209 218
210 const char *descr; 219 const char *descr;
@@ -218,7 +227,8 @@ END_TEST
218 227
219START_TEST (test_efl_access_children_and_parent) 228START_TEST (test_efl_access_children_and_parent)
220{ 229{
221 elm_init(0, NULL); 230 char *args[] = { "exe" };
231 elm_init(1, args);
222 232
223 generate_app(); 233 generate_app();
224 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 234 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
@@ -245,7 +255,8 @@ END_TEST
245 255
246START_TEST (test_efl_access_children_and_parent2) 256START_TEST (test_efl_access_children_and_parent2)
247{ 257{
248 elm_init(0, NULL); 258 char *args[] = { "exe" };
259 elm_init(1, args);
249 260
250 generate_app(); 261 generate_app();
251 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL); 262 Eo* root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, NULL);
@@ -275,7 +286,8 @@ END_TEST
275/* Initial value of translation domain should be NULL */ 286/* Initial value of translation domain should be NULL */
276START_TEST (test_efl_access_translation_domain_get) 287START_TEST (test_efl_access_translation_domain_get)
277{ 288{
278 elm_init(0, NULL); 289 char *args[] = { "exe" };
290 elm_init(1, args);
279 generate_app(); 291 generate_app();
280 292
281 const char *domain; 293 const char *domain;
@@ -290,7 +302,8 @@ END_TEST
290 302
291START_TEST (test_efl_access_translation_domain_set) 303START_TEST (test_efl_access_translation_domain_set)
292{ 304{
293 elm_init(0, NULL); 305 char *args[] = { "exe" };
306 elm_init(1, args);
294 generate_app(); 307 generate_app();
295 308
296 const char *domain; 309 const char *domain;
@@ -312,7 +325,8 @@ END_TEST
312 325
313START_TEST (test_efl_access_relationship_append) 326START_TEST (test_efl_access_relationship_append)
314{ 327{
315 elm_init(0, NULL); 328 char *args[] = { "exe" };
329 elm_init(1, args);
316 generate_app(); 330 generate_app();
317 331
318 Efl_Access_Relation_Set set; 332 Efl_Access_Relation_Set set;
@@ -375,7 +389,8 @@ END_TEST
375 389
376START_TEST (test_efl_access_relationship_remove) 390START_TEST (test_efl_access_relationship_remove)
377{ 391{
378 elm_init(0, NULL); 392 char *args[] = { "exe" };
393 elm_init(1, args);
379 generate_app(); 394 generate_app();
380 395
381 Efl_Access_Relation_Set set; 396 Efl_Access_Relation_Set set;
@@ -456,7 +471,8 @@ START_TEST (test_efl_access_relationships_clear)
456 Efl_Access_Relation *rel; 471 Efl_Access_Relation *rel;
457 Eina_List *l; 472 Eina_List *l;
458 473
459 elm_init(0, NULL); 474 char *args[] = { "exe" };
475 elm_init(1, args);
460 generate_app(); 476 generate_app();
461 477
462 efl_access_relationship_append(g_btn, EFL_ACCESS_RELATION_FLOWS_TO, g_bg); 478 efl_access_relationship_append(g_btn, EFL_ACCESS_RELATION_FLOWS_TO, g_bg);
diff --git a/src/tests/elementary/elm_test_bg.c b/src/tests/elementary/elm_test_bg.c
index 6f57037..7a7fbd9 100644
--- a/src/tests/elementary/elm_test_bg.c
+++ b/src/tests/elementary/elm_test_bg.c
@@ -10,7 +10,8 @@ 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 elm_init(1, NULL); 13 char *args[] = { "exe" };
14 elm_init(1, args);
14 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC); 15 win = elm_win_add(NULL, "bg", ELM_WIN_BASIC);
15 16
16 bg = elm_bg_add(win); 17 bg = elm_bg_add(win);
diff --git a/src/tests/elementary/elm_test_box.c b/src/tests/elementary/elm_test_box.c
index 02df277..5947185 100644
--- a/src/tests/elementary/elm_test_box.c
+++ b/src/tests/elementary/elm_test_box.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "box", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
16 17
17 box = elm_box_add(win); 18 box = elm_box_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *box; 34 Evas_Object *win, *box;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "box", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
38 40
39 box = elm_box_add(win); 41 box = elm_box_add(win);
diff --git a/src/tests/elementary/elm_test_bubble.c b/src/tests/elementary/elm_test_bubble.c
index fb92261..dff9c17 100644
--- a/src/tests/elementary/elm_test_bubble.c
+++ b/src/tests/elementary/elm_test_bubble.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
16 17
17 bubble = elm_bubble_add(win); 18 bubble = elm_bubble_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *bubble; 34 Evas_Object *win, *bubble;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
38 40
39 bubble = elm_bubble_add(win); 41 bubble = elm_bubble_add(win);
diff --git a/src/tests/elementary/elm_test_button.c b/src/tests/elementary/elm_test_button.c
index b5937e1..17d70a8 100644
--- a/src/tests/elementary/elm_test_button.c
+++ b/src/tests/elementary/elm_test_button.c
@@ -13,7 +13,8 @@ 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 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 18 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
18 19
19 button = elm_button_add(win); 20 button = elm_button_add(win);
@@ -35,7 +36,8 @@ START_TEST (elm_atspi_role_get)
35 Evas_Object *win, *button; 36 Evas_Object *win, *button;
36 Efl_Access_Role role; 37 Efl_Access_Role role;
37 38
38 elm_init(1, NULL); 39 char *args[] = { "exe" };
40 elm_init(1, args);
39 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 41 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
40 42
41 button = elm_button_add(win); 43 button = elm_button_add(win);
@@ -51,7 +53,8 @@ START_TEST (elm_atspi_interfaces_check)
51{ 53{
52 Evas_Object *win, *button; 54 Evas_Object *win, *button;
53 55
54 elm_init(1, NULL); 56 char *args[] = { "exe" };
57 elm_init(1, args);
55 win = elm_win_add(NULL, "button", ELM_WIN_BASIC); 58 win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
56 59
57 button = elm_button_add(win); 60 button = elm_button_add(win);
diff --git a/src/tests/elementary/elm_test_calendar.c b/src/tests/elementary/elm_test_calendar.c
index 5b7f428..b8a3efa 100644
--- a/src/tests/elementary/elm_test_calendar.c
+++ b/src/tests/elementary/elm_test_calendar.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
16 17
17 calendar = elm_calendar_add(win); 18 calendar = elm_calendar_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *calendar; 34 Evas_Object *win, *calendar;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
38 40
39 calendar = elm_calendar_add(win); 41 calendar = elm_calendar_add(win);
diff --git a/src/tests/elementary/elm_test_check.c b/src/tests/elementary/elm_test_check.c
index 25bd310..2b86405 100644
--- a/src/tests/elementary/elm_test_check.c
+++ b/src/tests/elementary/elm_test_check.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
16 17
17 check = elm_check_add(win); 18 check = elm_check_add(win);
@@ -32,7 +33,8 @@ START_TEST (elm_check_onoff_text)
32{ 33{
33 Evas_Object *win, *check; 34 Evas_Object *win, *check;
34 35
35 elm_init(1, NULL); 36 char *args[] = { "exe" };
37 elm_init(1, args);
36 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 38 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
37 39
38 check = elm_check_add(win); 40 check = elm_check_add(win);
@@ -56,7 +58,8 @@ START_TEST (elm_check_state)
56 Evas_Object *win, *check; 58 Evas_Object *win, *check;
57 Eina_Bool state = EINA_TRUE; 59 Eina_Bool state = EINA_TRUE;
58 60
59 elm_init(1, NULL); 61 char *args[] = { "exe" };
62 elm_init(1, args);
60 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 63 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
61 64
62 check = elm_check_add(win); 65 check = elm_check_add(win);
@@ -77,7 +80,8 @@ START_TEST (elm_atspi_role_get)
77 Evas_Object *win, *check; 80 Evas_Object *win, *check;
78 Efl_Access_Role role; 81 Efl_Access_Role role;
79 82
80 elm_init(1, NULL); 83 char *args[] = { "exe" };
84 elm_init(1, args);
81 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 85 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
82 86
83 check = elm_check_add(win); 87 check = elm_check_add(win);
diff --git a/src/tests/elementary/elm_test_clock.c b/src/tests/elementary/elm_test_clock.c
index 1467e6b..92ca0f6 100644
--- a/src/tests/elementary/elm_test_clock.c
+++ b/src/tests/elementary/elm_test_clock.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
16 17
17 clock = elm_clock_add(win); 18 clock = elm_clock_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *clk; 34 Evas_Object *win, *clk;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
38 40
39 clk = elm_clock_add(win); 41 clk = elm_clock_add(win);
diff --git a/src/tests/elementary/elm_test_colorselector.c b/src/tests/elementary/elm_test_colorselector.c
index 2cb8533..48e53fd 100644
--- a/src/tests/elementary/elm_test_colorselector.c
+++ b/src/tests/elementary/elm_test_colorselector.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
16 17
17 colorselector = elm_colorselector_add(win); 18 colorselector = elm_colorselector_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_colorselector_palette)
33 Evas_Object *win, *c; 34 Evas_Object *win, *c;
34 unsigned int palette_cnt; 35 unsigned int palette_cnt;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "check", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
38 40
39 c = elm_colorselector_add(win); 41 c = elm_colorselector_add(win);
@@ -60,7 +62,8 @@ START_TEST (elm_atspi_role_get)
60 Evas_Object *win, *c; 62 Evas_Object *win, *c;
61 Efl_Access_Role role; 63 Efl_Access_Role role;
62 64
63 elm_init(1, NULL); 65 char *args[] = { "exe" };
66 elm_init(1, args);
64 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC); 67 win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
65 68
66 c = elm_colorselector_add(win); 69 c = elm_colorselector_add(win);
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c
index 15a7998..12813b0 100644
--- a/src/tests/elementary/elm_test_config.c
+++ b/src/tests/elementary/elm_test_config.c
@@ -11,7 +11,8 @@ typedef unsigned int uint;
11 11
12START_TEST (elm_config_eoapi) 12START_TEST (elm_config_eoapi)
13{ 13{
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 16
16 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 17 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
17 fail_if(!cfg); 18 fail_if(!cfg);
@@ -148,7 +149,8 @@ END_TEST
148 149
149START_TEST (elm_config_win) 150START_TEST (elm_config_win)
150{ 151{
151 elm_init(1, NULL); 152 char *args[] = { "exe" };
153 elm_init(1, args);
152 154
153 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 155 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
154 fail_if(!cfg); 156 fail_if(!cfg);
@@ -180,7 +182,8 @@ _eina_list_string_has(const Eina_List *list, const char *str)
180 182
181START_TEST (elm_config_profiles) 183START_TEST (elm_config_profiles)
182{ 184{
183 elm_init(1, NULL); 185 char *args[] = { "exe" };
186 elm_init(1, args);
184 187
185 // this only tests some of the profile APIs. we're not going to mess with 188 // this only tests some of the profile APIs. we're not going to mess with
186 // the global config during make check :) 189 // the global config during make check :)
diff --git a/src/tests/elementary/elm_test_conformant.c b/src/tests/elementary/elm_test_conformant.c
index b13f08f..1fe5a15 100644
--- a/src/tests/elementary/elm_test_conformant.c
+++ b/src/tests/elementary/elm_test_conformant.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
16 17
17 conformant = elm_conformant_add(win); 18 conformant = elm_conformant_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *conformant; 34 Evas_Object *win, *conformant;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
38 40
39 conformant = elm_conformant_add(win); 41 conformant = elm_conformant_add(win);
diff --git a/src/tests/elementary/elm_test_ctxpopup.c b/src/tests/elementary/elm_test_ctxpopup.c
index 7515ac0..d0b5890 100644
--- a/src/tests/elementary/elm_test_ctxpopup.c
+++ b/src/tests/elementary/elm_test_ctxpopup.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC);
16 17
17 ctxpopup = elm_ctxpopup_add(win); 18 ctxpopup = elm_ctxpopup_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *ctxpopup; 34 Evas_Object *win, *ctxpopup;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
38 40
39 ctxpopup = elm_ctxpopup_add(win); 41 ctxpopup = elm_ctxpopup_add(win);
diff --git a/src/tests/elementary/elm_test_datetime.c b/src/tests/elementary/elm_test_datetime.c
index 5914efc..d9e4b89 100644
--- a/src/tests/elementary/elm_test_datetime.c
+++ b/src/tests/elementary/elm_test_datetime.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
16 17
17 datetime = elm_datetime_add(win); 18 datetime = elm_datetime_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *datetime; 34 Evas_Object *win, *datetime;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
38 40
39 datetime = elm_datetime_add(win); 41 datetime = elm_datetime_add(win);
diff --git a/src/tests/elementary/elm_test_dayselector.c b/src/tests/elementary/elm_test_dayselector.c
index fc30ef1..67cea27 100644
--- a/src/tests/elementary/elm_test_dayselector.c
+++ b/src/tests/elementary/elm_test_dayselector.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
16 17
17 dayselector = elm_dayselector_add(win); 18 dayselector = elm_dayselector_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *dayselector; 34 Evas_Object *win, *dayselector;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
38 40
39 dayselector = elm_dayselector_add(win); 41 dayselector = elm_dayselector_add(win);
diff --git a/src/tests/elementary/elm_test_diskselector.c b/src/tests/elementary/elm_test_diskselector.c
index 0615e81..3b7154a 100644
--- a/src/tests/elementary/elm_test_diskselector.c
+++ b/src/tests/elementary/elm_test_diskselector.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
16 17
17 diskselector = elm_diskselector_add(win); 18 diskselector = elm_diskselector_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *diskselector; 34 Evas_Object *win, *diskselector;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
38 40
39 diskselector = elm_diskselector_add(win); 41 diskselector = elm_diskselector_add(win);
diff --git a/src/tests/elementary/elm_test_entry.c b/src/tests/elementary/elm_test_entry.c
index 1ca310a..63f7b5c 100644
--- a/src/tests/elementary/elm_test_entry.c
+++ b/src/tests/elementary/elm_test_entry.c
@@ -13,7 +13,8 @@ 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 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 18 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
18 19
19 entry = elm_entry_add(win); 20 entry = elm_entry_add(win);
@@ -34,7 +35,8 @@ START_TEST (elm_entry_del)
34{ 35{
35 Evas_Object *win, *entry; 36 Evas_Object *win, *entry;
36 37
37 elm_init(1, NULL); 38 char *args[] = { "exe" };
39 elm_init(1, args);
38 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 40 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
39 41
40 entry = elm_entry_add(win); 42 entry = elm_entry_add(win);
@@ -56,7 +58,8 @@ START_TEST (elm_entry_signal_callback)
56 void *data; 58 void *data;
57 int k; 59 int k;
58 60
59 elm_init(1, NULL); 61 char *args[] = { "exe" };
62 elm_init(1, args);
60 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 63 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
61 64
62 entry = elm_entry_add(win); 65 entry = elm_entry_add(win);
@@ -100,7 +103,8 @@ START_TEST (elm_entry_atspi_text_char_get)
100 const char *txt = "ĄA11Y Ł TEST"; 103 const char *txt = "ĄA11Y Ł TEST";
101 const char *mtxt = "<b>ĄA11Y</b> <title>Ł</> TEST"; 104 const char *mtxt = "<b>ĄA11Y</b> <title>Ł</> TEST";
102 105
103 elm_init(1, NULL); 106 char *args[] = { "exe" };
107 elm_init(1, args);
104 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 108 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
105 109
106 entry = elm_entry_add(win); 110 entry = elm_entry_add(win);
@@ -138,7 +142,8 @@ START_TEST (elm_entry_atspi_text_char_count)
138 142
139 const char *mtxt = "<b>AĄ11Y</b> <title>Ł</> TEST"; 143 const char *mtxt = "<b>AĄ11Y</b> <title>Ł</> TEST";
140 144
141 elm_init(1, NULL); 145 char *args[] = { "exe" };
146 elm_init(1, args);
142 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 147 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
143 148
144 entry = elm_entry_add(win); 149 entry = elm_entry_add(win);
@@ -159,7 +164,8 @@ START_TEST (elm_entry_atspi_text_string_get_char)
159 164
160 const char *txt = "Lorem ipśum dolor sit amęt"; 165 const char *txt = "Lorem ipśum dolor sit amęt";
161 166
162 elm_init(1, NULL); 167 char *args[] = { "exe" };
168 elm_init(1, args);
163 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 169 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
164 170
165 entry = elm_entry_add(win); 171 entry = elm_entry_add(win);
@@ -204,7 +210,8 @@ START_TEST (elm_entry_atspi_text_string_get_word)
204 210
205 const char *txt = "Lorem ipśum dolor sit amęt"; 211 const char *txt = "Lorem ipśum dolor sit amęt";
206 212
207 elm_init(1, NULL); 213 char *args[] = { "exe" };
214 elm_init(1, args);
208 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 215 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
209 216
210 entry = elm_entry_add(win); 217 entry = elm_entry_add(win);
@@ -250,7 +257,8 @@ START_TEST (elm_entry_atspi_text_string_get_paragraph)
250 257
251 const char *txt = "Lorem ipśum<br> dolor sit<br> amęt"; 258 const char *txt = "Lorem ipśum<br> dolor sit<br> amęt";
252 259
253 elm_init(1, NULL); 260 char *args[] = { "exe" };
261 elm_init(1, args);
254 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 262 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
255 263
256 entry = elm_entry_add(win); 264 entry = elm_entry_add(win);
@@ -296,7 +304,8 @@ START_TEST (elm_entry_atspi_text_string_get_line)
296 304
297 const char *txt = "Lorem ipśum<br> dolor sit amęt"; 305 const char *txt = "Lorem ipśum<br> dolor sit amęt";
298 306
299 elm_init(1, NULL); 307 char *args[] = { "exe" };
308 elm_init(1, args);
300 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 309 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
301 310
302 entry = elm_entry_add(win); 311 entry = elm_entry_add(win);
@@ -329,7 +338,8 @@ START_TEST (elm_entry_atspi_text_text_get)
329 char *val; 338 char *val;
330 const char *txt = "Lorem Xpśum dolor sit amęt"; 339 const char *txt = "Lorem Xpśum dolor sit amęt";
331 340
332 elm_init(1, NULL); 341 char *args[] = { "exe" };
342 elm_init(1, args);
333 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 343 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
334 344
335 entry = elm_entry_add(win); 345 entry = elm_entry_add(win);
@@ -362,7 +372,8 @@ START_TEST (elm_entry_atspi_text_selections)
362 Eina_Bool ret; 372 Eina_Bool ret;
363 const char *txt = "Lorem ipśum<br> dolor sit\n amęt"; 373 const char *txt = "Lorem ipśum<br> dolor sit\n amęt";
364 374
365 elm_init(1, NULL); 375 char *args[] = { "exe" };
376 elm_init(1, args);
366 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 377 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
367 378
368 entry = elm_entry_add(win); 379 entry = elm_entry_add(win);
@@ -405,7 +416,8 @@ START_TEST (elm_atspi_role_get)
405 Evas_Object *win, *entry; 416 Evas_Object *win, *entry;
406 Efl_Access_Role role; 417 Efl_Access_Role role;
407 418
408 elm_init(1, NULL); 419 char *args[] = { "exe" };
420 elm_init(1, args);
409 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); 421 win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
410 422
411 entry = elm_entry_add(win); 423 entry = elm_entry_add(win);
diff --git a/src/tests/elementary/elm_test_fileselector.c b/src/tests/elementary/elm_test_fileselector.c
index c96e8b0..39e1d03 100644
--- a/src/tests/elementary/elm_test_fileselector.c
+++ b/src/tests/elementary/elm_test_fileselector.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
16 17
17 fileselector = elm_fileselector_add(win); 18 fileselector = elm_fileselector_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *fileselector; 34 Evas_Object *win, *fileselector;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
38 40
39 fileselector = elm_fileselector_add(win); 41 fileselector = elm_fileselector_add(win);
@@ -61,7 +63,8 @@ START_TEST (elm_fileselector_selected)
61 char *path; 63 char *path;
62 Eina_Bool open, selected; 64 Eina_Bool open, selected;
63 65
64 elm_init(1, NULL); 66 char *args[] = { "exe" };
67 elm_init(1, args);
65 68
66 if (!eina_file_mkdtemp("elm_test-XXXXXX", &tmp_path)) 69 if (!eina_file_mkdtemp("elm_test-XXXXXX", &tmp_path))
67 { 70 {
diff --git a/src/tests/elementary/elm_test_fileselector_button.c b/src/tests/elementary/elm_test_fileselector_button.c
index 4847384..5ec8e86 100644
--- a/src/tests/elementary/elm_test_fileselector_button.c
+++ b/src/tests/elementary/elm_test_fileselector_button.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
16 17
17 fs_button = elm_fileselector_button_add(win); 18 fs_button = elm_fileselector_button_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *fs_button; 34 Evas_Object *win, *fs_button;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
38 40
39 fs_button = elm_fileselector_button_add(win); 41 fs_button = elm_fileselector_button_add(win);
diff --git a/src/tests/elementary/elm_test_fileselector_entry.c b/src/tests/elementary/elm_test_fileselector_entry.c
index dd2400c..93dcd74 100644
--- a/src/tests/elementary/elm_test_fileselector_entry.c
+++ b/src/tests/elementary/elm_test_fileselector_entry.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "fileselector_entry", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "fileselector_entry", ELM_WIN_BASIC);
16 17
17 fileselector_entry = elm_fileselector_entry_add(win); 18 fileselector_entry = elm_fileselector_entry_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *fs_entry; 34 Evas_Object *win, *fs_entry;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC);
38 40
39 fs_entry = elm_fileselector_entry_add(win); 41 fs_entry = elm_fileselector_entry_add(win);
diff --git a/src/tests/elementary/elm_test_flip.c b/src/tests/elementary/elm_test_flip.c
index 604b088..624d4bb 100644
--- a/src/tests/elementary/elm_test_flip.c
+++ b/src/tests/elementary/elm_test_flip.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
16 17
17 flip = elm_flip_add(win); 18 flip = elm_flip_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *flip; 34 Evas_Object *win, *flip;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
38 40
39 flip = elm_flip_add(win); 41 flip = elm_flip_add(win);
diff --git a/src/tests/elementary/elm_test_flipselector.c b/src/tests/elementary/elm_test_flipselector.c
index 53d514e..14cde6d 100644
--- a/src/tests/elementary/elm_test_flipselector.c
+++ b/src/tests/elementary/elm_test_flipselector.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
16 17
17 flipselector = elm_flipselector_add(win); 18 flipselector = elm_flipselector_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *flipselector; 34 Evas_Object *win, *flipselector;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
38 40
39 flipselector = elm_flipselector_add(win); 41 flipselector = elm_flipselector_add(win);
diff --git a/src/tests/elementary/elm_test_focus.c b/src/tests/elementary/elm_test_focus.c
index ce0b06a..b2adc25 100644
--- a/src/tests/elementary/elm_test_focus.c
+++ b/src/tests/elementary/elm_test_focus.c
@@ -2,7 +2,8 @@
2 2
3START_TEST(focus_unregister_twice) 3START_TEST(focus_unregister_twice)
4{ 4{
5 elm_init(1, NULL); 5 char *args[] = { "exe" };
6 elm_init(1, args);
6 Efl_Ui_Focus_Object *r1 = efl_add(FOCUS_TEST_CLASS, NULL); 7 Efl_Ui_Focus_Object *r1 = efl_add(FOCUS_TEST_CLASS, NULL);
7 Efl_Ui_Focus_Object *r2 = efl_add(FOCUS_TEST_CLASS, NULL); 8 Efl_Ui_Focus_Object *r2 = efl_add(FOCUS_TEST_CLASS, NULL);
8 9
@@ -26,7 +27,8 @@ END_TEST
26 27
27START_TEST(focus_register_twice) 28START_TEST(focus_register_twice)
28{ 29{
29 elm_init(1, NULL); 30 char *args[] = { "exe" };
31 elm_init(1, args);
30 32
31 Efl_Ui_Focus_Object *r1 = elm_focus_test_object_new("r1", 0, 0, 10, 10); 33 Efl_Ui_Focus_Object *r1 = elm_focus_test_object_new("r1", 0, 0, 10, 10);
32 Efl_Ui_Focus_Object *r2 = elm_focus_test_object_new("r2", 0, 10, 10, 10); 34 Efl_Ui_Focus_Object *r2 = elm_focus_test_object_new("r2", 0, 10, 10, 10);
@@ -50,7 +52,8 @@ START_TEST(pos_check)
50 Efl_Ui_Focus_Manager *m; 52 Efl_Ui_Focus_Manager *m;
51 Efl_Ui_Focus_Object *middle, *east, *west, *north, *south, *root; 53 Efl_Ui_Focus_Object *middle, *east, *west, *north, *south, *root;
52 54
53 elm_init(1, NULL); 55 char *args[] = { "exe" };
56 elm_init(1, args);
54 57
55 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west); 58 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west);
56 59
@@ -120,7 +123,8 @@ START_TEST(pos_check2)
120 Efl_Ui_Focus_Relations *rel; 123 Efl_Ui_Focus_Relations *rel;
121 Efl_Ui_Focus_Object *root, *middle, *north_east, *north_west, *south_east, *south_west; 124 Efl_Ui_Focus_Object *root, *middle, *north_east, *north_west, *south_east, *south_west;
122 125
123 elm_init(1, NULL); 126 char *args[] = { "exe" };
127 elm_init(1, args);
124 128
125 middle = elm_focus_test_object_new("middle", 40, 40, 5, 5); 129 middle = elm_focus_test_object_new("middle", 40, 40, 5, 5);
126 130
@@ -162,7 +166,8 @@ START_TEST(pos_check2)
162END_TEST 166END_TEST
163START_TEST(redirect) 167START_TEST(redirect)
164{ 168{
165 elm_init(1, NULL); 169 char *args[] = { "exe" };
170 elm_init(1, args);
166 171
167 TEST_OBJ_NEW(root, 0, 0, 20, 20); 172 TEST_OBJ_NEW(root, 0, 0, 20, 20);
168 TEST_OBJ_NEW(root2, 0, 0, 20, 20); 173 TEST_OBJ_NEW(root2, 0, 0, 20, 20);
@@ -197,7 +202,8 @@ START_TEST(border_check)
197 Eina_Iterator *iter; 202 Eina_Iterator *iter;
198 Efl_Ui_Focus_Object *obj; 203 Efl_Ui_Focus_Object *obj;
199 204
200 elm_init(1, NULL); 205 char *args[] = { "exe" };
206 elm_init(1, args);
201 207
202 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west); 208 elm_focus_test_setup_cross(&middle, &south, &north, &east, &west);
203 209
@@ -234,7 +240,8 @@ START_TEST(logical_chain)
234 Efl_Ui_Focus_Object *lroot; 240 Efl_Ui_Focus_Object *lroot;
235 int i = 0; 241 int i = 0;
236 242
237 elm_init(1, NULL); 243 char *args[] = { "exe" };
244 elm_init(1, args);
238 245
239 TEST_OBJ_NEW(root, 0, 0, 20, 20); 246 TEST_OBJ_NEW(root, 0, 0, 20, 20);
240 247
@@ -298,7 +305,8 @@ START_TEST(finalize_check)
298{ 305{
299 Efl_Ui_Focus_Manager *m; 306 Efl_Ui_Focus_Manager *m;
300 307
301 elm_init(1, NULL); 308 char *args[] = { "exe" };
309 elm_init(1, args);
302 310
303 m = efl_add(EFL_UI_FOCUS_MANAGER_CALC_CLASS, NULL); 311 m = efl_add(EFL_UI_FOCUS_MANAGER_CALC_CLASS, NULL);
304 fail_if(m); 312 fail_if(m);
@@ -311,7 +319,8 @@ START_TEST(redirect_param)
311{ 319{
312 Efl_Ui_Focus_Manager *m, *m2; 320 Efl_Ui_Focus_Manager *m, *m2;
313 321
314 elm_init(1, NULL); 322 char *args[] = { "exe" };
323 elm_init(1, args);
315 324
316 TEST_OBJ_NEW(root, 0, 20, 20, 20); 325 TEST_OBJ_NEW(root, 0, 20, 20, 20);
317 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 326 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
@@ -338,7 +347,8 @@ START_TEST(invalid_args_check)
338{ 347{
339 Efl_Ui_Focus_Manager *m; 348 Efl_Ui_Focus_Manager *m;
340 349
341 elm_init(1, NULL); 350 char *args[] = { "exe" };
351 elm_init(1, args);
342 352
343 TEST_OBJ_NEW(root, 0, 20, 20, 20); 353 TEST_OBJ_NEW(root, 0, 20, 20, 20);
344 TEST_OBJ_NEW(child, 0, 20, 20, 20); 354 TEST_OBJ_NEW(child, 0, 20, 20, 20);
@@ -371,7 +381,8 @@ START_TEST(order_check)
371 Efl_Ui_Focus_Manager *m; 381 Efl_Ui_Focus_Manager *m;
372 Eina_List *order = NULL; 382 Eina_List *order = NULL;
373 383
374 elm_init(1, NULL); 384 char *args[] = { "exe" };
385 elm_init(1, args);
375 386
376 TEST_OBJ_NEW(root, 0, 20, 20, 20); 387 TEST_OBJ_NEW(root, 0, 20, 20, 20);
377 TEST_OBJ_NEW(child1, 0, 20, 20, 20); 388 TEST_OBJ_NEW(child1, 0, 20, 20, 20);
@@ -408,7 +419,8 @@ START_TEST(logical_shift)
408{ 419{
409 Efl_Ui_Focus_Manager *m; 420 Efl_Ui_Focus_Manager *m;
410 421
411 elm_init(1, NULL); 422 char *args[] = { "exe" };
423 elm_init(1, args);
412 424
413 TEST_OBJ_NEW(root, 0, 0, 10, 10); 425 TEST_OBJ_NEW(root, 0, 0, 10, 10);
414 TEST_OBJ_NEW(child, 0, 0, 10, 10); 426 TEST_OBJ_NEW(child, 0, 0, 10, 10);
@@ -442,7 +454,8 @@ START_TEST(root_redirect_chain)
442{ 454{
443 Efl_Ui_Focus_Manager *m, *m2; 455 Efl_Ui_Focus_Manager *m, *m2;
444 456
445 elm_init(1, NULL); 457 char *args[] = { "exe" };
458 elm_init(1, args);
446 459
447 TEST_OBJ_NEW(root, 0, 20, 20, 20); 460 TEST_OBJ_NEW(root, 0, 20, 20, 20);
448 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 461 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
@@ -472,7 +485,8 @@ START_TEST(root_redirect_chain_unset)
472{ 485{
473 Efl_Ui_Focus_Manager *m, *m2, *m3, *m4; 486 Efl_Ui_Focus_Manager *m, *m2, *m3, *m4;
474 487
475 elm_init(1, NULL); 488 char *args[] = { "exe" };
489 elm_init(1, args);
476 490
477 TEST_OBJ_NEW(root, 0, 20, 20, 20); 491 TEST_OBJ_NEW(root, 0, 20, 20, 20);
478 TEST_OBJ_NEW(root2, 0, 20, 20, 20); 492 TEST_OBJ_NEW(root2, 0, 20, 20, 20);
@@ -587,7 +601,8 @@ START_TEST(first_touch_check)
587 Efl_Ui_Focus_Manager *m; 601 Efl_Ui_Focus_Manager *m;
588 Efl_Ui_Focus_Object *most_left, *most_right; 602 Efl_Ui_Focus_Object *most_left, *most_right;
589 603
590 elm_init(1, NULL); 604 char *args[] = { "exe" };
605 elm_init(1, args);
591 606
592 m = _recursive_triangle_manager(0, &most_right, &most_left); 607 m = _recursive_triangle_manager(0, &most_right, &most_left);
593 608
diff --git a/src/tests/elementary/elm_test_focus_sub.c b/src/tests/elementary/elm_test_focus_sub.c
index 8ba3a7e..d091d2d 100644
--- a/src/tests/elementary/elm_test_focus_sub.c
+++ b/src/tests/elementary/elm_test_focus_sub.c
@@ -110,7 +110,8 @@ 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 elm_init(0, NULL); 113 char *args[] = { "exe" };
114 elm_init(1, args);
114 115
115 _setup(&manager, &sub, &root); 116 _setup(&manager, &sub, &root);
116 117
@@ -150,7 +151,8 @@ START_TEST(correct_unregister)
150 Eina_List *set = NULL; 151 Eina_List *set = NULL;
151 Efl_Ui_Focus_Object *root; 152 Efl_Ui_Focus_Object *root;
152 Efl_Ui_Focus_Manager *manager, *sub; 153 Efl_Ui_Focus_Manager *manager, *sub;
153 elm_init(0, NULL); 154 char *args[] = { "exe" };
155 elm_init(1, args);
154 156
155 _setup(&manager, &sub, &root); 157 _setup(&manager, &sub, &root);
156 158
@@ -193,7 +195,8 @@ START_TEST(correct_un_register)
193 Eina_List *set_add = NULL, *set_del = NULL; 195 Eina_List *set_add = NULL, *set_del = NULL;
194 Efl_Ui_Focus_Object *root; 196 Efl_Ui_Focus_Object *root;
195 Efl_Ui_Focus_Manager *manager, *sub; 197 Efl_Ui_Focus_Manager *manager, *sub;
196 elm_init(0, NULL); 198 char *args[] = { "exe" };
199 elm_init(1, args);
197 200
198 _setup(&manager, &sub, &root); 201 _setup(&manager, &sub, &root);
199 202
diff --git a/src/tests/elementary/elm_test_frame.c b/src/tests/elementary/elm_test_frame.c
index bf1efc7..3d8a6c6 100644
--- a/src/tests/elementary/elm_test_frame.c
+++ b/src/tests/elementary/elm_test_frame.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
16 17
17 frame = elm_frame_add(win); 18 frame = elm_frame_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *frame; 34 Evas_Object *win, *frame;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
38 40
39 frame = elm_frame_add(win); 41 frame = elm_frame_add(win);
diff --git a/src/tests/elementary/elm_test_gengrid.c b/src/tests/elementary/elm_test_gengrid.c
index cec5f76..3e1ee02 100644
--- a/src/tests/elementary/elm_test_gengrid.c
+++ b/src/tests/elementary/elm_test_gengrid.c
@@ -12,7 +12,8 @@ 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 elm_init(1, NULL); 15 char *args[] = { "exe" };
16 elm_init(1, args);
16 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); 17 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
17 18
18 gengrid = elm_gengrid_add(win); 19 gengrid = elm_gengrid_add(win);
@@ -34,7 +35,8 @@ START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *gengrid; 35 Evas_Object *win, *gengrid;
35 Efl_Access_Role role; 36 Efl_Access_Role role;
36 37
37 elm_init(1, NULL); 38 char *args[] = { "exe" };
39 elm_init(1, args);
38 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); 40 win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
39 41
40 gengrid = elm_gengrid_add(win); 42 gengrid = elm_gengrid_add(win);
@@ -65,7 +67,8 @@ gl_content_get(void *data EINA_UNUSED, Evas_Object *obj, const char *part EINA_U
65 */ 67 */
66START_TEST(elm_atspi_children_parent) 68START_TEST(elm_atspi_children_parent)
67{ 69{
68 elm_init(1, NULL); 70 char *args[] = { "exe" };
71 elm_init(1, args);
69 elm_config_atspi_mode_set(EINA_TRUE); 72 elm_config_atspi_mode_set(EINA_TRUE);
70 static Elm_Gengrid_Item_Class itc; 73 static Elm_Gengrid_Item_Class itc;
71 74
diff --git a/src/tests/elementary/elm_test_genlist.c b/src/tests/elementary/elm_test_genlist.c
index d7fd2f1..678041f 100644
--- a/src/tests/elementary/elm_test_genlist.c
+++ b/src/tests/elementary/elm_test_genlist.c
@@ -19,7 +19,8 @@ START_TEST (elm_genlist_legacy_type_check)
19 Evas_Object *win, *genlist; 19 Evas_Object *win, *genlist;
20 const char *type; 20 const char *type;
21 21
22 elm_init(1, NULL); 22 char *args[] = { "exe" };
23 elm_init(1, args);
23 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); 24 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
24 25
25 genlist = elm_genlist_add(win); 26 genlist = elm_genlist_add(win);
@@ -38,7 +39,8 @@ END_TEST
38 39
39void test_init(void) 40void test_init(void)
40{ 41{
41 elm_init(1, NULL); 42 char *args[] = { "exe" };
43 elm_init(1, args);
42 elm_config_atspi_mode_set(EINA_TRUE); 44 elm_config_atspi_mode_set(EINA_TRUE);
43 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); 45 win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
44 genlist = elm_genlist_add(win); 46 genlist = elm_genlist_add(win);
diff --git a/src/tests/elementary/elm_test_glview.c b/src/tests/elementary/elm_test_glview.c
index d996f1c..648072f 100644
--- a/src/tests/elementary/elm_test_glview.c
+++ b/src/tests/elementary/elm_test_glview.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
16 17
17 glview = elm_glview_add(win); 18 glview = elm_glview_add(win);
@@ -36,7 +37,8 @@ START_TEST (elm_atspi_role_get)
36 Evas_Object *win, *glview; 37 Evas_Object *win, *glview;
37 Efl_Access_Role role; 38 Efl_Access_Role role;
38 39
39 elm_init(1, NULL); 40 char *args[] = { "exe" };
41 elm_init(1, args);
40 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC); 42 win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
41 43
42 glview = elm_glview_add(win); 44 glview = elm_glview_add(win);
diff --git a/src/tests/elementary/elm_test_grid.c b/src/tests/elementary/elm_test_grid.c
index 3e95fca..45cc8ea 100644
--- a/src/tests/elementary/elm_test_grid.c
+++ b/src/tests/elementary/elm_test_grid.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
16 17
17 grid = elm_grid_add(win); 18 grid = elm_grid_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *grid; 34 Evas_Object *win, *grid;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
38 40
39 grid = elm_grid_add(win); 41 grid = elm_grid_add(win);
diff --git a/src/tests/elementary/elm_test_hover.c b/src/tests/elementary/elm_test_hover.c
index d6ce4a4..7309239 100644
--- a/src/tests/elementary/elm_test_hover.c
+++ b/src/tests/elementary/elm_test_hover.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
16 17
17 hover = elm_hover_add(win); 18 hover = elm_hover_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *hover; 34 Evas_Object *win, *hover;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
38 40
39 hover = elm_hover_add(win); 41 hover = elm_hover_add(win);
diff --git a/src/tests/elementary/elm_test_hoversel.c b/src/tests/elementary/elm_test_hoversel.c
index 0514811..a1927f5 100644
--- a/src/tests/elementary/elm_test_hoversel.c
+++ b/src/tests/elementary/elm_test_hoversel.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
16 17
17 hoversel = elm_hoversel_add(win); 18 hoversel = elm_hoversel_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *hoversel; 34 Evas_Object *win, *hoversel;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
38 40
39 hoversel = elm_hoversel_add(win); 41 hoversel = elm_hoversel_add(win);
diff --git a/src/tests/elementary/elm_test_icon.c b/src/tests/elementary/elm_test_icon.c
index ca53a47..4586ef2 100644
--- a/src/tests/elementary/elm_test_icon.c
+++ b/src/tests/elementary/elm_test_icon.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
16 17
17 icon = elm_icon_add(win); 18 icon = elm_icon_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *icon; 34 Evas_Object *win, *icon;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
38 40
39 icon = elm_icon_add(win); 41 icon = elm_icon_add(win);
diff --git a/src/tests/elementary/elm_test_image.c b/src/tests/elementary/elm_test_image.c
index 25cfccf..6530f9b 100644
--- a/src/tests/elementary/elm_test_image.c
+++ b/src/tests/elementary/elm_test_image.c
@@ -22,7 +22,8 @@ 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 elm_init(1, NULL); 25 char *args[] = { "exe" };
26 elm_init(1, args);
26 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 27 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
27 28
28 image = elm_image_add(win); 29 image = elm_image_add(win);
@@ -44,7 +45,8 @@ START_TEST (elm_atspi_role_get)
44 Evas_Object *win, *image; 45 Evas_Object *win, *image;
45 Efl_Access_Role role; 46 Efl_Access_Role role;
46 47
47 elm_init(1, NULL); 48 char *args[] = { "exe" };
49 elm_init(1, args);
48 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 50 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
49 51
50 image = elm_image_add(win); 52 image = elm_image_add(win);
@@ -137,7 +139,8 @@ START_TEST (elm_image_async_path)
137 Eina_Bool ok; 139 Eina_Bool ok;
138 Test_Data td; 140 Test_Data td;
139 141
140 elm_init(1, NULL); 142 char *args[] = { "exe" };
143 elm_init(1, args);
141 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 144 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
142 145
143 td.success = 0; 146 td.success = 0;
@@ -169,7 +172,8 @@ START_TEST (elm_image_async_mmap)
169 Eina_File *f; 172 Eina_File *f;
170 char path[PATH_MAX]; 173 char path[PATH_MAX];
171 174
172 elm_init(1, NULL); 175 char *args[] = { "exe" };
176 elm_init(1, args);
173 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 177 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
174 178
175 td.success = 1; // skip "error" case 179 td.success = 1; // skip "error" case
@@ -205,7 +209,8 @@ START_TEST (efl_ui_image_icon)
205 Eina_Bool ok; 209 Eina_Bool ok;
206 const char *icon_name; 210 const char *icon_name;
207 211
208 elm_init(1, NULL); 212 char *args[] = { "exe" };
213 elm_init(1, args);
209 win = elm_win_add(NULL, "image", ELM_WIN_BASIC); 214 win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
210 215
211 image = efl_add(EFL_UI_IMAGE_CLASS, win); 216 image = efl_add(EFL_UI_IMAGE_CLASS, win);
diff --git a/src/tests/elementary/elm_test_index.c b/src/tests/elementary/elm_test_index.c
index 0272412..5f4df0c 100644
--- a/src/tests/elementary/elm_test_index.c
+++ b/src/tests/elementary/elm_test_index.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "index", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
16 17
17 index = elm_index_add(win); 18 index = elm_index_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *idx; 34 Evas_Object *win, *idx;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "index", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
38 40
39 idx = elm_index_add(win); 41 idx = elm_index_add(win);
diff --git a/src/tests/elementary/elm_test_init.c b/src/tests/elementary/elm_test_init.c
index 3e3210c..15df20a 100644
--- a/src/tests/elementary/elm_test_init.c
+++ b/src/tests/elementary/elm_test_init.c
@@ -7,8 +7,9 @@
7 7
8START_TEST (elm_main) 8START_TEST (elm_main)
9{ 9{
10 ck_assert(elm_init(1, NULL) == 1); 10 char *args[] = { "exe" };
11 ck_assert(elm_shutdown() == 0); 11 ck_assert(elm_init(1, args) == 1);
12 ck_assert(elm_shutdown() == 0);
12} 13}
13END_TEST 14END_TEST
14 15
diff --git a/src/tests/elementary/elm_test_inwin.c b/src/tests/elementary/elm_test_inwin.c
index d62e7c2..b3ec01e 100644
--- a/src/tests/elementary/elm_test_inwin.c
+++ b/src/tests/elementary/elm_test_inwin.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
16 17
17 inwin = elm_win_inwin_add(win); 18 inwin = elm_win_inwin_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *inwin; 34 Evas_Object *win, *inwin;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
38 40
39 inwin = elm_win_inwin_add(win); 41 inwin = elm_win_inwin_add(win);
diff --git a/src/tests/elementary/elm_test_label.c b/src/tests/elementary/elm_test_label.c
index 10b5c7d..e3df1fb 100644
--- a/src/tests/elementary/elm_test_label.c
+++ b/src/tests/elementary/elm_test_label.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "label", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
16 17
17 label = elm_label_add(win); 18 label = elm_label_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *label; 34 Evas_Object *win, *label;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "label", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
38 40
39 label = elm_label_add(win); 41 label = elm_label_add(win);
diff --git a/src/tests/elementary/elm_test_layout.c b/src/tests/elementary/elm_test_layout.c
index dc6ec03..504316f 100644
--- a/src/tests/elementary/elm_test_layout.c
+++ b/src/tests/elementary/elm_test_layout.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
16 17
17 layout = elm_layout_add(win); 18 layout = elm_layout_add(win);
@@ -33,7 +34,8 @@ START_TEST(elm_atspi_role_get)
33 Evas_Object *win, *layout; 34 Evas_Object *win, *layout;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
38 40
39 layout = elm_layout_add(win); 41 layout = elm_layout_add(win);
@@ -50,7 +52,8 @@ START_TEST(elm_layout_swallows)
50 char buf[PATH_MAX]; 52 char buf[PATH_MAX];
51 Evas_Object *win, *ly, *bt, *bt2; 53 Evas_Object *win, *ly, *bt, *bt2;
52 54
53 elm_init(1, NULL); 55 char *args[] = { "exe" };
56 elm_init(1, args);
54 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 57 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
55 58
56 ly = efl_add(EFL_UI_LAYOUT_CLASS, win); 59 ly = efl_add(EFL_UI_LAYOUT_CLASS, win);
@@ -87,7 +90,8 @@ START_TEST(elm_layout_model_connect)
87 const char *part_text; 90 const char *part_text;
88 const char text_value[] = "A random string for elm_layout_model_connect test"; 91 const char text_value[] = "A random string for elm_layout_model_connect test";
89 92
90 elm_init(1, NULL); 93 char *args[] = { "exe" };
94 elm_init(1, args);
91 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); 95 win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
92 96
93 ly = efl_add(EFL_UI_LAYOUT_CLASS, win); 97 ly = efl_add(EFL_UI_LAYOUT_CLASS, win);
diff --git a/src/tests/elementary/elm_test_list.c b/src/tests/elementary/elm_test_list.c
index f303ffa..d906f9f 100644
--- a/src/tests/elementary/elm_test_list.c
+++ b/src/tests/elementary/elm_test_list.c
@@ -13,7 +13,8 @@ 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 elm_init(1, NULL); 16 char *args[] = { "exe" };
17 elm_init(1, args);
17 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 18 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
18 19
19 list = elm_list_add(win); 20 list = elm_list_add(win);
@@ -40,7 +41,8 @@ START_TEST (elm_list_atspi_selection_selected_children_count_get)
40 Elm_Object_Item *item; 41 Elm_Object_Item *item;
41 int val; 42 int val;
42 43
43 elm_init(1, NULL); 44 char *args[] = { "exe" };
45 elm_init(1, args);
44 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 46 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
45 47
46 list = elm_list_add(win); 48 list = elm_list_add(win);
@@ -67,7 +69,8 @@ START_TEST (elm_list_atspi_selection_child_select)
67 Elm_Object_Item *item; 69 Elm_Object_Item *item;
68 Eina_Bool val; 70 Eina_Bool val;
69 71
70 elm_init(1, NULL); 72 char *args[] = { "exe" };
73 elm_init(1, args);
71 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 74 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
72 75
73 list = elm_list_add(win); 76 list = elm_list_add(win);
@@ -87,7 +90,8 @@ START_TEST (elm_list_atspi_selection_selected_child_deselect)
87 Elm_Object_Item *item; 90 Elm_Object_Item *item;
88 Eina_Bool val; 91 Eina_Bool val;
89 92
90 elm_init(1, NULL); 93 char *args[] = { "exe" };
94 elm_init(1, args);
91 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 95 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
92 96
93 list = elm_list_add(win); 97 list = elm_list_add(win);
@@ -110,7 +114,8 @@ START_TEST (elm_list_atspi_selection_is_child_selected)
110 Elm_Object_Item *item; 114 Elm_Object_Item *item;
111 Eina_Bool val; 115 Eina_Bool val;
112 116
113 elm_init(1, NULL); 117 char *args[] = { "exe" };
118 elm_init(1, args);
114 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 119 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
115 120
116 list = elm_list_add(win); 121 list = elm_list_add(win);
@@ -133,7 +138,8 @@ START_TEST (elm_list_atspi_selection_all_children_select)
133 Elm_Object_Item *item1, *item2; 138 Elm_Object_Item *item1, *item2;
134 Eina_Bool val; 139 Eina_Bool val;
135 140
136 elm_init(1, NULL); 141 char *args[] = { "exe" };
142 elm_init(1, args);
137 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 143 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
138 144
139 list = elm_list_add(win); 145 list = elm_list_add(win);
@@ -161,7 +167,8 @@ START_TEST (elm_list_atspi_selection_clear)
161 Elm_Object_Item *item1, *item2; 167 Elm_Object_Item *item1, *item2;
162 Eina_Bool val; 168 Eina_Bool val;
163 169
164 elm_init(1, NULL); 170 char *args[] = { "exe" };
171 elm_init(1, args);
165 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 172 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
166 173
167 list = elm_list_add(win); 174 list = elm_list_add(win);
@@ -187,7 +194,8 @@ START_TEST (elm_list_atspi_selection_child_deselect)
187 Elm_Object_Item *item; 194 Elm_Object_Item *item;
188 Eina_Bool val; 195 Eina_Bool val;
189 196
190 elm_init(1, NULL); 197 char *args[] = { "exe" };
198 elm_init(1, args);
191 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 199 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
192 200
193 list = elm_list_add(win); 201 list = elm_list_add(win);
@@ -211,7 +219,8 @@ START_TEST (elm_atspi_role_get)
211 Evas_Object *win, *list; 219 Evas_Object *win, *list;
212 Efl_Access_Role role; 220 Efl_Access_Role role;
213 221
214 elm_init(1, NULL); 222 char *args[] = { "exe" };
223 elm_init(1, args);
215 win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 224 win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
216 225
217 list = elm_list_add(win); 226 list = elm_list_add(win);
@@ -233,7 +242,8 @@ START_TEST(elm_atspi_children_parent)
233 Efl_Access *parent; 242 Efl_Access *parent;
234 Elm_Object_Item *it; 243 Elm_Object_Item *it;
235 244
236 elm_init(1, NULL); 245 char *args[] = { "exe" };
246 elm_init(1, args);
237 Evas_Object *win = elm_win_add(NULL, "list", ELM_WIN_BASIC); 247 Evas_Object *win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
238 248
239 Evas_Object *icon = elm_icon_add(win); 249 Evas_Object *icon = elm_icon_add(win);
diff --git a/src/tests/elementary/elm_test_map.c b/src/tests/elementary/elm_test_map.c
index 8a8c82a..8ac579a 100644
--- a/src/tests/elementary/elm_test_map.c
+++ b/src/tests/elementary/elm_test_map.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "map", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
16 17
17 map = elm_map_add(win); 18 map = elm_map_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *map; 34 Evas_Object *win, *map;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "map", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
38 40
39 map = elm_map_add(win); 41 map = elm_map_add(win);
diff --git a/src/tests/elementary/elm_test_mapbuf.c b/src/tests/elementary/elm_test_mapbuf.c
index b0f42c0..0ceb8af 100644
--- a/src/tests/elementary/elm_test_mapbuf.c
+++ b/src/tests/elementary/elm_test_mapbuf.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
16 17
17 mapbuf = elm_mapbuf_add(win); 18 mapbuf = elm_mapbuf_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *mapbuf; 34 Evas_Object *win, *mapbuf;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
38 40
39 mapbuf = elm_mapbuf_add(win); 41 mapbuf = elm_mapbuf_add(win);
diff --git a/src/tests/elementary/elm_test_menu.c b/src/tests/elementary/elm_test_menu.c
index d1e7c24..3d458b7 100644
--- a/src/tests/elementary/elm_test_menu.c
+++ b/src/tests/elementary/elm_test_menu.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC);
16 17
17 menu = elm_menu_add(win); 18 menu = elm_menu_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *menu; 34 Evas_Object *win, *menu;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "menu", ELM_WIN_BASIC);
38 40
39 menu = elm_menu_add(win); 41 menu = elm_menu_add(win);
diff --git a/src/tests/elementary/elm_test_multibuttonentry.c b/src/tests/elementary/elm_test_multibuttonentry.c
index 0495974..6fdf2d4 100644
--- a/src/tests/elementary/elm_test_multibuttonentry.c
+++ b/src/tests/elementary/elm_test_multibuttonentry.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC);
16 17
17 multibuttonentry = elm_multibuttonentry_add(win); 18 multibuttonentry = elm_multibuttonentry_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *multibuttonentry; 34 Evas_Object *win, *multibuttonentry;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "multibuttonentry", ELM_WIN_BASIC);
38 40
39 multibuttonentry = elm_multibuttonentry_add(win); 41 multibuttonentry = elm_multibuttonentry_add(win);
diff --git a/src/tests/elementary/elm_test_naviframe.c b/src/tests/elementary/elm_test_naviframe.c
index 4729f65..61c7131 100644
--- a/src/tests/elementary/elm_test_naviframe.c
+++ b/src/tests/elementary/elm_test_naviframe.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC);
16 17
17 naviframe = elm_naviframe_add(win); 18 naviframe = elm_naviframe_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *naviframe; 34 Evas_Object *win, *naviframe;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "naviframe", ELM_WIN_BASIC);
38 40
39 naviframe = elm_naviframe_add(win); 41 naviframe = elm_naviframe_add(win);
diff --git a/src/tests/elementary/elm_test_notify.c b/src/tests/elementary/elm_test_notify.c
index a018dbc..f8b0ecb 100644
--- a/src/tests/elementary/elm_test_notify.c
+++ b/src/tests/elementary/elm_test_notify.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC);
16 17
17 notify = elm_notify_add(win); 18 notify = elm_notify_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *notify; 34 Evas_Object *win, *notify;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "notify", ELM_WIN_BASIC);
38 40
39 notify = elm_notify_add(win); 41 notify = elm_notify_add(win);
diff --git a/src/tests/elementary/elm_test_panel.c b/src/tests/elementary/elm_test_panel.c
index b710192..9289651 100644
--- a/src/tests/elementary/elm_test_panel.c
+++ b/src/tests/elementary/elm_test_panel.c
@@ -11,7 +11,8 @@ 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 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC);
16 17
17 panel = elm_panel_add(win); 18 panel = elm_panel_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *panel; 34 Evas_Object *win, *panel;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "panel", ELM_WIN_BASIC);
38 40
39 panel = elm_panel_add(win); 41 panel = elm_panel_add(win);
diff --git a/src/tests/elementary/elm_test_panes.c b/src/tests/elementary/elm_test_panes.c
index 864ef61..b888fd2 100644
--- a/src/tests/elementary/elm_test_panes.c
+++ b/src/tests/elementary/elm_test_panes.c
@@ -11,7 +11,8 @@ START_TEST (elm_panes_legacy_type_check)
11 Evas_Object *win, *panes; 11 Evas_Object *win, *panes;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "panes", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "panes", ELM_WIN_BASIC);
16 17
17 panes = elm_panes_add(win); 18 panes = elm_panes_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *panes; 34 Evas_Object *win, *panes;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "panes", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "panes", ELM_WIN_BASIC);
38 40
39 panes = elm_panes_add(win); 41 panes = elm_panes_add(win);
diff --git a/src/tests/elementary/elm_test_photo.c b/src/tests/elementary/elm_test_photo.c
index 3a680b9..e7a7983 100644
--- a/src/tests/elementary/elm_test_photo.c
+++ b/src/tests/elementary/elm_test_photo.c
@@ -11,7 +11,8 @@ START_TEST (elm_photo_legacy_type_check)
11 Evas_Object *win, *photo; 11 Evas_Object *win, *photo;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "photo", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "photo", ELM_WIN_BASIC);
16 17
17 photo = elm_photo_add(win); 18 photo = elm_photo_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *photo; 34 Evas_Object *win, *photo;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "photo", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "photo", ELM_WIN_BASIC);
38 40
39 photo = elm_photo_add(win); 41 photo = elm_photo_add(win);
diff --git a/src/tests/elementary/elm_test_photocam.c b/src/tests/elementary/elm_test_photocam.c
index dedf6ab..316db57 100644
--- a/src/tests/elementary/elm_test_photocam.c
+++ b/src/tests/elementary/elm_test_photocam.c
@@ -11,7 +11,8 @@ START_TEST (elm_photocam_legacy_type_check)
11 Evas_Object *win, *photocam; 11 Evas_Object *win, *photocam;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC);
16 17
17 photocam = elm_photocam_add(win); 18 photocam = elm_photocam_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *photocam; 34 Evas_Object *win, *photocam;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC);
38 40
39 photocam = elm_photocam_add(win); 41 photocam = elm_photocam_add(win);
@@ -51,7 +53,8 @@ START_TEST (efl_ui_image_zoomable_icon)
51 Eina_Bool ok; 53 Eina_Bool ok;
52 const char *icon_name; 54 const char *icon_name;
53 55
54 elm_init(1, NULL); 56 char *args[] = { "exe" };
57 elm_init(1, args);
55 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC); 58 win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC);
56 59
57 img_zoomable = efl_add(EFL_UI_IMAGE_ZOOMABLE_CLASS, win); 60 img_zoomable = efl_add(EFL_UI_IMAGE_ZOOMABLE_CLASS, win);
diff --git a/src/tests/elementary/elm_test_player.c b/src/tests/elementary/elm_test_player.c
index bd65c54..bdbb943 100644
--- a/src/tests/elementary/elm_test_player.c
+++ b/src/tests/elementary/elm_test_player.c
@@ -11,7 +11,8 @@ START_TEST (elm_player_legacy_type_check)
11 Evas_Object *win, *player; 11 Evas_Object *win, *player;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "player", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "player", ELM_WIN_BASIC);
16 17
17 player = elm_player_add(win); 18 player = elm_player_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *player; 34 Evas_Object *win, *player;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "player", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "player", ELM_WIN_BASIC);
38 40
39 player = elm_player_add(win); 41 player = elm_player_add(win);
diff --git a/src/tests/elementary/elm_test_plug.c b/src/tests/elementary/elm_test_plug.c
index 17888ac..d431c2d 100644
--- a/src/tests/elementary/elm_test_plug.c
+++ b/src/tests/elementary/elm_test_plug.c
@@ -11,7 +11,8 @@ START_TEST (elm_plug_legacy_type_check)
11 Evas_Object *win, *plug; 11 Evas_Object *win, *plug;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "plug", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "plug", ELM_WIN_BASIC);
16 17
17 plug = elm_plug_add(win); 18 plug = elm_plug_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *plug; 34 Evas_Object *win, *plug;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "plug", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "plug", ELM_WIN_BASIC);
38 40
39 plug = elm_plug_add(win); 41 plug = elm_plug_add(win);
diff --git a/src/tests/elementary/elm_test_popup.c b/src/tests/elementary/elm_test_popup.c
index 13649c1..a943de0 100644
--- a/src/tests/elementary/elm_test_popup.c
+++ b/src/tests/elementary/elm_test_popup.c
@@ -11,7 +11,8 @@ START_TEST (elm_popup_legacy_type_check)
11 Evas_Object *win, *popup; 11 Evas_Object *win, *popup;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "popup", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "popup", ELM_WIN_BASIC);
16 17
17 popup = elm_popup_add(win); 18 popup = elm_popup_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *popup; 34 Evas_Object *win, *popup;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "popup", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "popup", ELM_WIN_BASIC);
38 40
39 popup = elm_popup_add(win); 41 popup = elm_popup_add(win);
diff --git a/src/tests/elementary/elm_test_prefs.c b/src/tests/elementary/elm_test_prefs.c
index 3c42c65..0e21906 100644
--- a/src/tests/elementary/elm_test_prefs.c
+++ b/src/tests/elementary/elm_test_prefs.c
@@ -11,7 +11,8 @@ START_TEST (elm_prefs_legacy_type_check)
11 Evas_Object *win, *prefs; 11 Evas_Object *win, *prefs;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC);
16 17
17 prefs = elm_prefs_add(win); 18 prefs = elm_prefs_add(win);
@@ -37,7 +38,8 @@ START_TEST (elm_atspi_role_get)
37 Evas_Object *win, *prefs; 38 Evas_Object *win, *prefs;
38 Efl_Access_Role role; 39 Efl_Access_Role role;
39 40
40 elm_init(1, NULL); 41 char *args[] = { "exe" };
42 elm_init(1, args);
41 win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC); 43 win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC);
42 44
43 prefs = elm_prefs_add(win); 45 prefs = elm_prefs_add(win);
diff --git a/src/tests/elementary/elm_test_progressbar.c b/src/tests/elementary/elm_test_progressbar.c
index 09bc9f4..8e34863 100644
--- a/src/tests/elementary/elm_test_progressbar.c
+++ b/src/tests/elementary/elm_test_progressbar.c
@@ -11,7 +11,8 @@ START_TEST (elm_progressbar_legacy_type_check)
11 Evas_Object *win, *progressbar; 11 Evas_Object *win, *progressbar;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "progressbar", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "progressbar", ELM_WIN_BASIC);
16 17
17 progressbar = elm_progressbar_add(win); 18 progressbar = elm_progressbar_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *progressbar; 34 Evas_Object *win, *progressbar;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "progressbar", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "progressbar", ELM_WIN_BASIC);
38 40
39 progressbar = elm_progressbar_add(win); 41 progressbar = elm_progressbar_add(win);
diff --git a/src/tests/elementary/elm_test_radio.c b/src/tests/elementary/elm_test_radio.c
index 9fa05f2..1ee25f3 100644
--- a/src/tests/elementary/elm_test_radio.c
+++ b/src/tests/elementary/elm_test_radio.c
@@ -11,7 +11,8 @@ START_TEST (elm_radio_legacy_type_check)
11 Evas_Object *win, *radio; 11 Evas_Object *win, *radio;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "radio", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "radio", ELM_WIN_BASIC);
16 17
17 radio = elm_radio_add(win); 18 radio = elm_radio_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *radio; 34 Evas_Object *win, *radio;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "radio", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "radio", ELM_WIN_BASIC);
38 40
39 radio = elm_radio_add(win); 41 radio = elm_radio_add(win);
diff --git a/src/tests/elementary/elm_test_scroller.c b/src/tests/elementary/elm_test_scroller.c
index 455bff9..54c705f 100644
--- a/src/tests/elementary/elm_test_scroller.c
+++ b/src/tests/elementary/elm_test_scroller.c
@@ -11,7 +11,8 @@ START_TEST (elm_scroller_legacy_type_check)
11 Evas_Object *win, *scroller; 11 Evas_Object *win, *scroller;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "scroller", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "scroller", ELM_WIN_BASIC);
16 17
17 scroller = elm_scroller_add(win); 18 scroller = elm_scroller_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *scroller; 34 Evas_Object *win, *scroller;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "scroller", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "scroller", ELM_WIN_BASIC);
38 40
39 scroller = elm_scroller_add(win); 41 scroller = elm_scroller_add(win);
diff --git a/src/tests/elementary/elm_test_segmentcontrol.c b/src/tests/elementary/elm_test_segmentcontrol.c
index 778a2ae..d414f53 100644
--- a/src/tests/elementary/elm_test_segmentcontrol.c
+++ b/src/tests/elementary/elm_test_segmentcontrol.c
@@ -11,7 +11,8 @@ START_TEST (elm_segment_control_legacy_type_check)
11 Evas_Object *win, *segment_control; 11 Evas_Object *win, *segment_control;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "segment_control", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "segment_control", ELM_WIN_BASIC);
16 17
17 segment_control = elm_segment_control_add(win); 18 segment_control = elm_segment_control_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *segmentcontrol; 34 Evas_Object *win, *segmentcontrol;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "segmentcontrol", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "segmentcontrol", ELM_WIN_BASIC);
38 40
39 segmentcontrol = elm_segment_control_add(win); 41 segmentcontrol = elm_segment_control_add(win);
diff --git a/src/tests/elementary/elm_test_separator.c b/src/tests/elementary/elm_test_separator.c
index fc3f3f5..cf8ac95 100644
--- a/src/tests/elementary/elm_test_separator.c
+++ b/src/tests/elementary/elm_test_separator.c
@@ -11,7 +11,8 @@ START_TEST (elm_separator_legacy_type_check)
11 Evas_Object *win, *separator; 11 Evas_Object *win, *separator;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "separator", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "separator", ELM_WIN_BASIC);
16 17
17 separator = elm_separator_add(win); 18 separator = elm_separator_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *separator; 34 Evas_Object *win, *separator;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
38 40
39 separator = elm_separator_add(win); 41 separator = elm_separator_add(win);
diff --git a/src/tests/elementary/elm_test_slider.c b/src/tests/elementary/elm_test_slider.c
index 174bbd1..d171d46 100644
--- a/src/tests/elementary/elm_test_slider.c
+++ b/src/tests/elementary/elm_test_slider.c
@@ -11,7 +11,8 @@ START_TEST (elm_slider_legacy_type_check)
11 Evas_Object *win, *slider; 11 Evas_Object *win, *slider;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "slider", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "slider", ELM_WIN_BASIC);
16 17
17 slider = elm_slider_add(win); 18 slider = elm_slider_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *slider; 34 Evas_Object *win, *slider;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "slider", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "slider", ELM_WIN_BASIC);
38 40
39 slider = elm_slider_add(win); 41 slider = elm_slider_add(win);
diff --git a/src/tests/elementary/elm_test_slideshow.c b/src/tests/elementary/elm_test_slideshow.c
index 1bd13f8..fc56646 100644
--- a/src/tests/elementary/elm_test_slideshow.c
+++ b/src/tests/elementary/elm_test_slideshow.c
@@ -11,7 +11,8 @@ START_TEST (elm_slideshow_legacy_type_check)
11 Evas_Object *win, *slideshow; 11 Evas_Object *win, *slideshow;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC);
16 17
17 slideshow = elm_slideshow_add(win); 18 slideshow = elm_slideshow_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *slideshow; 34 Evas_Object *win, *slideshow;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC);
38 40
39 slideshow = elm_slideshow_add(win); 41 slideshow = elm_slideshow_add(win);
diff --git a/src/tests/elementary/elm_test_spinner.c b/src/tests/elementary/elm_test_spinner.c
index f86d5a9..94e6543 100644
--- a/src/tests/elementary/elm_test_spinner.c
+++ b/src/tests/elementary/elm_test_spinner.c
@@ -11,7 +11,8 @@ START_TEST (elm_spinner_legacy_type_check)
11 Evas_Object *win, *spinner; 11 Evas_Object *win, *spinner;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "spinner", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "spinner", ELM_WIN_BASIC);
16 17
17 spinner = elm_spinner_add(win); 18 spinner = elm_spinner_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *spinner; 34 Evas_Object *win, *spinner;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "spinner", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "spinner", ELM_WIN_BASIC);
38 40
39 spinner = elm_spinner_add(win); 41 spinner = elm_spinner_add(win);
diff --git a/src/tests/elementary/elm_test_table.c b/src/tests/elementary/elm_test_table.c
index ef75fe4..4ba2537 100644
--- a/src/tests/elementary/elm_test_table.c
+++ b/src/tests/elementary/elm_test_table.c
@@ -11,7 +11,8 @@ START_TEST (elm_table_legacy_type_check)
11 Evas_Object *win, *table; 11 Evas_Object *win, *table;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "table", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "table", ELM_WIN_BASIC);
16 17
17 table = elm_table_add(win); 18 table = elm_table_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *table; 34 Evas_Object *win, *table;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "table", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "table", ELM_WIN_BASIC);
38 40
39 table = elm_table_add(win); 41 table = elm_table_add(win);
diff --git a/src/tests/elementary/elm_test_thumb.c b/src/tests/elementary/elm_test_thumb.c
index 5568ded..6057021 100644
--- a/src/tests/elementary/elm_test_thumb.c
+++ b/src/tests/elementary/elm_test_thumb.c
@@ -11,7 +11,8 @@ START_TEST (elm_thumb_legacy_type_check)
11 Evas_Object *win, *thumb; 11 Evas_Object *win, *thumb;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "thumb", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "thumb", ELM_WIN_BASIC);
16 17
17 thumb = elm_thumb_add(win); 18 thumb = elm_thumb_add(win);
@@ -34,7 +35,8 @@ START_TEST (elm_atspi_role_get)
34 Evas_Object *win, *thumb; 35 Evas_Object *win, *thumb;
35 Efl_Access_Role role; 36 Efl_Access_Role role;
36 37
37 elm_init(1, NULL); 38 char *args[] = { "exe" };
39 elm_init(1, args);
38 win = elm_win_add(NULL, "thumb", ELM_WIN_BASIC); 40 win = elm_win_add(NULL, "thumb", ELM_WIN_BASIC);
39 41
40 thumb = elm_thumb_add(win); 42 thumb = elm_thumb_add(win);
diff --git a/src/tests/elementary/elm_test_toolbar.c b/src/tests/elementary/elm_test_toolbar.c
index 59d114a..30e11c3 100644
--- a/src/tests/elementary/elm_test_toolbar.c
+++ b/src/tests/elementary/elm_test_toolbar.c
@@ -11,7 +11,8 @@ START_TEST (elm_toolbar_legacy_type_check)
11 Evas_Object *win, *toolbar; 11 Evas_Object *win, *toolbar;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "toolbar", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "toolbar", ELM_WIN_BASIC);
16 17
17 toolbar = elm_toolbar_add(win); 18 toolbar = elm_toolbar_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *toolbar; 34 Evas_Object *win, *toolbar;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "toolbar", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "toolbar", ELM_WIN_BASIC);
38 40
39 toolbar = elm_toolbar_add(win); 41 toolbar = elm_toolbar_add(win);
diff --git a/src/tests/elementary/elm_test_video.c b/src/tests/elementary/elm_test_video.c
index d5d1d97..faafd62 100644
--- a/src/tests/elementary/elm_test_video.c
+++ b/src/tests/elementary/elm_test_video.c
@@ -11,7 +11,8 @@ START_TEST (elm_video_legacy_type_check)
11 Evas_Object *win, *video; 11 Evas_Object *win, *video;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "video", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "video", ELM_WIN_BASIC);
16 17
17 video = elm_video_add(win); 18 video = elm_video_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *video; 34 Evas_Object *win, *video;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "video", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "video", ELM_WIN_BASIC);
38 40
39 video = elm_video_add(win); 41 video = elm_video_add(win);
diff --git a/src/tests/elementary/elm_test_web.c b/src/tests/elementary/elm_test_web.c
index a0d2a41..33b75db 100644
--- a/src/tests/elementary/elm_test_web.c
+++ b/src/tests/elementary/elm_test_web.c
@@ -11,7 +11,8 @@ START_TEST (elm_web_legacy_type_check)
11 Evas_Object *win, *web; 11 Evas_Object *win, *web;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "web", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "web", ELM_WIN_BASIC);
16 17
17 web = elm_web_add(win); 18 web = elm_web_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *web; 34 Evas_Object *win, *web;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "web", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "web", ELM_WIN_BASIC);
38 40
39 web = elm_web_add(win); 41 web = elm_web_add(win);
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 4dee633..88327d8 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -68,7 +68,8 @@ START_TEST (elm_win_legacy_type_check)
68 Evas_Object *win; 68 Evas_Object *win;
69 const char *type; 69 const char *type;
70 70
71 elm_init(1, NULL); 71 char *args[] = { "exe" };
72 elm_init(1, args);
72 win = elm_win_add(NULL, "win", ELM_WIN_BASIC); 73 win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
73 74
74 type = elm_object_widget_type_get(win); 75 type = elm_object_widget_type_get(win);
@@ -88,7 +89,8 @@ START_TEST (elm_atspi_role_get)
88 Evas_Object *win; 89 Evas_Object *win;
89 Efl_Access_Role role; 90 Efl_Access_Role role;
90 91
91 elm_init(1, NULL); 92 char *args[] = { "exe" };
93 elm_init(1, args);
92 win = elm_win_add(NULL, "win", ELM_WIN_BASIC); 94 win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
93 95
94 role = efl_access_role_get(win); 96 role = efl_access_role_get(win);
@@ -104,7 +106,8 @@ START_TEST (elm_atspi_component_screen_position)
104 Eina_Bool ret; 106 Eina_Bool ret;
105 int x, y; 107 int x, y;
106 108
107 elm_init(0, NULL); 109 char *args[] = { "exe" };
110 elm_init(1, args);
108 111
109 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC); 112 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
110 113
@@ -123,7 +126,8 @@ END_TEST
123 126
124START_TEST (elm_win_autohide) 127START_TEST (elm_win_autohide)
125{ 128{
126 elm_init(0, NULL); 129 char *args[] = { "exe" };
130 elm_init(1, args);
127 131
128 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC); 132 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
129 elm_win_autohide_set(win, EINA_TRUE); 133 elm_win_autohide_set(win, EINA_TRUE);
@@ -145,7 +149,8 @@ END_TEST
145 149
146START_TEST (elm_win_policy_quit_last_window_hidden) 150START_TEST (elm_win_policy_quit_last_window_hidden)
147{ 151{
148 elm_init(0, NULL); 152 char *args[] = { "exe" };
153 elm_init(1, args);
149 154
150 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN); 155 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
151 156
@@ -171,7 +176,8 @@ END_TEST
171 176
172START_TEST (elm_win_autohide_and_policy_quit_last_window_hidden) 177START_TEST (elm_win_autohide_and_policy_quit_last_window_hidden)
173{ 178{
174 elm_init(0, NULL); 179 char *args[] = { "exe" };
180 elm_init(1, args);
175 181
176 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN); 182 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
177 183
@@ -373,7 +379,8 @@ START_TEST (efl_ui_win_multi_touch_inputs)
373 * pointer x: down, move, move, ... 379 * pointer x: down, move, move, ...
374 */ 380 */
375 381
376 elm_init(0, NULL); 382 char *args[] = { "exe" };
383 elm_init(1, args);
377 384
378 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 385 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
379 386