forked from enlightenment/efl
ecore_con: do not crash in test if nothing is returned by Ecore_Con_Url.
Summary: Depends on D10362 Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10363
This commit is contained in:
parent
1f1f0f75c0
commit
e5c1eb5747
|
@ -259,9 +259,11 @@ EFL_START_TEST(ecore_con_test_ecore_con_url_download)
|
||||||
|
|
||||||
ecore_con_url_verbose_set(url, EINA_TRUE);
|
ecore_con_url_verbose_set(url, EINA_TRUE);
|
||||||
|
|
||||||
|
fail_unless (ecore_con_url_url_get(url));
|
||||||
fail_if (strcmp(ecore_con_url_url_get(url), link));
|
fail_if (strcmp(ecore_con_url_url_get(url), link));
|
||||||
|
|
||||||
ecore_con_url_data_set(url, url_data);
|
ecore_con_url_data_set(url, url_data);
|
||||||
|
fail_unless (ecore_con_url_data_get(url));
|
||||||
fail_if (strcmp(ecore_con_url_data_get(url), url_data));
|
fail_if (strcmp(ecore_con_url_data_get(url), url_data));
|
||||||
|
|
||||||
info = (url_test *) malloc(sizeof(url_test));
|
info = (url_test *) malloc(sizeof(url_test));
|
||||||
|
|
Loading…
Reference in New Issue