[UTC][Notificationi][ACR-1479][Deletes noti_ex_item_get_shared_paths test case] 25/224625/1
authormk5004.lee <mk5004.lee@samsung.com>
Wed, 12 Feb 2020 05:04:18 +0000 (14:04 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Wed, 12 Feb 2020 05:04:18 +0000 (14:04 +0900)
Change-Id: I79d3ad11fde1047bfba8ae6a9f49e6341f89d538
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-image.c
src/utc/notification/utc-notification-ex-item.c
src/utc/notification/utc-notification-ex-text.c

index 89c2157e917ca1e6947d35cacab85892f9ad5770..ceb5d09194e3a154f1fd81fd44821fc4157bc32d 100644 (file)
@@ -411,8 +411,6 @@ 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);
@@ -994,8 +992,6 @@ testcase tc_array[] = {
        {"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},
index 89c2157e917ca1e6947d35cacab85892f9ad5770..ceb5d09194e3a154f1fd81fd44821fc4157bc32d 100644 (file)
@@ -411,8 +411,6 @@ 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);
@@ -994,8 +992,6 @@ testcase tc_array[] = {
        {"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},
index 89c2157e917ca1e6947d35cacab85892f9ad5770..ceb5d09194e3a154f1fd81fd44821fc4157bc32d 100644 (file)
@@ -411,8 +411,6 @@ 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);
@@ -994,8 +992,6 @@ testcase tc_array[] = {
        {"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},
index cf3751dacd6ebdb7c91e4bab73b87a89c785d8e5..d6f828d8a8d9bb33d385652d1faa2b1961cc1524 100644 (file)
@@ -44,7 +44,8 @@ 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");
+       //ret = noti_ex_item_image_create(&handle, "image_id", "image_path");
+       ret = noti_ex_item_image_create(&handle, NULL, "image_path");
        assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
 
        ret = noti_ex_item_destroy(handle);
index cf47f50f2ccfab9d272672989ec06385d462f7de..86aea7ab0a34276e63daab47bb0ed566c4131368 100644 (file)
@@ -1658,37 +1658,6 @@ int utc_noti_ex_item_get_type_n(void)
        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
index b0bbe86ffb887a6d199ca012f4ee86ecd78acacd..e749f6e79cd991c172ddc5236e63afe01d6a67a8 100644 (file)
@@ -44,7 +44,8 @@ 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");
+       ret = noti_ex_item_text_create(&handle, NULL, "text", "hyperlink");
+       //ret = noti_ex_item_text_create(&handle, "id", "text", "hyperlink");
        assert_eq_with_exit(ret, NOTI_EX_ERROR_NONE);
 
        ret = noti_ex_item_destroy(handle);
@@ -229,4 +230,4 @@ int utc_noti_ex_item_text_set_multi_language_n(void)
        ret = noti_ex_item_text_set_multi_language(NULL, NULL);
        assert_eq_with_exit(ret, NOTI_EX_ERROR_INVALID_PARAMETER);
        normal_exit(0);
-}
\ No newline at end of file
+}