From: Minje Ahn Date: Tue, 20 May 2025 00:40:07 +0000 (+0900) Subject: [UTC][media-content][Non-ACR] Remove TCs for deprecated APIs X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d8b62a23d65d07d2555b3e344c40c41e53b08c7;p=test%2Ftct%2Fnative%2Fapi.git [UTC][media-content][Non-ACR] Remove TCs for deprecated APIs Removed missing TCs in ACR-1820. Change-Id: Ic8f61d9bf7a0c50407294dbef23476d4826fb058 Signed-off-by: Minje Ahn --- diff --git a/src/utc/media-content/public.list b/src/utc/media-content/public.list index f2e00056c..c8001ed98 100755 --- a/src/utc/media-content/public.list +++ b/src/utc/media-content/public.list @@ -19,8 +19,6 @@ book_meta_destroy book_meta_get_media_id book_meta_get_subject book_meta_get_author -book_meta_get_date -book_meta_get_publisher book_meta_get_path_with_keyword media_album_clone media_album_destroy diff --git a/src/utc/media-content/tct-media-content-core_mobile.h b/src/utc/media-content/tct-media-content-core_mobile.h index a53b514a6..b28da82a1 100755 --- a/src/utc/media-content/tct-media-content-core_mobile.h +++ b/src/utc/media-content/tct-media-content-core_mobile.h @@ -64,10 +64,6 @@ extern int utc_media_book_meta_get_subject_n(void); extern int utc_media_book_meta_get_subject_p(void); extern int utc_media_book_meta_get_author_n(void); extern int utc_media_book_meta_get_author_p(void); -extern int utc_media_book_meta_get_date_n(void); -extern int utc_media_book_meta_get_date_p(void); -extern int utc_media_book_meta_get_publisher_n(void); -extern int utc_media_book_meta_get_publisher_p(void); extern int utc_media_book_meta_get_path_with_keyword_n(void); extern int utc_media_book_meta_get_path_with_keyword_p(void); extern int utc_media_content_connect_p(void); @@ -240,10 +236,6 @@ testcase tc_array[] = { {"utc_media_book_meta_get_subject_p", utc_media_book_meta_get_subject_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_n", utc_media_book_meta_get_author_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_p", utc_media_book_meta_get_author_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_n", utc_media_book_meta_get_date_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_p", utc_media_book_meta_get_date_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_n", utc_media_book_meta_get_publisher_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_p", utc_media_book_meta_get_publisher_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_n", utc_media_book_meta_get_path_with_keyword_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_p", utc_media_book_meta_get_path_with_keyword_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_content_connect_p",utc_media_content_connect_p,utc_media_content_startup,utc_media_content_cleanup}, diff --git a/src/utc/media-content/tct-media-content-core_tizeniot.h b/src/utc/media-content/tct-media-content-core_tizeniot.h index a53b514a6..b28da82a1 100755 --- a/src/utc/media-content/tct-media-content-core_tizeniot.h +++ b/src/utc/media-content/tct-media-content-core_tizeniot.h @@ -64,10 +64,6 @@ extern int utc_media_book_meta_get_subject_n(void); extern int utc_media_book_meta_get_subject_p(void); extern int utc_media_book_meta_get_author_n(void); extern int utc_media_book_meta_get_author_p(void); -extern int utc_media_book_meta_get_date_n(void); -extern int utc_media_book_meta_get_date_p(void); -extern int utc_media_book_meta_get_publisher_n(void); -extern int utc_media_book_meta_get_publisher_p(void); extern int utc_media_book_meta_get_path_with_keyword_n(void); extern int utc_media_book_meta_get_path_with_keyword_p(void); extern int utc_media_content_connect_p(void); @@ -240,10 +236,6 @@ testcase tc_array[] = { {"utc_media_book_meta_get_subject_p", utc_media_book_meta_get_subject_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_n", utc_media_book_meta_get_author_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_p", utc_media_book_meta_get_author_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_n", utc_media_book_meta_get_date_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_p", utc_media_book_meta_get_date_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_n", utc_media_book_meta_get_publisher_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_p", utc_media_book_meta_get_publisher_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_n", utc_media_book_meta_get_path_with_keyword_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_p", utc_media_book_meta_get_path_with_keyword_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_content_connect_p",utc_media_content_connect_p,utc_media_content_startup,utc_media_content_cleanup}, diff --git a/src/utc/media-content/tct-media-content-core_tv.h b/src/utc/media-content/tct-media-content-core_tv.h index a53b514a6..b28da82a1 100755 --- a/src/utc/media-content/tct-media-content-core_tv.h +++ b/src/utc/media-content/tct-media-content-core_tv.h @@ -64,10 +64,6 @@ extern int utc_media_book_meta_get_subject_n(void); extern int utc_media_book_meta_get_subject_p(void); extern int utc_media_book_meta_get_author_n(void); extern int utc_media_book_meta_get_author_p(void); -extern int utc_media_book_meta_get_date_n(void); -extern int utc_media_book_meta_get_date_p(void); -extern int utc_media_book_meta_get_publisher_n(void); -extern int utc_media_book_meta_get_publisher_p(void); extern int utc_media_book_meta_get_path_with_keyword_n(void); extern int utc_media_book_meta_get_path_with_keyword_p(void); extern int utc_media_content_connect_p(void); @@ -240,10 +236,6 @@ testcase tc_array[] = { {"utc_media_book_meta_get_subject_p", utc_media_book_meta_get_subject_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_n", utc_media_book_meta_get_author_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_p", utc_media_book_meta_get_author_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_n", utc_media_book_meta_get_date_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_p", utc_media_book_meta_get_date_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_n", utc_media_book_meta_get_publisher_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_p", utc_media_book_meta_get_publisher_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_n", utc_media_book_meta_get_path_with_keyword_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_p", utc_media_book_meta_get_path_with_keyword_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_content_connect_p",utc_media_content_connect_p,utc_media_content_startup,utc_media_content_cleanup}, diff --git a/src/utc/media-content/tct-media-content-core_wearable.h b/src/utc/media-content/tct-media-content-core_wearable.h index a53b514a6..b28da82a1 100755 --- a/src/utc/media-content/tct-media-content-core_wearable.h +++ b/src/utc/media-content/tct-media-content-core_wearable.h @@ -64,10 +64,6 @@ extern int utc_media_book_meta_get_subject_n(void); extern int utc_media_book_meta_get_subject_p(void); extern int utc_media_book_meta_get_author_n(void); extern int utc_media_book_meta_get_author_p(void); -extern int utc_media_book_meta_get_date_n(void); -extern int utc_media_book_meta_get_date_p(void); -extern int utc_media_book_meta_get_publisher_n(void); -extern int utc_media_book_meta_get_publisher_p(void); extern int utc_media_book_meta_get_path_with_keyword_n(void); extern int utc_media_book_meta_get_path_with_keyword_p(void); extern int utc_media_content_connect_p(void); @@ -240,10 +236,6 @@ testcase tc_array[] = { {"utc_media_book_meta_get_subject_p", utc_media_book_meta_get_subject_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_n", utc_media_book_meta_get_author_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_author_p", utc_media_book_meta_get_author_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_n", utc_media_book_meta_get_date_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_date_p", utc_media_book_meta_get_date_p,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_n", utc_media_book_meta_get_publisher_n,utc_media_book_startup,utc_media_book_cleanup}, - {"utc_media_book_meta_get_publisher_p", utc_media_book_meta_get_publisher_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_n", utc_media_book_meta_get_path_with_keyword_n,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_book_meta_get_path_with_keyword_p", utc_media_book_meta_get_path_with_keyword_p,utc_media_book_startup,utc_media_book_cleanup}, {"utc_media_content_connect_p",utc_media_content_connect_p,utc_media_content_startup,utc_media_content_cleanup}, diff --git a/src/utc/media-content/utc-media-book.c b/src/utc/media-content/utc-media-book.c index c38dbe9d9..a88c96650 100755 --- a/src/utc/media-content/utc-media-book.c +++ b/src/utc/media-content/utc-media-book.c @@ -245,66 +245,6 @@ int utc_media_book_meta_get_author_p(void) return 0; } -/** - * @testcase utc_media_book_meta_get_date_n - * @since_tizen 6.5 - * @description Negative test case of book_meta_get_date() - */ -int utc_media_book_meta_get_date_n(void) -{ - assert_eq(startup_ret, MEDIA_CONTENT_ERROR_NONE); - - assert_eq(book_meta_get_date(NULL, &g_val_str), MEDIA_CONTENT_ERROR_INVALID_PARAMETER); - - assert_eq(book_meta_get_date(g_book, NULL), MEDIA_CONTENT_ERROR_INVALID_PARAMETER); - - return 0; -} - -/** - * @testcase utc_media_book_meta_get_date_p - * @since_tizen 6.5 - * @description Positive test case of book_meta_get_date() - */ -int utc_media_book_meta_get_date_p(void) -{ - assert_eq(startup_ret, MEDIA_CONTENT_ERROR_NONE); - - assert_eq(book_meta_get_date(g_book, &g_val_str), MEDIA_CONTENT_ERROR_NONE); - - return 0; -} - -/** - * @testcase utc_media_book_meta_get_publisher_n - * @since_tizen 6.5 - * @description Negative test case of book_meta_get_publisher() - */ -int utc_media_book_meta_get_publisher_n(void) -{ - assert_eq(startup_ret, MEDIA_CONTENT_ERROR_NONE); - - assert_eq(book_meta_get_publisher(NULL, &g_val_str), MEDIA_CONTENT_ERROR_INVALID_PARAMETER); - - assert_eq(book_meta_get_publisher(g_book, NULL), MEDIA_CONTENT_ERROR_INVALID_PARAMETER); - - return 0; -} - -/** - * @testcase utc_media_book_meta_get_publisher_p - * @since_tizen 6.5 - * @description Positive test case of book_meta_get_publisher() - */ -int utc_media_book_meta_get_publisher_p(void) -{ - assert_eq(startup_ret, MEDIA_CONTENT_ERROR_NONE); - - assert_eq(book_meta_get_publisher(g_book, &g_val_str), MEDIA_CONTENT_ERROR_NONE); - - return 0; -} - /** * @testcase utc_media_book_meta_get_path_with_keyword_n * @since_tizen 6.5