summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-07 14:52:41 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commit665a75378fcb791600043b5c84e68f441aaaf5d3 (patch)
tree3e5f28ef48f512bec3f01adb5449aa1bd4f7a83c /src/tests
parentf80b8979ba11ade8e5c9365d4464eebc57cd50c3 (diff)
xxx - fix eina_future_then calls to pass sotrage val - fix warns
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c4
-rw-r--r--src/tests/efl/efl_test_model_composite.c6
-rw-r--r--src/tests/efl/efl_test_model_container.c2
-rw-r--r--src/tests/eio/eio_model_test_file.c8
-rw-r--r--src/tests/eio/eio_model_test_monitor_add.c4
-rw-r--r--src/tests/eio/eio_test_manager.c12
-rw-r--r--src/tests/eio/eio_test_manager_xattr.c6
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_model.c10
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_model_connection.c6
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_model_method.c4
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_model_object.c8
-rw-r--r--src/tests/eldbus/eldbus_test_eldbus_model_proxy.c2
-rw-r--r--src/tests/eldbus/eldbus_test_fake_server_eldbus_model_proxy.c2
-rw-r--r--src/tests/elementary/elm_test_layout.c2
14 files changed, 38 insertions, 38 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c b/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
index 11ed3d7c97..5551508288 100644
--- a/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
+++ b/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
@@ -118,7 +118,7 @@ _timeout(void *data,
118 { \ 118 { \
119 Eina_Bool _did_timeout = EINA_FALSE; \ 119 Eina_Bool _did_timeout = EINA_FALSE; \
120 Eina_Future *_timeout_future = efl_loop_timeout(efl_main_loop_get(), t); \ 120 Eina_Future *_timeout_future = efl_loop_timeout(efl_main_loop_get(), t); \
121 eina_future_then(_timeout_future, _timeout, &_did_timeout); \ 121 eina_future_then(_timeout_future, _timeout, &_did_timeout, NULL); \
122 mark_point(); \ 122 mark_point(); \
123 ecore_main_loop_begin(); \ 123 ecore_main_loop_begin(); \
124 if (!_did_timeout) eina_future_cancel(_timeout_future); \ 124 if (!_did_timeout) eina_future_cancel(_timeout_future); \
@@ -239,7 +239,7 @@ _resolve(struct resolve_ctx *ctx, const char *address, int family, int flags)
239 ctx->future = efl_net_ip_address_resolve(EFL_NET_IP_ADDRESS_CLASS, 239 ctx->future = efl_net_ip_address_resolve(EFL_NET_IP_ADDRESS_CLASS,
240 address, family, flags); 240 address, family, flags);
241 ck_assert_ptr_ne(ctx->future, NULL); 241 ck_assert_ptr_ne(ctx->future, NULL);
242 ctx->future = eina_future_then(ctx->future, _resolve_done, ctx); 242 ctx->future = eina_future_then(ctx->future, _resolve_done, ctx, NULL);
243 243
244 LOOP_WITH_TIMEOUT(10); 244 LOOP_WITH_TIMEOUT(10);
245} 245}
diff --git a/src/tests/efl/efl_test_model_composite.c b/src/tests/efl/efl_test_model_composite.c
index bbc21bfac2..a4ce5ba576 100644
--- a/src/tests/efl/efl_test_model_composite.c
+++ b/src/tests/efl/efl_test_model_composite.c
@@ -126,7 +126,7 @@ EFL_START_TEST(efl_test_model_composite_boolean)
126 ck_assert(!!model); 126 ck_assert(!!model);
127 127
128 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model)); 128 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model));
129 eina_future_then(future, _children_slice_get_then, NULL); 129 eina_future_then(future, _children_slice_get_then, NULL, NULL);
130 130
131 ecore_main_loop_begin(); 131 ecore_main_loop_begin();
132} 132}
@@ -166,11 +166,11 @@ EFL_START_TEST(efl_test_model_composite_selection)
166 efl_ui_view_model_set(efl_added, base_model)); 166 efl_ui_view_model_set(efl_added, base_model));
167 ck_assert(!!model); 167 ck_assert(!!model);
168 future = efl_model_property_set(model, "selected", eina_value_int_new(2)); 168 future = efl_model_property_set(model, "selected", eina_value_int_new(2));
169 eina_future_then(future, _wait_propagate, NULL); 169 eina_future_then(future, _wait_propagate, NULL, NULL);
170 ecore_main_loop_begin(); 170 ecore_main_loop_begin();
171 171
172 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model)); 172 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model));
173 eina_future_then(future, _selection_children_slice_get_then, NULL); 173 eina_future_then(future, _selection_children_slice_get_then, NULL, NULL);
174 174
175 ecore_main_loop_begin(); 175 ecore_main_loop_begin();
176} 176}
diff --git a/src/tests/efl/efl_test_model_container.c b/src/tests/efl/efl_test_model_container.c
index 0ccd34167a..dbe76d8e4f 100644
--- a/src/tests/efl/efl_test_model_container.c
+++ b/src/tests/efl/efl_test_model_container.c
@@ -107,7 +107,7 @@ EFL_START_TEST(efl_test_model_container_values)
107 107
108 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model)); 108 future = efl_model_children_slice_get(model, 0, efl_model_children_count_get(model));
109 109
110 eina_future_then(future, _children_slice_future_then, NULL); 110 eina_future_then(future, _children_slice_future_then, NULL, NULL);
111 111
112 ecore_main_loop_begin(); 112 ecore_main_loop_begin();
113} 113}
diff --git a/src/tests/eio/eio_model_test_file.c b/src/tests/eio/eio_model_test_file.c
index 4a7ac7d8f7..53e941fe2c 100644
--- a/src/tests/eio/eio_model_test_file.c
+++ b/src/tests/eio/eio_model_test_file.c
@@ -92,12 +92,12 @@ listing(void *data,
92 if (efl_model_children_count_get(filemodel) == 0) 92 if (efl_model_children_count_get(filemodel) == 0)
93 { 93 {
94 future = efl_loop_job(efl_provider_find(filemodel, EFL_LOOP_CLASS)); 94 future = efl_loop_job(efl_provider_find(filemodel, EFL_LOOP_CLASS));
95 future = eina_future_then(future, listing, filemodel); 95 future = eina_future_then(future, listing, filemodel, NULL);
96 } 96 }
97 else 97 else
98 { 98 {
99 future = efl_model_children_slice_get(filemodel, 0, efl_model_children_count_get(filemodel)); 99 future = efl_model_children_slice_get(filemodel, 0, efl_model_children_count_get(filemodel));
100 future = eina_future_then(future, &promise_then_accessor, NULL); 100 future = eina_future_then(future, &promise_then_accessor, NULL, NULL);
101 } 101 }
102 102
103 return eina_future_as_value(future); 103 return eina_future_as_value(future);
@@ -122,8 +122,8 @@ setup_waiter(Efl_Model *model)
122 122
123 if (listingf) return ; 123 if (listingf) return ;
124 listingf = efl_loop_job(loop); 124 listingf = efl_loop_job(loop);
125 listingf = eina_future_then(listingf, listing, model); 125 listingf = eina_future_then(listingf, listing, model, NULL);
126 listingf = eina_future_then(listingf, clearup, NULL); 126 listingf = eina_future_then(listingf, clearup, NULL, NULL);
127} 127}
128 128
129static void 129static void
diff --git a/src/tests/eio/eio_model_test_monitor_add.c b/src/tests/eio/eio_model_test_monitor_add.c
index 392aa31f0f..aeaaad0229 100644
--- a/src/tests/eio/eio_model_test_monitor_add.c
+++ b/src/tests/eio/eio_model_test_monitor_add.c
@@ -76,7 +76,7 @@ _children_added_cb(void *d EINA_UNUSED, const Efl_Event* event)
76 Eina_Future *future; 76 Eina_Future *future;
77 77
78 future = efl_model_children_slice_get(event->object, evt->index, 1); 78 future = efl_model_children_slice_get(event->object, evt->index, 1);
79 eina_future_then(future, _children_get, event->object); 79 eina_future_then(future, _children_get, event->object, NULL);
80} 80}
81 81
82static Eina_Value 82static Eina_Value
@@ -111,7 +111,7 @@ EFL_START_TEST(eio_model_test_test_monitor_add)
111 111
112 future = efl_model_children_slice_get(filemodel, 0, efl_model_children_count_get(filemodel)); 112 future = efl_model_children_slice_get(filemodel, 0, efl_model_children_count_get(filemodel));
113 113
114 eina_future_then(future, &_create_file, NULL); 114 eina_future_then(future, &_create_file, NULL, NULL);
115 115
116 ecore_main_loop_begin(); 116 ecore_main_loop_begin();
117 117
diff --git a/src/tests/eio/eio_test_manager.c b/src/tests/eio/eio_test_manager.c
index 0a849adcc8..ec51f7ce61 100644
--- a/src/tests/eio/eio_test_manager.c
+++ b/src/tests/eio/eio_test_manager.c
@@ -174,7 +174,7 @@ _test_ls(Eina_Future *(*func)(const Eo *obj, const char *path, Eina_Bool recursi
174 f = func(job, test_dirname, EINA_FALSE, &main_files, _progress_cb, NULL); 174 f = func(job, test_dirname, EINA_FALSE, &main_files, _progress_cb, NULL);
175 fail_if(!f); 175 fail_if(!f);
176 test_count = expected_test_count; 176 test_count = expected_test_count;
177 eina_future_then(f, &_done_cb, &main_files); 177 eina_future_then(f, &_done_cb, &main_files, NULL);
178 178
179 ecore_main_loop_begin(); 179 ecore_main_loop_begin();
180 180
@@ -183,7 +183,7 @@ _test_ls(Eina_Future *(*func)(const Eo *obj, const char *path, Eina_Bool recursi
183 183
184 f = func(job, test_dirname, EINA_TRUE, &main_files, _progress_cb, NULL); 184 f = func(job, test_dirname, EINA_TRUE, &main_files, _progress_cb, NULL);
185 test_count = expected_test_count + 4; 185 test_count = expected_test_count + 4;
186 eina_future_then(f, &_done_cb, &main_files); 186 eina_future_then(f, &_done_cb, &main_files, NULL);
187 187
188 ecore_main_loop_begin(); 188 ecore_main_loop_begin();
189 189
@@ -214,12 +214,12 @@ EFL_START_TEST(efl_io_manager_test_stat)
214 214
215 // Start testing 215 // Start testing
216 f = efl_io_manager_stat(job, nested_dirname); 216 f = efl_io_manager_stat(job, nested_dirname);
217 eina_future_then(f, _stat_done_cb, &is_dir); 217 eina_future_then(f, _stat_done_cb, &is_dir, NULL);
218 ecore_main_loop_begin(); 218 ecore_main_loop_begin();
219 219
220 is_dir = EINA_FALSE; 220 is_dir = EINA_FALSE;
221 f = efl_io_manager_stat(job, nested_filename); 221 f = efl_io_manager_stat(job, nested_filename);
222 eina_future_then(f, _stat_done_cb, &is_dir); 222 eina_future_then(f, _stat_done_cb, &is_dir, NULL);
223 ecore_main_loop_begin(); 223 ecore_main_loop_begin();
224 224
225 // Cleanup 225 // Cleanup
@@ -256,7 +256,7 @@ EFL_START_TEST(efl_io_manager_test_ls)
256 256
257 f = efl_io_manager_ls(job, test_dirname, &main_files, _access_cb, NULL); 257 f = efl_io_manager_ls(job, test_dirname, &main_files, _access_cb, NULL);
258 test_count = 6; 258 test_count = 6;
259 eina_future_then(f, _future_cb, &main_files); 259 eina_future_then(f, _future_cb, &main_files, NULL);
260 260
261 ecore_main_loop_begin(); 261 ecore_main_loop_begin();
262 262
@@ -299,7 +299,7 @@ EFL_START_TEST(efl_io_manager_test_open)
299 job = efl_add(EFL_IO_MANAGER_CLASS, efl_main_loop_get()); 299 job = efl_add(EFL_IO_MANAGER_CLASS, efl_main_loop_get());
300 300
301 f = efl_io_manager_open(job, nested_filename, EINA_FALSE); 301 f = efl_io_manager_open(job, nested_filename, EINA_FALSE);
302 eina_future_then(f, _open_done_cb, &opened_file); 302 eina_future_then(f, _open_done_cb, &opened_file, NULL);
303 ecore_main_loop_begin(); 303 ecore_main_loop_begin();
304 304
305 fail_if(!opened_file); 305 fail_if(!opened_file);
diff --git a/src/tests/eio/eio_test_manager_xattr.c b/src/tests/eio/eio_test_manager_xattr.c
index 2d88548239..e0aae0d938 100644
--- a/src/tests/eio/eio_test_manager_xattr.c
+++ b/src/tests/eio/eio_test_manager_xattr.c
@@ -149,7 +149,7 @@ EFL_START_TEST(eio_test_job_xattr_set)
149 fail_if(num_of_attr != 0); // test asynchronous 149 fail_if(num_of_attr != 0); // test asynchronous
150 } 150 }
151 eina_future_then(eina_future_all_array(futures), 151 eina_future_then(eina_future_all_array(futures),
152 _future_all_cb, &num_of_attr); 152 _future_all_cb, &num_of_attr, NULL);
153 153
154 ecore_main_loop_begin(); 154 ecore_main_loop_begin();
155 155
@@ -166,14 +166,14 @@ EFL_START_TEST(eio_test_job_xattr_set)
166 } 166 }
167 167
168 eina_future_then(eina_future_all_array(futures), 168 eina_future_then(eina_future_all_array(futures),
169 _future_done_cb, &num_of_attr); 169 _future_done_cb, &num_of_attr, NULL);
170 170
171 ecore_main_loop_begin(); 171 ecore_main_loop_begin();
172 172
173 num_of_attr = 0; 173 num_of_attr = 0;
174 174
175 eina_future_then(efl_io_manager_xattr_ls(job, test_file_path, &num_of_attr, _main_cb, NULL), 175 eina_future_then(efl_io_manager_xattr_ls(job, test_file_path, &num_of_attr, _main_cb, NULL),
176 _future_done_cb, &num_of_attr); 176 _future_done_cb, &num_of_attr, NULL);
177 177
178 fail_if(num_of_attr != 0); 178 fail_if(num_of_attr != 0);
179 179
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model.c b/src/tests/eldbus/eldbus_test_eldbus_model.c
index ee0bb519e5..5994851b2f 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model.c
@@ -89,7 +89,7 @@ Eina_Value *
89efl_model_future_then(Eina_Future *future) 89efl_model_future_then(Eina_Future *future)
90{ 90{
91 Eina_Value *data = NULL; 91 Eina_Value *data = NULL;
92 eina_future_then(future, &_future_then_quit_cb, &data); 92 eina_future_then(future, &_future_then_quit_cb, &data, NULL);
93 ecore_main_loop_begin(); 93 ecore_main_loop_begin();
94 return data; 94 return data;
95} 95}
@@ -97,7 +97,7 @@ efl_model_future_then(Eina_Future *future)
97void 97void
98check_efl_model_future_error(Eina_Future *future, Eina_Error *err) 98check_efl_model_future_error(Eina_Future *future, Eina_Error *err)
99{ 99{
100 eina_future_then(future, &_future_check_err, err); 100 eina_future_then(future, &_future_check_err, err, NULL);
101 ecore_main_loop_begin(); 101 ecore_main_loop_begin();
102} 102}
103 103
@@ -105,7 +105,7 @@ int
105efl_model_future_then_u(Eina_Future *future) 105efl_model_future_then_u(Eina_Future *future)
106{ 106{
107 unsigned i = -1; 107 unsigned i = -1;
108 eina_future_then(future, &_future_then_quit_u_cb, &i); 108 eina_future_then(future, &_future_then_quit_u_cb, &i, NULL);
109 ecore_main_loop_begin(); 109 ecore_main_loop_begin();
110 return i; 110 return i;
111} 111}
@@ -293,7 +293,7 @@ _count_changed(void *data EINA_UNUSED, const Efl_Event *ev)
293{ 293{
294 Eina_Future *f; 294 Eina_Future *f;
295 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS)); 295 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS));
296 eina_future_then(f, _leave, NULL); 296 eina_future_then(f, _leave, NULL, NULL);
297} 297}
298 298
299static Eina_Future * 299static Eina_Future *
@@ -444,7 +444,7 @@ check_efl_model_property_int_set(Efl_Model *efl_model, const char *property, int
444 eina_value_set(&eina_value, value); 444 eina_value_set(&eina_value, value);
445 future = efl_model_property_set(efl_model, property, &eina_value); 445 future = efl_model_property_set(efl_model, property, &eina_value);
446 446
447 eina_future_then(future, &_future_then_cp, &value_ret); 447 eina_future_then(future, &_future_then_cp, &value_ret, NULL);
448 ecore_main_loop_begin(); 448 ecore_main_loop_begin();
449 449
450 property_type = eina_value_type_get(&value_ret); 450 property_type = eina_value_type_get(&value_ret);
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model_connection.c b/src/tests/eldbus/eldbus_test_eldbus_model_connection.c
index 631faf1123..aa3e710516 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model_connection.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model_connection.c
@@ -85,13 +85,13 @@ EFL_START_TEST(property_set)
85 eina_value_setup(&value, EINA_VALUE_TYPE_INT); 85 eina_value_setup(&value, EINA_VALUE_TYPE_INT);
86 eina_value_set(&value, 1); 86 eina_value_set(&value, 1);
87 future = efl_model_property_set(connection, "nonexistent", &value); 87 future = efl_model_property_set(connection, "nonexistent", &value);
88 eina_future_then(future, _failed_property_set, eina_value_error_new(EFL_MODEL_ERROR_NOT_FOUND)); 88 eina_future_then(future, _failed_property_set, eina_value_error_new(EFL_MODEL_ERROR_NOT_FOUND), NULL);
89 89
90 ecore_main_loop_begin(); 90 ecore_main_loop_begin();
91 91
92 // UNIQUE_NAME_PROPERTY is read-only 92 // UNIQUE_NAME_PROPERTY is read-only
93 future = efl_model_property_set(connection, UNIQUE_NAME_PROPERTY, &value); 93 future = efl_model_property_set(connection, UNIQUE_NAME_PROPERTY, &value);
94 eina_future_then(future, _failed_property_set, eina_value_error_new(EFL_MODEL_ERROR_READ_ONLY)); 94 eina_future_then(future, _failed_property_set, eina_value_error_new(EFL_MODEL_ERROR_READ_ONLY), NULL);
95 95
96 ecore_main_loop_begin(); 96 ecore_main_loop_begin();
97 97
@@ -111,7 +111,7 @@ _count_changed(void *data EINA_UNUSED, const Efl_Event *ev)
111{ 111{
112 Eina_Future *f; 112 Eina_Future *f;
113 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS)); 113 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS));
114 eina_future_then(f, _leave, NULL); 114 eina_future_then(f, _leave, NULL, NULL);
115} 115}
116 116
117static void 117static void
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model_method.c b/src/tests/eldbus/eldbus_test_eldbus_model_method.c
index a04b6ca08c..f252fbca7d 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model_method.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model_method.c
@@ -117,7 +117,7 @@ EFL_START_TEST(property_set)
117 Eina_Value dummy = EINA_VALUE_EMPTY; 117 Eina_Value dummy = EINA_VALUE_EMPTY;
118 118
119 future = efl_model_property_set(method, ARGUMENT_RESULT, &dummy); 119 future = efl_model_property_set(method, ARGUMENT_RESULT, &dummy);
120 eina_future_then(future, _expected_error, NULL); 120 eina_future_then(future, _expected_error, NULL, NULL);
121} 121}
122EFL_END_TEST 122EFL_END_TEST
123 123
@@ -138,7 +138,7 @@ EFL_START_TEST(children_slice_get)
138 Eina_Future *future; 138 Eina_Future *future;
139 139
140 future = efl_model_children_slice_get(method, 1, 1); 140 future = efl_model_children_slice_get(method, 1, 1);
141 eina_future_then(future, _expected_error, &EFL_MODEL_ERROR_NOT_SUPPORTED); 141 eina_future_then(future, _expected_error, &EFL_MODEL_ERROR_NOT_SUPPORTED, NULL);
142 142
143 ecore_main_loop_begin(); 143 ecore_main_loop_begin();
144} 144}
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model_object.c b/src/tests/eldbus/eldbus_test_eldbus_model_object.c
index c0a9d7cef9..7959a2eb66 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model_object.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model_object.c
@@ -84,13 +84,13 @@ EFL_START_TEST(property_set)
84 eina_value_set(&value, 1); 84 eina_value_set(&value, 1);
85 85
86 future = efl_model_property_set(object, "nonexistent", &value); 86 future = efl_model_property_set(object, "nonexistent", &value);
87 eina_future_then(future, _expect_error, &EFL_MODEL_ERROR_NOT_FOUND); 87 eina_future_then(future, _expect_error, &EFL_MODEL_ERROR_NOT_FOUND, NULL);
88 88
89 ecore_main_loop_begin(); 89 ecore_main_loop_begin();
90 90
91 // UNIQUE_NAME_PROPERTY is read-only 91 // UNIQUE_NAME_PROPERTY is read-only
92 future = efl_model_property_set(object, UNIQUE_NAME_PROPERTY, &value); 92 future = efl_model_property_set(object, UNIQUE_NAME_PROPERTY, &value);
93 eina_future_then(future, _expect_error, &EFL_MODEL_ERROR_READ_ONLY); 93 eina_future_then(future, _expect_error, &EFL_MODEL_ERROR_READ_ONLY, NULL);
94 94
95 ecore_main_loop_begin(); 95 ecore_main_loop_begin();
96 96
@@ -120,7 +120,7 @@ _count_changed(void *data EINA_UNUSED, const Efl_Event *ev)
120 Eina_Future *f; 120 Eina_Future *f;
121 121
122 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS)); 122 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS));
123 eina_future_then(f, _leave, NULL); 123 eina_future_then(f, _leave, NULL, NULL);
124} 124}
125 125
126EFL_START_TEST(children_count) 126EFL_START_TEST(children_count)
@@ -186,7 +186,7 @@ EFL_START_TEST(child_del)
186 fail_if(expected_children_count == 0); 186 fail_if(expected_children_count == 0);
187 187
188 future = efl_model_children_slice_get(object, 0, 1); 188 future = efl_model_children_slice_get(object, 0, 1);
189 eina_future_then(future, _one_child, &child); 189 eina_future_then(future, _one_child, &child, NULL);
190 190
191 ecore_main_loop_begin(); 191 ecore_main_loop_begin();
192 192
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model_proxy.c b/src/tests/eldbus/eldbus_test_eldbus_model_proxy.c
index 4e2b8ecc0d..d9665142a2 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model_proxy.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model_proxy.c
@@ -29,7 +29,7 @@ _count_changed(void *data EINA_UNUSED, const Efl_Event *ev)
29 Eina_Future *f; 29 Eina_Future *f;
30 30
31 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS)); 31 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS));
32 eina_future_then(f, _leave, NULL); 32 eina_future_then(f, _leave, NULL, NULL);
33} 33}
34 34
35static void 35static void
diff --git a/src/tests/eldbus/eldbus_test_fake_server_eldbus_model_proxy.c b/src/tests/eldbus/eldbus_test_fake_server_eldbus_model_proxy.c
index 0cf6adc785..81d35df609 100644
--- a/src/tests/eldbus/eldbus_test_fake_server_eldbus_model_proxy.c
+++ b/src/tests/eldbus/eldbus_test_fake_server_eldbus_model_proxy.c
@@ -80,7 +80,7 @@ _property_ready(void *data EINA_UNUSED, const Efl_Event *ev)
80{ 80{
81 if (f) return ; 81 if (f) return ;
82 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS)); 82 f = efl_loop_job(efl_provider_find(ev->object, EFL_LOOP_CLASS));
83 eina_future_then(f, _leave, NULL); 83 eina_future_then(f, _leave, NULL, NULL);
84} 84}
85 85
86EFL_START_TEST(property_get) 86EFL_START_TEST(property_get)
diff --git a/src/tests/elementary/elm_test_layout.c b/src/tests/elementary/elm_test_layout.c
index a5949f9f10..c431be3848 100644
--- a/src/tests/elementary/elm_test_layout.c
+++ b/src/tests/elementary/elm_test_layout.c
@@ -103,7 +103,7 @@ EFL_START_TEST(elm_layout_model_connect)
103 ck_assert(!!eina_value_setup(&v, EINA_VALUE_TYPE_STRING)); 103 ck_assert(!!eina_value_setup(&v, EINA_VALUE_TYPE_STRING));
104 ck_assert(!!eina_value_set(&v, text_value)); 104 ck_assert(!!eina_value_set(&v, text_value));
105 f = efl_model_property_set(model, "text_property", &v); 105 f = efl_model_property_set(model, "text_property", &v);
106 eina_future_then(f, _propagated_cb, NULL); 106 eina_future_then(f, _propagated_cb, NULL, NULL);
107 107
108 efl_ui_model_connect(ly, "text", "text_property"); 108 efl_ui_model_connect(ly, "text", "text_property");
109 efl_ui_view_model_set(ly, model); 109 efl_ui_view_model_set(ly, model);