forked from enlightenment/efl
tests/eldbus: add now needed calls to ecore_init/shutdown
Since commit 53c66c98c2
eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
This commit is contained in:
parent
8712f03f57
commit
5065356ae6
|
@ -22,10 +22,13 @@ START_TEST(eldbus_test_eldbus)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
ecore_init();
|
||||||
ret = eldbus_init();
|
ret = eldbus_init();
|
||||||
fail_if(ret < 1);
|
fail_if(ret < 1);
|
||||||
|
|
||||||
ret = eldbus_shutdown();
|
ret = eldbus_shutdown();
|
||||||
|
|
||||||
|
ecore_shutdown();
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,7 @@ efl_model_load_and_wait_for_load_status(Eo *obj, Efl_Model_Load_Status expected_
|
||||||
void
|
void
|
||||||
check_init(void)
|
check_init(void)
|
||||||
{
|
{
|
||||||
|
ecore_init();
|
||||||
int ret = eldbus_init();
|
int ret = eldbus_init();
|
||||||
ck_assert_int_ge(ret, 1);
|
ck_assert_int_ge(ret, 1);
|
||||||
}
|
}
|
||||||
|
@ -99,6 +100,7 @@ check_shutdown(void)
|
||||||
{
|
{
|
||||||
int ret = eldbus_shutdown();
|
int ret = eldbus_shutdown();
|
||||||
ck_assert_int_eq(ret, 0);
|
ck_assert_int_eq(ret, 0);
|
||||||
|
ecore_shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue