summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_promise.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-06-08 19:33:29 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-06-09 22:38:54 -0300
commit46843551c0af0b58c67cb2f998ece53a32437748 (patch)
tree246303026b113d9f61130c4e0404d521531c3396 /src/tests/ecore/ecore_test_promise.c
parent5a3331618e9cf52122a262cd35ab2aee4642d67c (diff)
eina: Remove value type promises
All values in promises are now considered as by-pointer.
Diffstat (limited to 'src/tests/ecore/ecore_test_promise.c')
-rw-r--r--src/tests/ecore/ecore_test_promise.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/ecore/ecore_test_promise.c b/src/tests/ecore/ecore_test_promise.c
index cf9c33f..3c7d8eb 100644
--- a/src/tests/ecore/ecore_test_promise.c
+++ b/src/tests/ecore/ecore_test_promise.c
@@ -205,7 +205,7 @@ START_TEST(ecore_test_promise_normal_lifetime)
205 205
206 ecore_init(); 206 ecore_init();
207 207
208 promise_owner = eina_promise_value_add(0); 208 promise_owner = eina_promise_add();
209 209
210 promise = eina_promise_owner_promise_get(promise_owner); 210 promise = eina_promise_owner_promise_get(promise_owner);
211 211
@@ -226,7 +226,7 @@ START_TEST(ecore_test_promise_normal_lifetime_all)
226 226
227 ecore_init(); 227 ecore_init();
228 228
229 promise_owner = eina_promise_value_add(0); 229 promise_owner = eina_promise_add();
230 first[0] = eina_promise_owner_promise_get(promise_owner); 230 first[0] = eina_promise_owner_promise_get(promise_owner);
231 promise = eina_promise_all(eina_carray_iterator_new((void**)&first[0])); 231 promise = eina_promise_all(eina_carray_iterator_new((void**)&first[0]));
232 232
@@ -252,7 +252,7 @@ START_TEST(ecore_test_promise_immediate_set_lifetime)
252 252
253 ecore_init(); 253 ecore_init();
254 254
255 owner = eina_promise_value_add(0); 255 owner = eina_promise_add();
256 promise = eina_promise_owner_promise_get(owner); 256 promise = eina_promise_owner_promise_get(owner);
257 257
258 eina_promise_owner_value_set(owner, NULL, NULL); 258 eina_promise_owner_value_set(owner, NULL, NULL);
@@ -272,7 +272,7 @@ START_TEST(ecore_test_promise_immediate_set_lifetime_all)
272 272
273 ecore_init(); 273 ecore_init();
274 274
275 owner = eina_promise_value_add(0); 275 owner = eina_promise_add();
276 first[0] = eina_promise_owner_promise_get(owner); 276 first[0] = eina_promise_owner_promise_get(owner);
277 promise = eina_promise_all(eina_carray_iterator_new((void**)&first[0])); 277 promise = eina_promise_all(eina_carray_iterator_new((void**)&first[0]));
278 278