summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-03 18:00:01 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-11-03 18:03:16 -0700
commita7ff7ceebbe8134e264f8d4e976bf4fccb19f8fa (patch)
tree79f5c3521ff73bde3235a2ca37d2a3a7c7fda851 /src/tests/ecore
parenta614303fb6507ed827a05beb6002815dc19f4b25 (diff)
ecore: cleanup test
Diffstat (limited to 'src/tests/ecore')
-rw-r--r--src/tests/ecore/ecore_test_promise.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/tests/ecore/ecore_test_promise.c b/src/tests/ecore/ecore_test_promise.c
index 4a527e3438..c7449456da 100644
--- a/src/tests/ecore/ecore_test_promise.c
+++ b/src/tests/ecore/ecore_test_promise.c
@@ -1100,9 +1100,9 @@ START_TEST(efl_test_promise_all_after_value_set)
1100 p3 = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get()); 1100 p3 = efl_add(EFL_PROMISE_CLASS, ecore_main_loop_get());
1101 fail_if(!p1 || !p2 || !p3); 1101 fail_if(!p1 || !p2 || !p3);
1102 1102
1103 f1 = efl_ref(efl_promise_future_get(p1)); 1103 f1 = efl_promise_future_get(p1);
1104 f2 = efl_ref(efl_promise_future_get(p2)); 1104 f2 = efl_promise_future_get(p2);
1105 f3 = efl_ref(efl_promise_future_get(p3)); 1105 f3 = efl_promise_future_get(p3);
1106 1106
1107 efl_promise_value_set(p1, &value[0], NULL); 1107 efl_promise_value_set(p1, &value[0], NULL);
1108 efl_promise_value_set(p2, &value[1], NULL); 1108 efl_promise_value_set(p2, &value[1], NULL);
@@ -1118,10 +1118,6 @@ START_TEST(efl_test_promise_all_after_value_set)
1118 1118
1119 fail_if(all); 1119 fail_if(all);
1120 1120
1121 efl_unref(f1);
1122 efl_unref(f2);
1123 efl_unref(f3);
1124
1125 efl_del(p1); 1121 efl_del(p1);
1126 efl_del(p2); 1122 efl_del(p2);
1127 efl_del(p3); 1123 efl_del(p3);