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_process_input_device_event_cb_n(void);
+extern int utc_ime_event_unset_process_input_device_event_cb_n(void);
+extern int utc_ime_input_device_rotary_get_direction_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_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_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_event_unset_process_input_device_event_cb_n", utc_ime_event_unset_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}
};
assert_eq(ret, IME_ERROR_NOT_RUNNING);
return 0;
}
+
+#ifdef WEARABLE
+/**
+ * @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.
+ */
+int utc_ime_event_set_process_input_device_event_cb_n(void)
+{
+ int ret = ime_event_set_process_input_device_event_cb(NULL, NULL);
+ assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_ime_event_unset_process_input_device_event_cb_n
+ * @since_tizen 3.0
+ * @description Negative UTC of the function to reset a function for Rotary input device event.
+ */
+int utc_ime_event_unset_process_input_device_event_cb_n(void)
+{
+ int ret = ime_event_unset_process_input_device_event_cb();
+ assert_eq(ret, IME_ERROR_OPERATION_FAILED);
+ return 0;
+}
+
+/**
+ * @testcase utc_ime_input_device_rotary_get_direction_n
+ * @since_tizen 3.0
+ * @description Negative UTC of the function for Rotary input device event.
+ */
+int utc_ime_input_device_rotary_get_direction_n(void)
+{
+ int ret = ime_input_device_rotary_get_direction(NULL, NULL);
+ assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+#endif