summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_promise.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-02-02 16:52:38 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-02-02 16:56:57 -0800
commite94967da72488952854d4617bb67f0ee74c810f9 (patch)
tree951788dae3143ad0883e15f04f47edaee66755aa /src/tests/ecore/ecore_test_promise.c
parentf66559a4cdab235995c1be6b1e92d2f76e4d11de (diff)
ecore: implement new requirement in the test suite.
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_promise.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_promise.c b/src/tests/ecore/ecore_test_promise.c
index 944331e12b..d0e2ec44fa 100644
--- a/src/tests/ecore/ecore_test_promise.c
+++ b/src/tests/ecore/ecore_test_promise.c
@@ -1049,7 +1049,8 @@ START_TEST(efl_test_future_link)
1049 1049
1050 ecore_init(); 1050 ecore_init();
1051 1051
1052 o = efl_add(EFL_LOOP_TIMER_CLASS, ecore_main_loop_get()); 1052 o = efl_add(EFL_LOOP_TIMER_CLASS, ecore_main_loop_get(),
1053 efl_loop_timer_interval_set(efl_added, 0.0));
1053 p = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get()); 1054 p = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get());
1054 efl_future_use(&f, efl_promise_future_get(p)); 1055 efl_future_use(&f, efl_promise_future_get(p));
1055 efl_future_link(o, f); 1056 efl_future_link(o, f);
@@ -1058,7 +1059,8 @@ START_TEST(efl_test_future_link)
1058 efl_del(o); 1059 efl_del(o);
1059 fail_if(f); 1060 fail_if(f);
1060 1061
1061 o = efl_add(EFL_LOOP_TIMER_CLASS, ecore_main_loop_get()); 1062 o = efl_add(EFL_LOOP_TIMER_CLASS, ecore_main_loop_get(),
1063 efl_loop_timer_interval_set(efl_added, 0.0));
1062 efl_future_use(&f, efl_promise_future_get(p)); 1064 efl_future_use(&f, efl_promise_future_get(p));
1063 efl_future_cancel(f); 1065 efl_future_cancel(f);
1064 1066