extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
extern int utc_ime_event_set_input_hint_set_cb_p(void);
extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
extern int utc_ime_send_key_event_p(void);
extern int utc_ime_commit_string_p(void);
extern int utc_ime_show_preedit_string_p(void);
extern int utc_ime_update_input_panel_event_p(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n(void);
extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
extern int utc_ime_send_key_event_n(void);
extern int utc_ime_commit_string_n(void);
extern int utc_ime_commit_string_n2(void);
extern int utc_ime_update_input_panel_event_n(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(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);
{"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_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_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n2",utc_ime_commit_string_n2,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_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,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},
{NULL, NULL}
extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
extern int utc_ime_event_set_input_hint_set_cb_p(void);
extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
extern int utc_ime_send_key_event_p(void);
extern int utc_ime_commit_string_p(void);
extern int utc_ime_show_preedit_string_p(void);
extern int utc_ime_update_input_panel_event_p(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n(void);
extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
extern int utc_ime_send_key_event_n(void);
extern int utc_ime_commit_string_n(void);
extern int utc_ime_commit_string_n2(void);
extern int utc_ime_update_input_panel_event_n(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(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);
{"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_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_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n2",utc_ime_commit_string_n2,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_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,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},
{NULL, NULL}
extern int utc_ime_event_set_accessibility_state_changed_cb_p(void);
extern int utc_ime_event_set_option_window_created_cb_p(void);
extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
extern int utc_ime_send_key_event_p(void);
extern int utc_ime_commit_string_p(void);
extern int utc_ime_show_preedit_string_p(void);
extern int utc_ime_update_input_panel_event_p(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_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_event_set_accessibility_state_changed_cb_n(void);
extern int utc_ime_event_set_option_window_created_cb_n(void);
extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
extern int utc_ime_send_key_event_n(void);
extern int utc_ime_commit_string_n(void);
extern int utc_ime_commit_string_n2(void);
extern int utc_ime_update_input_panel_event_n(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(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);
{"utc_ime_event_set_accessibility_state_changed_cb_p",utc_ime_event_set_accessibility_state_changed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_created_cb_p",utc_ime_event_set_option_window_created_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_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_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_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_event_set_accessibility_state_changed_cb_n",utc_ime_event_set_accessibility_state_changed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n2",utc_ime_commit_string_n2,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_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,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},
{NULL, NULL}
extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
extern int utc_ime_event_set_input_hint_set_cb_p(void);
extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
extern int utc_ime_send_key_event_p(void);
extern int utc_ime_commit_string_p(void);
extern int utc_ime_show_preedit_string_p(void);
extern int utc_ime_update_input_panel_event_p(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n(void);
extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
extern int utc_ime_send_key_event_n(void);
extern int utc_ime_commit_string_n(void);
extern int utc_ime_commit_string_n2(void);
extern int utc_ime_update_input_panel_event_n(void);
extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_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_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_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_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_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_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_commit_string_n2",utc_ime_commit_string_n2,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_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+ {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
{NULL, NULL}
};
}
#endif
+static void _position_align_set_cb(int x, int y, Ecore_IMF_Input_Panel_Align align, void *user_data)
+{
+}
+
static int g_ret = -1;
static void _ime_exit()
elm_exit();
}
+static void _ime_move_resize_floating_window()
+{
+ g_ret = ime_move_resize_floating_window(0, 0, 100, 100);
+ elm_exit();
+}
+
#ifndef TV
static void _ime_update_preedit_cursor()
{
}
#endif
+/**
+ * @testcase utc_ime_event_set_position_align_set_cb_p
+ * @since_tizen 9.0
+ * @description Positive UTC of the function that sets @c position_align_set event callback function.
+ */
+int utc_ime_event_set_position_align_set_cb_p(void)
+{
+ int ret = ime_event_set_position_align_set_cb(_position_align_set_cb, NULL);
+ assert_eq(ret, IME_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_ime_event_unset_position_align_set_cb_p
+ * @since_tizen 9.0
+ * @description Positive UTC of the function that unsets @c position_align_set event callback function.
+ */
+int utc_ime_event_unset_position_align_set_cb_p(void)
+{
+ int ret = ime_event_unset_position_align_set_cb();
+ assert_eq(ret, IME_ERROR_NONE);
+ return 0;
+}
+
/**
* @testcase utc_ime_send_key_event_p
* @since_tizen 2.4
return 0;
}
+/**
+ * @testcase utc_ime_move_resize_floating_window_p
+ * @since_tizen 9.0
+ * @description Positive UTC of the function that moves and resizes the floating input panel window.
+ */
+int utc_ime_move_resize_floating_window_p(void)
+{
+ int ret = ime_run(&basic_callback, (void *)_ime_move_resize_floating_window);
+ assert_eq(ret, IME_ERROR_NONE);
+ assert_eq(g_ret, IME_ERROR_NONE);
+ return 0;
+}
+
#ifndef TV
/**
* @testcase utc_ime_update_preedit_cursor_p
}
#endif
+/**
+ * @testcase utc_ime_event_set_position_align_set_cb_n
+ * @since_tizen 9.0
+ * @description Negative UTC of the function that sets @c position_align_set event callback function.
+ */
+int utc_ime_event_set_position_align_set_cb_n(void)
+{
+ int ret = ime_event_set_position_align_set_cb(NULL, NULL);
+ assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
/**
* @testcase utc_ime_send_key_event_n
* @since_tizen 2.4
return 0;
}
+/**
+ * @testcase utc_ime_move_resize_floating_window_n
+ * @since_tizen 9.0
+ * @description Negative UTC of the function that moves and resizes the floating input panel window.
+ */
+int utc_ime_move_resize_floating_window_n(void)
+{
+ int ret = ime_move_resize_floating_window(0, 0, 100, 100);
+ assert_eq(ret, IME_ERROR_NOT_RUNNING);
+ return 0;
+}
+
#ifndef TV
/**
* @testcase utc_ime_update_preedit_cursor_n