Revert "[UTC][capi-ui-inputmethod][ACR-1306][Added utc test-cases for updating geomet...
authorInhong Han <inhong1.han@samsung.com>
Tue, 4 Dec 2018 07:12:18 +0000 (16:12 +0900)
committerInhong Han <inhong1.han@samsung.com>
Tue, 4 Dec 2018 07:14:00 +0000 (16:14 +0900)
This reverts commit 6bf18631709ef57fe2d2d8801a2f2f54a9f92118.

Change-Id: I4bb56e5f58394d70f2cae2382297e38eab54a1ed

src/utc/capi-ui-inputmethod/public.list
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_mobile.h
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_tizeniot.h
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_wearable.h
src/utc/capi-ui-inputmethod/utc-capi-ui-inputmethod.c

index f5847e7acd10c8b59400b6ae64915106ef35fc64..cfefd69b7b3b0e897b3b1108cc83bf93ccc2d5f8 100755 (executable)
@@ -56,5 +56,4 @@ ime_set_floating_drag_start
 ime_set_floating_drag_end
 ime_get_selected_text
 ime_request_hide
-ime_update_input_panel_event
-ime_update_custom_geometry
\ No newline at end of file
+ime_update_input_panel_event
\ No newline at end of file
index af34a85717c6ea1a3bae70d2cb289cb5c45b1c9c..354f946613c4aa54512e1a38e7678b0cd640e025 100755 (executable)
@@ -65,7 +65,6 @@ extern int utc_ime_set_floating_drag_end_p(void);
 extern int utc_ime_get_selected_text_p(void);
 extern int utc_ime_request_hide_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
-extern int utc_ime_update_custom_geometry_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -149,7 +148,6 @@ extern int utc_ime_get_selected_text_n(void);
 extern int utc_ime_get_selected_text_n2(void);
 extern int utc_ime_request_hide_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
-extern int utc_ime_update_custom_geometry_n(void);
 
 testcase tc_array[] = {
        {"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -195,7 +193,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_p",utc_ime_get_selected_text_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_p",utc_ime_request_hide_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_p",utc_ime_update_custom_geometry_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -279,7 +276,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_n2",utc_ime_get_selected_text_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_n",utc_ime_request_hide_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_n",utc_ime_update_custom_geometry_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
 };
 
index af34a85717c6ea1a3bae70d2cb289cb5c45b1c9c..354f946613c4aa54512e1a38e7678b0cd640e025 100755 (executable)
@@ -65,7 +65,6 @@ extern int utc_ime_set_floating_drag_end_p(void);
 extern int utc_ime_get_selected_text_p(void);
 extern int utc_ime_request_hide_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
-extern int utc_ime_update_custom_geometry_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -149,7 +148,6 @@ extern int utc_ime_get_selected_text_n(void);
 extern int utc_ime_get_selected_text_n2(void);
 extern int utc_ime_request_hide_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
-extern int utc_ime_update_custom_geometry_n(void);
 
 testcase tc_array[] = {
        {"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -195,7 +193,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_p",utc_ime_get_selected_text_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_p",utc_ime_request_hide_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_p",utc_ime_update_custom_geometry_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -279,7 +276,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_n2",utc_ime_get_selected_text_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_n",utc_ime_request_hide_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_n",utc_ime_update_custom_geometry_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
 };
 
index d4ff88aa4f67ebf14a61d88d41f9f9d1a97d5666..a045e56f4d248e8616538f62cc68075421ba56d3 100755 (executable)
@@ -65,7 +65,6 @@ extern int utc_ime_set_floating_drag_end_p(void);
 extern int utc_ime_get_selected_text_p(void);
 extern int utc_ime_request_hide_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
-extern int utc_ime_update_custom_geometry_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -151,7 +150,6 @@ extern int utc_ime_get_selected_text_n(void);
 extern int utc_ime_get_selected_text_n2(void);
 extern int utc_ime_request_hide_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
-extern int utc_ime_update_custom_geometry_n(void);
 
 testcase tc_array[] = {
        {"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -197,7 +195,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_p",utc_ime_get_selected_text_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_p",utc_ime_request_hide_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_p",utc_ime_update_custom_geometry_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -283,7 +280,6 @@ testcase tc_array[] = {
        {"utc_ime_get_selected_text_n2",utc_ime_get_selected_text_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_request_hide_n",utc_ime_request_hide_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
-       {"utc_ime_update_custom_geometry_n",utc_ime_update_custom_geometry_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
 };
 
index 63a9b6567be2921122da48b3f2b4ec422d6fc065..1486ed2928afe0a1cff0d1797e5e4b1aafc8a440 100755 (executable)
@@ -215,11 +215,6 @@ static void _ime_update_input_panel_event()
     g_ret = ime_update_input_panel_event(IME_EVENT_TYPE_LANGUAGE, 0);
     elm_exit();
 }
-static void _ime_update_custom_geometry()
-{
-    g_ret = ime_update_custom_geometry(0, 0, 720, 442);
-    elm_exit();
-}
 
 static void _create_cb(void *user_data)
 {
@@ -831,19 +826,6 @@ int utc_ime_update_input_panel_event_p(void)
     return 0;
 }
 
-/**
- * @testcase        utc_ime_update_custom_geometry_p
- * @since_tizen     5.5
- * @description     Positive UTC of the function that updates geometry of input panel
- */
-int utc_ime_update_custom_geometry_p(void)
-{
-    int ret = ime_run(&basic_callback, (void *)_ime_update_custom_geometry);
-    assert_eq(ret, IME_ERROR_NONE);
-    assert_eq(g_ret, IME_ERROR_NONE);
-    return 0;
-}
-
 //& purpose: A purpose of a first negative TC.
 /**
  * @testcase           utc_ime_run_n
@@ -1875,18 +1857,6 @@ int utc_ime_update_input_panel_event_n(void)
     return 0;
 }
 
-/**
- * @testcase        utc_ime_update_custom_geometry_n
- * @since_tizen     5.5
- * @description     Negative UTC of the function that updates geometry of input panel
- */
-int utc_ime_update_custom_geometry_n(void)
-{
-    int ret = ime_update_custom_geometry(-1, 0, 0, 0);
-    assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
-    return 0;
-}
-
 #ifdef WEARABLE
 /**
  * @testcase           utc_ime_event_set_process_input_device_event_cb_n