[UTC][attach-panel][Non-ACR][Remove unnecessary timer function]
authorNilesh Trimbake <t.shripati@samsung.com>
Wed, 10 Oct 2018 11:16:58 +0000 (16:46 +0530)
committerNilesh Trimbake <t.shripati@samsung.com>
Wed, 10 Oct 2018 11:37:24 +0000 (11:37 +0000)
Change-Id: I5ce15d1a933638e4ceb52f9201e7e5756ffa4e0b

src/utc/attach-panel/utc-attach-panel.c

index 87b852a0665e1d6f35a5a0388c5b509dad059737..1c9d3de3ac38ae8bfa904b187643dd41fff7c189 100755 (executable)
@@ -46,20 +46,6 @@ static int assert_neq_for_callback(void *var, void *value)
     return 0;
 }
 
-static Eina_Bool timeout_func(void *data)
-{
-       s_info.is_asserted = 1;
-       ecore_main_loop_quit();
-       return FALSE;
-}
-
-static int wait_for_service(void)
-{
-       ecore_timer_add(5.0f, timeout_func, NULL);
-       ecore_main_loop_begin();
-       return 0;
-}
-
 //& set: AttachPanel
 
 /**
@@ -747,9 +733,6 @@ int utc_attach_panel_set_event_cb_p(void)
        ret = attach_panel_show(attach_panel);
        assert_eq(ret, ATTACH_PANEL_ERROR_NONE);
 
-       wait_for_service();
-       assert_eq(s_info.is_asserted, 0);
-
        ret = attach_panel_remove_content_category(attach_panel, ATTACH_PANEL_CONTENT_CATEGORY_MYFILES);
        assert_eq(ret, ATTACH_PANEL_ERROR_NONE);