[UTC][Notification][ACR-1433][Add test cases] 26/212926/6
authormk5004.lee <mk5004.lee@samsung.com>
Wed, 28 Aug 2019 07:29:20 +0000 (16:29 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Tue, 1 Oct 2019 23:43:12 +0000 (08:43 +0900)
Change-Id: I65b5cedf6c9c3f9223b553755b5726d7a3815efe
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
src/utc/notification/tct-notification-core_mobile.h
src/utc/notification/tct-notification-core_tizeniot.h
src/utc/notification/tct-notification-core_wearable.h
src/utc/notification/utc-notification-ex-checkbox.c
src/utc/notification/utc-notification-ex-item.c
src/utc/notification/utc-notification-ex-manager.c
src/utc/notification/utc-notification-ex-progress.c
src/utc/notification/utc-notification.c [changed mode: 0755->0644]
src/utc/notification/utc-notification.h [changed mode: 0755->0644]

index 816272907980b80468685fe52c309fe516465d5a..89c2157e917ca1e6947d35cacab85892f9ad5770 100644 (file)
@@ -363,6 +363,14 @@ 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_style_set_background_image_p(void);
+extern int utc_noti_ex_style_set_background_image_n(void);
+extern int utc_noti_ex_style_get_background_image_p(void);
+extern int utc_noti_ex_style_get_background_image_n(void);
+extern int utc_noti_ex_style_set_background_color_p(void);
+extern int utc_noti_ex_style_set_background_color_n(void);
+extern int utc_noti_ex_style_get_background_color_p(void);
+extern int utc_noti_ex_style_get_background_color_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);
@@ -459,12 +467,26 @@ 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_item_set_ongoing_state_p(void);
+extern int utc_noti_ex_item_set_ongoing_state_n(void);
+extern int utc_noti_ex_item_get_ongoing_state_p(void);
+extern int utc_noti_ex_item_get_ongoing_state_n(void);
+extern int utc_noti_ex_item_check_type_exist_p(void);
+extern int utc_noti_ex_item_check_type_exist_n(void);
+extern int utc_noti_ex_item_set_main_type_p(void);
+extern int utc_noti_ex_item_set_main_type_n(void);
+extern int utc_noti_ex_item_get_main_type_p(void);
+extern int utc_noti_ex_item_get_main_type_n(void);
+extern int utc_noti_ex_item_find_by_main_type_p(void);
+extern int utc_noti_ex_item_find_by_main_type_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_get_by_channel_p(void);
+extern int utc_noti_ex_manager_get_by_channel_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);
@@ -517,6 +539,10 @@ 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_progress_set_type_p(void);
+extern int utc_noti_ex_item_progress_set_type_n(void);
+extern int utc_noti_ex_item_progress_get_type_p(void);
+extern int utc_noti_ex_item_progress_get_type_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);
@@ -559,8 +585,10 @@ 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_checkbox_get_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_get_check_state_n(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_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);
@@ -918,6 +946,14 @@ testcase tc_array[] = {
        {"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_style_set_background_image_p",utc_noti_ex_style_set_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_image_n",utc_noti_ex_style_set_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_p",utc_noti_ex_style_get_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_n",utc_noti_ex_style_get_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_p",utc_noti_ex_style_set_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_n",utc_noti_ex_style_set_background_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_p",utc_noti_ex_style_get_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_n",utc_noti_ex_style_get_background_color_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},
@@ -1014,12 +1050,26 @@ testcase tc_array[] = {
        {"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_item_set_ongoing_state_p",utc_noti_ex_item_set_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_ongoing_state_n",utc_noti_ex_item_set_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_p",utc_noti_ex_item_get_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_n",utc_noti_ex_item_get_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_p",utc_noti_ex_item_check_type_exist_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_n",utc_noti_ex_item_check_type_exist_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_p",utc_noti_ex_item_set_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_n",utc_noti_ex_item_set_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_p",utc_noti_ex_item_get_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_n",utc_noti_ex_item_get_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_p",utc_noti_ex_item_find_by_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_n",utc_noti_ex_item_find_by_main_type_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_get_by_channel_p",utc_noti_ex_manager_get_by_channel_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+       {"utc_noti_ex_manager_get_by_channel_n",utc_noti_ex_manager_get_by_channel_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},
@@ -1072,6 +1122,10 @@ testcase tc_array[] = {
        {"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_progress_set_type_p",utc_noti_ex_item_progress_set_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_set_type_n",utc_noti_ex_item_progress_set_type_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_p",utc_noti_ex_item_progress_get_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_n",utc_noti_ex_item_progress_get_type_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},
@@ -1114,8 +1168,10 @@ testcase tc_array[] = {
        {"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_checkbox_get_check_state_p",utc_noti_ex_item_checkbox_get_check_state_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_get_check_state_n",utc_noti_ex_item_checkbox_get_check_state_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_p",utc_noti_ex_item_checkbox_set_check_state_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_n",utc_noti_ex_item_checkbox_set_check_state_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_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},
index 816272907980b80468685fe52c309fe516465d5a..89c2157e917ca1e6947d35cacab85892f9ad5770 100644 (file)
@@ -363,6 +363,14 @@ 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_style_set_background_image_p(void);
+extern int utc_noti_ex_style_set_background_image_n(void);
+extern int utc_noti_ex_style_get_background_image_p(void);
+extern int utc_noti_ex_style_get_background_image_n(void);
+extern int utc_noti_ex_style_set_background_color_p(void);
+extern int utc_noti_ex_style_set_background_color_n(void);
+extern int utc_noti_ex_style_get_background_color_p(void);
+extern int utc_noti_ex_style_get_background_color_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);
@@ -459,12 +467,26 @@ 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_item_set_ongoing_state_p(void);
+extern int utc_noti_ex_item_set_ongoing_state_n(void);
+extern int utc_noti_ex_item_get_ongoing_state_p(void);
+extern int utc_noti_ex_item_get_ongoing_state_n(void);
+extern int utc_noti_ex_item_check_type_exist_p(void);
+extern int utc_noti_ex_item_check_type_exist_n(void);
+extern int utc_noti_ex_item_set_main_type_p(void);
+extern int utc_noti_ex_item_set_main_type_n(void);
+extern int utc_noti_ex_item_get_main_type_p(void);
+extern int utc_noti_ex_item_get_main_type_n(void);
+extern int utc_noti_ex_item_find_by_main_type_p(void);
+extern int utc_noti_ex_item_find_by_main_type_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_get_by_channel_p(void);
+extern int utc_noti_ex_manager_get_by_channel_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);
@@ -517,6 +539,10 @@ 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_progress_set_type_p(void);
+extern int utc_noti_ex_item_progress_set_type_n(void);
+extern int utc_noti_ex_item_progress_get_type_p(void);
+extern int utc_noti_ex_item_progress_get_type_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);
@@ -559,8 +585,10 @@ 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_checkbox_get_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_get_check_state_n(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_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);
@@ -918,6 +946,14 @@ testcase tc_array[] = {
        {"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_style_set_background_image_p",utc_noti_ex_style_set_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_image_n",utc_noti_ex_style_set_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_p",utc_noti_ex_style_get_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_n",utc_noti_ex_style_get_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_p",utc_noti_ex_style_set_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_n",utc_noti_ex_style_set_background_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_p",utc_noti_ex_style_get_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_n",utc_noti_ex_style_get_background_color_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},
@@ -1014,12 +1050,26 @@ testcase tc_array[] = {
        {"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_item_set_ongoing_state_p",utc_noti_ex_item_set_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_ongoing_state_n",utc_noti_ex_item_set_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_p",utc_noti_ex_item_get_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_n",utc_noti_ex_item_get_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_p",utc_noti_ex_item_check_type_exist_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_n",utc_noti_ex_item_check_type_exist_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_p",utc_noti_ex_item_set_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_n",utc_noti_ex_item_set_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_p",utc_noti_ex_item_get_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_n",utc_noti_ex_item_get_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_p",utc_noti_ex_item_find_by_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_n",utc_noti_ex_item_find_by_main_type_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_get_by_channel_p",utc_noti_ex_manager_get_by_channel_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+       {"utc_noti_ex_manager_get_by_channel_n",utc_noti_ex_manager_get_by_channel_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},
@@ -1072,6 +1122,10 @@ testcase tc_array[] = {
        {"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_progress_set_type_p",utc_noti_ex_item_progress_set_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_set_type_n",utc_noti_ex_item_progress_set_type_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_p",utc_noti_ex_item_progress_get_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_n",utc_noti_ex_item_progress_get_type_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},
@@ -1114,8 +1168,10 @@ testcase tc_array[] = {
        {"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_checkbox_get_check_state_p",utc_noti_ex_item_checkbox_get_check_state_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_get_check_state_n",utc_noti_ex_item_checkbox_get_check_state_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_p",utc_noti_ex_item_checkbox_set_check_state_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_n",utc_noti_ex_item_checkbox_set_check_state_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_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},
index 816272907980b80468685fe52c309fe516465d5a..89c2157e917ca1e6947d35cacab85892f9ad5770 100644 (file)
@@ -363,6 +363,14 @@ 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_style_set_background_image_p(void);
+extern int utc_noti_ex_style_set_background_image_n(void);
+extern int utc_noti_ex_style_get_background_image_p(void);
+extern int utc_noti_ex_style_get_background_image_n(void);
+extern int utc_noti_ex_style_set_background_color_p(void);
+extern int utc_noti_ex_style_set_background_color_n(void);
+extern int utc_noti_ex_style_get_background_color_p(void);
+extern int utc_noti_ex_style_get_background_color_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);
@@ -459,12 +467,26 @@ 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_item_set_ongoing_state_p(void);
+extern int utc_noti_ex_item_set_ongoing_state_n(void);
+extern int utc_noti_ex_item_get_ongoing_state_p(void);
+extern int utc_noti_ex_item_get_ongoing_state_n(void);
+extern int utc_noti_ex_item_check_type_exist_p(void);
+extern int utc_noti_ex_item_check_type_exist_n(void);
+extern int utc_noti_ex_item_set_main_type_p(void);
+extern int utc_noti_ex_item_set_main_type_n(void);
+extern int utc_noti_ex_item_get_main_type_p(void);
+extern int utc_noti_ex_item_get_main_type_n(void);
+extern int utc_noti_ex_item_find_by_main_type_p(void);
+extern int utc_noti_ex_item_find_by_main_type_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_get_by_channel_p(void);
+extern int utc_noti_ex_manager_get_by_channel_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);
@@ -517,6 +539,10 @@ 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_progress_set_type_p(void);
+extern int utc_noti_ex_item_progress_set_type_n(void);
+extern int utc_noti_ex_item_progress_get_type_p(void);
+extern int utc_noti_ex_item_progress_get_type_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);
@@ -559,8 +585,10 @@ 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_checkbox_get_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_get_check_state_n(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_p(void);
+extern int utc_noti_ex_item_checkbox_set_check_state_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);
@@ -918,6 +946,14 @@ testcase tc_array[] = {
        {"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_style_set_background_image_p",utc_noti_ex_style_set_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_image_n",utc_noti_ex_style_set_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_p",utc_noti_ex_style_get_background_image_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_image_n",utc_noti_ex_style_get_background_image_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_p",utc_noti_ex_style_set_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_set_background_color_n",utc_noti_ex_style_set_background_color_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_p",utc_noti_ex_style_get_background_color_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_style_get_background_color_n",utc_noti_ex_style_get_background_color_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},
@@ -1014,12 +1050,26 @@ testcase tc_array[] = {
        {"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_item_set_ongoing_state_p",utc_noti_ex_item_set_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_ongoing_state_n",utc_noti_ex_item_set_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_p",utc_noti_ex_item_get_ongoing_state_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_ongoing_state_n",utc_noti_ex_item_get_ongoing_state_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_p",utc_noti_ex_item_check_type_exist_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_check_type_exist_n",utc_noti_ex_item_check_type_exist_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_p",utc_noti_ex_item_set_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_set_main_type_n",utc_noti_ex_item_set_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_p",utc_noti_ex_item_get_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_get_main_type_n",utc_noti_ex_item_get_main_type_n,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_p",utc_noti_ex_item_find_by_main_type_p,utc_notification_ex_item_startup,utc_notification_ex_item_cleanup},
+       {"utc_noti_ex_item_find_by_main_type_n",utc_noti_ex_item_find_by_main_type_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_get_by_channel_p",utc_noti_ex_manager_get_by_channel_p,utc_notification_ex_manager_startup,utc_notification_ex_manager_cleanup},
+       {"utc_noti_ex_manager_get_by_channel_n",utc_noti_ex_manager_get_by_channel_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},
@@ -1072,6 +1122,10 @@ testcase tc_array[] = {
        {"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_progress_set_type_p",utc_noti_ex_item_progress_set_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_set_type_n",utc_noti_ex_item_progress_set_type_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_p",utc_noti_ex_item_progress_get_type_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_progress_get_type_n",utc_noti_ex_item_progress_get_type_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},
@@ -1114,8 +1168,10 @@ testcase tc_array[] = {
        {"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_checkbox_get_check_state_p",utc_noti_ex_item_checkbox_get_check_state_p,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_get_check_state_n",utc_noti_ex_item_checkbox_get_check_state_n,utc_notification_ex_checkbox_startup,utc_notification_ex_checkbox_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_p",utc_noti_ex_item_checkbox_set_check_state_p,utc_notification_ex_progress_startup,utc_notification_ex_progress_cleanup},
+       {"utc_noti_ex_item_checkbox_set_check_state_n",utc_noti_ex_item_checkbox_set_check_state_n,utc_notification_ex_progress_startup,utc_notification_ex_progress_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},
index 16913c17044e7665a7f858782845f836c4d84721..ffd29028713b91b7ce0d1b739803728cc71b40e2 100644 (file)
@@ -106,11 +106,11 @@ int utc_noti_ex_item_checkbox_get_title_n(void)
 }
 
 /**
- * @testcase utc_noti_ex_item_checkbox_is_checked_p
+ * @testcase utc_noti_ex_item_checkbox_get_check_state_p
  * @since_tizen 5.5
- * @description Positive test case of noti_ex_item_checkbox_is_checked()
+ * @description Positive test case of noti_ex_item_checkbox_get_check_state()
  */
-int utc_noti_ex_item_checkbox_is_checked_p(void)
+int utc_noti_ex_item_checkbox_get_check_state_p(void)
 {
        int ret;
        noti_ex_item_h item_handle = NULL;
@@ -119,7 +119,7 @@ int utc_noti_ex_item_checkbox_is_checked_p(void)
        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);
+       ret = noti_ex_item_checkbox_get_check_state(item_handle, &checked);
        assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
        assert_eq_with_exit(checked, false);
 
@@ -128,16 +128,51 @@ int utc_noti_ex_item_checkbox_is_checked_p(void)
 }
 
 /**
- * @testcase utc_noti_ex_item_checkbox_is_checked_n
+ * @testcase utc_noti_ex_item_checkbox_get_check_state_n
  * @since_tizen 5.5
- * @description Negative test case of noti_ex_item_checkbox_is_checked()
+ * @description Negative test case of noti_ex_item_checkbox_get_check_state()
  */
-int utc_noti_ex_item_checkbox_is_checked_n(void)
+int utc_noti_ex_item_checkbox_get_check_state_n(void)
 {
        int ret;
        bool checked;
 
-       ret = noti_ex_item_checkbox_is_checked(NULL, &checked);
+       ret = noti_ex_item_checkbox_get_check_state(NULL, &checked);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_set_check_state_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_checkbox_set_check_state()
+ */
+int utc_noti_ex_item_checkbox_set_check_state_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);
+
+       ret = noti_ex_item_checkbox_set_check_state(item_handle, true);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       noti_ex_item_destroy(item_handle);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_checkbox_set_check_state_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_checkbox_set_check_state()
+ */
+int utc_noti_ex_item_checkbox_set_check_state_n(void)
+{
+       int ret;
+
+       ret = noti_ex_item_checkbox_get_check_state(NULL, false);
        assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
 
        normal_exit(0);
@@ -187,4 +222,4 @@ int utc_noti_ex_item_checkbox_set_multi_language_title_n(void)
        ret = noti_ex_item_checkbox_set_multi_language_title(NULL, NULL);
        assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
        normal_exit(0);
-}
\ No newline at end of file
+}
index e40f2db7ca4d1d2026243a0a4a9147378c9c67a5..cf47f50f2ccfab9d272672989ec06385d462f7de 100644 (file)
@@ -844,6 +844,143 @@ int utc_noti_ex_style_get_geometry_n(void)
        normal_exit(0);
 }
 
+/**
+ * @testcase utc_noti_ex_style_set_background_image_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_set_background_image()
+ */
+int utc_noti_ex_style_set_background_image_p(void)
+{
+       int ret;
+       noti_ex_style_h handle = NULL;
+
+       ret = noti_ex_style_create(&handle, NULL, NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_style_set_background_image(handle, "image_path");
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_set_background_image_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_set_background_image()
+ */
+int utc_noti_ex_style_set_background_image_n(void)
+{
+       int ret;
+       ret = noti_ex_style_set_background_image(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_background_image_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_get_background_image()
+ */
+int utc_noti_ex_style_get_background_image_p(void)
+{
+       int ret;
+       noti_ex_style_h handle = NULL;
+       char *path;
+
+       ret = noti_ex_style_create(&handle, NULL, NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_style_set_background_image(handle, "image_path");
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       ret = noti_ex_style_get_background_image(handle, &path);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_background_image_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_get_background_image()
+ */
+int utc_noti_ex_style_get_background_image_n(void)
+{
+       int ret;
+       ret = noti_ex_style_get_background_image(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_set_background_color_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_set_background_color()
+ */
+int utc_noti_ex_style_set_background_color_p(void)
+{
+       int ret;
+       noti_ex_style_h handle = NULL;
+       noti_ex_color_h color = NULL;
+
+       ret = noti_ex_style_create(&handle, NULL, NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_color_create(&color, 1, 2, 3, 4);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_style_set_background_color(handle, color);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_set_background_color_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_set_background_color()
+ */
+int utc_noti_ex_style_set_background_color_n(void)
+{
+       int ret;
+       ret = noti_ex_style_set_background_color(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_background_color_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_style_get_background_color()
+ */
+int utc_noti_ex_style_get_background_color_p(void)
+{
+       int ret;
+       noti_ex_style_h handle = NULL;
+       noti_ex_color_h color = NULL;
+       noti_ex_color_h color_ = NULL;
+
+       ret = noti_ex_style_create(&handle, NULL, NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_color_create(&color, 1, 2, 3, 4);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_style_set_background_color(handle, color);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       ret = noti_ex_style_get_background_color(handle, &color_);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_style_get_background_color_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_style_get_background_color()
+ */
+int utc_noti_ex_style_get_background_color_n(void)
+{
+       int ret;
+       ret = noti_ex_style_get_background_color(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
@@ -2466,4 +2603,214 @@ int utc_noti_ex_item_get_tag_n(void)
        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
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_ongoing_state_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_ongoing_state()
+ */
+int utc_noti_ex_item_set_ongoing_state_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_set_ongoing_state(button_item, true);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_ongoing_state_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_ongoing_state()
+ */
+int utc_noti_ex_item_set_ongoing_state_n(void)
+{
+       int ret;
+       ret = noti_ex_item_set_ongoing_state(NULL, false);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_ongoing_state_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_ongoing_state()
+ */
+int utc_noti_ex_item_get_ongoing_state_p(void)
+{
+       int ret;
+       noti_ex_item_h button_item = NULL;
+       bool state = false;
+
+       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_set_ongoing_state(button_item, true);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_item_get_ongoing_state(button_item, &state);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_ongoing_state_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_ongoing_state()
+ */
+int utc_noti_ex_item_get_ongoing_state_n(void)
+{
+       int ret;
+       ret = noti_ex_item_get_ongoing_state(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_check_type_exist_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_check_type_exist()
+ */
+int utc_noti_ex_item_check_type_exist_p(void)
+{
+       int ret;
+       noti_ex_item_h button_item = NULL;
+       noti_ex_item_h item_handle = NULL;
+       bool exist = false;
+
+       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(&button_item, "button_id", "button_title");
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_item_group_add_child(item_handle, button_item);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       ret = noti_ex_item_check_type_exist(item_handle, NOTI_EX_ITEM_TYPE_BUTTON, &exist);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_check_type_exist_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_check_type_exist()
+ */
+int utc_noti_ex_item_check_type_exist_n(void)
+{
+       int ret;
+       ret = noti_ex_item_check_type_exist(NULL, NOTI_EX_ITEM_MAIN_TYPE_NONE, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_main_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_set_main_type()
+ */
+int utc_noti_ex_item_set_main_type_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_set_main_type(handle, "text_id", NOTI_EX_ITEM_MAIN_TYPE_TITLE);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_set_main_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_set_main_type()
+ */
+int utc_noti_ex_item_set_main_type_n(void)
+{
+       int ret;
+       ret = noti_ex_item_set_main_type(NULL, NULL, NOTI_EX_ITEM_MAIN_TYPE_NONE);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_main_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_get_main_type()
+ */
+int utc_noti_ex_item_get_main_type_p(void)
+{
+       int ret;
+       noti_ex_item_h handle;
+       int type = 0;
+
+       ret = noti_ex_item_text_create(&handle, "text_id", "text", "hyperlink");
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_item_set_main_type(handle, "text_id", NOTI_EX_ITEM_MAIN_TYPE_TITLE);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+       ret = noti_ex_item_get_main_type(handle, &type);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_get_main_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_get_main_type()
+ */
+int utc_noti_ex_item_get_main_type_n(void)
+{
+       int ret;
+       ret = noti_ex_item_get_main_type(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_find_by_main_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_find_by_main_type()
+ */
+int utc_noti_ex_item_find_by_main_type_p(void)
+{
+       int ret;
+       noti_ex_item_h item_handle = NULL;
+       noti_ex_item_h text_item = NULL;
+       noti_ex_item_h button_item = NULL;
+       noti_ex_item_h handle = NULL;
+
+       ret = noti_ex_item_group_create(&item_handle, "group_id");
+       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_item_group_add_child(item_handle, text_item);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       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_group_add_child(item_handle, button_item);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_item_set_main_type(item_handle, "text_id", NOTI_EX_ITEM_MAIN_TYPE_TITLE);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+
+
+       ret = noti_ex_item_find_by_main_type(item_handle, NOTI_EX_ITEM_MAIN_TYPE_TITLE, &handle);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_find_by_main_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_find_by_main_type()
+ */
+int utc_noti_ex_item_find_by_main_type_n(void)
+{
+       int ret;
+       ret = noti_ex_item_find_by_main_type(NULL, NOTI_EX_ITEM_MAIN_TYPE_NONE, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
index cc0eece9327b6c8630a1f02cbace5e794392d68b..acb27b2f239b89f203cc6d4ee559fe46e2831861 100644 (file)
@@ -151,6 +151,8 @@ static void __send_noti() {
        ret = noti_ex_item_button_create(&child_item, "testbtn2", "test2");
        ret = noti_ex_item_group_add_child(group_item, child_item);;
 
+       ret = noti_ex_item_set_channel(group_item, "test");
+
        noti_ex_reporter_post(reporter__, group_item, &req_id);
 }
 
@@ -196,6 +198,50 @@ int utc_noti_ex_manager_get_n(void)
        normal_exit(0);
 }
 
+void _getbychannel_test_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_by_channel(handle, "test", &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_by_channel_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_manager_get_by_channel()
+ */
+int utc_noti_ex_manager_get_by_channel_p(void)
+{
+       int ret;
+       noti_ex_manager_events_s ev = {0};
+
+       ev.added = _getbychannel_test_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_by_channel_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_manager_get_by_channel()
+ */
+int utc_noti_ex_manager_get_by_channel_n(void)
+{
+       int ret;
+       ret = noti_ex_manager_get_by_channel(NULL, 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;
@@ -486,4 +532,4 @@ int utc_noti_ex_manager_get_notification_count_n(void)
        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
+}
index 327f45ce27d2751a93ba561feb41d343bac2ad9e..e082936d3b2c91a1424d015b7c2c6cf948baceb8 100644 (file)
@@ -224,3 +224,66 @@ int utc_noti_ex_item_progress_get_max_n(void)
 
        normal_exit(0);
 }
+
+/**
+ * @testcase utc_noti_ex_item_progress_set_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_set_type()
+ */
+int utc_noti_ex_item_progress_set_type_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_type(handle, NOTI_EX_ITEM_PROGRESS_TYPE_PERCENT);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_set_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_set_type()
+ */
+int utc_noti_ex_item_progress_set_type_n(void)
+{
+       int ret;
+       ret = noti_ex_item_progress_set_type(NULL, 0);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_type_p
+ * @since_tizen 5.5
+ * @description Positive test case of noti_ex_item_progress_get_type()
+ */
+int utc_noti_ex_item_progress_get_type_p(void)
+{
+       int ret;
+       noti_ex_item_h handle;
+       int type;
+
+       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_type(handle, NOTI_EX_ITEM_PROGRESS_TYPE_PERCENT);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       ret = noti_ex_item_progress_get_type(handle, &type);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
+       normal_exit(0);
+}
+
+/**
+ * @testcase utc_noti_ex_item_progress_get_type_n
+ * @since_tizen 5.5
+ * @description Negative test case of noti_ex_item_progress_get_type()
+ */
+int utc_noti_ex_item_progress_get_type_n(void)
+{
+       int ret;
+       ret = noti_ex_item_progress_get_type(NULL, NULL);
+       assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
+       normal_exit(0);
+}
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)