summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2020-01-03 15:36:22 -0800
committerCedric BAIL <cedric.bail@free.fr>2020-01-09 10:27:46 -0800
commit33c3cb3667be8ea2889998a10459d98fceba139f (patch)
tree2a3c82232726b501534ce698001ddeaca13ca19b
parent91ed9b59d90b5fc65ad5b64f8beba96d608d31c0 (diff)
elementary: enable collection view test to wait for "child.selected" event.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11015
-rw-r--r--src/tests/elementary/efl_ui_test_collection_view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/elementary/efl_ui_test_collection_view.c b/src/tests/elementary/efl_ui_test_collection_view.c
index 8740fdb623..d064203ffb 100644
--- a/src/tests/elementary/efl_ui_test_collection_view.c
+++ b/src/tests/elementary/efl_ui_test_collection_view.c
@@ -139,11 +139,11 @@ EFL_START_TEST(test_efl_ui_collection_view_select)
139 sel_val = efl_model_property_get(model, "child.selected"); 139 sel_val = efl_model_property_get(model, "child.selected");
140 ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ERROR); 140 ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ERROR);
141 141
142 efl_future_then(model, efl_model_property_ready_get(model, "child.selected"), .success = _quit);
143
142 click_object_at(lv, 50, 5); 144 click_object_at(lv, 50, 5);
143 get_me_to_those_events(lv); 145 ecore_main_loop_begin();
144 146
145 //efl_future_then(model, efl_model_property_ready_get(model, "child.selected"), .success = _quit);
146 //ecore_main_loop_begin();
147 sel_val = efl_model_property_get(model, "child.selected"); 147 sel_val = efl_model_property_get(model, "child.selected");
148 ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ULONG); 148 ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ULONG);
149 ck_assert(eina_value_ulong_get(sel_val, &sel)); 149 ck_assert(eina_value_ulong_get(sel_val, &sel));