SET(CAPI_LIB "notification")
SET(TC_SOURCES
utc-notification.c
+ utc-notification-ex-manager.c
+ utc-notification-ex-reporter.c
+ utc-notification-ex-item.c
+ utc-notification-ex-image.c
+ utc-notification-ex-input_selector.c
+ utc-notification-ex-progress.c
+ utc-notification-ex-text.c
+ utc-notification-ex-time.c
+ utc-notification-ex-visibility_action.c
+ utc-notification-ex-app_control_action.c
+ utc-notification-ex-button.c
+ utc-notification-ex-chat_message.c
+ utc-notification-ex-checkbox.c
+ utc-notification-ex-entry.c
+ utc-notification-ex-event_info.c
+ utc-notification-ex-group.c
)
PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
capi-appfw-application
capi-system-info
glib-2.0
- dlog
+ dlog
)
INCLUDE_DIRECTORIES(
#include <sys/wait.h>
#include <glib.h>
#include <stdbool.h>
-#include "tct_common.h"
#include <app.h>
#include <dlog.h>
+#include "tct_common.h"
+#include "utc-notification.h"
#include "tct-notification-core_tv.h"
#endif
-#ifdef TIZENIOT
+#ifdef TIZENIOT
#include "tct-notification-core_tizeniot.h"
#endif //TIZENIOT
-
-
-
+
+
+
static bool app_create(void *data)
tc_array[i].cleanup();
}
dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup end", pszGetTCName);
-
CLOSE_UTC_ERRLOG();
- PRINT_TC_RESULT("%d",result);
FREE_MEMORY_TC(pszGetTCName);
return;
}
int main(int argc, char *argv[])
{
int ret = 0;
-
+
ui_app_lifecycle_callback_s event_callback = {0,};
event_callback.create = app_create;
PRINT_TC_RESULT("%d",1);
return ret;
}
+ PRINT_TC_RESULT("%d", __result);
dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is Terminated", __FUNCTION__, __LINE__);
return ret;
// See the License for the specific language governing permissions and
// limitations under the License.
//
-#ifndef __TCT_NOTIFICATION-NATIVE_H__
-#define __TCT_NOTIFICATION-NATIVE_H__
+#ifndef __TCT_NOTIFICATION_NATIVE_H__
+#define __TCT_NOTIFICATION_NATIVE_H__
#include "testcase.h"
#include "tct_common.h"
extern void utc_notification_startup(void);
extern void utc_notification_cleanup(void);
+extern void utc_notification_ex_item_startup(void);
+extern void utc_notification_ex_item_cleanup(void);
+extern void utc_notification_ex_manager_startup(void);
+extern void utc_notification_ex_manager_cleanup(void);
+extern void utc_notification_ex_reporter_startup(void);
+extern void utc_notification_ex_reporter_cleanup(void);
+extern void utc_notification_ex_image_startup(void);
+extern void utc_notification_ex_image_cleanup(void);
+extern void utc_notification_ex_input_selector_startup(void);
+extern void utc_notification_ex_input_selector_cleanup(void);
+extern void utc_notification_ex_progress_startup(void);
+extern void utc_notification_ex_progress_cleanup(void);
+extern void utc_notification_ex_text_startup(void);
+extern void utc_notification_ex_text_cleanup(void);
+extern void utc_notification_ex_time_startup(void);
+extern void utc_notification_ex_time_cleanup(void);
+extern void utc_notification_ex_visibility_action_startup(void);
+extern void utc_notification_ex_visibility_action_cleanup(void);
+extern void utc_notification_ex_app_control_action_startup(void);
+extern void utc_notification_ex_app_control_action_cleanup(void);
+extern void utc_notification_ex_button_startup(void);
+extern void utc_notification_ex_button_cleanup(void);
+extern void utc_notification_ex_chat_message_startup(void);
+extern void utc_notification_ex_chat_message_cleanup(void);
+extern void utc_notification_ex_checkbox_startup(void);
+extern void utc_notification_ex_checkbox_cleanup(void);
+extern void utc_notification_ex_entry_startup(void);
+extern void utc_notification_ex_entry_cleanup(void);
+extern void utc_notification_ex_event_info_startup(void);
+extern void utc_notification_ex_event_info_cleanup(void);
+extern void utc_notification_ex_group_startup(void);
+extern void utc_notification_ex_group_cleanup(void);
extern int utc_notification_create_1_n(void);
extern int utc_notification_create_2_n(void);
extern int utc_notification_set_extension_image_size_p(void);
extern int utc_notification_get_extension_image_size_n(void);
extern int utc_notification_get_extension_image_size_p(void);
+extern int utc_noti_ex_color_create_p(void);
+extern int utc_noti_ex_color_create_n(void);
+extern int utc_noti_ex_color_destroy_p(void);
+extern int utc_noti_ex_color_destroy_n(void);
+extern int utc_noti_ex_color_get_alpha_p(void);
+extern int utc_noti_ex_color_get_alpha_n(void);
+extern int utc_noti_ex_color_get_red_p(void);
+extern int utc_noti_ex_color_get_red_n(void);
+extern int utc_noti_ex_color_get_green_p(void);
+extern int utc_noti_ex_color_get_green_n(void);
+extern int utc_noti_ex_color_get_blue_p(void);
+extern int utc_noti_ex_color_get_blue_n(void);
+extern int utc_noti_ex_padding_create_p(void);
+extern int utc_noti_ex_padding_create_n(void);
+extern int utc_noti_ex_padding_destroy_p(void);
+extern int utc_noti_ex_padding_destroy_n(void);
+extern int utc_noti_ex_padding_get_left_p(void);
+extern int utc_noti_ex_padding_get_left_n(void);
+extern int utc_noti_ex_padding_get_top_p(void);
+extern int utc_noti_ex_padding_get_top_n(void);
+extern int utc_noti_ex_padding_get_right_p(void);
+extern int utc_noti_ex_padding_get_right_n(void);
+extern int utc_noti_ex_padding_get_bottom_p(void);
+extern int utc_noti_ex_padding_get_bottom_n(void);
+extern int utc_noti_ex_geometry_create_p(void);
+extern int utc_noti_ex_geometry_create_n(void);
+extern int utc_noti_ex_geometry_destroy_p(void);
+extern int utc_noti_ex_geometry_destroy_n(void);
+extern int utc_noti_ex_geometry_get_x_p(void);
+extern int utc_noti_ex_geometry_get_x_n(void);
+extern int utc_noti_ex_geometry_get_y_p(void);
+extern int utc_noti_ex_geometry_get_y_n(void);
+extern int utc_noti_ex_geometry_get_width_p(void);
+extern int utc_noti_ex_geometry_get_width_n(void);
+extern int utc_noti_ex_geometry_get_height_p(void);
+extern int utc_noti_ex_geometry_get_height_n(void);
+extern int utc_noti_ex_style_create_p(void);
+extern int utc_noti_ex_style_create_n(void);
+extern int utc_noti_ex_style_destroy_p(void);
+extern int utc_noti_ex_style_destroy_n(void);
+extern int utc_noti_ex_style_get_padding_p(void);
+extern int utc_noti_ex_style_get_padding_n(void);
+extern int utc_noti_ex_style_get_color_p(void);
+extern int utc_noti_ex_style_get_color_n(void);
+extern int utc_noti_ex_style_get_geometry_p(void);
+extern int utc_noti_ex_style_get_geometry_n(void);
+extern int utc_noti_ex_led_info_create_p(void);
+extern int utc_noti_ex_led_info_create_n(void);
+extern int utc_noti_ex_led_info_destroy_p(void);
+extern int utc_noti_ex_led_info_destroy_n(void);
+extern int utc_noti_ex_led_info_set_on_period_p(void);
+extern int utc_noti_ex_led_info_set_on_period_n(void);
+extern int utc_noti_ex_led_info_get_on_period_p(void);
+extern int utc_noti_ex_led_info_get_on_period_n(void);
+extern int utc_noti_ex_led_info_set_off_period_p(void);
+extern int utc_noti_ex_led_info_set_off_period_n(void);
+extern int utc_noti_ex_led_info_get_off_period_p(void);
+extern int utc_noti_ex_led_info_get_off_period_n(void);
+extern int utc_noti_ex_led_info_get_color_p(void);
+extern int utc_noti_ex_led_info_get_color_n(void);
+extern int utc_noti_ex_action_destroy_p(void);
+extern int utc_noti_ex_action_destroy_n(void);
+extern int utc_noti_ex_action_get_type_p(void);
+extern int utc_noti_ex_action_get_type_n(void);
+extern int utc_noti_ex_action_is_local_p(void);
+extern int utc_noti_ex_action_is_local_n(void);
+extern int utc_noti_ex_action_execute_p(void);
+extern int utc_noti_ex_action_execute_n(void);
+extern int utc_noti_ex_action_get_extra_p(void);
+extern int utc_noti_ex_action_get_extra_n(void);
+extern int utc_noti_ex_item_info_get_hide_time_p(void);
+extern int utc_noti_ex_item_info_get_hide_time_n(void);
+extern int utc_noti_ex_item_info_set_hide_time_p(void);
+extern int utc_noti_ex_item_info_set_hide_time_n(void);
+extern int utc_noti_ex_item_info_get_delete_time_p(void);
+extern int utc_noti_ex_item_info_get_delete_time_n(void);
+extern int utc_noti_ex_item_info_set_delete_time_p(void);
+extern int utc_noti_ex_item_info_set_delete_time_n(void);
+extern int utc_noti_ex_item_info_get_time_p(void);
+extern int utc_noti_ex_item_info_get_time_n(void);
+extern int utc_noti_ex_item_destroy_p(void);
+extern int utc_noti_ex_item_destroy_p_n(void);
+extern int utc_noti_ex_item_find_by_id_p(void);
+extern int utc_noti_ex_item_find_by_id_n(void);
+extern int utc_noti_ex_item_get_type_p(void);
+extern int utc_noti_ex_item_get_type_n(void);
+extern int utc_noti_ex_item_get_shared_paths_p(void);
+extern int utc_noti_ex_item_get_shared_paths_n(void);
+extern int utc_noti_ex_item_get_id_p(void);
+extern int utc_noti_ex_item_get_id_n(void);
+extern int utc_noti_ex_item_set_id_p(void);
+extern int utc_noti_ex_item_set_id_n(void);
+extern int utc_noti_ex_item_get_action_p(void);
+extern int utc_noti_ex_item_get_action_n(void);
+extern int utc_noti_ex_item_set_action_p(void);
+extern int utc_noti_ex_item_set_action_n(void);
+extern int utc_noti_ex_item_get_style_p(void);
+extern int utc_noti_ex_item_get_style_n(void);
+extern int utc_noti_ex_item_set_style_p(void);
+extern int utc_noti_ex_item_set_style_n(void);
+extern int utc_noti_ex_item_set_visible_p(void);
+extern int utc_noti_ex_item_set_visible_n(void);
+extern int utc_noti_ex_item_get_visible_p(void);
+extern int utc_noti_ex_item_get_visible_n(void);
+extern int utc_noti_ex_item_set_enable_p(void);
+extern int utc_noti_ex_item_set_enable_n(void);
+extern int utc_noti_ex_item_get_enable_p(void);
+extern int utc_noti_ex_item_get_enable_n(void);
+extern int utc_noti_ex_item_add_receiver_p(void);
+extern int utc_noti_ex_item_add_receiver_n(void);
+extern int utc_noti_ex_item_get_receiver_list_p(void);
+extern int utc_noti_ex_item_get_receiver_list_n(void);
+extern int utc_noti_ex_item_remove_receiver_p(void);
+extern int utc_noti_ex_item_remove_receiver_n(void);
+extern int utc_noti_ex_item_set_policy_p(void);
+extern int utc_noti_ex_item_set_policy_n(void);
+extern int utc_noti_ex_item_get_policy_p(void);
+extern int utc_noti_ex_item_get_policy_n(void);
+extern int utc_noti_ex_item_set_channel_p(void);
+extern int utc_noti_ex_item_set_channel_n(void);
+extern int utc_noti_ex_item_get_channel_p(void);
+extern int utc_noti_ex_item_get_channel_n(void);
+extern int utc_noti_ex_item_set_led_info_p(void);
+extern int utc_noti_ex_item_set_led_info_n(void);
+extern int utc_noti_ex_item_get_led_info_p(void);
+extern int utc_noti_ex_item_get_led_info_n(void);
+extern int utc_noti_ex_item_set_sound_path_p(void);
+extern int utc_noti_ex_item_set_sound_path_n(void);
+extern int utc_noti_ex_item_get_sound_path_p(void);
+extern int utc_noti_ex_item_get_sound_path_n(void);
+extern int utc_noti_ex_item_set_vibration_path_p(void);
+extern int utc_noti_ex_item_set_vibration_path_n(void);
+extern int utc_noti_ex_item_get_vibration_path_p(void);
+extern int utc_noti_ex_item_get_vibration_path_n(void);
+extern int utc_noti_ex_item_get_info_p(void);
+extern int utc_noti_ex_item_get_info_n(void);
+extern int utc_noti_ex_item_get_sender_app_id_p(void);
+extern int utc_noti_ex_item_get_sender_app_id_n(void);
+extern int utc_noti_ex_item_set_tag_p(void);
+extern int utc_noti_ex_item_set_tag_n(void);
+extern int utc_noti_ex_item_get_tag_p(void);
+extern int utc_noti_ex_item_get_tag_n(void);
+extern int utc_noti_ex_manager_create_p(void);
+extern int utc_noti_ex_manager_create_n(void);
+extern int utc_noti_ex_manager_destroy_p(void);
+extern int utc_noti_ex_manager_destroy_n(void);
+extern int utc_noti_ex_manager_get_p(void);
+extern int utc_noti_ex_manager_get_n(void);
+extern int utc_noti_ex_manager_update_p(void);
+extern int utc_noti_ex_manager_update_n(void);
+extern int utc_noti_ex_manager_delete_p(void);
+extern int utc_noti_ex_manager_delete_n(void);
+extern int utc_noti_ex_manager_delete_all_p(void);
+extern int utc_noti_ex_manager_delete_all_n(void);
+extern int utc_noti_ex_manager_hide_p(void);
+extern int utc_noti_ex_manager_hide_n(void);
+extern int utc_noti_ex_manager_find_by_root_id_p(void);
+extern int utc_noti_ex_manager_find_by_root_id_n(void);
+extern int utc_noti_ex_manager_send_error_p(void);
+extern int utc_noti_ex_manager_send_error_n(void);
+extern int utc_noti_ex_manager_get_notification_count_p(void);
+extern int utc_noti_ex_manager_get_notification_count_n(void);
+extern int utc_noti_ex_reporter_create_p(void);
+extern int utc_noti_ex_reporter_create_n(void);
+extern int utc_noti_ex_reporter_destroy_p(void);
+extern int utc_noti_ex_reporter_destroy_n(void);
+extern int utc_noti_ex_reporter_send_error_p(void);
+extern int utc_noti_ex_reporter_send_error_n(void);
+extern int utc_noti_ex_reporter_post_p(void);
+extern int utc_noti_ex_reporter_post_n(void);
+extern int utc_noti_ex_reporter_post_list_p(void);
+extern int utc_noti_ex_reporter_post_list_n(void);
+extern int utc_noti_ex_reporter_update_p(void);
+extern int utc_noti_ex_reporter_update_n(void);
+extern int utc_noti_ex_reporter_delete_p(void);
+extern int utc_noti_ex_reporter_delete_n(void);
+extern int utc_noti_ex_reporter_delete_all_p(void);
+extern int utc_noti_ex_reporter_delete_all_n(void);
+extern int utc_noti_ex_reporter_find_by_root_id_p(void);
+extern int utc_noti_ex_reporter_find_by_root_id_n(void);
+extern int utc_noti_ex_item_image_create_p(void);
+extern int utc_noti_ex_item_image_create_n(void);
+extern int utc_noti_ex_item_image_get_image_path_p(void);
+extern int utc_noti_ex_item_image_get_image_path_n(void);
+extern int utc_noti_ex_item_input_selector_create_p(void);
+extern int utc_noti_ex_item_input_selector_create_n(void);
+extern int utc_noti_ex_item_input_selector_set_contents_p(void);
+extern int utc_noti_ex_item_input_selector_set_contents_n(void);
+extern int utc_noti_ex_item_input_selector_get_contents_p(void);
+extern int utc_noti_ex_item_input_selector_get_contents_n(void);
+extern int utc_noti_ex_item_progress_create_p(void);
+extern int utc_noti_ex_item_progress_create_n(void);
+extern int utc_noti_ex_item_progress_set_current_p(void);
+extern int utc_noti_ex_item_progress_set_current_n(void);
+extern int utc_noti_ex_item_progress_get_current_p(void);
+extern int utc_noti_ex_item_progress_get_current_n(void);
+extern int utc_noti_ex_item_progress_get_min_p(void);
+extern int utc_noti_ex_item_progress_get_min_n(void);
+extern int utc_noti_ex_item_progress_get_max_p(void);
+extern int utc_noti_ex_item_progress_get_max_n(void);
+extern int utc_noti_ex_item_text_create_p(void);
+extern int utc_noti_ex_item_text_create_n(void);
+extern int utc_noti_ex_item_text_set_contents_p(void);
+extern int utc_noti_ex_item_text_set_contents_n(void);
+extern int utc_noti_ex_item_text_get_contents_p(void);
+extern int utc_noti_ex_item_text_get_contents_n(void);
+extern int utc_noti_ex_item_text_get_hyperlink_p(void);
+extern int utc_noti_ex_item_text_get_hyperlink_n(void);
+extern int utc_noti_ex_item_time_create_p(void);
+extern int utc_noti_ex_item_time_create_n(void);
+extern int utc_noti_ex_item_time_get_time_p(void);
+extern int utc_noti_ex_item_time_get_time_n(void);
+extern int utc_noti_ex_action_visibility_create_p(void);
+extern int utc_noti_ex_action_visibility_create_n(void);
+extern int utc_noti_ex_action_visibility_set_p(void);
+extern int utc_noti_ex_action_visibility_set_n(void);
+extern int utc_noti_ex_action_app_control_create_p(void);
+extern int utc_noti_ex_action_app_control_create_n(void);
+extern int utc_noti_ex_action_app_control_set_p(void);
+extern int utc_noti_ex_action_app_control_set_n(void);
+extern int utc_noti_ex_action_app_control_get_p(void);
+extern int utc_noti_ex_action_app_control_get_n(void);
+extern int utc_noti_ex_item_button_create_p(void);
+extern int utc_noti_ex_item_button_create_n(void);
+extern int utc_noti_ex_item_button_get_title_p(void);
+extern int utc_noti_ex_item_button_get_title_n(void);
+extern int utc_noti_ex_item_chat_message_create_p(void);
+extern int utc_noti_ex_item_chat_message_create_n(void);
+extern int utc_noti_ex_item_chat_message_get_name_p(void);
+extern int utc_noti_ex_item_chat_message_get_name_n(void);
+extern int utc_noti_ex_item_chat_message_get_text_p(void);
+extern int utc_noti_ex_item_chat_message_get_text_n(void);
+extern int utc_noti_ex_item_chat_message_get_image_p(void);
+extern int utc_noti_ex_item_chat_message_get_image_n(void);
+extern int utc_noti_ex_item_chat_message_get_time_p(void);
+extern int utc_noti_ex_item_chat_message_get_time_n(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_p(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_n(void);
+extern int utc_noti_ex_item_checkbox_create_p(void);
+extern int utc_noti_ex_item_checkbox_create_n(void);
+extern int utc_noti_ex_item_checkbox_get_title_p(void);
+extern int utc_noti_ex_item_checkbox_get_title_n(void);
+extern int utc_noti_ex_item_checkbox_is_checked_p(void);
+extern int utc_noti_ex_item_checkbox_is_checked_n(void);
+extern int utc_noti_ex_item_entry_create_p(void);
+extern int utc_noti_ex_item_entry_create_n(void);
+extern int utc_noti_ex_item_entry_get_text_p(void);
+extern int utc_noti_ex_item_entry_get_text_n(void);
+extern int utc_noti_ex_item_entry_set_text_p(void);
+extern int utc_noti_ex_item_entry_set_text_n(void);
+extern int utc_noti_ex_event_info_clone_p(void);
+extern int utc_noti_ex_event_info_clone_n(void);
+extern int utc_noti_ex_event_info_destroy_p(void);
+extern int utc_noti_ex_event_info_destroy_n(void);
+extern int utc_noti_ex_event_info_get_event_type_p(void);
+extern int utc_noti_ex_event_info_get_event_type_n(void);
+extern int utc_noti_ex_event_info_get_owner_p(void);
+extern int utc_noti_ex_event_info_get_owner_n(void);
+extern int utc_noti_ex_event_info_get_channel_p(void);
+extern int utc_noti_ex_event_info_get_channel_n(void);
+extern int utc_noti_ex_event_info_get_item_id_p(void);
+extern int utc_noti_ex_event_info_get_item_id_n(void);
+extern int utc_noti_ex_event_info_get_request_id_p(void);
+extern int utc_noti_ex_event_info_get_request_id_n(void);
+extern int utc_noti_ex_item_group_create_p(void);
+extern int utc_noti_ex_item_group_create_n(void);
+extern int utc_noti_ex_item_group_set_direction_p(void);
+extern int utc_noti_ex_item_group_set_direction_n(void);
+extern int utc_noti_ex_item_group_is_vertical_p(void);
+extern int utc_noti_ex_item_group_is_vertical_n(void);
+extern int utc_noti_ex_item_group_get_app_label_p(void);
+extern int utc_noti_ex_item_group_get_app_label_n(void);
+extern int utc_noti_ex_item_group_add_child_p(void);
+extern int utc_noti_ex_item_group_add_child_n(void);
+extern int utc_noti_ex_item_group_remove_child_p(void);
+extern int utc_noti_ex_item_group_remove_child_n(void);
+extern int utc_noti_ex_item_group_foreach_child_p(void);
+extern int utc_noti_ex_item_group_foreach_child_n(void);
testcase tc_array[] = {
{"utc_notification_create_1_n",utc_notification_create_1_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_set_extension_image_size_p",utc_notification_set_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_n",utc_notification_get_extension_image_size_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_p",utc_notification_get_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
+ {"utc_noti_ex_color_create_p",utc_noti_ex_color_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_create_n",utc_noti_ex_color_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_p",utc_noti_ex_color_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_n",utc_noti_ex_color_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_p",utc_noti_ex_color_get_alpha_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_n",utc_noti_ex_color_get_alpha_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_p",utc_noti_ex_color_get_red_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_n",utc_noti_ex_color_get_red_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_p",utc_noti_ex_color_get_green_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_n",utc_noti_ex_color_get_green_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_p",utc_noti_ex_color_get_blue_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_n",utc_noti_ex_color_get_blue_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_p",utc_noti_ex_padding_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_n",utc_noti_ex_padding_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_p",utc_noti_ex_padding_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_n",utc_noti_ex_padding_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_p",utc_noti_ex_padding_get_left_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_n",utc_noti_ex_padding_get_left_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_p",utc_noti_ex_padding_get_top_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_n",utc_noti_ex_padding_get_top_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_p",utc_noti_ex_padding_get_right_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_n",utc_noti_ex_padding_get_right_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_p",utc_noti_ex_padding_get_bottom_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_n",utc_noti_ex_padding_get_bottom_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_p",utc_noti_ex_geometry_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_n",utc_noti_ex_geometry_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_p",utc_noti_ex_geometry_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_n",utc_noti_ex_geometry_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_p",utc_noti_ex_geometry_get_x_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_n",utc_noti_ex_geometry_get_x_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_p",utc_noti_ex_geometry_get_y_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_n",utc_noti_ex_geometry_get_y_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_p",utc_noti_ex_geometry_get_width_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_n",utc_noti_ex_geometry_get_width_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_p",utc_noti_ex_geometry_get_height_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_n",utc_noti_ex_geometry_get_height_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_p",utc_noti_ex_style_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_n",utc_noti_ex_style_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_p",utc_noti_ex_style_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_n",utc_noti_ex_style_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_p",utc_noti_ex_style_get_padding_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_n",utc_noti_ex_style_get_padding_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_p",utc_noti_ex_style_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_n",utc_noti_ex_style_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_p",utc_noti_ex_style_get_geometry_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_n",utc_noti_ex_style_get_geometry_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_p",utc_noti_ex_led_info_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_n",utc_noti_ex_led_info_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_p",utc_noti_ex_led_info_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_n",utc_noti_ex_led_info_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_p",utc_noti_ex_led_info_set_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_n",utc_noti_ex_led_info_set_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_p",utc_noti_ex_led_info_get_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_n",utc_noti_ex_led_info_get_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_p",utc_noti_ex_led_info_set_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_n",utc_noti_ex_led_info_set_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_p",utc_noti_ex_led_info_get_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_n",utc_noti_ex_led_info_get_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_p",utc_noti_ex_led_info_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_n",utc_noti_ex_led_info_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_p",utc_noti_ex_action_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_n",utc_noti_ex_action_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_p",utc_noti_ex_action_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_n",utc_noti_ex_action_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_p",utc_noti_ex_action_is_local_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_n",utc_noti_ex_action_is_local_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_p",utc_noti_ex_action_execute_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_n",utc_noti_ex_action_execute_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_p",utc_noti_ex_action_get_extra_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_n",utc_noti_ex_action_get_extra_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_p",utc_noti_ex_item_info_get_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_n",utc_noti_ex_item_info_get_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_p",utc_noti_ex_item_info_set_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_n",utc_noti_ex_item_info_set_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_p",utc_noti_ex_item_info_get_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_n",utc_noti_ex_item_info_get_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_p",utc_noti_ex_item_info_set_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_n",utc_noti_ex_item_info_set_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_p",utc_noti_ex_item_info_get_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_n",utc_noti_ex_item_info_get_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p",utc_noti_ex_item_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p_n",utc_noti_ex_item_destroy_p_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_p",utc_noti_ex_item_find_by_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_n",utc_noti_ex_item_find_by_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_p",utc_noti_ex_item_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_n",utc_noti_ex_item_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_p",utc_noti_ex_item_get_shared_paths_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_n",utc_noti_ex_item_get_shared_paths_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_p",utc_noti_ex_item_get_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_n",utc_noti_ex_item_get_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_p",utc_noti_ex_item_set_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_n",utc_noti_ex_item_set_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_p",utc_noti_ex_item_get_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_n",utc_noti_ex_item_get_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_p",utc_noti_ex_item_set_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_n",utc_noti_ex_item_set_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_p",utc_noti_ex_item_get_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_n",utc_noti_ex_item_get_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_p",utc_noti_ex_item_set_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_n",utc_noti_ex_item_set_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_p",utc_noti_ex_item_set_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_n",utc_noti_ex_item_set_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_p",utc_noti_ex_item_get_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_n",utc_noti_ex_item_get_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_p",utc_noti_ex_item_set_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_n",utc_noti_ex_item_set_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_p",utc_noti_ex_item_get_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_n",utc_noti_ex_item_get_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_p",utc_noti_ex_item_add_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_n",utc_noti_ex_item_add_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_p",utc_noti_ex_item_get_receiver_list_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_n",utc_noti_ex_item_get_receiver_list_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_p",utc_noti_ex_item_remove_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_n",utc_noti_ex_item_remove_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_p",utc_noti_ex_item_set_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_n",utc_noti_ex_item_set_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_p",utc_noti_ex_item_get_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_n",utc_noti_ex_item_get_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_p",utc_noti_ex_item_set_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_n",utc_noti_ex_item_set_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_p",utc_noti_ex_item_get_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_n",utc_noti_ex_item_get_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_p",utc_noti_ex_item_set_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_n",utc_noti_ex_item_set_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_p",utc_noti_ex_item_get_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_n",utc_noti_ex_item_get_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_p",utc_noti_ex_item_set_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_n",utc_noti_ex_item_set_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_p",utc_noti_ex_item_get_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_n",utc_noti_ex_item_get_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_p",utc_noti_ex_item_set_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_n",utc_noti_ex_item_set_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_p",utc_noti_ex_item_get_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_n",utc_noti_ex_item_get_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_p",utc_noti_ex_item_get_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_n",utc_noti_ex_item_get_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_p",utc_noti_ex_item_get_sender_app_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_n",utc_noti_ex_item_get_sender_app_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_p",utc_noti_ex_item_set_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_n",utc_noti_ex_item_set_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_p",utc_noti_ex_item_get_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_n",utc_noti_ex_item_get_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_manager_create_p",utc_noti_ex_manager_create_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_create_n",utc_noti_ex_manager_create_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_p",utc_noti_ex_manager_destroy_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_n",utc_noti_ex_manager_destroy_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_p",utc_noti_ex_manager_get_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_n",utc_noti_ex_manager_get_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_p",utc_noti_ex_manager_update_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_n",utc_noti_ex_manager_update_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_p",utc_noti_ex_manager_delete_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_n",utc_noti_ex_manager_delete_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_p",utc_noti_ex_manager_delete_all_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_n",utc_noti_ex_manager_delete_all_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_p",utc_noti_ex_manager_hide_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_n",utc_noti_ex_manager_hide_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_p",utc_noti_ex_manager_find_by_root_id_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_n",utc_noti_ex_manager_find_by_root_id_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_p",utc_noti_ex_manager_send_error_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_n",utc_noti_ex_manager_send_error_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_p",utc_noti_ex_manager_get_notification_count_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_n",utc_noti_ex_manager_get_notification_count_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_reporter_create_p",utc_noti_ex_reporter_create_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_create_n",utc_noti_ex_reporter_create_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_p",utc_noti_ex_reporter_destroy_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_n",utc_noti_ex_reporter_destroy_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_p",utc_noti_ex_reporter_send_error_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_n",utc_noti_ex_reporter_send_error_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_p",utc_noti_ex_reporter_post_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_n",utc_noti_ex_reporter_post_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_p",utc_noti_ex_reporter_post_list_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_n",utc_noti_ex_reporter_post_list_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_p",utc_noti_ex_reporter_update_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_n",utc_noti_ex_reporter_update_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_p",utc_noti_ex_reporter_delete_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_n",utc_noti_ex_reporter_delete_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_p",utc_noti_ex_reporter_delete_all_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_n",utc_noti_ex_reporter_delete_all_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_p",utc_noti_ex_reporter_find_by_root_id_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_n",utc_noti_ex_reporter_find_by_root_id_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_item_image_create_p",utc_noti_ex_item_image_create_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_create_n",utc_noti_ex_item_image_create_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_p",utc_noti_ex_item_image_get_image_path_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_n",utc_noti_ex_item_image_get_image_path_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_input_selector_create_p",utc_noti_ex_item_input_selector_create_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_create_n",utc_noti_ex_item_input_selector_create_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_p",utc_noti_ex_item_input_selector_set_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_n",utc_noti_ex_item_input_selector_set_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_p",utc_noti_ex_item_input_selector_get_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_n",utc_noti_ex_item_input_selector_get_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_progress_create_p",utc_noti_ex_item_progress_create_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_create_n",utc_noti_ex_item_progress_create_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_p",utc_noti_ex_item_progress_set_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_n",utc_noti_ex_item_progress_set_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_p",utc_noti_ex_item_progress_get_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_n",utc_noti_ex_item_progress_get_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_p",utc_noti_ex_item_progress_get_min_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_n",utc_noti_ex_item_progress_get_min_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_p",utc_noti_ex_item_progress_get_max_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_n",utc_noti_ex_item_progress_get_max_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_text_create_p",utc_noti_ex_item_text_create_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_create_n",utc_noti_ex_item_text_create_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_p",utc_noti_ex_item_text_set_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_n",utc_noti_ex_item_text_set_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_p",utc_noti_ex_item_text_get_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_n",utc_noti_ex_item_text_get_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_p",utc_noti_ex_item_text_get_hyperlink_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_n",utc_noti_ex_item_text_get_hyperlink_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_time_create_p",utc_noti_ex_item_time_create_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_create_n",utc_noti_ex_item_time_create_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_p",utc_noti_ex_item_time_get_time_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_n",utc_noti_ex_item_time_get_time_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_action_visibility_create_p",utc_noti_ex_action_visibility_create_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_create_n",utc_noti_ex_action_visibility_create_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_p",utc_noti_ex_action_visibility_set_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_n",utc_noti_ex_action_visibility_set_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_p",utc_noti_ex_action_app_control_create_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_n",utc_noti_ex_action_app_control_create_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_p",utc_noti_ex_action_app_control_set_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_n",utc_noti_ex_action_app_control_set_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_p",utc_noti_ex_action_app_control_get_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_n",utc_noti_ex_action_app_control_get_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_item_button_create_p",utc_noti_ex_item_button_create_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_create_n",utc_noti_ex_item_button_create_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_p",utc_noti_ex_item_button_get_title_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_n",utc_noti_ex_item_button_get_title_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_chat_message_create_p",utc_noti_ex_item_chat_message_create_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_create_n",utc_noti_ex_item_chat_message_create_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_p",utc_noti_ex_item_chat_message_get_name_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_n",utc_noti_ex_item_chat_message_get_name_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_p",utc_noti_ex_item_chat_message_get_text_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_n",utc_noti_ex_item_chat_message_get_text_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_p",utc_noti_ex_item_chat_message_get_image_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_n",utc_noti_ex_item_chat_message_get_image_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_p",utc_noti_ex_item_chat_message_get_time_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_n",utc_noti_ex_item_chat_message_get_time_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_p",utc_noti_ex_item_chat_message_get_message_type_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_n",utc_noti_ex_item_chat_message_get_message_type_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_checkbox_create_p",utc_noti_ex_item_checkbox_create_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_create_n",utc_noti_ex_item_checkbox_create_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_p",utc_noti_ex_item_checkbox_get_title_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_n",utc_noti_ex_item_checkbox_get_title_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_p",utc_noti_ex_item_checkbox_is_checked_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_n",utc_noti_ex_item_checkbox_is_checked_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_entry_create_p",utc_noti_ex_item_entry_create_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_create_n",utc_noti_ex_item_entry_create_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_p",utc_noti_ex_item_entry_get_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_n",utc_noti_ex_item_entry_get_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_p",utc_noti_ex_item_entry_set_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_n",utc_noti_ex_item_entry_set_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_event_info_clone_p",utc_noti_ex_event_info_clone_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_clone_n",utc_noti_ex_event_info_clone_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_p",utc_noti_ex_event_info_destroy_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_n",utc_noti_ex_event_info_destroy_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_p",utc_noti_ex_event_info_get_event_type_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_n",utc_noti_ex_event_info_get_event_type_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_p",utc_noti_ex_event_info_get_owner_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_n",utc_noti_ex_event_info_get_owner_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_p",utc_noti_ex_event_info_get_channel_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_n",utc_noti_ex_event_info_get_channel_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_p",utc_noti_ex_event_info_get_item_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_n",utc_noti_ex_event_info_get_item_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_p",utc_noti_ex_event_info_get_request_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_n",utc_noti_ex_event_info_get_request_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_item_group_create_p",utc_noti_ex_item_group_create_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_create_n",utc_noti_ex_item_group_create_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_p",utc_noti_ex_item_group_set_direction_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_n",utc_noti_ex_item_group_set_direction_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_p",utc_noti_ex_item_group_is_vertical_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_n",utc_noti_ex_item_group_is_vertical_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_p",utc_noti_ex_item_group_get_app_label_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_n",utc_noti_ex_item_group_get_app_label_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_p",utc_noti_ex_item_group_add_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_n",utc_noti_ex_item_group_add_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_p",utc_noti_ex_item_group_remove_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_n",utc_noti_ex_item_group_remove_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_child_p",utc_noti_ex_item_group_foreach_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_child_n",utc_noti_ex_item_group_foreach_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
{NULL, NULL}
};
-#endif // __TCT_NOTIFICATION-NATIVE_H__
+#endif // __TCT_NOTIFICATION_NATIVE_H__
// See the License for the specific language governing permissions and
// limitations under the License.
//
-#ifndef __TCT_NOTIFICATION-NATIVE_H__
-#define __TCT_NOTIFICATION-NATIVE_H__
+#ifndef __TCT_NOTIFICATION_NATIVE_H__
+#define __TCT_NOTIFICATION_NATIVE_H__
#include "testcase.h"
#include "tct_common.h"
extern void utc_notification_startup(void);
extern void utc_notification_cleanup(void);
+extern void utc_notification_ex_item_startup(void);
+extern void utc_notification_ex_item_cleanup(void);
+extern void utc_notification_ex_manager_startup(void);
+extern void utc_notification_ex_manager_cleanup(void);
+extern void utc_notification_ex_reporter_startup(void);
+extern void utc_notification_ex_reporter_cleanup(void);
+extern void utc_notification_ex_image_startup(void);
+extern void utc_notification_ex_image_cleanup(void);
+extern void utc_notification_ex_input_selector_startup(void);
+extern void utc_notification_ex_input_selector_cleanup(void);
+extern void utc_notification_ex_progress_startup(void);
+extern void utc_notification_ex_progress_cleanup(void);
+extern void utc_notification_ex_text_startup(void);
+extern void utc_notification_ex_text_cleanup(void);
+extern void utc_notification_ex_time_startup(void);
+extern void utc_notification_ex_time_cleanup(void);
+extern void utc_notification_ex_visibility_action_startup(void);
+extern void utc_notification_ex_visibility_action_cleanup(void);
+extern void utc_notification_ex_app_control_action_startup(void);
+extern void utc_notification_ex_app_control_action_cleanup(void);
+extern void utc_notification_ex_button_startup(void);
+extern void utc_notification_ex_button_cleanup(void);
+extern void utc_notification_ex_chat_message_startup(void);
+extern void utc_notification_ex_chat_message_cleanup(void);
+extern void utc_notification_ex_checkbox_startup(void);
+extern void utc_notification_ex_checkbox_cleanup(void);
+extern void utc_notification_ex_entry_startup(void);
+extern void utc_notification_ex_entry_cleanup(void);
+extern void utc_notification_ex_event_info_startup(void);
+extern void utc_notification_ex_event_info_cleanup(void);
+extern void utc_notification_ex_group_startup(void);
+extern void utc_notification_ex_group_cleanup(void);
extern int utc_notification_create_1_n(void);
extern int utc_notification_create_2_n(void);
extern int utc_notification_set_extension_image_size_p(void);
extern int utc_notification_get_extension_image_size_n(void);
extern int utc_notification_get_extension_image_size_p(void);
-extern int utc_notification_get_text_19_p(void);
+extern int utc_noti_ex_color_create_p(void);
+extern int utc_noti_ex_color_create_n(void);
+extern int utc_noti_ex_color_destroy_p(void);
+extern int utc_noti_ex_color_destroy_n(void);
+extern int utc_noti_ex_color_get_alpha_p(void);
+extern int utc_noti_ex_color_get_alpha_n(void);
+extern int utc_noti_ex_color_get_red_p(void);
+extern int utc_noti_ex_color_get_red_n(void);
+extern int utc_noti_ex_color_get_green_p(void);
+extern int utc_noti_ex_color_get_green_n(void);
+extern int utc_noti_ex_color_get_blue_p(void);
+extern int utc_noti_ex_color_get_blue_n(void);
+extern int utc_noti_ex_padding_create_p(void);
+extern int utc_noti_ex_padding_create_n(void);
+extern int utc_noti_ex_padding_destroy_p(void);
+extern int utc_noti_ex_padding_destroy_n(void);
+extern int utc_noti_ex_padding_get_left_p(void);
+extern int utc_noti_ex_padding_get_left_n(void);
+extern int utc_noti_ex_padding_get_top_p(void);
+extern int utc_noti_ex_padding_get_top_n(void);
+extern int utc_noti_ex_padding_get_right_p(void);
+extern int utc_noti_ex_padding_get_right_n(void);
+extern int utc_noti_ex_padding_get_bottom_p(void);
+extern int utc_noti_ex_padding_get_bottom_n(void);
+extern int utc_noti_ex_geometry_create_p(void);
+extern int utc_noti_ex_geometry_create_n(void);
+extern int utc_noti_ex_geometry_destroy_p(void);
+extern int utc_noti_ex_geometry_destroy_n(void);
+extern int utc_noti_ex_geometry_get_x_p(void);
+extern int utc_noti_ex_geometry_get_x_n(void);
+extern int utc_noti_ex_geometry_get_y_p(void);
+extern int utc_noti_ex_geometry_get_y_n(void);
+extern int utc_noti_ex_geometry_get_width_p(void);
+extern int utc_noti_ex_geometry_get_width_n(void);
+extern int utc_noti_ex_geometry_get_height_p(void);
+extern int utc_noti_ex_geometry_get_height_n(void);
+extern int utc_noti_ex_style_create_p(void);
+extern int utc_noti_ex_style_create_n(void);
+extern int utc_noti_ex_style_destroy_p(void);
+extern int utc_noti_ex_style_destroy_n(void);
+extern int utc_noti_ex_style_get_padding_p(void);
+extern int utc_noti_ex_style_get_padding_n(void);
+extern int utc_noti_ex_style_get_color_p(void);
+extern int utc_noti_ex_style_get_color_n(void);
+extern int utc_noti_ex_style_get_geometry_p(void);
+extern int utc_noti_ex_style_get_geometry_n(void);
+extern int utc_noti_ex_led_info_create_p(void);
+extern int utc_noti_ex_led_info_create_n(void);
+extern int utc_noti_ex_led_info_destroy_p(void);
+extern int utc_noti_ex_led_info_destroy_n(void);
+extern int utc_noti_ex_led_info_set_on_period_p(void);
+extern int utc_noti_ex_led_info_set_on_period_n(void);
+extern int utc_noti_ex_led_info_get_on_period_p(void);
+extern int utc_noti_ex_led_info_get_on_period_n(void);
+extern int utc_noti_ex_led_info_set_off_period_p(void);
+extern int utc_noti_ex_led_info_set_off_period_n(void);
+extern int utc_noti_ex_led_info_get_off_period_p(void);
+extern int utc_noti_ex_led_info_get_off_period_n(void);
+extern int utc_noti_ex_led_info_get_color_p(void);
+extern int utc_noti_ex_led_info_get_color_n(void);
+extern int utc_noti_ex_action_destroy_p(void);
+extern int utc_noti_ex_action_destroy_n(void);
+extern int utc_noti_ex_action_get_type_p(void);
+extern int utc_noti_ex_action_get_type_n(void);
+extern int utc_noti_ex_action_is_local_p(void);
+extern int utc_noti_ex_action_is_local_n(void);
+extern int utc_noti_ex_action_execute_p(void);
+extern int utc_noti_ex_action_execute_n(void);
+extern int utc_noti_ex_action_get_extra_p(void);
+extern int utc_noti_ex_action_get_extra_n(void);
+extern int utc_noti_ex_item_info_get_hide_time_p(void);
+extern int utc_noti_ex_item_info_get_hide_time_n(void);
+extern int utc_noti_ex_item_info_set_hide_time_p(void);
+extern int utc_noti_ex_item_info_set_hide_time_n(void);
+extern int utc_noti_ex_item_info_get_delete_time_p(void);
+extern int utc_noti_ex_item_info_get_delete_time_n(void);
+extern int utc_noti_ex_item_info_set_delete_time_p(void);
+extern int utc_noti_ex_item_info_set_delete_time_n(void);
+extern int utc_noti_ex_item_info_get_time_p(void);
+extern int utc_noti_ex_item_info_get_time_n(void);
+extern int utc_noti_ex_item_destroy_p(void);
+extern int utc_noti_ex_item_destroy_p_n(void);
+extern int utc_noti_ex_item_find_by_id_p(void);
+extern int utc_noti_ex_item_find_by_id_n(void);
+extern int utc_noti_ex_item_get_type_p(void);
+extern int utc_noti_ex_item_get_type_n(void);
+extern int utc_noti_ex_item_get_shared_paths_p(void);
+extern int utc_noti_ex_item_get_shared_paths_n(void);
+extern int utc_noti_ex_item_get_id_p(void);
+extern int utc_noti_ex_item_get_id_n(void);
+extern int utc_noti_ex_item_set_id_p(void);
+extern int utc_noti_ex_item_set_id_n(void);
+extern int utc_noti_ex_item_get_action_p(void);
+extern int utc_noti_ex_item_get_action_n(void);
+extern int utc_noti_ex_item_set_action_p(void);
+extern int utc_noti_ex_item_set_action_n(void);
+extern int utc_noti_ex_item_get_style_p(void);
+extern int utc_noti_ex_item_get_style_n(void);
+extern int utc_noti_ex_item_set_style_p(void);
+extern int utc_noti_ex_item_set_style_n(void);
+extern int utc_noti_ex_item_set_visible_p(void);
+extern int utc_noti_ex_item_set_visible_n(void);
+extern int utc_noti_ex_item_get_visible_p(void);
+extern int utc_noti_ex_item_get_visible_n(void);
+extern int utc_noti_ex_item_set_enable_p(void);
+extern int utc_noti_ex_item_set_enable_n(void);
+extern int utc_noti_ex_item_get_enable_p(void);
+extern int utc_noti_ex_item_get_enable_n(void);
+extern int utc_noti_ex_item_add_receiver_p(void);
+extern int utc_noti_ex_item_add_receiver_n(void);
+extern int utc_noti_ex_item_get_receiver_list_p(void);
+extern int utc_noti_ex_item_get_receiver_list_n(void);
+extern int utc_noti_ex_item_remove_receiver_p(void);
+extern int utc_noti_ex_item_remove_receiver_n(void);
+extern int utc_noti_ex_item_set_policy_p(void);
+extern int utc_noti_ex_item_set_policy_n(void);
+extern int utc_noti_ex_item_get_policy_p(void);
+extern int utc_noti_ex_item_get_policy_n(void);
+extern int utc_noti_ex_item_set_channel_p(void);
+extern int utc_noti_ex_item_set_channel_n(void);
+extern int utc_noti_ex_item_get_channel_p(void);
+extern int utc_noti_ex_item_get_channel_n(void);
+extern int utc_noti_ex_item_set_led_info_p(void);
+extern int utc_noti_ex_item_set_led_info_n(void);
+extern int utc_noti_ex_item_get_led_info_p(void);
+extern int utc_noti_ex_item_get_led_info_n(void);
+extern int utc_noti_ex_item_set_sound_path_p(void);
+extern int utc_noti_ex_item_set_sound_path_n(void);
+extern int utc_noti_ex_item_get_sound_path_p(void);
+extern int utc_noti_ex_item_get_sound_path_n(void);
+extern int utc_noti_ex_item_set_vibration_path_p(void);
+extern int utc_noti_ex_item_set_vibration_path_n(void);
+extern int utc_noti_ex_item_get_vibration_path_p(void);
+extern int utc_noti_ex_item_get_vibration_path_n(void);
+extern int utc_noti_ex_item_get_info_p(void);
+extern int utc_noti_ex_item_get_info_n(void);
+extern int utc_noti_ex_item_get_sender_app_id_p(void);
+extern int utc_noti_ex_item_get_sender_app_id_n(void);
+extern int utc_noti_ex_item_set_tag_p(void);
+extern int utc_noti_ex_item_set_tag_n(void);
+extern int utc_noti_ex_item_get_tag_p(void);
+extern int utc_noti_ex_item_get_tag_n(void);
+extern int utc_noti_ex_manager_create_p(void);
+extern int utc_noti_ex_manager_create_n(void);
+extern int utc_noti_ex_manager_destroy_p(void);
+extern int utc_noti_ex_manager_destroy_n(void);
+extern int utc_noti_ex_manager_get_p(void);
+extern int utc_noti_ex_manager_get_n(void);
+extern int utc_noti_ex_manager_update_p(void);
+extern int utc_noti_ex_manager_update_n(void);
+extern int utc_noti_ex_manager_delete_p(void);
+extern int utc_noti_ex_manager_delete_n(void);
+extern int utc_noti_ex_manager_delete_all_p(void);
+extern int utc_noti_ex_manager_delete_all_n(void);
+extern int utc_noti_ex_manager_hide_p(void);
+extern int utc_noti_ex_manager_hide_n(void);
+extern int utc_noti_ex_manager_find_by_root_id_p(void);
+extern int utc_noti_ex_manager_find_by_root_id_n(void);
+extern int utc_noti_ex_manager_send_error_p(void);
+extern int utc_noti_ex_manager_send_error_n(void);
+extern int utc_noti_ex_manager_get_notification_count_p(void);
+extern int utc_noti_ex_manager_get_notification_count_n(void);
+extern int utc_noti_ex_reporter_create_p(void);
+extern int utc_noti_ex_reporter_create_n(void);
+extern int utc_noti_ex_reporter_destroy_p(void);
+extern int utc_noti_ex_reporter_destroy_n(void);
+extern int utc_noti_ex_reporter_send_error_p(void);
+extern int utc_noti_ex_reporter_send_error_n(void);
+extern int utc_noti_ex_reporter_post_p(void);
+extern int utc_noti_ex_reporter_post_n(void);
+extern int utc_noti_ex_reporter_post_list_p(void);
+extern int utc_noti_ex_reporter_post_list_n(void);
+extern int utc_noti_ex_reporter_update_p(void);
+extern int utc_noti_ex_reporter_update_n(void);
+extern int utc_noti_ex_reporter_delete_p(void);
+extern int utc_noti_ex_reporter_delete_n(void);
+extern int utc_noti_ex_reporter_delete_all_p(void);
+extern int utc_noti_ex_reporter_delete_all_n(void);
+extern int utc_noti_ex_reporter_find_by_root_id_p(void);
+extern int utc_noti_ex_reporter_find_by_root_id_n(void);
+extern int utc_noti_ex_item_image_create_p(void);
+extern int utc_noti_ex_item_image_create_n(void);
+extern int utc_noti_ex_item_image_get_image_path_p(void);
+extern int utc_noti_ex_item_image_get_image_path_n(void);
+extern int utc_noti_ex_item_input_selector_create_p(void);
+extern int utc_noti_ex_item_input_selector_create_n(void);
+extern int utc_noti_ex_item_input_selector_set_contents_p(void);
+extern int utc_noti_ex_item_input_selector_set_contents_n(void);
+extern int utc_noti_ex_item_input_selector_get_contents_p(void);
+extern int utc_noti_ex_item_input_selector_get_contents_n(void);
+extern int utc_noti_ex_item_progress_create_p(void);
+extern int utc_noti_ex_item_progress_create_n(void);
+extern int utc_noti_ex_item_progress_set_current_p(void);
+extern int utc_noti_ex_item_progress_set_current_n(void);
+extern int utc_noti_ex_item_progress_get_current_p(void);
+extern int utc_noti_ex_item_progress_get_current_n(void);
+extern int utc_noti_ex_item_progress_get_min_p(void);
+extern int utc_noti_ex_item_progress_get_min_n(void);
+extern int utc_noti_ex_item_progress_get_max_p(void);
+extern int utc_noti_ex_item_progress_get_max_n(void);
+extern int utc_noti_ex_item_text_create_p(void);
+extern int utc_noti_ex_item_text_create_n(void);
+extern int utc_noti_ex_item_text_set_contents_p(void);
+extern int utc_noti_ex_item_text_set_contents_n(void);
+extern int utc_noti_ex_item_text_get_contents_p(void);
+extern int utc_noti_ex_item_text_get_contents_n(void);
+extern int utc_noti_ex_item_text_get_hyperlink_p(void);
+extern int utc_noti_ex_item_text_get_hyperlink_n(void);
+extern int utc_noti_ex_item_time_create_p(void);
+extern int utc_noti_ex_item_time_create_n(void);
+extern int utc_noti_ex_item_time_get_time_p(void);
+extern int utc_noti_ex_item_time_get_time_n(void);
+extern int utc_noti_ex_action_visibility_create_p(void);
+extern int utc_noti_ex_action_visibility_create_n(void);
+extern int utc_noti_ex_action_visibility_set_p(void);
+extern int utc_noti_ex_action_visibility_set_n(void);
+extern int utc_noti_ex_action_app_control_create_p(void);
+extern int utc_noti_ex_action_app_control_create_n(void);
+extern int utc_noti_ex_action_app_control_set_p(void);
+extern int utc_noti_ex_action_app_control_set_n(void);
+extern int utc_noti_ex_action_app_control_get_p(void);
+extern int utc_noti_ex_action_app_control_get_n(void);
+extern int utc_noti_ex_item_button_create_p(void);
+extern int utc_noti_ex_item_button_create_n(void);
+extern int utc_noti_ex_item_button_get_title_p(void);
+extern int utc_noti_ex_item_button_get_title_n(void);
+extern int utc_noti_ex_item_chat_message_create_p(void);
+extern int utc_noti_ex_item_chat_message_create_n(void);
+extern int utc_noti_ex_item_chat_message_get_name_p(void);
+extern int utc_noti_ex_item_chat_message_get_name_n(void);
+extern int utc_noti_ex_item_chat_message_get_text_p(void);
+extern int utc_noti_ex_item_chat_message_get_text_n(void);
+extern int utc_noti_ex_item_chat_message_get_image_p(void);
+extern int utc_noti_ex_item_chat_message_get_image_n(void);
+extern int utc_noti_ex_item_chat_message_get_time_p(void);
+extern int utc_noti_ex_item_chat_message_get_time_n(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_p(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_n(void);
+extern int utc_noti_ex_item_checkbox_create_p(void);
+extern int utc_noti_ex_item_checkbox_create_n(void);
+extern int utc_noti_ex_item_checkbox_get_title_p(void);
+extern int utc_noti_ex_item_checkbox_get_title_n(void);
+extern int utc_noti_ex_item_checkbox_is_checked_p(void);
+extern int utc_noti_ex_item_checkbox_is_checked_n(void);
+extern int utc_noti_ex_item_entry_create_p(void);
+extern int utc_noti_ex_item_entry_create_n(void);
+extern int utc_noti_ex_item_entry_get_text_p(void);
+extern int utc_noti_ex_item_entry_get_text_n(void);
+extern int utc_noti_ex_item_entry_set_text_p(void);
+extern int utc_noti_ex_item_entry_set_text_n(void);
+extern int utc_noti_ex_event_info_clone_p(void);
+extern int utc_noti_ex_event_info_clone_n(void);
+extern int utc_noti_ex_event_info_destroy_p(void);
+extern int utc_noti_ex_event_info_destroy_n(void);
+extern int utc_noti_ex_event_info_get_event_type_p(void);
+extern int utc_noti_ex_event_info_get_event_type_n(void);
+extern int utc_noti_ex_event_info_get_owner_p(void);
+extern int utc_noti_ex_event_info_get_owner_n(void);
+extern int utc_noti_ex_event_info_get_channel_p(void);
+extern int utc_noti_ex_event_info_get_channel_n(void);
+extern int utc_noti_ex_event_info_get_item_id_p(void);
+extern int utc_noti_ex_event_info_get_item_id_n(void);
+extern int utc_noti_ex_event_info_get_request_id_p(void);
+extern int utc_noti_ex_event_info_get_request_id_n(void);
+extern int utc_noti_ex_item_group_create_p(void);
+extern int utc_noti_ex_item_group_create_n(void);
+extern int utc_noti_ex_item_group_set_direction_p(void);
+extern int utc_noti_ex_item_group_set_direction_n(void);
+extern int utc_noti_ex_item_group_is_vertical_p(void);
+extern int utc_noti_ex_item_group_is_vertical_n(void);
+extern int utc_noti_ex_item_group_get_app_label_p(void);
+extern int utc_noti_ex_item_group_get_app_label_n(void);
+extern int utc_noti_ex_item_group_add_child_p(void);
+extern int utc_noti_ex_item_group_add_child_n(void);
+extern int utc_noti_ex_item_group_remove_child_p(void);
+extern int utc_noti_ex_item_group_remove_child_n(void);
+extern int utc_noti_ex_item_group_foreach_cb_p(void);
+extern int utc_noti_ex_item_group_foreach_cb_n(void);
testcase tc_array[] = {
{"utc_notification_create_1_n",utc_notification_create_1_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_set_extension_image_size_p",utc_notification_set_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_n",utc_notification_get_extension_image_size_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_p",utc_notification_get_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
+ {"utc_noti_ex_color_create_p",utc_noti_ex_color_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_create_n",utc_noti_ex_color_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_p",utc_noti_ex_color_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_n",utc_noti_ex_color_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_p",utc_noti_ex_color_get_alpha_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_n",utc_noti_ex_color_get_alpha_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_p",utc_noti_ex_color_get_red_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_n",utc_noti_ex_color_get_red_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_p",utc_noti_ex_color_get_green_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_n",utc_noti_ex_color_get_green_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_p",utc_noti_ex_color_get_blue_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_n",utc_noti_ex_color_get_blue_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_p",utc_noti_ex_padding_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_n",utc_noti_ex_padding_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_p",utc_noti_ex_padding_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_n",utc_noti_ex_padding_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_p",utc_noti_ex_padding_get_left_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_n",utc_noti_ex_padding_get_left_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_p",utc_noti_ex_padding_get_top_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_n",utc_noti_ex_padding_get_top_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_p",utc_noti_ex_padding_get_right_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_n",utc_noti_ex_padding_get_right_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_p",utc_noti_ex_padding_get_bottom_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_n",utc_noti_ex_padding_get_bottom_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_p",utc_noti_ex_geometry_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_n",utc_noti_ex_geometry_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_p",utc_noti_ex_geometry_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_n",utc_noti_ex_geometry_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_p",utc_noti_ex_geometry_get_x_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_n",utc_noti_ex_geometry_get_x_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_p",utc_noti_ex_geometry_get_y_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_n",utc_noti_ex_geometry_get_y_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_p",utc_noti_ex_geometry_get_width_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_n",utc_noti_ex_geometry_get_width_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_p",utc_noti_ex_geometry_get_height_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_n",utc_noti_ex_geometry_get_height_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_p",utc_noti_ex_style_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_n",utc_noti_ex_style_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_p",utc_noti_ex_style_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_n",utc_noti_ex_style_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_p",utc_noti_ex_style_get_padding_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_n",utc_noti_ex_style_get_padding_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_p",utc_noti_ex_style_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_n",utc_noti_ex_style_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_p",utc_noti_ex_style_get_geometry_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_n",utc_noti_ex_style_get_geometry_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_p",utc_noti_ex_led_info_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_n",utc_noti_ex_led_info_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_p",utc_noti_ex_led_info_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_n",utc_noti_ex_led_info_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_p",utc_noti_ex_led_info_set_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_n",utc_noti_ex_led_info_set_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_p",utc_noti_ex_led_info_get_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_n",utc_noti_ex_led_info_get_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_p",utc_noti_ex_led_info_set_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_n",utc_noti_ex_led_info_set_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_p",utc_noti_ex_led_info_get_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_n",utc_noti_ex_led_info_get_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_p",utc_noti_ex_led_info_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_n",utc_noti_ex_led_info_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_p",utc_noti_ex_action_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_n",utc_noti_ex_action_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_p",utc_noti_ex_action_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_n",utc_noti_ex_action_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_p",utc_noti_ex_action_is_local_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_n",utc_noti_ex_action_is_local_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_p",utc_noti_ex_action_execute_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_n",utc_noti_ex_action_execute_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_p",utc_noti_ex_action_get_extra_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_n",utc_noti_ex_action_get_extra_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_p",utc_noti_ex_item_info_get_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_n",utc_noti_ex_item_info_get_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_p",utc_noti_ex_item_info_set_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_n",utc_noti_ex_item_info_set_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_p",utc_noti_ex_item_info_get_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_n",utc_noti_ex_item_info_get_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_p",utc_noti_ex_item_info_set_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_n",utc_noti_ex_item_info_set_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_p",utc_noti_ex_item_info_get_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_n",utc_noti_ex_item_info_get_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p",utc_noti_ex_item_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p_n",utc_noti_ex_item_destroy_p_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_p",utc_noti_ex_item_find_by_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_n",utc_noti_ex_item_find_by_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_p",utc_noti_ex_item_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_n",utc_noti_ex_item_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_p",utc_noti_ex_item_get_shared_paths_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_n",utc_noti_ex_item_get_shared_paths_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_p",utc_noti_ex_item_get_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_n",utc_noti_ex_item_get_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_p",utc_noti_ex_item_set_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_n",utc_noti_ex_item_set_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_p",utc_noti_ex_item_get_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_n",utc_noti_ex_item_get_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_p",utc_noti_ex_item_set_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_n",utc_noti_ex_item_set_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_p",utc_noti_ex_item_get_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_n",utc_noti_ex_item_get_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_p",utc_noti_ex_item_set_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_n",utc_noti_ex_item_set_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_p",utc_noti_ex_item_set_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_n",utc_noti_ex_item_set_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_p",utc_noti_ex_item_get_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_n",utc_noti_ex_item_get_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_p",utc_noti_ex_item_set_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_n",utc_noti_ex_item_set_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_p",utc_noti_ex_item_get_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_n",utc_noti_ex_item_get_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_p",utc_noti_ex_item_add_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_n",utc_noti_ex_item_add_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_p",utc_noti_ex_item_get_receiver_list_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_n",utc_noti_ex_item_get_receiver_list_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_p",utc_noti_ex_item_remove_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_n",utc_noti_ex_item_remove_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_p",utc_noti_ex_item_set_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_n",utc_noti_ex_item_set_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_p",utc_noti_ex_item_get_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_n",utc_noti_ex_item_get_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_p",utc_noti_ex_item_set_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_n",utc_noti_ex_item_set_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_p",utc_noti_ex_item_get_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_n",utc_noti_ex_item_get_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_p",utc_noti_ex_item_set_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_n",utc_noti_ex_item_set_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_p",utc_noti_ex_item_get_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_n",utc_noti_ex_item_get_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_p",utc_noti_ex_item_set_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_n",utc_noti_ex_item_set_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_p",utc_noti_ex_item_get_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_n",utc_noti_ex_item_get_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_p",utc_noti_ex_item_set_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_n",utc_noti_ex_item_set_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_p",utc_noti_ex_item_get_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_n",utc_noti_ex_item_get_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_p",utc_noti_ex_item_get_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_n",utc_noti_ex_item_get_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_p",utc_noti_ex_item_get_sender_app_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_n",utc_noti_ex_item_get_sender_app_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_p",utc_noti_ex_item_set_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_n",utc_noti_ex_item_set_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_p",utc_noti_ex_item_get_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_n",utc_noti_ex_item_get_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_manager_create_p",utc_noti_ex_manager_create_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_create_n",utc_noti_ex_manager_create_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_p",utc_noti_ex_manager_destroy_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_n",utc_noti_ex_manager_destroy_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_p",utc_noti_ex_manager_get_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_n",utc_noti_ex_manager_get_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_p",utc_noti_ex_manager_update_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_n",utc_noti_ex_manager_update_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_p",utc_noti_ex_manager_delete_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_n",utc_noti_ex_manager_delete_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_p",utc_noti_ex_manager_delete_all_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_n",utc_noti_ex_manager_delete_all_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_p",utc_noti_ex_manager_hide_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_n",utc_noti_ex_manager_hide_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_p",utc_noti_ex_manager_find_by_root_id_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_n",utc_noti_ex_manager_find_by_root_id_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_p",utc_noti_ex_manager_send_error_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_n",utc_noti_ex_manager_send_error_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_p",utc_noti_ex_manager_get_notification_count_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_n",utc_noti_ex_manager_get_notification_count_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_reporter_create_p",utc_noti_ex_reporter_create_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_create_n",utc_noti_ex_reporter_create_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_p",utc_noti_ex_reporter_destroy_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_n",utc_noti_ex_reporter_destroy_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_p",utc_noti_ex_reporter_send_error_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_n",utc_noti_ex_reporter_send_error_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_p",utc_noti_ex_reporter_post_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_n",utc_noti_ex_reporter_post_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_p",utc_noti_ex_reporter_post_list_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_n",utc_noti_ex_reporter_post_list_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_p",utc_noti_ex_reporter_update_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_n",utc_noti_ex_reporter_update_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_p",utc_noti_ex_reporter_delete_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_n",utc_noti_ex_reporter_delete_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_p",utc_noti_ex_reporter_delete_all_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_n",utc_noti_ex_reporter_delete_all_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_p",utc_noti_ex_reporter_find_by_root_id_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_n",utc_noti_ex_reporter_find_by_root_id_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_item_image_create_p",utc_noti_ex_item_image_create_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_create_n",utc_noti_ex_item_image_create_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_p",utc_noti_ex_item_image_get_image_path_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_n",utc_noti_ex_item_image_get_image_path_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_input_selector_create_p",utc_noti_ex_item_input_selector_create_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_create_n",utc_noti_ex_item_input_selector_create_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_p",utc_noti_ex_item_input_selector_set_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_n",utc_noti_ex_item_input_selector_set_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_p",utc_noti_ex_item_input_selector_get_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_n",utc_noti_ex_item_input_selector_get_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_progress_create_p",utc_noti_ex_item_progress_create_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_create_n",utc_noti_ex_item_progress_create_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_p",utc_noti_ex_item_progress_set_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_n",utc_noti_ex_item_progress_set_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_p",utc_noti_ex_item_progress_get_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_n",utc_noti_ex_item_progress_get_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_p",utc_noti_ex_item_progress_get_min_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_n",utc_noti_ex_item_progress_get_min_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_p",utc_noti_ex_item_progress_get_max_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_n",utc_noti_ex_item_progress_get_max_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_text_create_p",utc_noti_ex_item_text_create_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_create_n",utc_noti_ex_item_text_create_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_p",utc_noti_ex_item_text_set_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_n",utc_noti_ex_item_text_set_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_p",utc_noti_ex_item_text_get_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_n",utc_noti_ex_item_text_get_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_p",utc_noti_ex_item_text_get_hyperlink_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_n",utc_noti_ex_item_text_get_hyperlink_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_time_create_p",utc_noti_ex_item_time_create_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_create_n",utc_noti_ex_item_time_create_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_p",utc_noti_ex_item_time_get_time_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_n",utc_noti_ex_item_time_get_time_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_action_visibility_create_p",utc_noti_ex_action_visibility_create_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_create_n",utc_noti_ex_action_visibility_create_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_p",utc_noti_ex_action_visibility_set_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_n",utc_noti_ex_action_visibility_set_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_p",utc_noti_ex_action_app_control_create_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_n",utc_noti_ex_action_app_control_create_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_p",utc_noti_ex_action_app_control_set_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_n",utc_noti_ex_action_app_control_set_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_p",utc_noti_ex_action_app_control_get_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_n",utc_noti_ex_action_app_control_get_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_item_button_create_p",utc_noti_ex_item_button_create_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_create_n",utc_noti_ex_item_button_create_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_p",utc_noti_ex_item_button_get_title_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_n",utc_noti_ex_item_button_get_title_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_chat_message_create_p",utc_noti_ex_item_chat_message_create_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_create_n",utc_noti_ex_item_chat_message_create_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_p",utc_noti_ex_item_chat_message_get_name_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_n",utc_noti_ex_item_chat_message_get_name_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_p",utc_noti_ex_item_chat_message_get_text_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_n",utc_noti_ex_item_chat_message_get_text_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_p",utc_noti_ex_item_chat_message_get_image_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_n",utc_noti_ex_item_chat_message_get_image_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_p",utc_noti_ex_item_chat_message_get_time_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_n",utc_noti_ex_item_chat_message_get_time_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_p",utc_noti_ex_item_chat_message_get_message_type_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_n",utc_noti_ex_item_chat_message_get_message_type_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_checkbox_create_p",utc_noti_ex_item_checkbox_create_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_create_n",utc_noti_ex_item_checkbox_create_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_p",utc_noti_ex_item_checkbox_get_title_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_n",utc_noti_ex_item_checkbox_get_title_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_p",utc_noti_ex_item_checkbox_is_checked_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_n",utc_noti_ex_item_checkbox_is_checked_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_entry_create_p",utc_noti_ex_item_entry_create_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_create_n",utc_noti_ex_item_entry_create_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_p",utc_noti_ex_item_entry_get_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_n",utc_noti_ex_item_entry_get_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_p",utc_noti_ex_item_entry_set_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_n",utc_noti_ex_item_entry_set_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_event_info_clone_p",utc_noti_ex_event_info_clone_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_clone_n",utc_noti_ex_event_info_clone_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_p",utc_noti_ex_event_info_destroy_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_n",utc_noti_ex_event_info_destroy_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_p",utc_noti_ex_event_info_get_event_type_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_n",utc_noti_ex_event_info_get_event_type_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_p",utc_noti_ex_event_info_get_owner_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_n",utc_noti_ex_event_info_get_owner_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_p",utc_noti_ex_event_info_get_channel_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_n",utc_noti_ex_event_info_get_channel_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_p",utc_noti_ex_event_info_get_item_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_n",utc_noti_ex_event_info_get_item_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_p",utc_noti_ex_event_info_get_request_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_n",utc_noti_ex_event_info_get_request_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_item_group_create_p",utc_noti_ex_item_group_create_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_create_n",utc_noti_ex_item_group_create_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_p",utc_noti_ex_item_group_set_direction_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_n",utc_noti_ex_item_group_set_direction_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_p",utc_noti_ex_item_group_is_vertical_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_n",utc_noti_ex_item_group_is_vertical_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_p",utc_noti_ex_item_group_get_app_label_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_n",utc_noti_ex_item_group_get_app_label_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_p",utc_noti_ex_item_group_add_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_n",utc_noti_ex_item_group_add_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_p",utc_noti_ex_item_group_remove_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_n",utc_noti_ex_item_group_remove_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_cb_p",utc_noti_ex_item_group_foreach_cb_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_cb_n",utc_noti_ex_item_group_foreach_cb_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
{NULL, NULL}
};
-#endif // __TCT_NOTIFICATION-NATIVE_H__
+#endif // __TCT_NOTIFICATION_NATIVE_H__
// See the License for the specific language governing permissions and
// limitations under the License.
//
-#ifndef __TCT_NOTIFICATION-NATIVE_H__
-#define __TCT_NOTIFICATION-NATIVE_H__
+#ifndef __TCT_NOTIFICATION_NATIVE_H__
+#define __TCT_NOTIFICATION_NATIVE_H__
#include "testcase.h"
#include "tct_common.h"
extern void utc_notification_startup(void);
extern void utc_notification_cleanup(void);
+extern void utc_notification_ex_item_startup(void);
+extern void utc_notification_ex_item_cleanup(void);
+extern void utc_notification_ex_manager_startup(void);
+extern void utc_notification_ex_manager_cleanup(void);
+extern void utc_notification_ex_reporter_startup(void);
+extern void utc_notification_ex_reporter_cleanup(void);
+extern void utc_notification_ex_image_startup(void);
+extern void utc_notification_ex_image_cleanup(void);
+extern void utc_notification_ex_input_selector_startup(void);
+extern void utc_notification_ex_input_selector_cleanup(void);
+extern void utc_notification_ex_progress_startup(void);
+extern void utc_notification_ex_progress_cleanup(void);
+extern void utc_notification_ex_text_startup(void);
+extern void utc_notification_ex_text_cleanup(void);
+extern void utc_notification_ex_time_startup(void);
+extern void utc_notification_ex_time_cleanup(void);
+extern void utc_notification_ex_visibility_action_startup(void);
+extern void utc_notification_ex_visibility_action_cleanup(void);
+extern void utc_notification_ex_app_control_action_startup(void);
+extern void utc_notification_ex_app_control_action_cleanup(void);
+extern void utc_notification_ex_button_startup(void);
+extern void utc_notification_ex_button_cleanup(void);
+extern void utc_notification_ex_chat_message_startup(void);
+extern void utc_notification_ex_chat_message_cleanup(void);
+extern void utc_notification_ex_checkbox_startup(void);
+extern void utc_notification_ex_checkbox_cleanup(void);
+extern void utc_notification_ex_entry_startup(void);
+extern void utc_notification_ex_entry_cleanup(void);
+extern void utc_notification_ex_event_info_startup(void);
+extern void utc_notification_ex_event_info_cleanup(void);
+extern void utc_notification_ex_group_startup(void);
+extern void utc_notification_ex_group_cleanup(void);
extern int utc_notification_create_1_n(void);
extern int utc_notification_create_2_n(void);
extern int utc_notification_set_extension_image_size_p(void);
extern int utc_notification_get_extension_image_size_n(void);
extern int utc_notification_get_extension_image_size_p(void);
-extern int utc_notification_get_text_19_p(void);
+extern int utc_noti_ex_color_create_p(void);
+extern int utc_noti_ex_color_create_n(void);
+extern int utc_noti_ex_color_destroy_p(void);
+extern int utc_noti_ex_color_destroy_n(void);
+extern int utc_noti_ex_color_get_alpha_p(void);
+extern int utc_noti_ex_color_get_alpha_n(void);
+extern int utc_noti_ex_color_get_red_p(void);
+extern int utc_noti_ex_color_get_red_n(void);
+extern int utc_noti_ex_color_get_green_p(void);
+extern int utc_noti_ex_color_get_green_n(void);
+extern int utc_noti_ex_color_get_blue_p(void);
+extern int utc_noti_ex_color_get_blue_n(void);
+extern int utc_noti_ex_padding_create_p(void);
+extern int utc_noti_ex_padding_create_n(void);
+extern int utc_noti_ex_padding_destroy_p(void);
+extern int utc_noti_ex_padding_destroy_n(void);
+extern int utc_noti_ex_padding_get_left_p(void);
+extern int utc_noti_ex_padding_get_left_n(void);
+extern int utc_noti_ex_padding_get_top_p(void);
+extern int utc_noti_ex_padding_get_top_n(void);
+extern int utc_noti_ex_padding_get_right_p(void);
+extern int utc_noti_ex_padding_get_right_n(void);
+extern int utc_noti_ex_padding_get_bottom_p(void);
+extern int utc_noti_ex_padding_get_bottom_n(void);
+extern int utc_noti_ex_geometry_create_p(void);
+extern int utc_noti_ex_geometry_create_n(void);
+extern int utc_noti_ex_geometry_destroy_p(void);
+extern int utc_noti_ex_geometry_destroy_n(void);
+extern int utc_noti_ex_geometry_get_x_p(void);
+extern int utc_noti_ex_geometry_get_x_n(void);
+extern int utc_noti_ex_geometry_get_y_p(void);
+extern int utc_noti_ex_geometry_get_y_n(void);
+extern int utc_noti_ex_geometry_get_width_p(void);
+extern int utc_noti_ex_geometry_get_width_n(void);
+extern int utc_noti_ex_geometry_get_height_p(void);
+extern int utc_noti_ex_geometry_get_height_n(void);
+extern int utc_noti_ex_style_create_p(void);
+extern int utc_noti_ex_style_create_n(void);
+extern int utc_noti_ex_style_destroy_p(void);
+extern int utc_noti_ex_style_destroy_n(void);
+extern int utc_noti_ex_style_get_padding_p(void);
+extern int utc_noti_ex_style_get_padding_n(void);
+extern int utc_noti_ex_style_get_color_p(void);
+extern int utc_noti_ex_style_get_color_n(void);
+extern int utc_noti_ex_style_get_geometry_p(void);
+extern int utc_noti_ex_style_get_geometry_n(void);
+extern int utc_noti_ex_led_info_create_p(void);
+extern int utc_noti_ex_led_info_create_n(void);
+extern int utc_noti_ex_led_info_destroy_p(void);
+extern int utc_noti_ex_led_info_destroy_n(void);
+extern int utc_noti_ex_led_info_set_on_period_p(void);
+extern int utc_noti_ex_led_info_set_on_period_n(void);
+extern int utc_noti_ex_led_info_get_on_period_p(void);
+extern int utc_noti_ex_led_info_get_on_period_n(void);
+extern int utc_noti_ex_led_info_set_off_period_p(void);
+extern int utc_noti_ex_led_info_set_off_period_n(void);
+extern int utc_noti_ex_led_info_get_off_period_p(void);
+extern int utc_noti_ex_led_info_get_off_period_n(void);
+extern int utc_noti_ex_led_info_get_color_p(void);
+extern int utc_noti_ex_led_info_get_color_n(void);
+extern int utc_noti_ex_action_destroy_p(void);
+extern int utc_noti_ex_action_destroy_n(void);
+extern int utc_noti_ex_action_get_type_p(void);
+extern int utc_noti_ex_action_get_type_n(void);
+extern int utc_noti_ex_action_is_local_p(void);
+extern int utc_noti_ex_action_is_local_n(void);
+extern int utc_noti_ex_action_execute_p(void);
+extern int utc_noti_ex_action_execute_n(void);
+extern int utc_noti_ex_action_get_extra_p(void);
+extern int utc_noti_ex_action_get_extra_n(void);
+extern int utc_noti_ex_item_info_get_hide_time_p(void);
+extern int utc_noti_ex_item_info_get_hide_time_n(void);
+extern int utc_noti_ex_item_info_set_hide_time_p(void);
+extern int utc_noti_ex_item_info_set_hide_time_n(void);
+extern int utc_noti_ex_item_info_get_delete_time_p(void);
+extern int utc_noti_ex_item_info_get_delete_time_n(void);
+extern int utc_noti_ex_item_info_set_delete_time_p(void);
+extern int utc_noti_ex_item_info_set_delete_time_n(void);
+extern int utc_noti_ex_item_info_get_time_p(void);
+extern int utc_noti_ex_item_info_get_time_n(void);
+extern int utc_noti_ex_item_destroy_p(void);
+extern int utc_noti_ex_item_destroy_p_n(void);
+extern int utc_noti_ex_item_find_by_id_p(void);
+extern int utc_noti_ex_item_find_by_id_n(void);
+extern int utc_noti_ex_item_get_type_p(void);
+extern int utc_noti_ex_item_get_type_n(void);
+extern int utc_noti_ex_item_get_shared_paths_p(void);
+extern int utc_noti_ex_item_get_shared_paths_n(void);
+extern int utc_noti_ex_item_get_id_p(void);
+extern int utc_noti_ex_item_get_id_n(void);
+extern int utc_noti_ex_item_set_id_p(void);
+extern int utc_noti_ex_item_set_id_n(void);
+extern int utc_noti_ex_item_get_action_p(void);
+extern int utc_noti_ex_item_get_action_n(void);
+extern int utc_noti_ex_item_set_action_p(void);
+extern int utc_noti_ex_item_set_action_n(void);
+extern int utc_noti_ex_item_get_style_p(void);
+extern int utc_noti_ex_item_get_style_n(void);
+extern int utc_noti_ex_item_set_style_p(void);
+extern int utc_noti_ex_item_set_style_n(void);
+extern int utc_noti_ex_item_set_visible_p(void);
+extern int utc_noti_ex_item_set_visible_n(void);
+extern int utc_noti_ex_item_get_visible_p(void);
+extern int utc_noti_ex_item_get_visible_n(void);
+extern int utc_noti_ex_item_set_enable_p(void);
+extern int utc_noti_ex_item_set_enable_n(void);
+extern int utc_noti_ex_item_get_enable_p(void);
+extern int utc_noti_ex_item_get_enable_n(void);
+extern int utc_noti_ex_item_add_receiver_p(void);
+extern int utc_noti_ex_item_add_receiver_n(void);
+extern int utc_noti_ex_item_get_receiver_list_p(void);
+extern int utc_noti_ex_item_get_receiver_list_n(void);
+extern int utc_noti_ex_item_remove_receiver_p(void);
+extern int utc_noti_ex_item_remove_receiver_n(void);
+extern int utc_noti_ex_item_set_policy_p(void);
+extern int utc_noti_ex_item_set_policy_n(void);
+extern int utc_noti_ex_item_get_policy_p(void);
+extern int utc_noti_ex_item_get_policy_n(void);
+extern int utc_noti_ex_item_set_channel_p(void);
+extern int utc_noti_ex_item_set_channel_n(void);
+extern int utc_noti_ex_item_get_channel_p(void);
+extern int utc_noti_ex_item_get_channel_n(void);
+extern int utc_noti_ex_item_set_led_info_p(void);
+extern int utc_noti_ex_item_set_led_info_n(void);
+extern int utc_noti_ex_item_get_led_info_p(void);
+extern int utc_noti_ex_item_get_led_info_n(void);
+extern int utc_noti_ex_item_set_sound_path_p(void);
+extern int utc_noti_ex_item_set_sound_path_n(void);
+extern int utc_noti_ex_item_get_sound_path_p(void);
+extern int utc_noti_ex_item_get_sound_path_n(void);
+extern int utc_noti_ex_item_set_vibration_path_p(void);
+extern int utc_noti_ex_item_set_vibration_path_n(void);
+extern int utc_noti_ex_item_get_vibration_path_p(void);
+extern int utc_noti_ex_item_get_vibration_path_n(void);
+extern int utc_noti_ex_item_get_info_p(void);
+extern int utc_noti_ex_item_get_info_n(void);
+extern int utc_noti_ex_item_get_sender_app_id_p(void);
+extern int utc_noti_ex_item_get_sender_app_id_n(void);
+extern int utc_noti_ex_item_set_tag_p(void);
+extern int utc_noti_ex_item_set_tag_n(void);
+extern int utc_noti_ex_item_get_tag_p(void);
+extern int utc_noti_ex_item_get_tag_n(void);
+extern int utc_noti_ex_manager_create_p(void);
+extern int utc_noti_ex_manager_create_n(void);
+extern int utc_noti_ex_manager_destroy_p(void);
+extern int utc_noti_ex_manager_destroy_n(void);
+extern int utc_noti_ex_manager_get_p(void);
+extern int utc_noti_ex_manager_get_n(void);
+extern int utc_noti_ex_manager_update_p(void);
+extern int utc_noti_ex_manager_update_n(void);
+extern int utc_noti_ex_manager_delete_p(void);
+extern int utc_noti_ex_manager_delete_n(void);
+extern int utc_noti_ex_manager_delete_all_p(void);
+extern int utc_noti_ex_manager_delete_all_n(void);
+extern int utc_noti_ex_manager_hide_p(void);
+extern int utc_noti_ex_manager_hide_n(void);
+extern int utc_noti_ex_manager_find_by_root_id_p(void);
+extern int utc_noti_ex_manager_find_by_root_id_n(void);
+extern int utc_noti_ex_manager_send_error_p(void);
+extern int utc_noti_ex_manager_send_error_n(void);
+extern int utc_noti_ex_manager_get_notification_count_p(void);
+extern int utc_noti_ex_manager_get_notification_count_n(void);
+extern int utc_noti_ex_reporter_create_p(void);
+extern int utc_noti_ex_reporter_create_n(void);
+extern int utc_noti_ex_reporter_destroy_p(void);
+extern int utc_noti_ex_reporter_destroy_n(void);
+extern int utc_noti_ex_reporter_send_error_p(void);
+extern int utc_noti_ex_reporter_send_error_n(void);
+extern int utc_noti_ex_reporter_post_p(void);
+extern int utc_noti_ex_reporter_post_n(void);
+extern int utc_noti_ex_reporter_post_list_p(void);
+extern int utc_noti_ex_reporter_post_list_n(void);
+extern int utc_noti_ex_reporter_update_p(void);
+extern int utc_noti_ex_reporter_update_n(void);
+extern int utc_noti_ex_reporter_delete_p(void);
+extern int utc_noti_ex_reporter_delete_n(void);
+extern int utc_noti_ex_reporter_delete_all_p(void);
+extern int utc_noti_ex_reporter_delete_all_n(void);
+extern int utc_noti_ex_reporter_find_by_root_id_p(void);
+extern int utc_noti_ex_reporter_find_by_root_id_n(void);
+extern int utc_noti_ex_item_image_create_p(void);
+extern int utc_noti_ex_item_image_create_n(void);
+extern int utc_noti_ex_item_image_get_image_path_p(void);
+extern int utc_noti_ex_item_image_get_image_path_n(void);
+extern int utc_noti_ex_item_input_selector_create_p(void);
+extern int utc_noti_ex_item_input_selector_create_n(void);
+extern int utc_noti_ex_item_input_selector_set_contents_p(void);
+extern int utc_noti_ex_item_input_selector_set_contents_n(void);
+extern int utc_noti_ex_item_input_selector_get_contents_p(void);
+extern int utc_noti_ex_item_input_selector_get_contents_n(void);
+extern int utc_noti_ex_item_progress_create_p(void);
+extern int utc_noti_ex_item_progress_create_n(void);
+extern int utc_noti_ex_item_progress_set_current_p(void);
+extern int utc_noti_ex_item_progress_set_current_n(void);
+extern int utc_noti_ex_item_progress_get_current_p(void);
+extern int utc_noti_ex_item_progress_get_current_n(void);
+extern int utc_noti_ex_item_progress_get_min_p(void);
+extern int utc_noti_ex_item_progress_get_min_n(void);
+extern int utc_noti_ex_item_progress_get_max_p(void);
+extern int utc_noti_ex_item_progress_get_max_n(void);
+extern int utc_noti_ex_item_text_create_p(void);
+extern int utc_noti_ex_item_text_create_n(void);
+extern int utc_noti_ex_item_text_set_contents_p(void);
+extern int utc_noti_ex_item_text_set_contents_n(void);
+extern int utc_noti_ex_item_text_get_contents_p(void);
+extern int utc_noti_ex_item_text_get_contents_n(void);
+extern int utc_noti_ex_item_text_get_hyperlink_p(void);
+extern int utc_noti_ex_item_text_get_hyperlink_n(void);
+extern int utc_noti_ex_item_time_create_p(void);
+extern int utc_noti_ex_item_time_create_n(void);
+extern int utc_noti_ex_item_time_get_time_p(void);
+extern int utc_noti_ex_item_time_get_time_n(void);
+extern int utc_noti_ex_action_visibility_create_p(void);
+extern int utc_noti_ex_action_visibility_create_n(void);
+extern int utc_noti_ex_action_visibility_set_p(void);
+extern int utc_noti_ex_action_visibility_set_n(void);
+extern int utc_noti_ex_action_app_control_create_p(void);
+extern int utc_noti_ex_action_app_control_create_n(void);
+extern int utc_noti_ex_action_app_control_set_p(void);
+extern int utc_noti_ex_action_app_control_set_n(void);
+extern int utc_noti_ex_action_app_control_get_p(void);
+extern int utc_noti_ex_action_app_control_get_n(void);
+extern int utc_noti_ex_item_button_create_p(void);
+extern int utc_noti_ex_item_button_create_n(void);
+extern int utc_noti_ex_item_button_get_title_p(void);
+extern int utc_noti_ex_item_button_get_title_n(void);
+extern int utc_noti_ex_item_chat_message_create_p(void);
+extern int utc_noti_ex_item_chat_message_create_n(void);
+extern int utc_noti_ex_item_chat_message_get_name_p(void);
+extern int utc_noti_ex_item_chat_message_get_name_n(void);
+extern int utc_noti_ex_item_chat_message_get_text_p(void);
+extern int utc_noti_ex_item_chat_message_get_text_n(void);
+extern int utc_noti_ex_item_chat_message_get_image_p(void);
+extern int utc_noti_ex_item_chat_message_get_image_n(void);
+extern int utc_noti_ex_item_chat_message_get_time_p(void);
+extern int utc_noti_ex_item_chat_message_get_time_n(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_p(void);
+extern int utc_noti_ex_item_chat_message_get_message_type_n(void);
+extern int utc_noti_ex_item_checkbox_create_p(void);
+extern int utc_noti_ex_item_checkbox_create_n(void);
+extern int utc_noti_ex_item_checkbox_get_title_p(void);
+extern int utc_noti_ex_item_checkbox_get_title_n(void);
+extern int utc_noti_ex_item_checkbox_is_checked_p(void);
+extern int utc_noti_ex_item_checkbox_is_checked_n(void);
+extern int utc_noti_ex_item_entry_create_p(void);
+extern int utc_noti_ex_item_entry_create_n(void);
+extern int utc_noti_ex_item_entry_get_text_p(void);
+extern int utc_noti_ex_item_entry_get_text_n(void);
+extern int utc_noti_ex_item_entry_set_text_p(void);
+extern int utc_noti_ex_item_entry_set_text_n(void);
+extern int utc_noti_ex_event_info_clone_p(void);
+extern int utc_noti_ex_event_info_clone_n(void);
+extern int utc_noti_ex_event_info_destroy_p(void);
+extern int utc_noti_ex_event_info_destroy_n(void);
+extern int utc_noti_ex_event_info_get_event_type_p(void);
+extern int utc_noti_ex_event_info_get_event_type_n(void);
+extern int utc_noti_ex_event_info_get_owner_p(void);
+extern int utc_noti_ex_event_info_get_owner_n(void);
+extern int utc_noti_ex_event_info_get_channel_p(void);
+extern int utc_noti_ex_event_info_get_channel_n(void);
+extern int utc_noti_ex_event_info_get_item_id_p(void);
+extern int utc_noti_ex_event_info_get_item_id_n(void);
+extern int utc_noti_ex_event_info_get_request_id_p(void);
+extern int utc_noti_ex_event_info_get_request_id_n(void);
+extern int utc_noti_ex_item_group_create_p(void);
+extern int utc_noti_ex_item_group_create_n(void);
+extern int utc_noti_ex_item_group_set_direction_p(void);
+extern int utc_noti_ex_item_group_set_direction_n(void);
+extern int utc_noti_ex_item_group_is_vertical_p(void);
+extern int utc_noti_ex_item_group_is_vertical_n(void);
+extern int utc_noti_ex_item_group_get_app_label_p(void);
+extern int utc_noti_ex_item_group_get_app_label_n(void);
+extern int utc_noti_ex_item_group_add_child_p(void);
+extern int utc_noti_ex_item_group_add_child_n(void);
+extern int utc_noti_ex_item_group_remove_child_p(void);
+extern int utc_noti_ex_item_group_remove_child_n(void);
+extern int utc_noti_ex_item_group_foreach_cb_p(void);
+extern int utc_noti_ex_item_group_foreach_cb_n(void);
testcase tc_array[] = {
{"utc_notification_create_1_n",utc_notification_create_1_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_set_extension_image_size_p",utc_notification_set_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_n",utc_notification_get_extension_image_size_n,utc_notification_startup,utc_notification_cleanup},
{"utc_notification_get_extension_image_size_p",utc_notification_get_extension_image_size_p,utc_notification_startup,utc_notification_cleanup},
+ {"utc_noti_ex_color_create_p",utc_noti_ex_color_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_create_n",utc_noti_ex_color_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_p",utc_noti_ex_color_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_destroy_n",utc_noti_ex_color_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_p",utc_noti_ex_color_get_alpha_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_alpha_n",utc_noti_ex_color_get_alpha_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_p",utc_noti_ex_color_get_red_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_red_n",utc_noti_ex_color_get_red_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_p",utc_noti_ex_color_get_green_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_green_n",utc_noti_ex_color_get_green_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_p",utc_noti_ex_color_get_blue_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_color_get_blue_n",utc_noti_ex_color_get_blue_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_p",utc_noti_ex_padding_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_create_n",utc_noti_ex_padding_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_p",utc_noti_ex_padding_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_destroy_n",utc_noti_ex_padding_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_p",utc_noti_ex_padding_get_left_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_left_n",utc_noti_ex_padding_get_left_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_p",utc_noti_ex_padding_get_top_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_top_n",utc_noti_ex_padding_get_top_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_p",utc_noti_ex_padding_get_right_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_right_n",utc_noti_ex_padding_get_right_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_p",utc_noti_ex_padding_get_bottom_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_padding_get_bottom_n",utc_noti_ex_padding_get_bottom_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_p",utc_noti_ex_geometry_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_create_n",utc_noti_ex_geometry_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_p",utc_noti_ex_geometry_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_destroy_n",utc_noti_ex_geometry_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_p",utc_noti_ex_geometry_get_x_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_x_n",utc_noti_ex_geometry_get_x_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_p",utc_noti_ex_geometry_get_y_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_y_n",utc_noti_ex_geometry_get_y_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_p",utc_noti_ex_geometry_get_width_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_width_n",utc_noti_ex_geometry_get_width_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_p",utc_noti_ex_geometry_get_height_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_geometry_get_height_n",utc_noti_ex_geometry_get_height_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_p",utc_noti_ex_style_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_create_n",utc_noti_ex_style_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_p",utc_noti_ex_style_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_destroy_n",utc_noti_ex_style_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_p",utc_noti_ex_style_get_padding_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_padding_n",utc_noti_ex_style_get_padding_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_p",utc_noti_ex_style_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_color_n",utc_noti_ex_style_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_p",utc_noti_ex_style_get_geometry_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_style_get_geometry_n",utc_noti_ex_style_get_geometry_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_p",utc_noti_ex_led_info_create_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_create_n",utc_noti_ex_led_info_create_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_p",utc_noti_ex_led_info_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_destroy_n",utc_noti_ex_led_info_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_p",utc_noti_ex_led_info_set_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_on_period_n",utc_noti_ex_led_info_set_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_p",utc_noti_ex_led_info_get_on_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_on_period_n",utc_noti_ex_led_info_get_on_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_p",utc_noti_ex_led_info_set_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_set_off_period_n",utc_noti_ex_led_info_set_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_p",utc_noti_ex_led_info_get_off_period_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_off_period_n",utc_noti_ex_led_info_get_off_period_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_p",utc_noti_ex_led_info_get_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_led_info_get_color_n",utc_noti_ex_led_info_get_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_p",utc_noti_ex_action_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_destroy_n",utc_noti_ex_action_destroy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_p",utc_noti_ex_action_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_type_n",utc_noti_ex_action_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_p",utc_noti_ex_action_is_local_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_is_local_n",utc_noti_ex_action_is_local_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_p",utc_noti_ex_action_execute_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_execute_n",utc_noti_ex_action_execute_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_p",utc_noti_ex_action_get_extra_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_action_get_extra_n",utc_noti_ex_action_get_extra_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_p",utc_noti_ex_item_info_get_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_hide_time_n",utc_noti_ex_item_info_get_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_p",utc_noti_ex_item_info_set_hide_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_hide_time_n",utc_noti_ex_item_info_set_hide_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_p",utc_noti_ex_item_info_get_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_delete_time_n",utc_noti_ex_item_info_get_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_p",utc_noti_ex_item_info_set_delete_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_set_delete_time_n",utc_noti_ex_item_info_set_delete_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_p",utc_noti_ex_item_info_get_time_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_info_get_time_n",utc_noti_ex_item_info_get_time_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p",utc_noti_ex_item_destroy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_destroy_p_n",utc_noti_ex_item_destroy_p_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_p",utc_noti_ex_item_find_by_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_find_by_id_n",utc_noti_ex_item_find_by_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_p",utc_noti_ex_item_get_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_type_n",utc_noti_ex_item_get_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_p",utc_noti_ex_item_get_shared_paths_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_shared_paths_n",utc_noti_ex_item_get_shared_paths_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_p",utc_noti_ex_item_get_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_id_n",utc_noti_ex_item_get_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_p",utc_noti_ex_item_set_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_id_n",utc_noti_ex_item_set_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_p",utc_noti_ex_item_get_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_action_n",utc_noti_ex_item_get_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_p",utc_noti_ex_item_set_action_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_action_n",utc_noti_ex_item_set_action_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_p",utc_noti_ex_item_get_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_style_n",utc_noti_ex_item_get_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_p",utc_noti_ex_item_set_style_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_style_n",utc_noti_ex_item_set_style_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_p",utc_noti_ex_item_set_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_visible_n",utc_noti_ex_item_set_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_p",utc_noti_ex_item_get_visible_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_visible_n",utc_noti_ex_item_get_visible_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_p",utc_noti_ex_item_set_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_enable_n",utc_noti_ex_item_set_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_p",utc_noti_ex_item_get_enable_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_enable_n",utc_noti_ex_item_get_enable_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_p",utc_noti_ex_item_add_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_add_receiver_n",utc_noti_ex_item_add_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_p",utc_noti_ex_item_get_receiver_list_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_receiver_list_n",utc_noti_ex_item_get_receiver_list_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_p",utc_noti_ex_item_remove_receiver_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_remove_receiver_n",utc_noti_ex_item_remove_receiver_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_p",utc_noti_ex_item_set_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_policy_n",utc_noti_ex_item_set_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_p",utc_noti_ex_item_get_policy_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_policy_n",utc_noti_ex_item_get_policy_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_p",utc_noti_ex_item_set_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_channel_n",utc_noti_ex_item_set_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_p",utc_noti_ex_item_get_channel_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_channel_n",utc_noti_ex_item_get_channel_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_p",utc_noti_ex_item_set_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_led_info_n",utc_noti_ex_item_set_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_p",utc_noti_ex_item_get_led_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_led_info_n",utc_noti_ex_item_get_led_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_p",utc_noti_ex_item_set_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_sound_path_n",utc_noti_ex_item_set_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_p",utc_noti_ex_item_get_sound_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sound_path_n",utc_noti_ex_item_get_sound_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_p",utc_noti_ex_item_set_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_vibration_path_n",utc_noti_ex_item_set_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_p",utc_noti_ex_item_get_vibration_path_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_vibration_path_n",utc_noti_ex_item_get_vibration_path_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_p",utc_noti_ex_item_get_info_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_info_n",utc_noti_ex_item_get_info_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_p",utc_noti_ex_item_get_sender_app_id_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_sender_app_id_n",utc_noti_ex_item_get_sender_app_id_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_p",utc_noti_ex_item_set_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_set_tag_n",utc_noti_ex_item_set_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_p",utc_noti_ex_item_get_tag_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_item_get_tag_n",utc_noti_ex_item_get_tag_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+ {"utc_noti_ex_manager_create_p",utc_noti_ex_manager_create_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_create_n",utc_noti_ex_manager_create_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_p",utc_noti_ex_manager_destroy_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_destroy_n",utc_noti_ex_manager_destroy_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_p",utc_noti_ex_manager_get_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_n",utc_noti_ex_manager_get_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_p",utc_noti_ex_manager_update_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_update_n",utc_noti_ex_manager_update_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_p",utc_noti_ex_manager_delete_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_n",utc_noti_ex_manager_delete_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_p",utc_noti_ex_manager_delete_all_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_delete_all_n",utc_noti_ex_manager_delete_all_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_p",utc_noti_ex_manager_hide_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_hide_n",utc_noti_ex_manager_hide_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_p",utc_noti_ex_manager_find_by_root_id_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_find_by_root_id_n",utc_noti_ex_manager_find_by_root_id_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_p",utc_noti_ex_manager_send_error_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_send_error_n",utc_noti_ex_manager_send_error_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_p",utc_noti_ex_manager_get_notification_count_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_manager_get_notification_count_n",utc_noti_ex_manager_get_notification_count_n,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+ {"utc_noti_ex_reporter_create_p",utc_noti_ex_reporter_create_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_create_n",utc_noti_ex_reporter_create_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_p",utc_noti_ex_reporter_destroy_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_destroy_n",utc_noti_ex_reporter_destroy_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_p",utc_noti_ex_reporter_send_error_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_send_error_n",utc_noti_ex_reporter_send_error_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_p",utc_noti_ex_reporter_post_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_n",utc_noti_ex_reporter_post_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_p",utc_noti_ex_reporter_post_list_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_post_list_n",utc_noti_ex_reporter_post_list_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_p",utc_noti_ex_reporter_update_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_update_n",utc_noti_ex_reporter_update_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_p",utc_noti_ex_reporter_delete_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_n",utc_noti_ex_reporter_delete_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_p",utc_noti_ex_reporter_delete_all_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_delete_all_n",utc_noti_ex_reporter_delete_all_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_p",utc_noti_ex_reporter_find_by_root_id_p,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_reporter_find_by_root_id_n",utc_noti_ex_reporter_find_by_root_id_n,utc_notification_ex_reporter_startup,utc_notification_ex_reporter_cleanup},
+ {"utc_noti_ex_item_image_create_p",utc_noti_ex_item_image_create_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_create_n",utc_noti_ex_item_image_create_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_p",utc_noti_ex_item_image_get_image_path_p,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_image_get_image_path_n",utc_noti_ex_item_image_get_image_path_n,utc_notification_ex_image_startup,utc_notification_ex_image_cleanup},
+ {"utc_noti_ex_item_input_selector_create_p",utc_noti_ex_item_input_selector_create_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_create_n",utc_noti_ex_item_input_selector_create_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_p",utc_noti_ex_item_input_selector_set_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_set_contents_n",utc_noti_ex_item_input_selector_set_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_p",utc_noti_ex_item_input_selector_get_contents_p,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_input_selector_get_contents_n",utc_noti_ex_item_input_selector_get_contents_n,utc_notification_ex_input_selector_startup,utc_notification_ex_input_selector_cleanup},
+ {"utc_noti_ex_item_progress_create_p",utc_noti_ex_item_progress_create_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_create_n",utc_noti_ex_item_progress_create_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_p",utc_noti_ex_item_progress_set_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_set_current_n",utc_noti_ex_item_progress_set_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_p",utc_noti_ex_item_progress_get_current_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_current_n",utc_noti_ex_item_progress_get_current_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_p",utc_noti_ex_item_progress_get_min_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_min_n",utc_noti_ex_item_progress_get_min_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_p",utc_noti_ex_item_progress_get_max_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_progress_get_max_n",utc_noti_ex_item_progress_get_max_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+ {"utc_noti_ex_item_text_create_p",utc_noti_ex_item_text_create_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_create_n",utc_noti_ex_item_text_create_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_p",utc_noti_ex_item_text_set_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_set_contents_n",utc_noti_ex_item_text_set_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_p",utc_noti_ex_item_text_get_contents_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_contents_n",utc_noti_ex_item_text_get_contents_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_p",utc_noti_ex_item_text_get_hyperlink_p,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_text_get_hyperlink_n",utc_noti_ex_item_text_get_hyperlink_n,utc_notification_ex_text_startup,utc_notification_ex_text_cleanup},
+ {"utc_noti_ex_item_time_create_p",utc_noti_ex_item_time_create_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_create_n",utc_noti_ex_item_time_create_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_p",utc_noti_ex_item_time_get_time_p,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_item_time_get_time_n",utc_noti_ex_item_time_get_time_n,utc_notification_ex_time_startup,utc_notification_ex_time_cleanup},
+ {"utc_noti_ex_action_visibility_create_p",utc_noti_ex_action_visibility_create_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_create_n",utc_noti_ex_action_visibility_create_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_p",utc_noti_ex_action_visibility_set_p,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_visibility_set_n",utc_noti_ex_action_visibility_set_n,utc_notification_ex_visibility_action_startup,utc_notification_ex_visibility_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_p",utc_noti_ex_action_app_control_create_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_create_n",utc_noti_ex_action_app_control_create_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_p",utc_noti_ex_action_app_control_set_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_set_n",utc_noti_ex_action_app_control_set_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_p",utc_noti_ex_action_app_control_get_p,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_action_app_control_get_n",utc_noti_ex_action_app_control_get_n,utc_notification_ex_app_control_action_startup,utc_notification_ex_app_control_action_cleanup},
+ {"utc_noti_ex_item_button_create_p",utc_noti_ex_item_button_create_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_create_n",utc_noti_ex_item_button_create_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_p",utc_noti_ex_item_button_get_title_p,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_button_get_title_n",utc_noti_ex_item_button_get_title_n,utc_notification_ex_button_startup,utc_notification_ex_button_cleanup},
+ {"utc_noti_ex_item_chat_message_create_p",utc_noti_ex_item_chat_message_create_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_create_n",utc_noti_ex_item_chat_message_create_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_p",utc_noti_ex_item_chat_message_get_name_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_name_n",utc_noti_ex_item_chat_message_get_name_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_p",utc_noti_ex_item_chat_message_get_text_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_text_n",utc_noti_ex_item_chat_message_get_text_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_p",utc_noti_ex_item_chat_message_get_image_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_image_n",utc_noti_ex_item_chat_message_get_image_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_p",utc_noti_ex_item_chat_message_get_time_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_time_n",utc_noti_ex_item_chat_message_get_time_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_p",utc_noti_ex_item_chat_message_get_message_type_p,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_chat_message_get_message_type_n",utc_noti_ex_item_chat_message_get_message_type_n,utc_notification_ex_chat_message_startup,utc_notification_ex_chat_message_cleanup},
+ {"utc_noti_ex_item_checkbox_create_p",utc_noti_ex_item_checkbox_create_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_create_n",utc_noti_ex_item_checkbox_create_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_p",utc_noti_ex_item_checkbox_get_title_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_get_title_n",utc_noti_ex_item_checkbox_get_title_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_p",utc_noti_ex_item_checkbox_is_checked_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_checkbox_is_checked_n",utc_noti_ex_item_checkbox_is_checked_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+ {"utc_noti_ex_item_entry_create_p",utc_noti_ex_item_entry_create_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_create_n",utc_noti_ex_item_entry_create_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_p",utc_noti_ex_item_entry_get_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_get_text_n",utc_noti_ex_item_entry_get_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_p",utc_noti_ex_item_entry_set_text_p,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_item_entry_set_text_n",utc_noti_ex_item_entry_set_text_n,utc_notification_ex_entry_startup,utc_notification_ex_entry_cleanup},
+ {"utc_noti_ex_event_info_clone_p",utc_noti_ex_event_info_clone_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_clone_n",utc_noti_ex_event_info_clone_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_p",utc_noti_ex_event_info_destroy_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_destroy_n",utc_noti_ex_event_info_destroy_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_p",utc_noti_ex_event_info_get_event_type_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_event_type_n",utc_noti_ex_event_info_get_event_type_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_p",utc_noti_ex_event_info_get_owner_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_owner_n",utc_noti_ex_event_info_get_owner_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_p",utc_noti_ex_event_info_get_channel_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_channel_n",utc_noti_ex_event_info_get_channel_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_p",utc_noti_ex_event_info_get_item_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_item_id_n",utc_noti_ex_event_info_get_item_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_p",utc_noti_ex_event_info_get_request_id_p,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_event_info_get_request_id_n",utc_noti_ex_event_info_get_request_id_n,utc_notification_ex_event_info_startup,utc_notification_ex_event_info_cleanup},
+ {"utc_noti_ex_item_group_create_p",utc_noti_ex_item_group_create_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_create_n",utc_noti_ex_item_group_create_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_p",utc_noti_ex_item_group_set_direction_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_set_direction_n",utc_noti_ex_item_group_set_direction_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_p",utc_noti_ex_item_group_is_vertical_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_is_vertical_n",utc_noti_ex_item_group_is_vertical_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_p",utc_noti_ex_item_group_get_app_label_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_get_app_label_n",utc_noti_ex_item_group_get_app_label_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_p",utc_noti_ex_item_group_add_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_add_child_n",utc_noti_ex_item_group_add_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_p",utc_noti_ex_item_group_remove_child_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_remove_child_n",utc_noti_ex_item_group_remove_child_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_cb_p",utc_noti_ex_item_group_foreach_cb_p,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
+ {"utc_noti_ex_item_group_foreach_cb_n",utc_noti_ex_item_group_foreach_cb_n,utc_notification_ex_group_startup,utc_notification_ex_group_cleanup},
{NULL, NULL}
};
-#endif // __TCT_NOTIFICATION-NATIVE_H__
+#endif // __TCT_NOTIFICATION_NATIVE_H__
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_app_control_action_startup(void)
+{
+}
+
+void utc_notification_ex_app_control_action_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_app_control_create()
+ */
+int utc_noti_ex_action_app_control_create_p(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+ noti_ex_action_h appcontrol_action = NULL;
+
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "temp_appid");
+
+ ret = noti_ex_action_app_control_create(&appcontrol_action, app_control, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ app_control_destroy(app_control);
+ noti_ex_action_destroy(appcontrol_action);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_app_control_create()
+ */
+int utc_noti_ex_action_app_control_create_n(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "temp_appid");
+
+ ret = noti_ex_action_app_control_create(NULL, app_control, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ app_control_destroy(app_control);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_set_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_app_control_set()
+ */
+int utc_noti_ex_action_app_control_set_p(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+ app_control_h new_app_control = NULL;
+ noti_ex_action_h appcontrol_action = NULL;
+
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "temp_appid");
+
+ ret = noti_ex_action_app_control_create(&appcontrol_action, app_control, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ app_control_create(&new_app_control);
+ app_control_set_app_id(new_app_control, "new_appid");
+
+ ret = noti_ex_action_app_control_set(appcontrol_action, new_app_control);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ app_control_destroy(app_control);
+ app_control_destroy(new_app_control);
+ noti_ex_action_destroy(appcontrol_action);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_set_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_app_control_set()
+ */
+int utc_noti_ex_action_app_control_set_n(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "temp_appid");
+
+ ret = noti_ex_action_app_control_set(NULL, app_control);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ app_control_destroy(app_control);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_get_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_app_control_get()
+ */
+int utc_noti_ex_action_app_control_get_p(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+ app_control_h new_app_control = NULL;
+ noti_ex_action_h appcontrol_action = NULL;
+
+ app_control_create(&app_control);
+ app_control_set_app_id(app_control, "temp_appid");
+
+ ret = noti_ex_action_app_control_create(&appcontrol_action, app_control, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_action_app_control_get(appcontrol_action, &new_app_control);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ app_control_destroy(app_control);
+ noti_ex_action_destroy(appcontrol_action);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_app_control_get_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_app_control_get()
+ */
+int utc_noti_ex_action_app_control_get_n(void)
+{
+ int ret;
+ app_control_h app_control = NULL;
+
+ ret = noti_ex_action_app_control_get(NULL, &app_control);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_button_startup(void)
+{
+}
+
+void utc_notification_ex_button_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_button_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_button_create()
+ */
+int utc_noti_ex_item_button_create_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+
+ ret = noti_ex_item_button_create(&item_handle, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_button_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_button_create()
+ */
+int utc_noti_ex_item_button_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_button_create(NULL, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_button_get_title_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_button_get_title()
+ */
+int utc_noti_ex_item_button_get_title_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ char *title = NULL;
+
+ ret = noti_ex_item_button_create(&item_handle, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_button_get_title(item_handle, &title);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(title, "button_title"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(title);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_button_get_title_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_button_get_title()
+ */
+int utc_noti_ex_item_button_get_title_n(void)
+{
+ int ret;
+ char *title = NULL;
+
+ ret = noti_ex_item_button_get_title(NULL, &title);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+static noti_ex_item_h name;
+static noti_ex_item_h text;
+static noti_ex_item_h image;
+static noti_ex_item_h time_handle;
+static time_t current_time;
+
+void utc_notification_ex_chat_message_startup(void)
+{
+ noti_ex_item_text_create(&name, "name_id", "test_name", NULL);
+ noti_ex_item_text_create(&text, "text_id", "test_text", NULL);
+ noti_ex_item_image_create(&image, "image_id", "test_image_path");
+
+ time(¤t_time);
+ noti_ex_item_time_create(&time_handle, "time_id", current_time);
+}
+
+void utc_notification_ex_chat_message_cleanup(void)
+{
+ if (name)
+ noti_ex_item_destroy(name);
+
+ if (text)
+ noti_ex_item_destroy(text);
+
+ if (image)
+ noti_ex_item_destroy(image);
+
+ if (time_handle)
+ noti_ex_item_destroy(time_handle);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_create()
+ */
+int utc_noti_ex_item_chat_message_create_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_create()
+ */
+int utc_noti_ex_item_chat_message_create_n(void)
+{
+ int ret;
+ ret = noti_ex_item_chat_message_create(NULL, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_noti_ex_item_chat_message_get_name_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_get_name()
+ */
+int utc_noti_ex_item_chat_message_get_name_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h name_handle = NULL;
+ char *chat_name = NULL;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_chat_message_get_name(item_handle, &name_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_get_contents(name_handle, &chat_name);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(chat_name, "test_name"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(chat_name);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_name_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_get_name()
+ */
+int utc_noti_ex_item_chat_message_get_name_n(void)
+{
+ int ret;
+ noti_ex_item_h name_handle = NULL;
+
+ ret = noti_ex_item_chat_message_get_name(NULL, &name_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_text_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_get_text()
+ */
+int utc_noti_ex_item_chat_message_get_text_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h text_handle = NULL;
+ char *chat_text = NULL;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_chat_message_get_text(item_handle, &text_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_get_contents(text_handle, &chat_text);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(chat_text, "test_text"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(chat_text);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_text_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_get_text()
+ */
+int utc_noti_ex_item_chat_message_get_text_n(void)
+{
+ int ret;
+ noti_ex_item_h text_handle = NULL;
+
+ ret = noti_ex_item_chat_message_get_text(NULL, &text_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_image_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_get_image()
+ */
+int utc_noti_ex_item_chat_message_get_image_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h image_handle = NULL;
+ char *image_path = NULL;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_chat_message_get_image(item_handle, &image_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_image_get_image_path(image_handle, &image_path);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(image_path, "test_image_path"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(image_path);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_image_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_get_image()
+ */
+int utc_noti_ex_item_chat_message_get_image_n(void)
+{
+ int ret;
+ noti_ex_item_h image_handle = NULL;
+
+ ret = noti_ex_item_chat_message_get_image(NULL, &image_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_get_time()
+ */
+int utc_noti_ex_item_chat_message_get_time_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h chat_time_handle = NULL;
+ time_t time_info;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_chat_message_get_time(item_handle, &chat_time_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_time_get_time(chat_time_handle, &time_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(current_time, time_info);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_get_time()
+ */
+int utc_noti_ex_item_chat_message_get_time_n(void)
+{
+ int ret;
+ noti_ex_item_h time_handle = NULL;
+
+ ret = noti_ex_item_chat_message_get_time(NULL, &time_handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_message_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_chat_message_get_message_type()
+ */
+int utc_noti_ex_item_chat_message_get_message_type_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_chat_message_type_e type;
+
+ ret = noti_ex_item_chat_message_create(&item_handle, "chat_id", name,
+ text, image, time_handle, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_chat_message_get_message_type(item_handle, &type);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ assert_eq_with_exit(type, NOTI_EX_ITEM_CHAT_MESSAGE_TYPE_USER);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_chat_message_get_message_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_chat_message_get_message_type()
+ */
+int utc_noti_ex_item_chat_message_get_message_type_n(void)
+{
+ int ret;
+ noti_ex_item_chat_message_type_e type;
+
+ ret = noti_ex_item_chat_message_get_message_type(NULL, &type);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_checkbox_startup(void)
+{
+}
+
+void utc_notification_ex_checkbox_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_checkbox_create()
+ */
+int utc_noti_ex_item_checkbox_create_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+
+ ret = noti_ex_item_checkbox_create(&item_handle, "checkbox_id", "checkbox_title", false);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_checkbox_create()
+ */
+int utc_noti_ex_item_checkbox_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_checkbox_create(NULL, "checkbox_id", "checkbox_title", false);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_get_title_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_checkbox_get_title()
+ */
+int utc_noti_ex_item_checkbox_get_title_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ char *title = NULL;
+
+ ret = noti_ex_item_checkbox_create(&item_handle, "checkbox_id", "checkbox_title", false);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_checkbox_get_title(item_handle, &title);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(title, "checkbox_title"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(title);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_get_title_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_checkbox_get_title()
+ */
+int utc_noti_ex_item_checkbox_get_title_n(void)
+{
+ int ret;
+ char *title = NULL;
+
+ ret = noti_ex_item_checkbox_get_title(NULL, &title);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_is_checked_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_checkbox_is_checked()
+ */
+int utc_noti_ex_item_checkbox_is_checked_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ bool checked;
+
+ ret = noti_ex_item_checkbox_create(&item_handle, "checkbox_id", "checkbox_title", false);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_checkbox_is_checked(item_handle, &checked);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(checked, false);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_is_checked_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_checkbox_is_checked()
+ */
+int utc_noti_ex_item_checkbox_is_checked_n(void)
+{
+ int ret;
+ bool checked;
+
+ ret = noti_ex_item_checkbox_is_checked(NULL, &checked);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_entry_startup(void)
+{
+}
+
+void utc_notification_ex_entry_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_entry_create()
+ */
+int utc_noti_ex_item_entry_create_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+
+ ret = noti_ex_item_entry_create(&item_handle, "entry_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_entry_create()
+ */
+int utc_noti_ex_item_entry_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_entry_create(NULL, "entry_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_get_text_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_entry_get_text()
+ */
+int utc_noti_ex_item_entry_get_text_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ char *text = NULL;
+
+ ret = noti_ex_item_entry_create(&item_handle, "entry_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_entry_set_text(item_handle, "entry_text");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_entry_get_text(item_handle, &text);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(text, "entry_text"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(text);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_get_text_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_entry_get_text()
+ */
+int utc_noti_ex_item_entry_get_text_n(void)
+{
+ int ret;
+ char *text = NULL;
+
+ ret = noti_ex_item_entry_get_text(NULL, &text);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_set_text_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_entry_set_text()
+ */
+int utc_noti_ex_item_entry_set_text_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ char *text = NULL;
+
+ ret = noti_ex_item_entry_create(&item_handle, "entry_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_entry_set_text(item_handle, "entry_text");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_entry_get_text(item_handle, &text);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(text, "entry_text"), 0);
+
+ noti_ex_item_destroy(item_handle);
+ free(text);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_entry_set_text_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_entry_set_text()
+ */
+int utc_noti_ex_item_entry_set_text_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_entry_set_text(NULL, "entry_text");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+static noti_ex_reporter_h eventinfo_reporter_handle__ = NULL;
+static noti_ex_manager_h eventinfo_manager_handle__ = NULL;
+
+void utc_notification_ex_event_info_startup(void)
+{
+}
+
+void utc_notification_ex_event_info_cleanup(void)
+{
+}
+
+void _eventinfo_manager_events_error_cb(noti_ex_manager_h handle,
+ noti_ex_error_e error, int req_id, void *data) {
+}
+
+void _eventinfo_reporter_events_error_cb(noti_ex_reporter_h handle,
+ noti_ex_error_e error, int req_id, void *data) {
+}
+
+static void __send_noti() {
+ int req_id;
+
+ if (eventinfo_reporter_handle__ == NULL) {
+ noti_ex_reporter_events_s ev = {0};
+ ev.error = _eventinfo_reporter_events_error_cb;
+ noti_ex_reporter_create(&eventinfo_reporter_handle__, ev, NULL);
+ }
+ noti_ex_reporter_delete_all(eventinfo_reporter_handle__, &req_id);
+
+ noti_ex_item_h group_item = NULL;
+ noti_ex_item_h button_item1 = NULL;
+ noti_ex_item_h button_item2 = NULL;
+ noti_ex_item_group_create(&group_item, "testgroup");
+ noti_ex_item_button_create(&button_item1, "testbtn1", "test1");
+ noti_ex_item_group_add_child(group_item, button_item1);
+
+ noti_ex_item_button_create(&button_item2, "testbtn2", "test2");
+ noti_ex_item_group_add_child(group_item, button_item2);
+ noti_ex_item_set_channel(group_item, "test_channel");
+
+ noti_ex_reporter_post(eventinfo_reporter_handle__, group_item, &req_id);
+}
+
+void _eventinfo_gettest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int ret;
+ noti_ex_event_info_type_e event_type;
+ noti_ex_event_info_h event_info__ = NULL;
+ char *owner = NULL;
+ char *channel = NULL;
+ char *item_id = NULL;
+ int req_id;
+
+ ret = noti_ex_event_info_clone(info, &event_info__);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_event_info_get_event_type(info, &event_type);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit_no_returnval(event_type, NOTI_EX_EVENT_POST);
+
+ ret = noti_ex_event_info_get_owner(info, &owner);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_event_info_get_channel(info, &channel);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_event_info_get_item_id(info, &item_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_event_info_get_request_id(info, &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_event_info_destroy(event_info__);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_manager_delete_all(eventinfo_manager_handle__, &req_id);
+
+ if (owner)
+ free(owner);
+
+ if (item_id)
+ free(item_id);
+
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_clone_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_clone()
+ */
+int utc_noti_ex_event_info_clone_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_clone_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_clone()
+ */
+int utc_noti_ex_event_info_clone_n(void)
+{
+ int ret;
+ noti_ex_event_info_h cloned_info = NULL;
+
+ ret = noti_ex_event_info_clone(NULL, &cloned_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_destroy()
+ */
+int utc_noti_ex_event_info_destroy_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_destroy()
+ */
+int utc_noti_ex_event_info_destroy_n(void)
+{
+ int ret;
+
+ ret = noti_ex_event_info_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_event_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_get_event_type()
+ */
+int utc_noti_ex_event_info_get_event_type_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_event_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_get_event_type()
+ */
+int utc_noti_ex_event_info_get_event_type_n(void)
+{
+ int ret;
+ noti_ex_event_info_type_e event_type;
+
+ ret = noti_ex_event_info_get_event_type(NULL, &event_type);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_owner_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_get_owner()
+ */
+int utc_noti_ex_event_info_get_owner_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_owner_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_get_owner()
+ */
+int utc_noti_ex_event_info_get_owner_n(void)
+{
+ int ret;
+ char *owner = NULL;
+
+ ret = noti_ex_event_info_get_owner(NULL, &owner);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_channel_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_get_channel()
+ */
+int utc_noti_ex_event_info_get_channel_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_channel_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_get_channel()
+ */
+int utc_noti_ex_event_info_get_channel_n(void)
+{
+ int ret;
+ char *channel = NULL;
+
+ ret = noti_ex_event_info_get_channel(NULL, &channel);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_item_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_get_item_id()
+ */
+int utc_noti_ex_event_info_get_item_id_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_item_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_get_item_id()
+ */
+int utc_noti_ex_event_info_get_item_id_n(void)
+{
+ int ret;
+ char *item_id = NULL;
+
+ ret = noti_ex_event_info_get_item_id(NULL, &item_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_request_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_event_info_get_request_id()
+ */
+int utc_noti_ex_event_info_get_request_id_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _eventinfo_gettest_events_add_cb;
+ ev.error = _eventinfo_manager_events_error_cb;
+ ret = noti_ex_manager_create(&eventinfo_manager_handle__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_event_info_get_request_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_event_info_get_request_id()
+ */
+int utc_noti_ex_event_info_get_request_id_n(void)
+{
+ int ret;
+ int req_id;
+
+ ret = noti_ex_event_info_get_request_id(NULL, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_group_startup(void)
+{
+}
+
+void utc_notification_ex_group_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_create()
+ */
+int utc_noti_ex_item_group_create_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_itNONEem_group_create()
+ */
+int utc_noti_ex_item_group_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_group_create(NULL, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_set_direction_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_set_direction()
+ */
+int utc_noti_ex_item_group_set_direction_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ bool vertical;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_set_direction(item_handle, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_is_vertical(item_handle, &vertical);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(vertical, true);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_set_direction_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_set_direction()
+ */
+int utc_noti_ex_item_group_set_direction_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_group_set_direction(NULL, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_is_vertical_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_is_vertical()
+ */
+int utc_noti_ex_item_group_is_vertical_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ bool vertical;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_set_direction(item_handle, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_is_vertical(item_handle, &vertical);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(vertical, true);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_is_vertical_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_is_vertical()
+ */
+int utc_noti_ex_item_group_is_vertical_n(void)
+{
+ int ret;
+ bool vertical;
+
+ ret = noti_ex_item_group_is_vertical(NULL, &vertical);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_get_app_label_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_get_app_label()
+ */
+int utc_noti_ex_item_group_get_app_label_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ char *label = NULL;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_get_app_label(item_handle, &label);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_neq_with_exit(label, NULL);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_get_app_label_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_get_app_label()
+ */
+int utc_noti_ex_item_group_get_app_label_n(void)
+{
+ int ret;
+ char *label = NULL;
+
+ ret = noti_ex_item_group_get_app_label(NULL, &label);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_add_child_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_add_child()
+ */
+int utc_noti_ex_item_group_add_child_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h child_item = NULL;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_add_child(item_handle, child_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_add_child_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_add_child()
+ */
+int utc_noti_ex_item_group_add_child_n(void)
+{
+ int ret;
+ noti_ex_item_h child_item = NULL;
+
+ ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_add_child(NULL, child_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ noti_ex_item_destroy(child_item);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_remove_child_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_remove_child()
+ */
+int utc_noti_ex_item_group_remove_child_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h child_item = NULL;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_add_child(item_handle, child_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_remove_child(item_handle, "button_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_item_destroy(item_handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_remove_child_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_remove_child()
+ */
+int utc_noti_ex_item_group_remove_child_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_group_remove_child(NULL, "button_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+int _noti_ex_item_group_foreach_child_cb(noti_ex_item_h handle, void *user_data)
+{
+ int ret;
+ char *id = NULL;
+
+ ret = noti_ex_item_get_id(handle, &id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(id, "button_id"), 0);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_foreach_child_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_group_foreach_child()
+ */
+int utc_noti_ex_item_group_foreach_child_p(void)
+{
+ int ret;
+ noti_ex_item_h item_handle = NULL;
+ noti_ex_item_h child_item = NULL;
+
+ ret = noti_ex_item_group_create(&item_handle, "group_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_button_create(&child_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_add_child(item_handle, child_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_group_foreach_child(item_handle, _noti_ex_item_group_foreach_child_cb, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_group_foreach_child_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_group_foreach_child()
+ */
+int utc_noti_ex_item_group_foreach_child_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_group_foreach_child(NULL, _noti_ex_item_group_foreach_child_cb, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_image_startup(void)
+{
+}
+
+void utc_notification_ex_image_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_image_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_image_create()
+ */
+int utc_noti_ex_item_image_create_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_image_create(&handle, "image_id", "image_path");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_image_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_image_create()
+ */
+int utc_noti_ex_item_image_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_image_create(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_image_get_image_path_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_image_get_image_path()
+ */
+int utc_noti_ex_item_image_get_image_path_p(void)
+{
+ int ret;
+ char *image_path = NULL;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_image_create(&handle, "image_id", "image_path");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_image_get_image_path(handle, &image_path);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_neq_with_exit(image_path, NULL);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_image_get_image_path_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_image_get_image_path()
+ */
+int utc_noti_ex_item_image_get_image_path_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_image_get_image_path(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_input_selector_startup(void)
+{
+}
+
+void utc_notification_ex_input_selector_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_input_selector_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_input_selector_create()
+ */
+int utc_noti_ex_item_input_selector_create_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_input_selector_create(&handle, "input_selector_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_input_selector_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_input_selector_create()
+ */
+int utc_noti_ex_item_input_selector_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_input_selector_create(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc _noti_ex_item_input_selector_set_contents_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_input_selector_set_contents()
+ */
+int utc_noti_ex_item_input_selector_set_contents_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ const char *contents[] = {"contest_1", "content_2"};
+
+ ret = noti_ex_item_input_selector_create(&handle, "input_selector_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_input_selector_set_contents(handle, contents, 2);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_input_selector_set_contents_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_input_selector_set_contents()
+ */
+int utc_noti_ex_item_input_selector_set_contents_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_input_selector_set_contents(NULL, NULL, 0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_input_selector_get_contents_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_input_selector_get_contents()
+ */
+int utc_noti_ex_item_input_selector_get_contents_p(void)
+{
+ int ret;
+ int count = 0;
+ noti_ex_item_h handle;
+ const char *contents[] = {"content_1", "content_2"};
+ char **contents_ = NULL;
+
+ ret = noti_ex_item_input_selector_create(&handle, "input_selector_id");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_input_selector_set_contents(handle, contents, 2);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_input_selector_get_contents(handle, &contents_, &count);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(count, 2);
+ assert_neq_with_exit(contents_, NULL);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_input_selector_get_contents_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_input_selector_get_contents()
+ */
+int utc_noti_ex_item_input_selector_get_contents_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_input_selector_get_contents(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_item_startup(void)
+{
+}
+
+void utc_notification_ex_item_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_color_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_create()
+ */
+int utc_noti_ex_color_create_p(void)
+{
+ int ret;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_create()
+ */
+int utc_noti_ex_color_create_n(void)
+{
+ int ret;
+ ret = noti_ex_color_create(NULL, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_destroy()
+ */
+int utc_noti_ex_color_destroy_p(void)
+{
+ int ret;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_color_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_destroy()
+ */
+int utc_noti_ex_color_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_color_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_alpha_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_get_alpha()
+ */
+int utc_noti_ex_color_get_alpha_p(void)
+{
+ int ret;
+ unsigned char val;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_color_get_alpha(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(val, 1);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_alpha_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_get_alpha()
+ */
+int utc_noti_ex_color_get_alpha_n(void)
+{
+ int ret;
+ ret = noti_ex_color_get_alpha(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_red_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_get_red()
+ */
+int utc_noti_ex_color_get_red_p(void)
+{
+ int ret;
+ unsigned char val;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_color_get_red(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(val, 2);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_red_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_get_red()
+ */
+int utc_noti_ex_color_get_red_n(void)
+{
+ int ret;
+ ret = noti_ex_color_get_red(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_green_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_get_green()
+ */
+int utc_noti_ex_color_get_green_p(void)
+{
+ int ret;
+ unsigned char val;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_color_get_green(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(val, 3);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_green_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_get_green()
+ */
+int utc_noti_ex_color_get_green_n(void)
+{
+ int ret;
+ ret = noti_ex_color_get_green(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_blue_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_color_get_blue()
+ */
+int utc_noti_ex_color_get_blue_p(void)
+{
+ int ret;
+ unsigned char val;
+ noti_ex_color_h handle;
+ ret = noti_ex_color_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_color_get_blue(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(val, 4);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_color_get_blue_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_color_get_blue()
+ */
+int utc_noti_ex_color_get_blue_n(void)
+{
+ int ret;
+ ret = noti_ex_color_get_blue(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_create()
+ */
+int utc_noti_ex_padding_create_p(void)
+{
+ int ret;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_color_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_create()
+ */
+int utc_noti_ex_padding_create_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_create(NULL, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_destroy()
+ */
+int utc_noti_ex_padding_destroy_p(void)
+{
+ int ret;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_padding_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_destroy()
+ */
+int utc_noti_ex_padding_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_left_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_get_left()
+ */
+int utc_noti_ex_padding_get_left_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_padding_get_left(handle, &val);
+ assert_eq_with_exit(val, 1);
+ noti_ex_padding_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_left_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_get_left()
+ */
+int utc_noti_ex_padding_get_left_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_get_left(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_top_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_get_top()
+ */
+int utc_noti_ex_padding_get_top_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_padding_get_top(handle, &val);
+ assert_eq_with_exit(val, 2);
+ noti_ex_padding_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_top_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_get_top()
+ */
+int utc_noti_ex_padding_get_top_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_get_top(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_right_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_get_right()
+ */
+int utc_noti_ex_padding_get_right_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_padding_get_right(handle, &val);
+ assert_eq_with_exit(val, 3);
+ noti_ex_padding_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_right_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_get_right()
+ */
+int utc_noti_ex_padding_get_right_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_get_right(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_bottom_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_padding_get_bottom()
+ */
+int utc_noti_ex_padding_get_bottom_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_padding_h handle;
+ ret = noti_ex_padding_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_padding_get_bottom(handle, &val);
+ assert_eq_with_exit(val, 4);
+ noti_ex_padding_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_padding_get_bottom_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_padding_get_bottom()
+ */
+int utc_noti_ex_padding_get_bottom_n(void)
+{
+ int ret;
+ ret = noti_ex_padding_get_bottom(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_create()
+ */
+int utc_noti_ex_geometry_create_p(void)
+{
+ int ret;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_geometry_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_create()
+ */
+int utc_noti_ex_geometry_create_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_create(NULL, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_destroy()
+ */
+int utc_noti_ex_geometry_destroy_p(void)
+{
+ int ret;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_geometry_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_destroy()
+ */
+int utc_noti_ex_geometry_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_x_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_get_x()
+ */
+int utc_noti_ex_geometry_get_x_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_geometry_get_x(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(1, val);
+ noti_ex_geometry_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_x_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_get_x()
+ */
+int utc_noti_ex_geometry_get_x_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_get_x(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_y_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_get_y()
+ */
+int utc_noti_ex_geometry_get_y_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_geometry_get_y(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(2, val);
+ noti_ex_geometry_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_y_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_get_y()
+ */
+int utc_noti_ex_geometry_get_y_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_get_y(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_width_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_get_width()
+ */
+int utc_noti_ex_geometry_get_width_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_geometry_get_width(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(3, val);
+ noti_ex_geometry_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_width_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_get_width()
+ */
+int utc_noti_ex_geometry_get_width_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_get_width(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_height_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_geometry_get_height()
+ */
+int utc_noti_ex_geometry_get_height_p(void)
+{
+ int ret;
+ int val;
+ noti_ex_geometry_h handle;
+ ret = noti_ex_geometry_create(&handle, 1, 2, 3, 4);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_geometry_get_height(handle, &val);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(4, val);
+ noti_ex_geometry_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_geometry_get_height_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_geometry_get_height()
+ */
+int utc_noti_ex_geometry_get_height_n(void)
+{
+ int ret;
+ ret = noti_ex_geometry_get_height(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_create()
+ */
+int utc_noti_ex_style_create_p(void)
+{
+ int ret;
+ noti_ex_style_h handle;
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&handle, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_style_destroy(handle);
+ noti_ex_color_destroy(color);
+ noti_ex_padding_destroy(padding);
+ noti_ex_geometry_destroy(geometry);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_create()
+ */
+int utc_noti_ex_style_create_n(void)
+{
+ int ret;
+ ret = noti_ex_style_create(NULL, NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_destroy()
+ */
+int utc_noti_ex_style_destroy_p(void)
+{
+ int ret;
+ noti_ex_style_h handle;
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&handle, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_style_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_color_destroy(color);
+ noti_ex_padding_destroy(padding);
+ noti_ex_geometry_destroy(geometry);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_destroy()
+ */
+int utc_noti_ex_style_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_style_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_padding_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_get_padding()
+ */
+int utc_noti_ex_style_get_padding_p(void)
+{
+ int ret;
+ int left, top, right, bottom;
+ int style_left, style_top, style_right, style_bottom;
+ noti_ex_style_h handle;
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+ noti_ex_padding_h style_padding;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&handle, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_style_get_padding(handle, &style_padding);
+
+ noti_ex_padding_get_left(padding, &left);
+ noti_ex_padding_get_left(style_padding, &style_left);
+ assert_eq_with_exit(left, style_left);
+
+ noti_ex_padding_get_top(padding, &top);
+ noti_ex_padding_get_top(style_padding, &style_top);
+ assert_eq_with_exit(top, style_top);
+
+ noti_ex_padding_get_right(padding, &right);
+ noti_ex_padding_get_right(style_padding, &style_right);
+ assert_eq_with_exit(right, style_right);
+
+ noti_ex_padding_get_bottom(padding, &bottom);
+ noti_ex_padding_get_bottom(style_padding, &style_bottom);
+ assert_eq_with_exit(bottom, style_bottom);
+
+ noti_ex_style_destroy(handle);
+ noti_ex_color_destroy(color);
+ noti_ex_padding_destroy(padding);
+ noti_ex_geometry_destroy(geometry);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_padding_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_get_padding()
+ */
+int utc_noti_ex_style_get_padding_n(void)
+{
+ int ret;
+ ret = noti_ex_style_get_padding(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_color_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_get_color()
+ */
+int utc_noti_ex_style_get_color_p(void)
+{
+ int ret;
+ unsigned char a, r, g, b;
+ unsigned char style_a, style_r, style_g, style_b;
+ noti_ex_style_h handle;
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+ noti_ex_color_h style_color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&handle, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_style_get_color(handle, &style_color);
+
+ noti_ex_color_get_alpha(color, &a);
+ noti_ex_color_get_alpha(style_color, &style_a);
+ assert_eq_with_exit(a, style_a);
+
+ noti_ex_color_get_red(color, &r);
+ noti_ex_color_get_red(style_color, &style_r);
+ assert_eq_with_exit(r, style_r);
+
+ noti_ex_color_get_green(color, &g);
+ noti_ex_color_get_green(style_color, &style_g);
+ assert_eq_with_exit(g, style_g);
+
+ noti_ex_color_get_blue(color, &b);
+ noti_ex_color_get_blue(style_color, &style_b);
+ assert_eq_with_exit(b, style_b);
+
+ noti_ex_style_destroy(handle);
+ noti_ex_color_destroy(color);
+ noti_ex_padding_destroy(padding);
+ noti_ex_geometry_destroy(geometry);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_color_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_get_color()
+ */
+int utc_noti_ex_style_get_color_n(void)
+{
+ int ret;
+ ret = noti_ex_style_get_color(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_geometry_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_get_geometry()
+ */
+int utc_noti_ex_style_get_geometry_p(void)
+{
+ int ret;
+ int h, w, x, y;
+ int style_h, style_w, style_x, style_y;
+ noti_ex_style_h handle;
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+ noti_ex_geometry_h style_geometry;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&handle, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_style_get_geometry(handle, &style_geometry);
+
+ noti_ex_geometry_get_height(geometry, &h);
+ noti_ex_geometry_get_height(style_geometry, &style_h);
+ assert_eq_with_exit(h, style_h);
+
+ noti_ex_geometry_get_width(geometry, &w);
+ noti_ex_geometry_get_width(style_geometry, &style_w);
+ assert_eq_with_exit(w, style_w);
+
+ noti_ex_geometry_get_x(geometry, &x);
+ noti_ex_geometry_get_x(style_geometry, &style_x);
+ assert_eq_with_exit(x, style_x);
+
+ noti_ex_geometry_get_y(geometry, &y);
+ noti_ex_geometry_get_y(style_geometry, &style_y);
+ assert_eq_with_exit(y, style_y);
+
+ noti_ex_style_destroy(handle);
+ noti_ex_color_destroy(color);
+ noti_ex_padding_destroy(padding);
+ noti_ex_geometry_destroy(geometry);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_geometry_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_get_geometry()
+ */
+int utc_noti_ex_style_get_geometry_n(void)
+{
+ int ret;
+ ret = noti_ex_style_get_geometry(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_create()
+ */
+int utc_noti_ex_led_info_create_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_create()
+ */
+int utc_noti_ex_led_info_create_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_create(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_destroy()
+ */
+int utc_noti_ex_led_info_destroy_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_destroy()
+ */
+int utc_noti_ex_led_info_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_set_on_period_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_set_on_period()
+ */
+int utc_noti_ex_led_info_set_on_period_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_set_on_period(handle, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_set_on_period_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_set_on_period()
+ */
+int utc_noti_ex_led_info_set_on_period_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_set_on_period(NULL, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_on_period_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_get_on_period()
+ */
+int utc_noti_ex_led_info_get_on_period_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+ int ms;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_set_on_period(handle, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_get_on_period(handle, &ms);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(ms, 5);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_on_period_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_get_on_period()
+ */
+int utc_noti_ex_led_info_get_on_period_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_get_on_period(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+
+/**
+ * @testcase utc_noti_ex_led_info_set_off_period_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_set_off_period()
+ */
+int utc_noti_ex_led_info_set_off_period_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_set_off_period(handle, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_set_off_period_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_set_off_period()
+ */
+int utc_noti_ex_led_info_set_off_period_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_set_off_period(NULL, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_off_period_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_get_off_period()
+ */
+int utc_noti_ex_led_info_get_off_period_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+ int ms;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_set_off_period(handle, 5);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_get_off_period(handle, &ms);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(ms, 5);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_off_period_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_get_off_period()
+ */
+int utc_noti_ex_led_info_get_off_period_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_get_off_period(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_color_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_led_info_get_color()
+ */
+int utc_noti_ex_led_info_get_color_p(void)
+{
+ int ret;
+ noti_ex_led_info_h handle;
+ noti_ex_color_h color;
+ noti_ex_color_h ret_color;
+ unsigned char a, r, g, b;
+ unsigned char ret_a, ret_r, ret_g, ret_b;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&handle, color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_led_info_get_color(handle, &ret_color);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_color_get_alpha(color, &a);
+ noti_ex_color_get_alpha(ret_color, &ret_a);
+ assert_eq_with_exit(a, ret_a);
+
+ noti_ex_color_get_red(color, &r);
+ noti_ex_color_get_red(ret_color, &ret_r);
+ assert_eq_with_exit(r, ret_r);
+
+ noti_ex_color_get_green(color, &g);
+ noti_ex_color_get_green(ret_color, &ret_g);
+ assert_eq_with_exit(g, ret_g);
+
+ noti_ex_color_get_blue(color, &b);
+ noti_ex_color_get_blue(ret_color, &ret_b);
+ assert_eq_with_exit(b, ret_b);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_led_info_get_color_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_led_info_get_color()
+ */
+int utc_noti_ex_led_info_get_color_n(void)
+{
+ int ret;
+ ret = noti_ex_led_info_get_color(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_destroy()
+ */
+int utc_noti_ex_action_destroy_p(void)
+{
+ int ret;
+ noti_ex_action_h handle;
+
+ noti_ex_action_visibility_create(&handle, NULL);
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_destroy()
+ */
+int utc_noti_ex_action_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_action_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_get_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_get_type()
+ */
+int utc_noti_ex_action_get_type_p(void)
+{
+ int ret;
+ int type;
+ noti_ex_action_h handle;
+
+ noti_ex_action_visibility_create(&handle, NULL);
+ ret = noti_ex_action_get_type(handle, &type);
+ assert_eq_with_exit(type, NOTI_EX_ACTION_TYPE_VISIBILITY);
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_get_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_get_type()
+ */
+int utc_noti_ex_action_get_type_n(void)
+{
+ int ret;
+ ret = noti_ex_action_get_type(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_is_local_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_is_local()
+ */
+int utc_noti_ex_action_is_local_p(void)
+{
+ int ret;
+ noti_ex_action_h handle;
+ bool is_local;
+
+ noti_ex_action_visibility_create(&handle, NULL);
+ ret = noti_ex_action_is_local(handle, &is_local);
+ assert_eq_with_exit(is_local, true);
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_is_local_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_is_local()
+ */
+int utc_noti_ex_action_is_local_n(void)
+{
+ int ret;
+ ret = noti_ex_action_is_local(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_execute_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_execute()
+ */
+int utc_noti_ex_action_execute_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_action_h action = NULL;
+
+ ret = noti_ex_action_visibility_create(&action, NULL);
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_action(button_item, action);
+
+ ret = noti_ex_action_execute(action, button_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_execute_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_execute()
+ */
+int utc_noti_ex_action_execute_n(void)
+{
+ int ret;
+ ret = noti_ex_action_execute(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_get_extra_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_get_extra()
+ */
+int utc_noti_ex_action_get_extra_p(void)
+{
+ int ret;
+ noti_ex_action_h handle;
+ char *extra;
+
+ noti_ex_action_visibility_create(&handle, "test");
+ ret = noti_ex_action_get_extra(handle, &extra);
+ assert_eq_with_exit(strcmp(extra, "test"), 0);
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_get_extra_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_get_extra()
+ */
+int utc_noti_ex_action_get_extra_n(void)
+{
+ int ret;
+ ret = noti_ex_action_get_extra(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_hide_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_info_get_hide_time()
+ */
+int utc_noti_ex_item_info_get_hide_time_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+ int hide_time;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_info_set_hide_time(item_info, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_info_get_hide_time(item_info, &hide_time);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(hide_time, 10);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_hide_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_info_get_hide_time()
+ */
+int utc_noti_ex_item_info_get_hide_time_n(void)
+{
+ int ret;
+ ret = noti_ex_item_info_get_hide_time(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_set_hide_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_info_set_hide_time()
+ */
+int utc_noti_ex_item_info_set_hide_time_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ ret = noti_ex_item_info_set_hide_time(item_info, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_set_hide_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_info_set_hide_time()
+ */
+int utc_noti_ex_item_info_set_hide_time_n(void)
+{
+ int ret;
+ ret = noti_ex_item_info_set_hide_time(NULL, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_delete_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_info_get_delete_time()
+ */
+int utc_noti_ex_item_info_get_delete_time_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+ int delete_time;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ ret = noti_ex_item_info_set_delete_time(item_info, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_info_get_delete_time(item_info, &delete_time);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(delete_time, 10);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_delete_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_info_get_delete_time()
+ */
+int utc_noti_ex_item_info_get_delete_time_n(void)
+{
+ int ret;
+ ret = noti_ex_item_info_get_delete_time(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_set_delete_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_info_set_delete_time()
+ */
+int utc_noti_ex_item_info_set_delete_time_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ ret = noti_ex_item_info_set_delete_time(item_info, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_set_delete_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_info_set_delete_time()
+ */
+int utc_noti_ex_item_info_set_delete_time_n(void)
+{
+ int ret;
+ ret = noti_ex_item_info_set_delete_time(NULL, 10);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_info_get_time()
+ */
+int utc_noti_ex_item_info_get_time_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+ time_t t;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ ret = noti_ex_item_info_get_time(item_info, &t);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_info_get_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_info_get_time()
+ */
+int utc_noti_ex_item_info_get_time_n(void)
+{
+ int ret;
+ ret = noti_ex_item_info_get_time(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+
+/**
+ * @testcase utc_noti_ex_item_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_destroy()
+ */
+int utc_noti_ex_item_destroy_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_destroy(button_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_destroy_p_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_destroy()
+ */
+int utc_noti_ex_item_destroy_p_n(void)
+{
+ int ret;
+ ret = noti_ex_item_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_find_by_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_find_by_id()
+ */
+int utc_noti_ex_item_find_by_id_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_h find_item = NULL;
+ noti_ex_item_h group_item = NULL;
+ char *find_id;
+ char *id;
+
+ noti_ex_item_group_create(&group_item, "group_id");
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_group_add_child(group_item, button_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_find_by_id(group_item, "button_id", &find_item);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_item_get_id(find_item, &find_id);
+ noti_ex_item_get_id(button_item, &id);
+ assert_eq_with_exit(strcmp(id, find_id), 0);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_find_by_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_find_by_id()
+ */
+int utc_noti_ex_item_find_by_id_n(void)
+{
+ int ret;
+ ret = noti_ex_item_find_by_id(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_type()
+ */
+int utc_noti_ex_item_get_type_p(void)
+{
+ int ret;
+ int type;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_get_type(button_item, &type);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(type, NOTI_EX_ITEM_TYPE_BUTTON);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_type()
+ */
+int utc_noti_ex_item_get_type_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_type(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_shared_paths_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_shared_paths()
+ */
+int utc_noti_ex_item_get_shared_paths_p(void)
+{
+ int ret;
+ char **path;
+ int count;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_get_shared_paths(button_item, &path, &count);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_shared_paths_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_shared_paths()
+ */
+int utc_noti_ex_item_get_shared_paths_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_shared_paths(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_id()
+ */
+int utc_noti_ex_item_get_id_p(void)
+{
+ int ret;
+ char *id;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_get_id(button_item, &id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_id()
+ */
+int utc_noti_ex_item_get_id_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_id(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_id()
+ */
+int utc_noti_ex_item_set_id_p(void)
+{
+ int ret;
+ char *id;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_id(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_id(button_item, &id);
+ assert_eq_with_exit(strcmp(id, "test"), 0);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_id()
+ */
+int utc_noti_ex_item_set_id_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_id(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_action_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_action()
+ */
+int utc_noti_ex_item_get_action_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_action_h action = NULL;
+ noti_ex_action_h ret_action = NULL;
+
+ noti_ex_action_visibility_create(&action, NULL);
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_action(button_item, action);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_action(button_item, &ret_action);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_action_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_action()
+ */
+int utc_noti_ex_item_get_action_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_action(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_action_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_action()
+ */
+int utc_noti_ex_item_set_action_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_action_h action = NULL;
+
+ noti_ex_action_visibility_create(&action, NULL);
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_action(button_item, action);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_action_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_action()
+ */
+int utc_noti_ex_item_set_action_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_action(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_style_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_style()
+ */
+int utc_noti_ex_item_get_style_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_style_h style = NULL;
+ noti_ex_style_h ret_style = NULL;
+
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_padding_h ret_padding;
+ noti_ex_geometry_h geometry;
+ int left, top, right, bottom;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&style, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+
+ ret = noti_ex_item_set_style(button_item, style);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_style(button_item, &ret_style);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_style_get_padding(ret_style, &ret_padding);
+
+ noti_ex_padding_get_left(ret_padding, &left);
+ assert_eq_with_exit(left, 1);
+
+ noti_ex_padding_get_top(ret_padding, &top);
+ assert_eq_with_exit(top, 2);
+
+ noti_ex_padding_get_right(ret_padding, &right);
+ assert_eq_with_exit(right, 3);
+
+ noti_ex_padding_get_bottom(ret_padding, &bottom);
+ assert_eq_with_exit(bottom, 4);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_style_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_style()
+ */
+int utc_noti_ex_item_get_style_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_style(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_style_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_style()
+ */
+int utc_noti_ex_item_set_style_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_style_h style = NULL;
+
+ noti_ex_color_h color;
+ noti_ex_padding_h padding;
+ noti_ex_geometry_h geometry;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ noti_ex_padding_create(&padding, 1, 2, 3, 4);
+ noti_ex_geometry_create(&geometry, 1, 2, 3, 4);
+ ret = noti_ex_style_create(&style, color, padding, geometry);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+
+ ret = noti_ex_item_set_style(button_item, style);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_style_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_style()
+ */
+int utc_noti_ex_item_set_style_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_style(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_visible_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_visible()
+ */
+int utc_noti_ex_item_set_visible_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_visible(button_item, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_visible_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_visible()
+ */
+int utc_noti_ex_item_set_visible_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_visible(NULL, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_visible_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_visible()
+ */
+int utc_noti_ex_item_get_visible_p(void)
+{
+ int ret;
+ bool visible;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_visible(button_item, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_visible(button_item, &visible);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(true, visible);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_visible_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_visible()
+ */
+int utc_noti_ex_item_get_visible_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_visible(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_enable_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_enable()
+ */
+int utc_noti_ex_item_set_enable_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_enable(button_item, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_enable_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_enable()
+ */
+int utc_noti_ex_item_set_enable_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_enable(NULL, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_enable_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_enable()
+ */
+int utc_noti_ex_item_get_enable_p(void)
+{
+ int ret;
+ bool enable;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_enable(button_item, true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_enable(button_item, &enable);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(true, enable);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_enable_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_enable()
+ */
+int utc_noti_ex_item_get_enable_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_enable(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_add_receiver_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_add_receiver()
+ */
+int utc_noti_ex_item_add_receiver_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_add_receiver(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_add_receiver_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_add_receiver()
+ */
+int utc_noti_ex_item_add_receiver_n(void)
+{
+ int ret;
+ ret = noti_ex_item_add_receiver(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_receiver_list_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_receiver_list()
+ */
+int utc_noti_ex_item_get_receiver_list_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ char **list = NULL;
+ int count;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_add_receiver(button_item, "test1");
+ ret = noti_ex_item_add_receiver(button_item, "test2");
+ noti_ex_item_get_receiver_list(button_item, &list, &count);
+ assert_eq_with_exit(2, count);
+
+ ret = noti_ex_item_remove_receiver(button_item, "test1");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_item_get_receiver_list(button_item, &list, &count);
+ assert_eq_with_exit(1, count);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_receiver_list_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_receiver_list()
+ */
+int utc_noti_ex_item_get_receiver_list_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_receiver_list(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_remove_receiver_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_remove_receiver()
+ */
+int utc_noti_ex_item_remove_receiver_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ char **list = NULL;
+ int count;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_add_receiver(button_item, "test1");
+ ret = noti_ex_item_add_receiver(button_item, "test2");
+ noti_ex_item_get_receiver_list(button_item, &list, &count);
+ assert_eq_with_exit(2, count);
+
+ ret = noti_ex_item_remove_receiver(button_item, "test1");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_item_get_receiver_list(button_item, &list, &count);
+ assert_eq_with_exit(1, count);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_remove_receiver_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_remove_receiver()
+ */
+int utc_noti_ex_item_remove_receiver_n(void)
+{
+ int ret;
+ ret = noti_ex_item_remove_receiver(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_policy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_policy()
+ */
+int utc_noti_ex_item_set_policy_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_policy(button_item, NOTI_EX_ITEM_POLICY_SIM_MODE);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_policy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_policy()
+ */
+int utc_noti_ex_item_set_policy_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_policy(NULL, NOTI_EX_ITEM_POLICY_SIM_MODE);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_policy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_policy()
+ */
+int utc_noti_ex_item_get_policy_p(void)
+{
+ int ret;
+ int policy;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_policy(button_item, NOTI_EX_ITEM_POLICY_SIM_MODE);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_policy(button_item, &policy);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(NOTI_EX_ITEM_POLICY_SIM_MODE, policy);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_policy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_policy()
+ */
+int utc_noti_ex_item_get_policy_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_policy(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_channel_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_channel()
+ */
+int utc_noti_ex_item_set_channel_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_channel(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_channel_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_channel()
+ */
+int utc_noti_ex_item_set_channel_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_channel(NULL, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_channel_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_channel()
+ */
+int utc_noti_ex_item_get_channel_p(void)
+{
+ int ret;
+ char *channel;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_channel(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_channel(button_item, &channel);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(channel, "test"), 0);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_channel_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_channel()
+ */
+int utc_noti_ex_item_get_channel_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_channel(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_led_info_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_led_info()
+ */
+int utc_noti_ex_item_set_led_info_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_led_info_h led_info;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&led_info, color);
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_led_info(button_item, led_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_led_info_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_led_info()
+ */
+int utc_noti_ex_item_set_led_info_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_led_info(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_led_info_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_led_info()
+ */
+int utc_noti_ex_item_get_led_info_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_led_info_h led_info;
+ noti_ex_led_info_h ret_led_info;
+ noti_ex_color_h color;
+
+ noti_ex_color_create(&color, 1, 2, 3, 4);
+ ret = noti_ex_led_info_create(&led_info, color);
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_led_info(button_item, led_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_led_info(button_item, &ret_led_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_led_info_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_led_info()
+ */
+int utc_noti_ex_item_get_led_info_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_led_info(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+
+/**
+ * @testcase utc_noti_ex_item_set_sound_path_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_sound_path()
+ */
+int utc_noti_ex_item_set_sound_path_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_sound_path(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_sound_path_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_sound_path()
+ */
+int utc_noti_ex_item_set_sound_path_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_sound_path(NULL, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_sound_path_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_sound_path()
+ */
+int utc_noti_ex_item_get_sound_path_p(void)
+{
+ int ret;
+ char *sound_path;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_sound_path(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_sound_path(button_item, &sound_path);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(sound_path, "test"), 0);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_sound_path_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_sound_path()
+ */
+int utc_noti_ex_item_get_sound_path_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_sound_path(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_vibration_path_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_vibration_path()
+ */
+int utc_noti_ex_item_set_vibration_path_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_vibration_path(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_vibration_path_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_vibration_path()
+ */
+int utc_noti_ex_item_set_vibration_path_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_vibration_path(NULL, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_vibration_path_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_vibration_path()
+ */
+int utc_noti_ex_item_get_vibration_path_p(void)
+{
+ int ret;
+ char *vibration_path;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_vibration_path(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_vibration_path(button_item, &vibration_path);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(vibration_path, "test"), 0);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_vibration_path_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_vibration_path()
+ */
+int utc_noti_ex_item_get_vibration_path_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_vibration_path(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_info_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_info()
+ */
+int utc_noti_ex_item_get_info_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+ noti_ex_item_info_h item_info = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_get_info(button_item, &item_info);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_info_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_info()
+ */
+int utc_noti_ex_item_get_info_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_info(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_sender_app_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_sender_app_id()
+ */
+int utc_noti_ex_item_get_sender_app_id_p(void)
+{
+ int ret;
+ char *sender_app_id;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_get_sender_app_id(button_item, &sender_app_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_sender_app_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_sender_app_id()
+ */
+int utc_noti_ex_item_get_sender_app_id_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_sender_app_id(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_tag_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_tag()
+ */
+int utc_noti_ex_item_set_tag_p(void)
+{
+ int ret;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_tag(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_tag_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_tag()
+ */
+int utc_noti_ex_item_set_tag_n(void)
+{
+ int ret;
+ ret = noti_ex_item_set_tag(NULL, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_tag_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_tag()
+ */
+int utc_noti_ex_item_get_tag_p(void)
+{
+ int ret;
+ char *tag;
+ noti_ex_item_h button_item = NULL;
+
+ noti_ex_item_button_create(&button_item, "button_id", "button_title");
+ ret = noti_ex_item_set_tag(button_item, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_get_tag(button_item, &tag);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(strcmp(tag, "test"), 0);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_tag_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_tag()
+ */
+int utc_noti_ex_item_get_tag_n(void)
+{
+ int ret;
+ ret = noti_ex_item_get_tag(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+#define GROUP_NOTI_ID "test_group"
+
+noti_ex_reporter_h reporter__ = NULL;
+noti_ex_manager_h manager__ = NULL;
+void utc_notification_ex_manager_startup(void)
+{
+}
+
+void utc_notification_ex_manager_cleanup(void)
+{
+
+}
+
+void _manager_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+}
+
+void _manager_events_update_cb(noti_ex_manager_h handle,
+ noti_ex_event_info_h info, noti_ex_item_h updated_item, void *data) {
+}
+
+void _manager_events_delete_cb(noti_ex_manager_h handle,
+ noti_ex_event_info_h info, noti_ex_item_h deleted_item, void *data) {
+}
+
+void _manager_events_error_cb(noti_ex_manager_h handle,
+ noti_ex_error_e error, int req_id, void *data) {
+}
+
+/**
+ * @testcase utc_noti_ex_manager_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_create()
+ */
+int utc_noti_ex_manager_create_p(void)
+{
+ int ret;
+ noti_ex_manager_h handle;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _manager_events_add_cb;
+ ev.updated = _manager_events_update_cb;
+ ev.deleted = _manager_events_delete_cb;
+ ev.error = _manager_events_error_cb;
+
+ ret = noti_ex_manager_create(&handle, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_destroy(handle);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_create()
+ */
+int utc_noti_ex_manager_create_n(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ret = noti_ex_manager_create(NULL, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_destroy()
+ */
+int utc_noti_ex_manager_destroy_p(void)
+{
+ int ret;
+ noti_ex_manager_h handle;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _manager_events_add_cb;
+ ev.updated = _manager_events_update_cb;
+ ev.deleted = _manager_events_delete_cb;
+ ev.error = _manager_events_error_cb;
+
+ ret = noti_ex_manager_create(&handle, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_manager_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_destroy()
+ */
+int utc_noti_ex_manager_destroy_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _m_reporter_events_error_cb(noti_ex_reporter_h handle,
+ noti_ex_error_e error, int req_id, void *data) {
+}
+
+static void __send_noti() {
+ if (reporter__ == NULL) {
+ noti_ex_reporter_events_s ev = {0};
+ ev.error = _m_reporter_events_error_cb;
+ noti_ex_reporter_create(&reporter__, ev, NULL);
+ }
+ int req_id;
+ noti_ex_reporter_delete_all(reporter__, &req_id);
+
+ noti_ex_item_h group_item = NULL;
+ noti_ex_item_h child_item = NULL;
+ int ret = noti_ex_item_group_create(&group_item, GROUP_NOTI_ID);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_item_button_create(&child_item, "testbtn1", "test1");
+ ret = noti_ex_item_group_add_child(group_item, child_item);
+
+ ret = noti_ex_item_button_create(&child_item, "testbtn2", "test2");
+ ret = noti_ex_item_group_add_child(group_item, child_item);;
+
+ noti_ex_reporter_post(reporter__, group_item, &req_id);
+}
+
+void _gettest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ noti_ex_item_h *items;
+ int items_count;
+ int req_id;
+ noti_ex_manager_get(handle, &items, &items_count);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ assert_eq_with_exit_no_returnval(items_count, 1);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_get_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_get()
+ */
+int utc_noti_ex_manager_get_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _gettest_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_get_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_get()
+ */
+int utc_noti_ex_manager_get_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_get(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _updatetest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_manager_update(manager__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ assert_eq_with_exit_no_returnval(cnt, 1);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_update_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_update()
+ */
+int utc_noti_ex_manager_update_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _updatetest_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_update_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_update()
+ */
+int utc_noti_ex_manager_update_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_update(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _deletetest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_manager_delete(manager__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ assert_eq_with_exit_no_returnval(cnt, 1);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_delete_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_delete()
+ */
+int utc_noti_ex_manager_delete_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _deletetest_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_delete_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_delete()
+ */
+int utc_noti_ex_manager_delete_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_delete(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _deletealltest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_manager_delete_all(manager__, &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ int get_cnt;
+ ret = noti_ex_manager_get_notification_count(manager__,
+ &get_cnt);
+ assert_eq_with_exit_no_returnval(get_cnt, 0);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_delete_all_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_delete_all()
+ */
+int utc_noti_ex_manager_delete_all_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _deletealltest_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_delete_all_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_delete_all()
+ */
+int utc_noti_ex_manager_delete_all_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_delete_all(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _hidetest_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_manager_hide(manager__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ assert_eq_with_exit_no_returnval(cnt, 1);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_hide_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_hide()
+ */
+int utc_noti_ex_manager_hide_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _hidetest_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_delete_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_hide()
+ */
+int utc_noti_ex_manager_hide_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_hide(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _m_findbyrootid_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ noti_ex_item_h find_item;
+ int req_id;
+ int ret = noti_ex_manager_find_by_root_id(
+ manager__, GROUP_NOTI_ID, &find_item);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_find_by_root_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_find_by_root_id()
+ */
+int utc_noti_ex_manager_find_by_root_id_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _m_findbyrootid_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_find_by_root_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_find_by_root_id()
+ */
+int utc_noti_ex_manager_find_by_root_id_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_find_by_root_id(NULL, NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _m_senderror_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int ret = noti_ex_manager_send_error(manager__, info,
+ NOTI_EX_ERROR_INVALID_PARAMETER);
+ int req_id;
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_send_error_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_send_error()
+ */
+int utc_noti_ex_manager_send_error_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _m_senderror_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_send_error_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_send_error()
+ */
+int utc_noti_ex_manager_send_error_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_send_error(NULL, NULL, NOTI_EX_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _getcount_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int get_cnt;
+ int ret = noti_ex_manager_get_notification_count(manager__,
+ &get_cnt);
+ int req_id;
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit_no_returnval(1, get_cnt);
+ noti_ex_manager_delete_all(manager__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_manager_get_notification_count_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_get_notification_count()
+ */
+int utc_noti_ex_manager_get_notification_count_p(void)
+{
+ int ret;
+ noti_ex_manager_events_s ev = {0};
+
+ ev.added = _getcount_events_add_cb;
+ ev.error = _manager_events_error_cb;
+ ret = noti_ex_manager_create(&manager__, NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ __send_noti();
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_manager_get_notification_count_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_get_notification_count()
+ */
+int utc_noti_ex_manager_get_notification_count_n(void)
+{
+ int ret;
+ ret = noti_ex_manager_get_notification_count(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_progress_startup(void)
+{
+}
+
+void utc_notification_ex_progress_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_create()
+ */
+int utc_noti_ex_item_progress_create_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_progress_create(&handle, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_create()
+ */
+int utc_noti_ex_item_progress_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_progress_create(NULL, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_set_current_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_set_current()
+ */
+int utc_noti_ex_item_progress_set_current_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_progress_create(&handle, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_progress_set_current(handle, 50.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_set_current_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_set_current()
+ */
+int utc_noti_ex_item_progress_set_current_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_progress_set_current(NULL, 50.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_current_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_get_current()
+ */
+int utc_noti_ex_item_progress_get_current_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ float current = 0.0;
+
+ ret = noti_ex_item_progress_create(&handle, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_progress_set_current(handle, 50.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_progress_get_current(handle, ¤t);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(current, 50.0);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_current_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_get_current()
+ */
+int utc_noti_ex_item_progress_get_current_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_progress_get_current(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_min_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_get_min()
+ */
+int utc_noti_ex_item_progress_get_min_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ float min;
+
+ ret = noti_ex_item_progress_create(&handle, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_progress_get_min(handle, &min);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(min, 0);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_min_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_get_min()
+ */
+int utc_noti_ex_item_progress_get_min_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_progress_get_min(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_max_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_get_max()
+ */
+int utc_noti_ex_item_progress_get_max_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ float max;
+
+ ret = noti_ex_item_progress_create(&handle, "progress_id", 0.0, 0.0, 100.0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_progress_get_max(handle, &max);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_eq_with_exit(max, 100.0);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_max_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_get_max()
+ */
+int utc_noti_ex_item_progress_get_max_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_progress_get_max(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification_ex.h>
+
+#include "utc-notification.h"
+
+#define GROUP_NOTI_ID "test_group"
+
+noti_ex_reporter_h reporter_handle__ = NULL;
+noti_ex_manager_h manager_handle__ = NULL;
+void utc_notification_ex_reporter_startup(void)
+{
+}
+
+void utc_notification_ex_reporter_cleanup(void)
+{
+}
+
+void _reporter_events_event_cb(noti_ex_reporter_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *items, int cnt, void *data) {
+}
+
+void _reporter_events_error_cb(noti_ex_reporter_h handle,
+ noti_ex_error_e error, int req_id, void *data) {
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_create()
+ */
+int utc_noti_ex_reporter_create_p(void)
+{
+ int ret;
+ noti_ex_reporter_h handle;
+ noti_ex_reporter_events_s ev = {0};
+
+ ev.event = _reporter_events_event_cb;
+ ev.error = _reporter_events_error_cb;
+ ret = noti_ex_reporter_create(&handle, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_create()
+ */
+int utc_noti_ex_reporter_create_n(void)
+{
+ int ret;
+ noti_ex_reporter_events_s ev = {0};
+
+ ret = noti_ex_reporter_create(NULL, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_destroy()
+ */
+int utc_noti_ex_reporter_destroy_p(void)
+{
+ int ret;
+ noti_ex_reporter_h handle;
+ noti_ex_reporter_events_s ev = {0};
+
+ ev.event = _reporter_events_event_cb;
+ ev.error = _reporter_events_error_cb;
+ ret = noti_ex_reporter_create(&handle, ev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ ret = noti_ex_reporter_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_destroy_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_destroy()
+ */
+int utc_noti_ex_reporter_destroy_n(void)
+{
+ int ret;
+
+ ret = noti_ex_reporter_destroy(NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _senderror_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_manager_update(manager_handle__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+}
+
+void _senderror_events_event_cb(noti_ex_reporter_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *items, int cnt, void *data) {
+ int ret;
+ int req_id;
+ ret = noti_ex_reporter_send_error(reporter_handle__, info,
+ NOTI_EX_ERROR_IO_ERROR);
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_destroy_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_destroy()
+ */
+int utc_noti_ex_reporter_send_error_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+
+ mev.added = _senderror_events_add_cb;
+ int ret = noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ noti_ex_reporter_events_s ev = {0};
+ ev.error = _reporter_events_error_cb;
+ ev.event = _senderror_events_event_cb;
+ noti_ex_reporter_create(&reporter_handle__, ev, NULL);
+
+ noti_ex_item_h group_item = NULL;
+ noti_ex_item_h child_item = NULL;
+ ret = noti_ex_item_group_create(&group_item, GROUP_NOTI_ID);
+ ret = noti_ex_item_button_create(&child_item, "testbtn1", "test1");
+ ret = noti_ex_item_group_add_child(group_item, child_item);
+
+ ret = noti_ex_item_button_create(&child_item, "testbtn2", "test2");
+ ret = noti_ex_item_group_add_child(group_item, child_item);;
+
+ int req_id;
+ noti_ex_reporter_post(reporter_handle__, group_item, &req_id);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_send_error_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_send_error()
+ */
+int utc_noti_ex_reporter_send_error_n(void)
+{
+ int ret;
+ ret = noti_ex_reporter_send_error(NULL, NULL, NOTI_EX_ERROR_IO_ERROR);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+
+static void __create_noti(noti_ex_item_h **noti_list) {
+ if (reporter_handle__ == NULL) {
+ noti_ex_reporter_events_s ev = {0};
+ ev.error = _reporter_events_error_cb;
+ noti_ex_reporter_create(&reporter_handle__, ev, NULL);
+ }
+ int req_id;
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ noti_ex_item_h *list = (noti_ex_item_h*)calloc(2, sizeof(noti_ex_item_h));
+ noti_ex_item_h group_item = NULL;
+ noti_ex_item_h child_item = NULL;
+ noti_ex_item_group_create(&group_item, GROUP_NOTI_ID);
+ noti_ex_item_button_create(&child_item, "btn1", "test1");
+ noti_ex_item_group_add_child(group_item, child_item);
+ noti_ex_item_button_create(&child_item, "btn2", "test2");
+ noti_ex_item_group_add_child(group_item, child_item);
+ list[0] = group_item;
+
+ noti_ex_item_group_create(&group_item, "group_id2");
+ noti_ex_item_button_create(&child_item, "btn3", "test3");
+ noti_ex_item_group_add_child(group_item, child_item);
+
+ noti_ex_item_button_create(&child_item, "btn4", "test4");
+ noti_ex_item_group_add_child(group_item, child_item);
+ list[1] = group_item;
+
+ *noti_list = list;
+}
+
+void _post_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_post_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_post()
+ */
+int utc_noti_ex_reporter_post_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _post_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post(reporter_handle__, noti_list[0], &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_post_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_post()
+ */
+int utc_noti_ex_reporter_post_n(void)
+{
+ int req_id;
+ int ret = noti_ex_reporter_post(reporter_handle__, NULL, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _postlist_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_post_list_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_post_list()
+ */
+int utc_noti_ex_reporter_post_list_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _postlist_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post_list(reporter_handle__, noti_list, 2, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_post_list_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_post_list()
+ */
+int utc_noti_ex_reporter_post_list_n(void)
+{
+ int req_id;
+ int ret = noti_ex_reporter_post_list(reporter_handle__, NULL, 2, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _update_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_reporter_update(reporter_handle__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_update_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_update()
+ */
+int utc_noti_ex_reporter_update_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _update_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post(reporter_handle__, noti_list[0], &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_update_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_update()
+ */
+int utc_noti_ex_reporter_update_n(void)
+{
+ int req_id;
+ int ret = noti_ex_reporter_update(reporter_handle__, NULL, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _delete_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_reporter_delete(reporter_handle__, added_item[0], &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_delete_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_delete()
+ */
+int utc_noti_ex_reporter_delete_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _delete_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post(reporter_handle__, noti_list[0], &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_delete_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_delete()
+ */
+int utc_noti_ex_reporter_delete_n(void)
+{
+ int req_id;
+ int ret = noti_ex_reporter_delete(reporter_handle__, NULL, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _deleteall_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ int ret = noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_delete_all_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_delete_all()
+ */
+int utc_noti_ex_reporter_delete_all_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _deleteall_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post(reporter_handle__, noti_list[0], &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_delete_all_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_delete_all()
+ */
+int utc_noti_ex_reporter_delete_all_n(void)
+{
+ int req_id;
+ int ret = noti_ex_reporter_delete_all(NULL, &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
+
+void _findbyrootid_events_add_cb(noti_ex_manager_h handle, noti_ex_event_info_h info,
+ noti_ex_item_h *added_item, int cnt, void *data) {
+ int req_id;
+ noti_ex_item_h item;
+
+ int ret = noti_ex_reporter_find_by_root_id(
+ reporter_handle__, GROUP_NOTI_ID, &item);
+ noti_ex_reporter_delete_all(reporter_handle__, &req_id);
+ assert_eq_with_exit_no_returnval(ret, NOTI_EX_ERROR_NONE);
+ normal_exit_no_returnval(0);
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_find_by_root_id_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_reporter_find_by_root_id()
+ */
+int utc_noti_ex_reporter_find_by_root_id_p(void)
+{
+ noti_ex_manager_events_s mev = {0};
+ mev.added = _findbyrootid_events_add_cb;
+ noti_ex_manager_create(&manager_handle__, NULL, mev, NULL);
+
+ noti_ex_item_h *noti_list;
+ int req_id;
+ __create_noti(¬i_list);
+ int ret = noti_ex_reporter_post(reporter_handle__, noti_list[0], &req_id);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_noti_ex_reporter_find_by_root_id_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_reporter_find_by_root_id()
+ */
+int utc_noti_ex_reporter_find_by_root_id_n(void)
+{
+ int ret = noti_ex_reporter_find_by_root_id(NULL, GROUP_NOTI_ID, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_text_startup(void)
+{
+}
+
+void utc_notification_ex_text_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_text_create()
+ */
+int utc_noti_ex_item_text_create_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_text_create(&handle, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_text_create()
+ */
+int utc_noti_ex_item_text_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_text_create(NULL, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_set_contents_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_text_set_contents()
+ */
+int utc_noti_ex_item_text_set_contents_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+
+ ret = noti_ex_item_text_create(&handle, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_set_contents(handle, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_set_contents_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_text_set_contents()
+ */
+int utc_noti_ex_item_text_set_contents_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_text_set_contents(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_get_contents_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_text_get_contents()
+ */
+int utc_noti_ex_item_text_get_contents_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ char *contents = NULL;
+
+ ret = noti_ex_item_text_create(&handle, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_set_contents(handle, "test");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_get_contents(handle, &contents);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_neq_with_exit(contents, NULL);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_get_contents_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_text_get_contents()
+ */
+int utc_noti_ex_item_text_get_contents_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_text_get_contents(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_get_hyperlink_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_text_get_hyperlink()
+ */
+int utc_noti_ex_item_text_get_hyperlink_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ char *link = NULL;
+
+ ret = noti_ex_item_text_create(&handle, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_get_hyperlink(handle, &link);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_neq_with_exit(link, NULL);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_text_get_hyperlink_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_text_get_hyperlink()
+ */
+int utc_noti_ex_item_text_get_hyperlink_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_text_get_hyperlink(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+#include <time.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_time_startup(void)
+{
+}
+
+void utc_notification_ex_time_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_item_time_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_time_create()
+ */
+int utc_noti_ex_item_time_create_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ time_t cur;
+
+ time(&cur);
+ ret = noti_ex_item_time_create(&handle, "time_id", cur);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_time_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_time_create()
+ */
+int utc_noti_ex_item_time_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_time_create(NULL, "time_id", 0);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_time_get_time_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_time_get_time()
+ */
+int utc_noti_ex_item_time_get_time_p(void)
+{
+ int ret;
+ noti_ex_item_h handle;
+ time_t cur;
+ time_t time_;
+
+ time(&cur);
+ ret = noti_ex_item_time_create(&handle, "time_id", cur);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_time_get_time(handle, &time_);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+ assert_neq_with_exit(time_, 0);
+
+ ret = noti_ex_item_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_time_get_time_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_time_get_time()
+ */
+int utc_noti_ex_item_time_get_time_n(void)
+{
+ int ret;
+
+ ret = noti_ex_item_time_get_time(NULL, NULL);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
--- /dev/null
+//
+// Copyright (c) 2019 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <app.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <libintl.h>
+
+#include <notification-ex/api/notification_ex.h>
+
+#include "utc-notification.h"
+
+void utc_notification_ex_visibility_action_startup(void)
+{
+}
+
+void utc_notification_ex_visibility_action_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_noti_ex_action_visibility_create_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_visibility_create()
+ */
+int utc_noti_ex_action_visibility_create_p(void)
+{
+ int ret;
+ noti_ex_action_h handle;
+
+ ret = noti_ex_action_visibility_create(&handle, "extra");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_visibility_create_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_visibility_create()
+ */
+int utc_noti_ex_action_visibility_create_n(void)
+{
+ int ret;
+
+ ret = noti_ex_action_visibility_create(NULL, "extra");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_visibility_set_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_action_visibility_set()
+ */
+int utc_noti_ex_action_visibility_set_p(void)
+{
+ int ret;
+ noti_ex_action_h handle;
+ noti_ex_item_h text_item;
+
+ ret = noti_ex_action_visibility_create(&handle, "extra");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_item_text_create(&text_item, "text_id", "text", "hyperlink");
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_action_visibility_set(handle, "text_id", true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ ret = noti_ex_action_destroy(handle);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+ normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_action_visibility_set_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_action_visibility_set()
+ */
+int utc_noti_ex_action_visibility_set_n(void)
+{
+ int ret;
+
+ ret = noti_ex_action_visibility_set(NULL, "text_id", true);
+ assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+ normal_exit(0);
+}
#include <fcntl.h>
#include <libintl.h>
#include <notification.h>
+#include "utc-notification.h"
//& set: Notification
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_image(NULL, NOTIFICATION_IMAGE_TYPE_ICON, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_LOCK, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL_FOR_LOCK, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_SUB, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BACKGROUND, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_1, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_2, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_3, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_4, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_5, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_1, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_2, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_3, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_4, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_5, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_6, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, img_path);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_post(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_delete(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_7, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_8, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_9, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_10, TEST_IMAGE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_image(NULL, NOTIFICATION_IMAGE_TYPE_ICON, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
- assert_eq(strcmp(image, TEST_IMAGE), 0);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(strcmp(image, TEST_IMAGE), 0);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_LOCK, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_LOCK, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL_FOR_LOCK, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL_FOR_LOCK, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_SUB, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_SUB, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BACKGROUND, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BACKGROUND, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_get_image_9_p
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_1, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_1, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_2, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_2, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_3, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_3, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_4, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_4, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_5, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_5, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_1, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_1, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_2, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_2, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_3, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_3, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_4, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_4, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_5, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_5, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_6, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_6, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_7, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_7, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_8, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_8, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_9, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_9, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_10, TEST_IMAGE);
ret = notification_get_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_10, &image);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(image, NULL);
image = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_time(NULL, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_time(notification, TEST_TIME);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_time(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_time(notification, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_time(notification, &t);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
- assert_eq(t, TEST_TIME);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(t, TEST_TIME);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_insert_time(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_insert_time(notification, &t);
assert_neq(t, -1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_insert_time(notification, &t);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
assert_neq(t, 0);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
int ret = 0;
ret = notification_set_text(NULL, NOTIFICATION_TEXT_TYPE_NONE, NULL, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
NOTIFICATION_VARIABLE_TYPE_INT, 0,
NOTIFICATION_VARIABLE_TYPE_DOUBLE, 0.0,
NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_post(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, "3", NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_7, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_8, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_9, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_10, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_text(NULL, NOTIFICATION_TEXT_TYPE_TITLE, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
NOTIFICATION_VARIABLE_TYPE_INT, 0,
NOTIFICATION_VARIABLE_TYPE_COUNT, NOTIFICATION_COUNT_POS_RIGHT,
NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_7, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_7, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_8, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_8, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_9, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_9, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_10, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_10, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_set_time_to_text(NULL, NOTIFICATION_TEXT_TYPE_NONE, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_2_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_3_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_4_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_5_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_6_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_7_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_8_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_9_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_10_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_11_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_12_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_13_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_14_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_15_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_16_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_17_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_18_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
* @testcase utc_notification_set_time_to_text_19_p
assert(notification);
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, time(NULL));
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_time_from_text(NULL, NOTIFICATION_TEXT_TYPE_TITLE, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, time(NULL));
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_time_from_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, &t);
assert_neq(t, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_sound(NULL, NOTIFICATION_SOUND_TYPE_USER_DATA + 1, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_sound(notification, NOTIFICATION_SOUND_TYPE_DEFAULT, TEST_PATH);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_sound(NULL, NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_sound(notification, &type, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_sound(notification, &type, &value);
- assert_eq(type, NOTIFICATION_SOUND_TYPE_USER_DATA);
- assert_eq(strcmp(value, TEST_PATH), 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_SOUND_TYPE_USER_DATA);
+ assert_eq_with_exit(strcmp(value, TEST_PATH), 0);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_vibration(NULL, NOTIFICATION_VIBRATION_TYPE_USER_DATA + 1, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_vibration(notification, NOTIFICATION_VIBRATION_TYPE_DEFAULT, TEST_PATH);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_vibration(NULL, NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_vibration(notification, &type, &value);
assert_neq(value, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_vibration(notification, &type, &value);
- assert_eq(type, NOTIFICATION_VIBRATION_TYPE_USER_DATA);
- assert_eq(strcmp(value, TEST_PATH), 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_VIBRATION_TYPE_USER_DATA);
+ assert_eq_with_exit(strcmp(value, TEST_PATH), 0);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
value = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_led(NULL, NOTIFICATION_LED_OP_ON_CUSTOM_COLOR + 1, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_led(notification, NOTIFICATION_LED_OP_ON, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_led(NULL, NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert_neq(type, NOTIFICATION_LED_OP_OFF);
assert_neq(value, -1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_led(notification, &type, &value);
- assert_eq(type, NOTIFICATION_LED_OP_ON);
- assert_eq(value, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_LED_OP_ON);
+ assert_eq_with_exit(value, 0);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_led_time_period(NULL, 0, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_led_time_period(notification, TEST_INT, TEST_INT);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_led_time_period(NULL, NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert_neq(value1, -1);
assert_neq(value2, -1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_led_time_period(notification, &value1, &value2);
- assert_eq(value1, TEST_INT);
- assert_eq(value2, TEST_INT);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(value1, TEST_INT);
+ assert_eq_with_exit(value2, TEST_INT);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_set_property(NULL, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_APP_LAUNCH);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_UPDATE_ON_INSERT);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_UPDATE_ON_DELETE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_property(notification, NOTIFICATION_PROP_VOLATILE_DISPLAY);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_property(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_property(notification, &value);
assert_neq(value, -1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_property(notification, &value);
- assert_eq(value, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(value, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_display_applist(NULL, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_display_applist(notification, NOTIFICATION_DISPLAY_APP_ALL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_display_applist(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_display_applist(notification, &value);
assert_neq(value, 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_get_display_applist(notification, &applist);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
- assert_eq(applist, applist_default);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(applist, applist_default);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_size(NULL, 0.0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_size(notification, TEST_DOUBLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_size(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
}
/**
ret = notification_get_size(notification, &value);
assert_neq(value, -1.0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_size(notification, &value);
- assert_eq(value, TEST_DOUBLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(value, TEST_DOUBLE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_progress(NULL, 0.0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ normal_exit(0);
}
/**
ret = notification_set_progress(notification, TEST_DOUBLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_progress(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_progress(notification, &value);
assert_neq(value, -1.0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_progress(notification, &value);
- assert_eq(value, TEST_DOUBLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(value, TEST_DOUBLE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_set_layout(NULL, NOTIFICATION_LY_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
assert(notification);
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_EVENT_MULTIPLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_THUMBNAIL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_layout(notification, NOTIFICATION_LY_ONGOING_EVENT);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_layout(notification, NOTIFICATION_LY_ONGOING_PROGRESS);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_layout(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
notification_set_layout(notification, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
ret = notification_get_layout(notification, &type);
- assert_eq(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_layout(notification, &type);
- assert_eq(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_get_type(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_type(notification, &type);
assert_neq(type, NOTIFICATION_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_type(notification, &type);
- assert_eq(type, NOTIFICATION_TYPE_NOTI);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(type, NOTIFICATION_TYPE_NOTI);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_update(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_update(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_delete(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_delete(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
ret = notification_clone(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
notification_free(notification_cloned);
notification_free(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_free(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_free(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_status_message_post(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_status_message_post("TESTKIT-P");
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_tag(notification, TEST_TEXT);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_tag(notification, TEST_TEXT);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_tag(notification, &tag);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_tag(notification, &tag);
assert_neq(tag, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
tag = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_tag(notification, &tag);
- assert_eq(strcmp(tag, TEST_TAG_FOR_NOTI), 0);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(strcmp(tag, TEST_TAG_FOR_NOTI), 0);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
tag = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
int ret = 0;
ret = notification_delete_all(NOTIFICATION_TYPE_NOTI);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
int ret = 0;
ret = notification_delete_all(NOTIFICATION_TYPE_ONGOING);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_post(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_post(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_delete(notification);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_launch_option(NULL, NOTIFICATION_LAUNCH_OPTION_APP_CONTROL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
app_control_h app_control = NULL;
ret = app_control_create(&app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_app_id(app_control, TEST_APP);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
//Invalid parameter test
notification = notification_create(NOTIFICATION_TYPE_NOTI);
ret = notification_set_launch_option(notification, NOTIFICATION_LAUNCH_OPTION_APP_CONTROL, app_control);
app_control_destroy(app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_launch_option(NULL, NOTIFICATION_LAUNCH_OPTION_APP_CONTROL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
app_control_h app_control = NULL;
ret = app_control_create(&app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_app_id(app_control, TEST_APP);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
notification = notification_create(NOTIFICATION_TYPE_NOTI);
notification_free(notification);
app_control_destroy(app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_pkgname(notification, &tag);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_pkgname(notification, &tag);
assert_neq(tag, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
tag = NULL;
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_set_event_handler(notification, 0, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = app_control_create(&app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_app_id(app_control, "org.tizen.app");
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = notification_set_event_handler(notification, NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_1, app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
app_control_destroy(app_control);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_get_event_handler(notification, 0, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = app_control_create(&app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_app_id(app_control, "org.tizen.app");
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = notification_set_event_handler(notification, NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_1, app_control);
app_control_destroy(app_control);
ret = notification_get_event_handler(notification, NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_1, &app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
app_control_destroy(app_control);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_add_button(notification, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_add_button(notification, NOTIFICATION_BUTTON_1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_remove_button(notification, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_remove_button(notification, NOTIFICATION_BUTTON_1);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_set_auto_remove(notification, false);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_auto_remove(notification, false);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
bool auto_remove = false;
ret = notification_get_auto_remove(notification, &auto_remove);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_get_auto_remove(notification, &auto_remove);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
- assert_eq(auto_remove, false);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(auto_remove, false);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification_h notification = NULL;
ret = notification_save_as_template(notification, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, "I'm Title", "TITLE", NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_save_as_template(notification, "noti_test");
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
notification = notification_create_from_template(NULL);
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
notification = notification_create_from_template("dummy");
assert(!notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, "I'm Title", "TITLE", NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_save_as_template(notification, "noti_test");
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
assert(notification);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
int ret = 0;
ret = notification_get_noti_block_state(NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
notification_block_state_e state;
ret = notification_get_noti_block_state(&state);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
int ret = 0;
ret = notification_set_text_input(NULL, 0);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE,
TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_set_text_input(notification, 160);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_set_text(notification,
NOTIFICATION_TEXT_TYPE_TEXT_INPUT_PLACEHOLDER,
"Text message",
NULL,
NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_set_text(notification,
NOTIFICATION_TEXT_TYPE_TEXT_INPUT_BUTTON,
"SEND",
NULL,
NOTIFICATION_VARIABLE_TYPE_NONE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_set_display_applist(notification, NOTIFICATION_DISPLAY_APP_ACTIVE);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = app_control_create(&app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_app_id(app_control, TEST_APP);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
ret = notification_set_event_handler(notification, NOTIFICATION_EVENT_TYPE_CLICK_ON_TEXT_INPUT_BUTTON, app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_post(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
app_control = NULL;
ret = notification_get_event_handler(notification, NOTIFICATION_EVENT_TYPE_CLICK_ON_TEXT_INPUT_BUTTON, &app_control);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_free(notification);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = app_control_destroy(app_control);
- assert_eq(ret, APP_CONTROL_ERROR_NONE);
+ assert_eq_with_exit(ret, APP_CONTROL_ERROR_NONE);
- return 0;
+ normal_exit(0);
}
/**
int ret = 0;
ret = notification_set_extension_image_size(NULL, -1);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_extension_image_size(notification, 20);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_extension_image_size(notification, 20);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_get_extension_image_size(NULL, NULL);
- assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
/**
assert(notification);
ret = notification_set_extension_image_size(notification, 20);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
ret = notification_get_extension_image_size(notification, &size);
- assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ assert_eq_with_exit(ret, NOTIFICATION_ERROR_NONE);
notification_free(notification);
- return 0;
+ normal_exit(0);
}
--- /dev/null
+#ifndef __UTC_NOTIFICATION_H__
+#define __UTC_NOTIFICATION_H__
+#include <stdbool.h>
+#include <glib.h>
+#include <service_app.h>
+#include <dlog.h>
+#include <app_control.h>
+
+#define SETUP_IS_EDITING_TEST_VAL "SETUP_IS_EDITING_TEST_VAL"
+#define SETUP_REPLY_TO_EDITOR_TEST_VAL "SETUP_REPLY_TO_EDITOR_TEST_VAL"
+#define SETUP_GET_CONTEXT_TEST_VAL "SETUP_GET_CONTEXT_VAL"
+
+#define EVENT_GET_PROVIDER_ID_TEST_VAL "EVENT_GET_PROVIDER_ID_TEST_VAL"
+#define EVENT_GET_COMP_TYPE_TEST_VAL "EVENT_GET_COMP_TYPE_TEST_VAL"
+#define EVENT_GET_CONTEXT_TEST_VAL "EVENT_GET_CONTEXT_TEST_VAL"
+#define EVENT_GET_EVENT_TYPE_TEST_VAL "EVENT_GET_EVENT_TYPE_TEST_VAL"
+
+
+int __result;
+app_control_h __test_control;
+char *__event_cmd;
+
+#define assert_with_exit(exp) do { \
+ if (!(exp)) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Following expression is not true:\n" \
+ "%s\n", #exp); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return 1; \
+ } \
+} while (0)
+
+#define assert_with_exit_no_returnval(exp) do { \
+ if (!(exp)) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Following expression is not true:\n" \
+ "%s\n", #exp); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return; \
+ } \
+} while (0)
+
+
+#define assert_eq_with_exit(var, ref) do { \
+ if (var != ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are not equal:\n" \
+ "%s == %d, %s == %d\n", \
+ #var, #ref, #var, (int)var, #ref, (int)ref); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return 1; \
+ } \
+} while (0)
+
+#define assert_eq_with_free(var, ref, var2) do { \
+ if (var != ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are not equal:\n" \
+ "%s == %d, %s == %d\n", \
+ #var, #ref, #var, (int)var, #ref, (int)ref); \
+ free(var2); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return 1; \
+ } \
+} while (0)
+
+
+#define assert_neq_with_exit(var, ref) do { \
+ if (var == ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are equal:\n" \
+ "%s == %s == %d\n", \
+ #var, #ref, #var, #ref, (int)ref); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return 1; \
+ } \
+} while (0)
+
+#define assert_neq_with_exit_no_returnval(var, ref) do { \
+ if (var == ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are equal:\n" \
+ "%s == %s == %d\n", \
+ #var, #ref, #var, #ref, (int)ref); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return; \
+ } \
+} while (0)
+
+#define assert_neq_without_exit(var, ref) do { \
+ if (var == ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are equal:\n" \
+ "%s == %s == %d\n", \
+ #var, #ref, #var, #ref, (int)ref); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ __result = 1; \
+ return 1; \
+ } \
+} while (0)
+
+#define assert_eq_with_exit_no_returnval(var, ref) do { \
+ if (var != ref) { \
+ fprintf(stderr, \
+ "Assert fail in %s:%d\n", __FILE__, __LINE__); \
+ fprintf(stderr, \
+ "Values \"%s\" and \"%s\" are not equal:\n" \
+ "%s == %d, %s == %d\n", \
+ #var, #ref, #var, (int)var, #ref, (int)ref); \
+ dlog_print(DLOG_INFO, "NativeTCT", "Assert fail in %s:%d ", __FILE__, __LINE__); \
+ __result = 1; \
+ service_app_exit(); \
+ return; \
+ } \
+} while (0)
+
+#define normal_exit(result) do { \
+ __result = result; \
+ service_app_exit(); \
+ return 0; \
+} while (0)
+
+#define normal_exit_no_returnval(result) do { \
+ __result = result; \
+ service_app_exit(); \
+ return; \
+} while (0)
+
+#endif // __UTC_NOTIFICATION_H__