cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=33c3cb3667be8ea2889998a10459d98fceba139f

commit 33c3cb3667be8ea2889998a10459d98fceba139f
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Fri Jan 3 15:36:22 2020 -0800

    elementary: enable collection view test to wait for "child.selected" event.
    
    Reviewed-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
    Differential Revision: https://phab.enlightenment.org/D11015
---
 src/tests/elementary/efl_ui_test_collection_view.c | 6 +++---
 1 file 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)
    sel_val = efl_model_property_get(model, "child.selected");
    ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ERROR);
 
+   efl_future_then(model, efl_model_property_ready_get(model, 
"child.selected"), .success = _quit);
+
    click_object_at(lv, 50, 5);
-   get_me_to_those_events(lv);
+   ecore_main_loop_begin();
 
-   //efl_future_then(model, efl_model_property_ready_get(model, 
"child.selected"), .success = _quit);
-   //ecore_main_loop_begin();
    sel_val = efl_model_property_get(model, "child.selected");
    ck_assert(eina_value_type_get(sel_val) == EINA_VALUE_TYPE_ULONG);
    ck_assert(eina_value_ulong_get(sel_val, &sel));

-- 


Reply via email to