summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_config.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-27 13:51:13 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:26 +0200
commit624925fe6e9c72c639d47135d5ea70d4110ac1fe (patch)
treeb57c12a611bf3b4b492327a7fcb5722cd39dad5b /src/tests/elementary/elm_test_config.c
parent730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5 (diff)
tests: move to using checked fixtures for all test suites
individual tests should not need to explicitly call init/shutdown functions in most cases, and many did not properly do this anyway see followup commit which resolves some issues with eina tests ref T6813 ref T6811 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_config.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c
index 1276890..c69b533 100644
--- a/src/tests/elementary/elm_test_config.c
+++ b/src/tests/elementary/elm_test_config.c
@@ -11,9 +11,6 @@ typedef unsigned int uint;
11 11
12EFL_START_TEST (elm_config_eoapi) 12EFL_START_TEST (elm_config_eoapi)
13{ 13{
14 char *args[] = { "exe" };
15 elm_init(1, args);
16
17 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 14 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
18 fail_if(!cfg); 15 fail_if(!cfg);
19 16
@@ -143,15 +140,11 @@ EFL_START_TEST (elm_config_eoapi)
143 fail(channels[i].name); 140 fail(channels[i].name);
144 } 141 }
145 142
146 elm_shutdown();
147} 143}
148EFL_END_TEST 144EFL_END_TEST
149 145
150EFL_START_TEST (elm_config_win) 146EFL_START_TEST (elm_config_win)
151{ 147{
152 char *args[] = { "exe" };
153 elm_init(1, args);
154
155 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE); 148 Eo *cfg = efl_provider_find(efl_main_loop_get(), EFL_CONFIG_INTERFACE);
156 fail_if(!cfg); 149 fail_if(!cfg);
157 150
@@ -163,7 +156,6 @@ EFL_START_TEST (elm_config_win)
163 fail_if(efl_config_int_get(win, "cache_flush_interval") != 42); 156 fail_if(efl_config_int_get(win, "cache_flush_interval") != 42);
164 157
165 efl_del(win); 158 efl_del(win);
166 elm_shutdown();
167} 159}
168EFL_END_TEST 160EFL_END_TEST
169 161
@@ -182,9 +174,6 @@ _eina_list_string_has(const Eina_List *list, const char *str)
182 174
183EFL_START_TEST (elm_config_profiles) 175EFL_START_TEST (elm_config_profiles)
184{ 176{
185 char *args[] = { "exe" };
186 elm_init(1, args);
187
188 // this only tests some of the profile APIs. we're not going to mess with 177 // this only tests some of the profile APIs. we're not going to mess with
189 // the global config during make check :) 178 // the global config during make check :)
190 179
@@ -228,7 +217,6 @@ EFL_START_TEST (elm_config_profiles)
228 elm_config_profile_dir_free(dir); 217 elm_config_profile_dir_free(dir);
229 eina_stringshare_del(str); 218 eina_stringshare_del(str);
230 219
231 elm_shutdown();
232} 220}
233EFL_END_TEST 221EFL_END_TEST
234 222