summaryrefslogtreecommitdiff
path: root/test/media-service-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/media-service-test.c')
-rwxr-xr-xtest/media-service-test.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/media-service-test.c b/test/media-service-test.c
index 9b40fca..4c21532 100755
--- a/test/media-service-test.c
+++ b/test/media-service-test.c
@@ -142,14 +142,6 @@ gboolean _send_noti_operations(gpointer data)
media_svc_debug("media_svc_insert_item_immediately success");
- /* 2. media_svc_refresh_item */
- ret = media_svc_refresh_item(g_db_handle, storage_type, path);
- if (ret != MS_MEDIA_ERR_NONE) {
- media_svc_error("media_svc_refresh_item failed : %d", ret);
- return FALSE;
- }
- media_svc_debug("media_svc_refresh_item success");
-
/* 2. media_svc_move_item */
const char *dst_path = tzplatform_mkpath(TZ_USER_CONTENT, "test/image11.jpg");
ret = media_svc_move_item(g_db_handle, path, dst_path);
@@ -174,24 +166,6 @@ gboolean _send_noti_operations(gpointer data)
}
media_svc_debug("media_svc_delete_item_by_path success");
- /* Rename folder */
- const char *src_folder_path = tzplatform_mkpath(TZ_USER_CONTENT, "test");
- const char *dst_folder_path = tzplatform_mkpath(TZ_USER_CONTENT, "test_test");
- ret = media_svc_rename_folder(g_db_handle, src_folder_path, dst_folder_path);
- if (ret != MS_MEDIA_ERR_NONE) {
- media_svc_error("media_svc_rename_folder failed : %d", ret);
- return FALSE;
- }
- media_svc_debug("media_svc_rename_folder success");
-
- /* Rename folder again */
- ret = media_svc_rename_folder(g_db_handle, dst_folder_path, src_folder_path);
- if (ret != MS_MEDIA_ERR_NONE) {
- media_svc_error("media_svc_rename_folder failed : %d", ret);
- return FALSE;
- }
- media_svc_debug("media_svc_rename_folder success");
-
return FALSE;
}