tests/ecore/ecore_suite.c \
tests/ecore/ecore_test_ecore.c \
tests/ecore/ecore_test_ecore_con.c \
+tests/ecore/ecore_test_ecore_con_url.c \
tests/ecore/ecore_test_ecore_x.c \
tests/ecore/ecore_test_ecore_imf.c \
tests/ecore/ecore_test_timer.c \
static const Ecore_Test_Case etc[] = {
{ "Ecore", ecore_test_ecore },
{ "Ecore_Con", ecore_test_ecore_con },
+ { "Ecore_Con_Url", ecore_test_ecore_con_url },
{ "Ecore_X", ecore_test_ecore_x },
{ "Ecore_Imf", ecore_test_ecore_imf },
#if HAVE_ECORE_AUDIO
void ecore_test_ecore(TCase *tc);
void ecore_test_ecore_con(TCase *tc);
+void ecore_test_ecore_con_url(TCase *tc);
void ecore_test_ecore_x(TCase *tc);
void ecore_test_ecore_imf(TCase *tc);
void ecore_test_ecore_audio(TCase *tc);
--- /dev/null
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "ecore_suite.h"
+
+#include <stdio.h>
+#include <Ecore_Con.h>
+
+
+START_TEST(ecore_test_ecore_con_url_create)
+{
+ Ecore_Con_Url *url;
+ int ret;
+
+ ret = eina_init();
+ fail_if(ret != 1);
+ ret = ecore_con_url_init();
+ fail_if(ret != 1);
+
+ url = ecore_con_url_new("http://google.com");
+ fail_if(!url);
+
+ ecore_con_url_free(url);
+
+ ret = ecore_con_url_shutdown();
+ fail_if(ret != 0);
+ ret = eina_shutdown();
+}
+END_TEST
+
+START_TEST(ecore_test_ecore_con_url_init)
+{
+ int ret;
+
+ ret = ecore_con_url_init();
+ fail_if(ret != 1);
+
+ ret = ecore_con_url_shutdown();
+ fail_if(ret != 0);
+}
+END_TEST
+
+void ecore_test_ecore_con_url(TCase *tc)
+{
+ tcase_add_test(tc, ecore_test_ecore_con_url_init);
+ tcase_add_test(tc, ecore_test_ecore_con_url_create);
+}