printf("Lost server with ip %s!\n",
ecore_con_server_ip_get(event->server));
- fail_unless(ecore_con_server_ip_get(event->server));
+ fail_if(!ecore_con_server_ip_get(event->server));
ecore_con_server_del(event->server);
}
{
const char *ec_eet_data;
Ecore_Con_Eet *ec_eet = ecore_con_eet_reply(reply);
- fail_unless(ec_eet);
+ fail_if(!ec_eet);
ec_eet_data = ecore_con_eet_data_get(ec_eet);
fail_if(strcmp(ec_eet_data, eet_data));
svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
8080, NULL);
- fail_unless(svr);
+ fail_if(!svr);
ece_svr = ecore_con_eet_server_new(svr);
- fail_unless(ece_svr);
+ fail_if(!ece_svr);
ecore_con_eet_data_set(ece_svr, eet_data);
cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
8080, NULL);
- fail_unless (cl);
+ fail_if(!cl);
ece_cl = ecore_con_eet_client_new(cl);
- fail_unless (ece_cl);
+ fail_if(!ece_cl);
ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor);
ecore_con_eet_raw_data_callback_add(ece_cl, TEST_STREAM,
svr = ecore_con_server_add(ECORE_CON_REMOTE_TCP, "127.0.0.1",
8080, NULL);
- fail_unless(svr);
+ fail_if(!svr);
ece_svr = ecore_con_eet_server_new(svr);
- fail_unless(ece_svr);
+ fail_if(!ece_svr);
ecore_con_eet_data_set(ece_svr, eet_data);
cl = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1",
8080, NULL);
- fail_unless (cl);
+ fail_if(!cl);
ece_cl = ecore_con_eet_client_new(cl);
- fail_unless (ece_cl);
+ fail_if(!ece_cl);
ecore_con_eet_register(ece_cl, TEST_STREAM, _ece_test_descriptor);
ecore_con_eet_server_connect_callback_add(ece_cl, _eet_svr_cnct_cb,
fprintf(stderr, "directory = %s\n", dir);
ec_url = ecore_con_url_new(link);
- fail_unless (ec_url);
+ fail_if(!ec_url);
ecore_con_url_verbose_set(ec_url, EINA_TRUE);
ecore_con_url_ftp_use_epsv_set(ec_url, EINA_TRUE);
fail_if(ret != 1);
url = ecore_con_url_new(link);
- fail_unless (url);
+ fail_if(!url);
ecore_con_url_verbose_set(url, EINA_TRUE);
headers = ecore_con_url_response_headers_get(url_complete->url_con);
- fail_unless(headers);
+ fail_if(!headers);
printf("response headers:\n");
EINA_LIST_FOREACH(headers, l, str)
ecore_con_url_init();
ec_url = ecore_con_url_new(link);
- fail_unless(ec_url);
+ fail_if(!ec_url);
ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE,
_url_cookies_compl_cb, NULL);