ime_device_info_get_subclass
ime_event_set_process_input_device_event_cb
ime_input_device_rotary_get_direction
+ime_event_set_prediction_hint_set_cb
\ No newline at end of file
extern int utc_ime_set_size_p(void);
extern int utc_ime_create_option_window_p(void);
extern int utc_ime_destroy_option_window_p(void);
+extern int utc_ime_event_set_prediction_hint_set_cb_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);
extern int utc_ime_device_info_get_class_n2(void);
extern int utc_ime_device_info_get_subclass_n(void);
extern int utc_ime_device_info_get_subclass_n2(void);
+extern int utc_ime_event_set_prediction_hint_set_cb_n(void);
testcase tc_array[] = {
{"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_size_p",utc_ime_set_size_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_create_option_window_p",utc_ime_create_option_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_destroy_option_window_p",utc_ime_destroy_option_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_prediction_hint_set_cb_p",utc_ime_event_set_prediction_hint_set_cb_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},
{"utc_ime_device_info_get_class_n2",utc_ime_device_info_get_class_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_device_info_get_subclass_n",utc_ime_device_info_get_subclass_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_device_info_get_subclass_n2",utc_ime_device_info_get_subclass_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_prediction_hint_set_cb_n",utc_ime_event_set_prediction_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{NULL, NULL}
};
extern int utc_ime_set_size_p(void);
extern int utc_ime_create_option_window_p(void);
extern int utc_ime_destroy_option_window_p(void);
+extern int utc_ime_event_set_prediction_hint_set_cb_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);
extern int utc_ime_device_info_get_subclass_n2(void);
extern int utc_ime_event_set_process_input_device_event_cb_n(void);
extern int utc_ime_input_device_rotary_get_direction_n(void);
+extern int utc_ime_event_set_prediction_hint_set_cb_n(void);
testcase tc_array[] = {
{"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_size_p",utc_ime_set_size_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_create_option_window_p",utc_ime_create_option_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_destroy_option_window_p",utc_ime_destroy_option_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_prediction_hint_set_cb_p",utc_ime_event_set_prediction_hint_set_cb_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},
{"utc_ime_device_info_get_subclass_n2",utc_ime_device_info_get_subclass_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_process_input_device_event_cb_n",utc_ime_event_set_process_input_device_event_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_input_device_rotary_get_direction_n",utc_ime_input_device_rotary_get_direction_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_prediction_hint_set_cb_n",utc_ime_event_set_prediction_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{NULL, NULL}
};
static void _option_window_destroyed_cb(Evas_Object *window, void *user_data)
{
}
+static void _prediction_hint_set_cb(const char *prediction_hint, void *user_data)
+{
+}
static int g_ret = 0;
return 0;
}
+/**
+ * @testcase utc_ime_event_set_prediction_hint_set_cb_p
+ * @since_tizen 4.0
+ * @description Positive UTC of the function that sets @c prediction_hint event callback function.
+ */
+int utc_ime_event_set_prediction_hint_set_cb_p(void)
+{
+ int ret = ime_event_set_prediction_hint_set_cb(_prediction_hint_set_cb, NULL);
+ assert_eq(ret, IME_ERROR_NONE);
+ return 0;
+}
return 0;
}
+/**
+ * @testcase utc_ime_event_set_prediction_hint_set_cb_n
+ * @since_tizen 4.0
+ * @description Negative UTC of the function that sets @c prediction_hint event callback function.
+ */
+int utc_ime_event_set_prediction_hint_set_cb_n(void)
+{
+ int ret = ime_event_set_prediction_hint_set_cb(NULL, NULL);
+ assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
#ifdef WEARABLE
/**
* @testcase utc_ime_event_set_process_input_device_event_cb_n