{
return true;
}
+
+static void _input_hint_set_cb(Ecore_IMF_Input_Hints input_hint, void *user_data)
+{
+}
//LCOV_EXCL_STOP
/**
}
/**
+ * @testcase utc_ime_event_set_input_hint_set_cb_p
+ * @since_tizen 6.5
+ * @description Positive UTC of the function that sets @c input_hint_set event callback function.
+ */
+TEST_F(InputMethodTest, utc_ime_event_set_input_hint_set_cb_p)
+{
+ int ret = ime_event_set_input_hint_set_cb(_input_hint_set_cb, NULL);
+ EXPECT_EQ(ret, IME_ERROR_NONE);
+}
+
+/**
+ * @testcase utc_ime_event_unset_input_hint_set_cb_p
+ * @since_tizen 6.5
+ * @description Positive UTC of the function that unsets @c input_hint_set event callback function.
+ */
+TEST_F(InputMethodTest, utc_ime_event_unset_input_hint_set_cb_p)
+{
+ int ret = ime_event_unset_input_hint_set_cb();
+ EXPECT_EQ(ret, IME_ERROR_NONE);
+}
+
+/**
* @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.
}
/**
+ * @testcase utc_ime_event_set_input_hint_set_cb_n
+ * @since_tizen 6.5
+ * @description Negative UTC of the function that sets @c input_hint_set event callback function.
+ */
+TEST_F(InputMethodTest, utc_ime_event_set_input_hint_set_cb_n)
+{
+ int ret = ime_event_set_input_hint_set_cb(NULL, NULL);
+ EXPECT_EQ(ret, IME_ERROR_INVALID_PARAMETER);
+}
+
+/**
* @testcase utc_ime_send_key_event_n
* @since_tizen 2.4
* @description Negative UTC of the function that sends a key event to the associated text input UI control.
}
/**
+ * @testcase utc_ime_update_preedit_cursor_n
+ * @since_tizen 6.5
+ * @description Negative UTC of the function that updates the position of preedit cursor.
+ */
+TEST_F(InputMethodTest, utc_ime_update_preedit_cursor_n)
+{
+ int ret = ime_update_preedit_cursor(0);
+ EXPECT_EQ(ret, IME_ERROR_NOT_RUNNING);
+}
+
+/**
* @testcase utc_ime_event_set_process_input_device_event_cb_n
* @since_tizen 3.0
* @description Negative UTC of the function that called when the input event is received from an unconventional input device that does not generate key events.