summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_win.c
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 /src/tests/elementary/elm_test_win.c
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.
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_win.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 4dee633437..88327d81e0 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