summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con
diff options
context:
space:
mode:
authorSrivardhan Hebbar <sri.hebbar@samsung.com>2015-08-07 16:35:45 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-07 17:08:43 +0200
commitb3ce48e2f9e44c444f3aced30cc67869d16735ac (patch)
treed02a3122079c796f3f2afbf42b9e434b89f0eeef /src/tests/ecore_con
parent3dd917be92e8312d4841d800f22045326d396804 (diff)
ecore_con: remove unwanted delete calls from ecore_con_eet test cases.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2910 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/tests/ecore_con')
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_eet.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
index edf5185..99926a0 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
@@ -108,7 +108,6 @@ _eet_raw_data_cb(void *data, Ecore_Con_Reply *reply, const char *protocol_name E
108 ecore_con_eet_raw_data_callback_del(ece_cl, TEST_STREAM); 108 ecore_con_eet_raw_data_callback_del(ece_cl, TEST_STREAM);
109 ecore_con_eet_server_connect_callback_del(ece_cl, _eet_svr_cnct_cb, NULL); 109 ecore_con_eet_server_connect_callback_del(ece_cl, _eet_svr_cnct_cb, NULL);
110 110
111 ecore_con_eet_server_free(ece_cl);
112 ecore_con_server_del(cl); 111 ecore_con_server_del(cl);
113} 112}
114 113
@@ -164,7 +163,6 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_cl)
164 _eet_client_discnct_cb, NULL); 163 _eet_client_discnct_cb, NULL);
165 164
166 free(cb_data); 165 free(cb_data);
167 ecore_con_eet_server_free(ece_svr);
168 _ece_test_descriptor_shutdown(); 166 _ece_test_descriptor_shutdown();
169 ecore_con_server_del(svr); 167 ecore_con_server_del(svr);
170 ecore_con_shutdown(); 168 ecore_con_shutdown();
@@ -192,7 +190,6 @@ _eet_svr_raw_data_cb(void *data, Ecore_Con_Reply *reply, const char *protocol_na
192 190
193 ecore_con_eet_raw_data_callback_del(ece_svr, TEST_STREAM); 191 ecore_con_eet_raw_data_callback_del(ece_svr, TEST_STREAM);
194 192
195 ecore_con_eet_server_free(ece_svr);
196 ecore_con_server_del(svr); 193 ecore_con_server_del(svr);
197} 194}
198 195
@@ -236,16 +233,8 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_del)
236 233
237 ecore_main_loop_begin(); 234 ecore_main_loop_begin();
238 235
239
240 ecore_con_eet_server_connect_callback_del(ece_cl, _eet_client_cnct_cb,
241 NULL);
242 ecore_con_eet_server_disconnect_callback_del(ece_cl,
243 _eet_client_discnct_cb, NULL);
244
245 free(cb_data); 236 free(cb_data);
246 ecore_con_eet_server_free(ece_cl);
247 _ece_test_descriptor_shutdown(); 237 _ece_test_descriptor_shutdown();
248 ecore_con_server_del(cl);
249 ecore_con_shutdown(); 238 ecore_con_shutdown();
250 eet_shutdown(); 239 eet_shutdown();
251 eina_shutdown(); 240 eina_shutdown();