summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-23 10:39:44 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-23 10:39:44 +0100
commite3d77abfe73e047227f4da5b7ae204f4f017c8e1 (patch)
tree7455c00f8ad3f9ec03a23594eadccd4a81e5cfd5 /src/tests/ecore_con/ecore_con_test_ecore_con_eet.c
parentb1078babb684b3ebe2746fba94f7a6f8d28c956d (diff)
eina tests, ecore_con tests: fix compiler warnings
Diffstat (limited to 'src/tests/ecore_con/ecore_con_test_ecore_con_eet.c')
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_eet.c18
1 files changed, 9 insertions, 9 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 5d45c349b5..932c32a3fc 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
@@ -56,7 +56,7 @@ _eet_client_cnct_cb(void *data EINA_UNUSED, Ecore_Con_Reply *reply, Ecore_Con_Cl
56{ 56{
57 const char *ec_eet_data; 57 const char *ec_eet_data;
58 Ecore_Con_Eet *ec_eet = ecore_con_eet_reply(reply); 58 Ecore_Con_Eet *ec_eet = ecore_con_eet_reply(reply);
59 fail_unless(ec_eet); 59 fail_if(!ec_eet);
60 60
61 ec_eet_data = ecore_con_eet_data_get(ec_eet); 61 ec_eet_data = ecore_con_eet_data_get(ec_eet);
62 fail_if(strcmp(ec_eet_data, eet_data)); 62 fail_if(strcmp(ec_eet_data, eet_data));
@@ -126,10 +126,10 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_cl)
126 126
127 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1", 127 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
128 8080, NULL); 128 8080, NULL);
129 fail_unless(svr); 129 fail_if(!svr);
130 130
131 ece_svr = ecore_con_eet_server_new(svr); 131 ece_svr = ecore_con_eet_server_new(svr);
132 fail_unless(ece_svr); 132 fail_if(!ece_svr);
133 133
134 ecore_con_eet_data_set(ece_svr, eet_data); 134 ecore_con_eet_data_set(ece_svr, eet_data);
135 135
@@ -143,10 +143,10 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_cl)
143 143
144 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", 144 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
145 8080, NULL); 145 8080, NULL);
146 fail_unless (cl); 146 fail_if(!cl);
147 147
148 ece_cl = ecore_con_eet_client_new(cl); 148 ece_cl = ecore_con_eet_client_new(cl);
149 fail_unless (ece_cl); 149 fail_if(!ece_cl);
150 150
151 ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor); 151 ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor);
152 ecore_con_eet_raw_data_callback_add(ece_cl, TEST_STREAM, 152 ecore_con_eet_raw_data_callback_add(ece_cl, TEST_STREAM,
@@ -210,10 +210,10 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_del)
210 210
211 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1", 211 svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
212 8080, NULL); 212 8080, NULL);
213 fail_unless(svr); 213 fail_if(!svr);
214 214
215 ece_svr = ecore_con_eet_server_new(svr); 215 ece_svr = ecore_con_eet_server_new(svr);
216 fail_unless(ece_svr); 216 fail_if(!ece_svr);
217 217
218 ecore_con_eet_data_set(ece_svr, eet_data); 218 ecore_con_eet_data_set(ece_svr, eet_data);
219 219
@@ -223,10 +223,10 @@ START_TEST(ecore_con_test_ecore_con_eet_svr_del)
223 223
224 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", 224 cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
225 8080, NULL); 225 8080, NULL);
226 fail_unless (cl); 226 fail_if(!cl);
227 227
228 ece_cl = ecore_con_eet_client_new(cl); 228 ece_cl = ecore_con_eet_client_new(cl);
229 fail_unless (ece_cl); 229 fail_if(!ece_cl);
230 230
231 ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor); 231 ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor);
232 ecore_con_eet_server_connect_callback_add(ece_cl, _eet_svr_cnct_cb, 232 ecore_con_eet_server_connect_callback_add(ece_cl, _eet_svr_cnct_cb,