summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore_con/ecore_con_test_ecore_con_url.c')
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_url.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
index ec27523..d8b7ab1 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
@@ -180,7 +180,7 @@ START_TEST(ecore_con_test_ecore_con_url_ftp_upload)
180 fprintf(stderr, "directory = %s\n", dir); 180 fprintf(stderr, "directory = %s\n", dir);
181 181
182 ec_url = ecore_con_url_new(link); 182 ec_url = ecore_con_url_new(link);
183 fail_unless (ec_url); 183 fail_if(!ec_url);
184 184
185 ecore_con_url_verbose_set(ec_url, EINA_TRUE); 185 ecore_con_url_verbose_set(ec_url, EINA_TRUE);
186 ecore_con_url_ftp_use_epsv_set(ec_url, EINA_TRUE); 186 ecore_con_url_ftp_use_epsv_set(ec_url, EINA_TRUE);
@@ -259,7 +259,7 @@ START_TEST(ecore_con_test_ecore_con_url_download)
259 fail_if(ret != 1); 259 fail_if(ret != 1);
260 260
261 url = ecore_con_url_new(link); 261 url = ecore_con_url_new(link);
262 fail_unless (url); 262 fail_if(!url);
263 263
264 ecore_con_url_verbose_set(url, EINA_TRUE); 264 ecore_con_url_verbose_set(url, EINA_TRUE);
265 265
@@ -332,7 +332,7 @@ _url_cookies_compl_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_
332 332
333 headers = ecore_con_url_response_headers_get(url_complete->url_con); 333 headers = ecore_con_url_response_headers_get(url_complete->url_con);
334 334
335 fail_unless(headers); 335 fail_if(!headers);
336 336
337 printf("response headers:\n"); 337 printf("response headers:\n");
338 EINA_LIST_FOREACH(headers, l, str) 338 EINA_LIST_FOREACH(headers, l, str)
@@ -360,7 +360,7 @@ _ecore_con_url_cookies_test_init()
360 ecore_con_url_init(); 360 ecore_con_url_init();
361 361
362 ec_url = ecore_con_url_new(link); 362 ec_url = ecore_con_url_new(link);
363 fail_unless(ec_url); 363 fail_if(!ec_url);
364 364
365 ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE, 365 ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE,
366 _url_cookies_compl_cb, NULL); 366 _url_cookies_compl_cb, NULL);