Remove debian and TC directories
authorHyunjun Ko <zzoon.ko@samsung.com>
Thu, 23 Aug 2012 04:27:32 +0000 (13:27 +0900)
committerHyunjun Ko <zzoon.ko@samsung.com>
Thu, 23 Aug 2012 04:27:32 +0000 (13:27 +0900)
182 files changed:
TC/_export_env.sh [deleted file]
TC/build.sh [deleted file]
TC/execute.sh [deleted file]
TC/making_new_tet_scen.py [deleted file]
TC/tet_scen [deleted file]
TC/tetbuild.cfg [deleted file]
TC/tetclean.cfg [deleted file]
TC/tetexec.cfg [deleted file]
TC/tslist.txt [deleted file]
TC/utc/audio/Makefile [deleted file]
TC/utc/audio/legend.sub [deleted file]
TC/utc/audio/tslist [deleted file]
TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_add_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_add_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_check_item_exist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_check_item_exist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_close_func.c [deleted file]
TC/utc/audio/utc_audio_svc_close_func.h [deleted file]
TC/utc/audio/utc_audio_svc_common.c [deleted file]
TC/utc/audio/utc_audio_svc_common.h [deleted file]
TC/utc/audio/utc_audio_svc_count_group_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_count_group_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_count_list_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_count_list_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.c [deleted file]
TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.h [deleted file]
TC/utc/audio/utc_audio_svc_count_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_count_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_create_table_func.c [deleted file]
TC/utc/audio/utc_audio_svc_create_table_func.h [deleted file]
TC/utc/audio/utc_audio_svc_delete_all_func.c [deleted file]
TC/utc/audio/utc_audio_svc_delete_all_func.h [deleted file]
TC/utc/audio/utc_audio_svc_delete_invalid_items_func.c [deleted file]
TC/utc/audio/utc_audio_svc_delete_invalid_items_func.h [deleted file]
TC/utc/audio/utc_audio_svc_delete_item_by_path_func.c [deleted file]
TC/utc/audio/utc_audio_svc_delete_item_by_path_func.h [deleted file]
TC/utc/audio/utc_audio_svc_delete_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_delete_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_group_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_group_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_item_by_path_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_item_by_path_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_list_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_list_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.h [deleted file]
TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.c [deleted file]
TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.h [deleted file]
TC/utc/audio/utc_audio_svc_insert_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_insert_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_item_free_func.c [deleted file]
TC/utc/audio/utc_audio_svc_item_free_func.h [deleted file]
TC/utc/audio/utc_audio_svc_item_get_val_func.c [deleted file]
TC/utc/audio/utc_audio_svc_item_get_val_func.h [deleted file]
TC/utc/audio/utc_audio_svc_item_new_func.c [deleted file]
TC/utc/audio/utc_audio_svc_item_new_func.h [deleted file]
TC/utc/audio/utc_audio_svc_list_item_free_func.c [deleted file]
TC/utc/audio/utc_audio_svc_list_item_free_func.h [deleted file]
TC/utc/audio/utc_audio_svc_list_item_get_func.c [deleted file]
TC/utc/audio/utc_audio_svc_list_item_get_func.h [deleted file]
TC/utc/audio/utc_audio_svc_list_item_get_val_func.c [deleted file]
TC/utc/audio/utc_audio_svc_list_item_get_val_func.h [deleted file]
TC/utc/audio/utc_audio_svc_list_item_new_func.c [deleted file]
TC/utc/audio/utc_audio_svc_list_item_new_func.h [deleted file]
TC/utc/audio/utc_audio_svc_move_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_move_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_open_func.c [deleted file]
TC/utc/audio/utc_audio_svc_open_func.h [deleted file]
TC/utc/audio/utc_audio_svc_playlist_free_func.c [deleted file]
TC/utc/audio/utc_audio_svc_playlist_free_func.h [deleted file]
TC/utc/audio/utc_audio_svc_playlist_get_item_func.c [deleted file]
TC/utc/audio/utc_audio_svc_playlist_get_item_func.h [deleted file]
TC/utc/audio/utc_audio_svc_playlist_get_val_func.c [deleted file]
TC/utc/audio/utc_audio_svc_playlist_get_val_func.h [deleted file]
TC/utc/audio/utc_audio_svc_playlist_new_func.c [deleted file]
TC/utc/audio/utc_audio_svc_playlist_new_func.h [deleted file]
TC/utc/audio/utc_audio_svc_playlist_set_val_func.c [deleted file]
TC/utc/audio/utc_audio_svc_playlist_set_val_func.h [deleted file]
TC/utc/audio/utc_audio_svc_refresh_metadata_func.c [deleted file]
TC/utc/audio/utc_audio_svc_refresh_metadata_func.h [deleted file]
TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.c [deleted file]
TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.h [deleted file]
TC/utc/audio/utc_audio_svc_set_db_valid_func.c [deleted file]
TC/utc/audio/utc_audio_svc_set_db_valid_func.h [deleted file]
TC/utc/audio/utc_audio_svc_set_item_valid_func.c [deleted file]
TC/utc/audio/utc_audio_svc_set_item_valid_func.h [deleted file]
TC/utc/audio/utc_audio_svc_update_playlist_name_func.c [deleted file]
TC/utc/audio/utc_audio_svc_update_playlist_name_func.h [deleted file]
TC/utc/visual/Makefile [deleted file]
TC/utc/visual/tslist [deleted file]
TC/utc/visual/utc_minfo_bookmark_func.c [deleted file]
TC/utc/visual/utc_minfo_bookmark_func.h [deleted file]
TC/utc/visual/utc_minfo_cluster_func.c [deleted file]
TC/utc/visual/utc_minfo_cluster_func.h [deleted file]
TC/utc/visual/utc_minfo_delete_invalid_media_records_func.c [deleted file]
TC/utc/visual/utc_minfo_delete_invalid_media_records_func.h [deleted file]
TC/utc/visual/utc_minfo_destroy_mtype_item_func.c [deleted file]
TC/utc/visual/utc_minfo_destroy_mtype_item_func.h [deleted file]
TC/utc/visual/utc_minfo_get_all_item_list_func.c [deleted file]
TC/utc/visual/utc_minfo_get_all_item_list_func.h [deleted file]
TC/utc/visual/utc_minfo_get_bookmark_list_func.c [deleted file]
TC/utc/visual/utc_minfo_get_bookmark_list_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_cnt_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_cnt_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_cover_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_cover_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_list_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_list_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_lock_status_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_lock_status_func.h [deleted file]
TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.c [deleted file]
TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.h [deleted file]
TC/utc/visual/utc_minfo_get_geo_item_list_func.c [deleted file]
TC/utc/visual/utc_minfo_get_geo_item_list_func.h [deleted file]
TC/utc/visual/utc_minfo_get_item_cnt_func.c [deleted file]
TC/utc/visual/utc_minfo_get_item_cnt_func.h [deleted file]
TC/utc/visual/utc_minfo_get_item_func.c [deleted file]
TC/utc/visual/utc_minfo_get_item_func.h [deleted file]
TC/utc/visual/utc_minfo_get_item_list_func.c [deleted file]
TC/utc/visual/utc_minfo_get_item_list_func.h [deleted file]
TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.c [deleted file]
TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.h [deleted file]
TC/utc/visual/utc_minfo_get_media_path_func.c [deleted file]
TC/utc/visual/utc_minfo_get_media_path_func.h [deleted file]
TC/utc/visual/utc_minfo_get_meta_info_func.c [deleted file]
TC/utc/visual/utc_minfo_get_meta_info_func.h [deleted file]
TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.c [deleted file]
TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.h [deleted file]
TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.c [deleted file]
TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.h [deleted file]
TC/utc/visual/utc_minfo_get_thumb_path_func.c [deleted file]
TC/utc/visual/utc_minfo_get_thumb_path_func.h [deleted file]
TC/utc/visual/utc_minfo_media_func.c [deleted file]
TC/utc/visual/utc_minfo_media_func.h [deleted file]
TC/utc/visual/utc_minfo_move_media_func.c [deleted file]
TC/utc/visual/utc_minfo_move_media_func.h [deleted file]
TC/utc/visual/utc_minfo_mv_media_func.c [deleted file]
TC/utc/visual/utc_minfo_mv_media_func.h [deleted file]
TC/utc/visual/utc_minfo_set_cluster_lock_status_func.c [deleted file]
TC/utc/visual/utc_minfo_set_cluster_lock_status_func.h [deleted file]
TC/utc/visual/utc_minfo_set_db_valid_func.c [deleted file]
TC/utc/visual/utc_minfo_set_db_valid_func.h [deleted file]
TC/utc/visual/utc_minfo_tag_func.c [deleted file]
TC/utc/visual/utc_minfo_tag_func.h [deleted file]
TC/utc/visual/utc_minfo_update_cluster_name_func.c [deleted file]
TC/utc/visual/utc_minfo_update_cluster_name_func.h [deleted file]
TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.c [deleted file]
TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.h [deleted file]
TC/utc/visual/utc_minfo_update_media_favorite_func.c [deleted file]
TC/utc/visual/utc_minfo_update_media_favorite_func.h [deleted file]
TC/utc/visual/utc_minfo_update_media_name_func.c [deleted file]
TC/utc/visual/utc_minfo_update_media_name_func.h [deleted file]
TC/utc/visual/utc_minfo_update_video_meta_info_int_func.c [deleted file]
TC/utc/visual/utc_minfo_update_video_meta_info_int_func.h [deleted file]
TC/utc/visual/utc_visual_svc_common.h [deleted file]
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/docs [deleted file]
debian/libmedia-service-dev.install.in [deleted file]
debian/libmedia-service.install.in [deleted file]
debian/rules [deleted file]
packaging/libmedia-service.spec

diff --git a/TC/_export_env.sh b/TC/_export_env.sh
deleted file mode 100755 (executable)
index 56e2167..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-export ARCH=target
-
-export TET_INSTALL_PATH=/usr/bin/tetware/TETware  # tetware root path
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target # tetware target path
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-
-export TET_ROOT=$TET_TARGET_PATH
-
-set $(pwd)
-export TET_SUITE_ROOT=$1
-
-set $(date +%s)
-FILE_NAME_EXTENSION=$1
-
diff --git a/TC/build.sh b/TC/build.sh
deleted file mode 100755 (executable)
index dc464e7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-. ./_export_env.sh                              # setting environment variables
-
-echo PATH=$PATH
-echo LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-echo TET_ROOT=$TET_ROOT
-echo TET_SUITE_ROOT=$TET_SUITE_ROOT
-echo ARCH=$ARCH
-
-RESULT_DIR=results-$ARCH
-HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html
-JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal
-
-mkdir $RESULT_DIR
-
-tcc -c -p ./                                # executing tcc, with clean option (-c)
-tcc -b -j $JOURNAL_RESULT -p ./            # executing tcc to build test cases (-b)
-grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT  # reporting the result
-
diff --git a/TC/execute.sh b/TC/execute.sh
deleted file mode 100755 (executable)
index 9de8291..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-export ARCH=target
-
-export TET_INSTALL_PATH=/mnt/nfs/tetware/TETware  # path to mount
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-
-export TET_ROOT=$TET_TARGET_PATH
-
-set $(pwd)
-export TET_SUITE_ROOT=$1
-
-set $(date +%s)
-FILE_NAME_EXTENSION=$1
-
-echo PATH=$PATH
-echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
-echo TET_ROOT=$TET_ROOT
-echo TET_SUITE_ROOT=$TET_SUITE_ROOT
-echo ARCH=$ARCH
-
-RESULT_DIR=results-$ARCH
-HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html
-JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal
-
-mkdir $RESULT_DIR
-
-tcc -e -j $JOURNAL_RESULT -p ./
-grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT  # reporting the result
-
diff --git a/TC/making_new_tet_scen.py b/TC/making_new_tet_scen.py
deleted file mode 100755 (executable)
index 6c5b845..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/python
-
-#############################################
-# tet_scen  auto generator
-#
-# ** argv[1] = TC root
-#############################################
-
-import sys,string,os
-
-
-write_file = open("tet_scen", 'w')
-
-#
-# making new tet_scen
-#
-def making_tet_scen (filename):
-       #tmp_list = filename.strip().split('/')
-       n_filename = filename.replace(' ', '\\ ')
-       #print n_filename
-       #new_path = "/"+ sys.argv[1] +"/"+n_filename[2:-6]
-       new_path = "/"+n_filename[:-6]
-       #print new_path
-       file = open(filename, 'r')
-       lines = file.readlines()
-       for line in lines:
-               if len(line.strip()) > 1:
-                       list = line.strip().split('/')
-                       #print new_path + list[-1]
-                       write_file.write("\t"+new_path+list[-1]+"\n")
-
-#
-# usage()
-#
-def usage():
-       print(" ")
-       print("./making_new_tet_scen.py tc_root")
-       print("Put the Test Case's root directory.")
-       print("Do not include '/' at the end")
-       print(" ")
-
-#
-# main()
-#
-def main():
-       if len(sys.argv) < 2:
-               usage()
-               sys.exit(0)
-               
-       os.system('find '+ sys.argv[1] +' -name "tslist" > tslist.txt')
-       
-       #write_file = open("tetscen", w)
-       write_file.write("# auto generated tet_scen\n")
-       write_file.write("all\n")
-       write_file.write("\t\"Starting Full Test Suite\"\n")
-       
-       for file in open("tslist.txt", 'r'):
-               #print file.strip()
-               making_tet_scen(file.strip())
-                       
-       write_file.write("\t\"Completed Full Test Suite\"\n")
-       write_file.write("# EOF\n")
-       write_file.close()
-       print(" ")
-       print("==============================")
-       print("New tet_scen file is made~~~~")
-       print("==============================")
-       print(" ")
-main()
diff --git a/TC/tet_scen b/TC/tet_scen
deleted file mode 100644 (file)
index 1771392..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# auto generated tet_scen
-all
-       "Starting Full Test Suite"
-       :include:/utc/audio/tslist
-       :include:/utc/visual/tslist
-       "Completed Full Test Suite"
-# EOF
diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg
deleted file mode 100644 (file)
index f7eda55..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TET_OUTPUT_CAPTURE=True # capture option for build operation checking
-TET_BUILD_TOOL=make # build with using make command
-TET_BUILD_FILE=-f Makefile # execution file (Makefile) for build
-TET_API_COMPLIANT=True # use TET API in Test Case ?
-TET_PASS_TC_NAME=True # report passed TC name in Journal file?
diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg
deleted file mode 100644 (file)
index 02d7030..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TET_OUTPUT_CAPTURE=True # capture option
-TET_CLEAN_TOOL= make clean # clean tool
-TET_CLEAN_FILE= Makefile # file for clean
-TET_API_COMPLIANT=True # TET API useage 
-TET_PASS_TC_NAME=True # showing name , passed TC
diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg
deleted file mode 100644 (file)
index ef3e452..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-TET_OUTPUT_CAPTURE=True # capturing execution or not
-TET_EXEC_TOOL=  # ex) exec : execution tool set up/ Optional
-TET_EXEC_FILE=   # ex) exectool : execution file/ Optional
-TET_API_COMPLIANT=True # Test case or Tool usesTET API?
-TET_PASS_TC_NAME=True # showing Passed TC name ?
diff --git a/TC/tslist.txt b/TC/tslist.txt
deleted file mode 100644 (file)
index da39889..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-utc/audio/tslist
-utc/visual/tslist
diff --git a/TC/utc/audio/Makefile b/TC/utc/audio/Makefile
deleted file mode 100755 (executable)
index 56f3cca..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-ifeq ($(ARCH),target)\r
-       PKG_CONFIG_PATH=/usr/lib/pkgconfig\r
-       export PKG_CONFIG_PATH\r
-       CC=arm-linux-gcc -Wall\r
-       CXX=arm-linux-g++ -Wall\r
-else\r
-       PKG_CONFIG_PATH=/usr/lib/pkgconfig\r
-       export PKG_CONFIG_PATH\r
-       CC=gcc -Wall\r
-    CXX=gcc -Wall\r
-endif\r
-\r
-TS1=utc_audio_svc_add_item_to_playlist_func\r
-TS2=utc_audio_svc_add_playlist_func\r
-TS3=utc_audio_svc_check_duplicate_insertion_in_playlist_func\r
-#TS4=utc_audio_svc_close_func\r
-TS5=utc_audio_svc_get_playlist_func\r
-TS7=utc_audio_svc_count_group_item_func\r
-TS8=utc_audio_svc_count_list_item_func\r
-TS9=utc_audio_svc_count_playlist_by_name_func\r
-TS10=utc_audio_svc_count_playlist_func\r
-TS11=utc_audio_svc_create_table_func\r
-TS12=utc_audio_svc_delete_all_func\r
-TS15=utc_audio_svc_delete_playlist_func\r
-TS17=utc_audio_svc_get_group_item_func\r
-TS18=utc_audio_svc_get_item_by_audio_id_func\r
-TS19=utc_audio_svc_get_item_by_path_func\r
-TS20=utc_audio_svc_get_list_item_func\r
-TS21=utc_audio_svc_get_playlist_name_by_playlist_id_func\r
-TS22=utc_audio_svc_get_unique_playlist_name_func\r
-TS23=utc_audio_svc_insert_item_func\r
-TS25=utc_audio_svc_item_free_func\r
-TS26=utc_audio_svc_item_get_val_func\r
-TS27=utc_audio_svc_item_new_func\r
-TS29=utc_audio_svc_list_item_free_func\r
-TS30=utc_audio_svc_list_item_get_func\r
-TS31=utc_audio_svc_list_item_get_val_func\r
-TS32=utc_audio_svc_list_item_new_func\r
-TS34=utc_audio_svc_move_item_func\r
-#TS35=utc_audio_svc_open_func\r
-TS36=utc_audio_svc_playlist_free_func\r
-TS37=utc_audio_svc_playlist_get_item_func\r
-TS38=utc_audio_svc_playlist_get_val_func\r
-TS39=utc_audio_svc_playlist_new_func\r
-TS40=utc_audio_svc_playlist_set_val_func\r
-TS41=utc_audio_svc_refresh_metadata_func\r
-TS42=utc_audio_svc_remove_item_from_playlist_by_audio_id_func\r
-TS43=utc_audio_svc_set_db_valid_func\r
-TS44=utc_audio_svc_set_item_valid_func\r
-TS48=utc_audio_svc_update_playlist_name_func\r
-TS50=utc_audio_svc_get_path_by_audio_id_func\r
-TS51=utc_audio_svc_delete_item_by_path_func\r
-TS55=utc_audio_svc_delete_invalid_items_func\r
-TS56=utc_audio_svc_check_item_exist_func\r
-TS57=utc_audio_svc_get_playlist_id_by_playlist_name_func\r
-\r
-LIBS = `pkg-config --libs libmedia-service`\r
-LIBS +=$(TET_ROOT)/lib/tet3/tcm_s.o\r
-LIBS +=-L$(TET_ROOT)/lib/tet3/ -ltcm_s\r
-LIBS +=-lapi_s\r
-LIBS +=utc_audio_svc_common.o\r
-\r
-INCS = -I. `pkg-config --cflags  libmedia-service`\r
-INCS += -I$(TET_ROOT)/inc/tet3\r
-INCS += -I/usr/include\r
-\r
-CFLAGS = $(INCS)\r
-CC += $(CFLAGS)\r
-LDFLAGS = $(LIBS)\r
-\r
-TCLIST = $(TS1) $(TS2) $(TS3) $(TS4) $(TS5) $(TS7) $(TS8) $(TS9) $(TS10) $(TS11) $(TS12) $(TS15) $(TS17) $(TS18) $(TS19) $(TS20) $(TS21) $(TS22) $(TS23) $(TS25) $(TS26) $(TS27) $(TS29) $(TS30) $(TS31) $(TS32) $(TS34) $(TS35) $(TS36) $(TS37) $(TS38) $(TS39) $(TS40) $(TS41) $(TS42) $(TS43) $(TS44) $(TS48) $(TS50) $(TS51) $(TS55) $(TS56) $(TS57)\r
-\r
-#utc_audio_svc_common :\r
-#      $(CC) -c utc_audio_svc_common.c\r
-\r
-all :\r
-       $(CC) -c utc_audio_svc_common.c\r
-       for testcase in $(TCLIST) ; do \\r
-               $(CC) -o $$testcase $(UTIL_SRC) $$testcase.c  $(LDFLAGS) ; \\r
-       done\r
-\r
-utc_audio_svc_common :\r
-       $(CC) -c utc_audio_svc_common.c\r
-\r
-$(TS1): $(TS1).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS1) $(TS1).c $(LDFLAGS)\r
-\r
-$(TS2): $(TS2).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS2) $(TS2).c $(LDFLAGS)\r
-\r
-$(TS3): $(TS3).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS3) $(TS3).c $(LDFLAGS)\r
-\r
-$(TS4): $(TS4).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS4) $(TS4).c $(LDFLAGS)\r
-\r
-$(TS5): $(TS5).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS5) $(TS5).c $(LDFLAGS)\r
-\r
-$(TS7): $(TS7).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS7) $(TS7).c $(LDFLAGS)\r
-\r
-$(TS8): $(TS8).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS8) $(TS8).c $(LDFLAGS)\r
-\r
-$(TS9): $(TS9).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS9) $(TS9).c $(LDFLAGS)\r
-\r
-$(TS10): $(TS10).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS10) $(TS10).c $(LDFLAGS)\r
-\r
-$(TS11): $(TS11).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS11) $(TS11).c $(LDFLAGS)\r
-\r
-$(TS12): $(TS12).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS12) $(TS12).c $(LDFLAGS)\r
-\r
-$(TS15): $(TS15).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS15) $(TS15).c $(LDFLAGS)\r
-\r
-$(TS17): $(TS17).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS17) $(TS17).c $(LDFLAGS)\r
-\r
-$(TS18): $(TS18).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS18) $(TS18).c $(LDFLAGS)\r
-\r
-$(TS19): $(TS19).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS19) $(TS19).c $(LDFLAGS)\r
-\r
-$(TS20): $(TS20).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS20) $(TS20).c $(LDFLAGS)\r
-\r
-$(TS21): $(TS21).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS21) $(TS21).c $(LDFLAGS)\r
-\r
-$(TS22): $(TS22).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS22) $(TS22).c $(LDFLAGS)\r
-\r
-$(TS23): $(TS23).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS23) $(TS23).c $(LDFLAGS)\r
-\r
-$(TS25): $(TS25).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS25) $(TS25).c $(LDFLAGS)\r
-\r
-$(TS26): $(TS26).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS26) $(TS26).c $(LDFLAGS)\r
-\r
-$(TS27): $(TS27).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS27) $(TS27).c $(LDFLAGS)\r
-\r
-$(TS29): $(TS29).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS29) $(TS29).c $(LDFLAGS)\r
-\r
-$(TS30): $(TS30).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS30) $(TS30).c $(LDFLAGS)\r
-\r
-$(TS31): $(TS31).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS31) $(TS31).c $(LDFLAGS)\r
-\r
-$(TS32): $(TS32).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS32) $(TS32).c $(LDFLAGS)\r
-\r
-$(TS34): $(TS34).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS34) $(TS34).c $(LDFLAGS)\r
-\r
-$(TS35): $(TS35).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS35) $(TS35).c $(LDFLAGS)\r
-\r
-$(TS36): $(TS36).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS36) $(TS36).c $(LDFLAGS)\r
-\r
-$(TS37): $(TS37).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS37) $(TS37).c $(LDFLAGS)\r
-\r
-$(TS38): $(TS38).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS38) $(TS38).c $(LDFLAGS)\r
-\r
-$(TS39): $(TS39).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS39) $(TS39).c $(LDFLAGS)\r
-\r
-$(TS40): $(TS40).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS40) $(TS40).c $(LDFLAGS)\r
-\r
-$(TS41): $(TS41).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS41) $(TS41).c $(LDFLAGS)\r
-\r
-$(TS42): $(TS42).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS42) $(TS42).c $(LDFLAGS)\r
-\r
-$(TS43): $(TS43).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS43) $(TS43).c $(LDFLAGS)\r
-\r
-$(TS44): $(TS44).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS44) $(TS44).c $(LDFLAGS)\r
-\r
-$(TS48): $(TS48).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS48) $(TS48).c $(LDFLAGS)\r
-\r
-$(TS50): $(TS50).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS50) $(TS50).c $(LDFLAGS)\r
-\r
-$(TS51): $(TS51).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS51) $(TS51).c $(LDFLAGS)\r
-\r
-$(TS55): $(TS55).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS55) $(TS55).c $(LDFLAGS)\r
-\r
-$(TS56): $(TS56).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS56) $(TS56).c $(LDFLAGS)\r
-\r
-$(TS57): $(TS57).c\r
-               $(CC) -c utc_audio_svc_common.c\r
-               $(CC) -o $(TS57) $(TS57).c $(LDFLAGS)\r
-\r
-clean :\r
-       rm -rf *~ *.o $(TCLIST)\r
-\r
-\r
-\r
-clean :\r
-       rm -rf *~ *.o $(TCLIST)\r
-\r
-\r
-clean :\r
-       rm -rf *~ *.o $(TCLIST)\r
-\r
-\r
diff --git a/TC/utc/audio/legend.sub b/TC/utc/audio/legend.sub
deleted file mode 100755 (executable)
index 76c392c..0000000
+++ /dev/null
@@ -1,2986 +0,0 @@
-1\r
-00:00:01,838 --> 00:00:03,005\r
-<i>Richard Cypher,</i>\r
-\r
-2\r
-00:00:03,006 --> 00:00:05,474\r
-<i>you are the true Seeker.</i>\r
-\r
-3\r
-00:00:07,510 --> 00:00:14,510\r
-<font color=#7FFF00> Legend of the Seeker 2x09</font>\r
-<font color=#FFFF00>Dark</font>\r
-Original Air Date on January 23, 2010\r
-\r
-4\r
-00:00:14,511 --> 00:00:19,811\r
--- Sync, corrected by <font color=#00FF00>elderman</font> --\r
--- <font color=#00FFFF>for addic7ed.com</font> --\r
-\r
-5\r
-00:00:29,745 --> 00:00:33,015\r
-Welcome to the Palace\r
-of the Prophets.\r
-\r
-6\r
-00:00:33,016 --> 00:00:35,168\r
-It's beautiful.\r
-\r
-7\r
-00:00:35,169 --> 00:00:37,534\r
-I searched for you\r
-for 24 years, Richard.\r
-\r
-8\r
-00:00:38,235 --> 00:00:42,798\r
-To bring you here, to my home,\r
-to be trained as a Wizard.\r
-\r
-9\r
-00:00:42,799 --> 00:00:45,319\r
-So often I thought this day\r
-would never come.\r
-\r
-10\r
-00:00:48,134 --> 00:00:51,185\r
-Well, at least we arrived before\r
-you turned me completely gray.\r
-\r
-11\r
-00:00:55,815 --> 00:00:56,920\r
-Another headache?\r
-\r
-12\r
-00:00:58,365 --> 00:01:00,708\r
-Once you're inside the palace\r
-walls the pain will go away.\r
-\r
-13\r
-00:01:00,709 --> 00:01:02,551\r
-How?\r
-\r
-14\r
-00:01:02,552 --> 00:01:04,594\r
-The palace is spelled\r
-to carry the burden\r
-\r
-15\r
-00:01:04,595 --> 00:01:07,238\r
-that young Wizards\r
-can't yet carry themselves.\r
-\r
-16\r
-00:01:07,239 --> 00:01:09,418\r
-Well, the quicker I learn\r
-to handle it on my own,\r
-\r
-17\r
-00:01:09,419 --> 00:01:11,023\r
-the quicker I can get back\r
-to my quest.\r
-\r
-18\r
-00:01:11,024 --> 00:01:12,864\r
-And my friends.\r
-\r
-19\r
-00:01:17,586 --> 00:01:20,464\r
-Where there is darkness\r
-\r
-20\r
-00:01:20,465 --> 00:01:24,747\r
-Let the light shine\r
-\r
-21\r
-00:01:24,748 --> 00:01:29,129\r
-Where there is despair\r
-\r
-22\r
-00:01:29,130 --> 00:01:32,173\r
-Let the Creator\r
-\r
-23\r
-00:01:32,174 --> 00:01:34,984\r
-Bring us hope\r
-\r
-24\r
-00:01:34,985 --> 00:01:39,298\r
-Where there is fear\r
-\r
-25\r
-00:01:39,299 --> 00:01:42,844\r
-Let the Creator\r
-\r
-26\r
-00:01:42,845 --> 00:01:46,957\r
-Inspire valor\r
-\r
-27\r
-00:01:46,958 --> 00:01:50,769\r
-Where there is loneliness\r
-\r
-28\r
-00:01:50,770 --> 00:01:53,176\r
-Let the Creator\r
-\r
-29\r
-00:01:53,177 --> 00:01:55,349\r
-Sow friendship\r
-\r
-30\r
-00:01:55,350 --> 00:01:56,285\r
-Verna.\r
-\r
-31\r
-00:01:59,965 --> 00:02:02,270\r
-Welcome home.\r
-\r
-32\r
-00:02:02,271 --> 00:02:04,376\r
-And you must be Richard.\r
-\r
-33\r
-00:02:04,377 --> 00:02:05,714\r
-Richard, this is\r
-\r
-34\r
-00:02:05,715 --> 00:02:07,787\r
-Annalina Aldurren,\r
-the Prelate,\r
-\r
-35\r
-00:02:07,788 --> 00:02:10,393\r
-our spiritual leader.\r
-\r
-36\r
-00:02:10,394 --> 00:02:13,101\r
-We have waited\r
-so long to meet you.\r
-\r
-37\r
-00:02:13,102 --> 00:02:15,039\r
-Welcome to the Palace\r
-of the Prophets.\r
-\r
-38\r
-00:02:15,040 --> 00:02:16,242\r
-Thank you.\r
-\r
-39\r
-00:02:16,243 --> 00:02:22,024\r
-We'll speak later.\r
-After devotions, yes?\r
-\r
-40\r
-00:02:22,025 --> 00:02:26,301\r
-â\99ª Strengthen me, O Creator Ã¢\99ª\r
-\r
-41\r
-00:02:26,302 --> 00:02:31,616\r
-â\99ª To defend your light Ã¢\99ª\r
-\r
-42\r
-00:02:36,361 --> 00:02:38,566\r
-Into the warmth\r
-of the Creator's light.\r
-\r
-43\r
-00:02:38,567 --> 00:02:40,538\r
-Please rise.\r
-\r
-44\r
-00:02:45,651 --> 00:02:46,585\r
-Sister Brenna?\r
-\r
-45\r
-00:03:02,557 --> 00:03:05,060\r
-Sister Brenna's weak heart\r
-finally gave out,\r
-\r
-46\r
-00:03:05,061 --> 00:03:07,933\r
-but the radiant look\r
-of peace on her face\r
-\r
-47\r
-00:03:07,934 --> 00:03:12,643\r
-can only mean\r
-she is with the Creator now.\r
-\r
-48\r
-00:03:14,347 --> 00:03:16,718\r
-Thank you, Sister Nicci.\r
-\r
-49\r
-00:03:16,719 --> 00:03:18,388\r
-Could you please prepare\r
-the funeral pyre?\r
-\r
-50\r
-00:03:18,389 --> 00:03:19,356\r
-Yes, Prelate.\r
-\r
-51\r
-00:03:25,772 --> 00:03:27,573\r
-Prelate,\r
-\r
-52\r
-00:03:27,574 --> 00:03:31,112\r
-may I leave Sister Brenna's\r
-hymn book with her?\r
-\r
-53\r
-00:03:31,113 --> 00:03:32,949\r
-She loved it so.\r
-\r
-54\r
-00:03:32,950 --> 00:03:35,086\r
-Of course, Sister Ulicia.\r
-\r
-55\r
-00:03:42,035 --> 00:03:45,541\r
-This rash.\r
-I've seen it before.\r
-\r
-56\r
-00:03:45,542 --> 00:03:47,647\r
-It's caused by a deadly poison\r
-from a rare vine\r
-\r
-57\r
-00:03:47,648 --> 00:03:48,649\r
-called creeping elder.\r
-\r
-58\r
-00:03:48,650 --> 00:03:50,552\r
-Sisters, please excuse us.\r
-\r
-59\r
-00:03:53,659 --> 00:03:55,128\r
-I should have known\r
-better than to try\r
-\r
-60\r
-00:03:55,129 --> 00:03:57,231\r
-and keep the Seeker of Truth\r
-in the dark.\r
-\r
-61\r
-00:03:57,232 --> 00:04:00,237\r
-I think Sister Brenna\r
-took her own life.\r
-\r
-62\r
-00:04:01,808 --> 00:04:03,644\r
-Perhaps with that poison\r
-you mentioned.\r
-\r
-63\r
-00:04:03,645 --> 00:04:05,513\r
-Why would she do\r
-such a thing?\r
-\r
-64\r
-00:04:05,514 --> 00:04:08,382\r
-Many months ago\r
-I sent Sister Brenna\r
-\r
-65\r
-00:04:08,383 --> 00:04:10,049\r
-on a service mission.\r
-\r
-66\r
-00:04:10,050 --> 00:04:13,251\r
-When she returned, she said\r
-that during her time away\r
-\r
-67\r
-00:04:13,252 --> 00:04:14,752\r
-she'd become\r
-troubled in her heart.\r
-\r
-68\r
-00:04:14,753 --> 00:04:19,388\r
-She witnessed fear,\r
-sickness, famine.\r
-\r
-69\r
-00:04:19,389 --> 00:04:20,722\r
-"Starving children can't survive\r
-\r
-70\r
-00:04:20,723 --> 00:04:22,090\r
-on the Creator's light,\r
-Prelate."\r
-\r
-71\r
-00:04:22,091 --> 00:04:23,024\r
-That's what she told me.\r
-\r
-72\r
-00:04:24,493 --> 00:04:26,860\r
-I was afraid she might\r
-do something like this.\r
-\r
-73\r
-00:04:26,861 --> 00:04:29,229\r
-Then why did you tell everyone\r
-her heart gave out?\r
-\r
-74\r
-00:04:29,230 --> 00:04:30,863\r
-The Sisters of the Light\r
-\r
-75\r
-00:04:30,864 --> 00:04:33,064\r
-believe suicide is an offense\r
-to the Creator.\r
-\r
-76\r
-00:04:33,065 --> 00:04:35,701\r
-I didn't want to dishonor her\r
-in front of the others.\r
-\r
-77\r
-00:04:35,702 --> 00:04:37,736\r
-How can you be sure\r
-someone didn't poison her?\r
-\r
-78\r
-00:04:37,737 --> 00:04:39,937\r
-Richard, you heard\r
-what the Prelate said.\r
-\r
-79\r
-00:04:39,938 --> 00:04:41,139\r
-Brenna wasn't well.\r
-\r
-80\r
-00:04:41,140 --> 00:04:42,907\r
-Why would she kill herself\r
-during devotions?\r
-\r
-81\r
-00:04:42,908 --> 00:04:45,276\r
-As opposed to what?\r
-Killing herself during teatime?\r
-\r
-82\r
-00:04:45,277 --> 00:04:46,846\r
-You've both had such\r
-a long journey.\r
-\r
-83\r
-00:04:46,846 --> 00:04:51,949\r
-Verna, why don't you show\r
-Richard to his quarters.\r
-\r
-84\r
-00:04:51,950 --> 00:04:55,019\r
-Your Wizard training\r
-can begin in the morning.\r
-\r
-85\r
-00:04:58,958 --> 00:05:01,392\r
-Has a Sister ever taken her life\r
-at the palace before?\r
-\r
-86\r
-00:05:01,393 --> 00:05:04,262\r
-Verna Sauventreen.\r
-\r
-87\r
-00:05:04,263 --> 00:05:07,597\r
-Sister Philomena.\r
-Welcome back, welcome back.\r
-\r
-88\r
-00:05:07,598 --> 00:05:10,133\r
-And you must be our new Wizard.\r
-\r
-89\r
-00:05:10,134 --> 00:05:11,200\r
-How terribly exciting.\r
-\r
-90\r
-00:05:11,201 --> 00:05:12,501\r
-I'm not really a Wizard--\r
-\r
-91\r
-00:05:13,869 --> 00:05:15,303\r
-Oh, forgive me.\r
-\r
-92\r
-00:05:15,304 --> 00:05:16,737\r
-I saw you put your hands up\r
-\r
-93\r
-00:05:16,738 --> 00:05:19,873\r
-and thought you were going\r
-to blast me with Wizard's Fire.\r
-\r
-94\r
-00:05:24,545 --> 00:05:25,777\r
-Are you all right?\r
-\r
-95\r
-00:05:25,778 --> 00:05:28,146\r
-We have so much to catch up on.\r
-\r
-96\r
-00:05:28,147 --> 00:05:29,780\r
-Trust no one.\r
-Yes, I'm sure we do.\r
-\r
-97\r
-00:05:29,781 --> 00:05:32,148\r
-meet me tonight when moonbeams\r
-flood the sanctuary.\r
-\r
-98\r
-00:05:32,149 --> 00:05:33,650\r
-It was-- It was good to see you.\r
-\r
-99\r
-00:05:33,651 --> 00:05:34,984\r
-Uh, Richard?\r
-\r
-100\r
-00:05:34,985 --> 00:05:37,152\r
-how unfortunate that just as you\r
-return from one mission\r
-\r
-101\r
-00:05:37,153 --> 00:05:39,119\r
-in the New World,\r
-I'm setting off on another.\r
-\r
-102\r
-00:05:39,120 --> 00:05:40,921\r
-So many poor souls\r
-\r
-103\r
-00:05:40,922 --> 00:05:42,888\r
-in need of the Creator's light,\r
-you know.\r
-\r
-104\r
-00:05:42,889 --> 00:05:45,522\r
-A sister's work is never done.\r
-\r
-105\r
-00:05:45,523 --> 00:05:46,857\r
-Speaking of a sister's work,\r
-\r
-106\r
-00:05:46,858 --> 00:05:48,825\r
-I need to see Richard\r
-to his room.\r
-\r
-107\r
-00:05:48,826 --> 00:05:51,793\r
-Young Wizard, may the Creator's\r
-light illuminate your path.\r
-\r
-108\r
-00:05:54,162 --> 00:05:56,530\r
-The Prelate's probably\r
-sending her on a mission\r
-\r
-109\r
-00:05:56,531 --> 00:05:58,031\r
-just to get rid of her.\r
-\r
-110\r
-00:05:58,032 --> 00:05:58,998\r
-Your room.\r
-\r
-111\r
-00:06:06,606 --> 00:06:09,574\r
-I'll be back in the morning\r
-to begin your training.\r
-\r
-112\r
-00:06:09,575 --> 00:06:10,908\r
-Good.\r
-\r
-113\r
-00:06:10,909 --> 00:06:12,876\r
-The sooner we start,\r
-the sooner I can get out of here\r
-\r
-114\r
-00:06:12,877 --> 00:06:13,911\r
-and get back to the New World.\r
-\r
-115\r
-00:06:31,559 --> 00:06:33,426\r
-Is something wrong?\r
-\r
-116\r
-00:06:37,163 --> 00:06:38,530\r
-I miss Richard.\r
-\r
-117\r
-00:06:38,531 --> 00:06:39,698\r
-Why?\r
-\r
-118\r
-00:06:43,835 --> 00:06:48,505\r
-Because I love him and I'm not\r
-used to being apart from him.\r
-\r
-119\r
-00:06:48,506 --> 00:06:51,541\r
-It's not necessary to feel\r
-pain over his absence.\r
-\r
-120\r
-00:06:53,343 --> 00:06:54,743\r
-Don't you feel anything?\r
-\r
-121\r
-00:06:58,981 --> 00:07:01,615\r
-Mord-Sith believe emotions\r
-must be governed.\r
-\r
-122\r
-00:07:01,616 --> 00:07:06,119\r
-Sadness, remorse, love...\r
-These feelings make you weak.\r
-\r
-123\r
-00:07:06,120 --> 00:07:11,790\r
-But anger, loyalty, pride?\r
-\r
-124\r
-00:07:11,791 --> 00:07:13,992\r
-These feelings\r
-make you powerful.\r
-\r
-125\r
-00:07:13,993 --> 00:07:17,828\r
-I can teach you how to control\r
-your emotions, if you like.\r
-\r
-126\r
-00:07:17,829 --> 00:07:21,031\r
-I'm not sure love\r
-makes a person weak, Cara.\r
-\r
-127\r
-00:07:21,032 --> 00:07:22,866\r
-Then why are you sitting\r
-on the ground\r
-\r
-128\r
-00:07:22,867 --> 00:07:24,300\r
-weeping over a sword?\r
-\r
-129\r
-00:07:27,071 --> 00:07:29,406\r
-Thank you for your advice,\r
-\r
-130\r
-00:07:29,407 --> 00:07:33,209\r
-but, uh,\r
-I think I'll be all right.\r
-\r
-131\r
-00:07:36,880 --> 00:07:39,714\r
-I hope Zedd is all right.\r
-\r
-132\r
-00:07:40,916 --> 00:07:42,350\r
-Zedd can handle himself.\r
-\r
-133\r
-00:07:42,351 --> 00:07:44,151\r
-I'm sure\r
-he'll be back soon.\r
-\r
-134\r
-00:07:54,560 --> 00:07:59,729\r
-Can I help you\r
-with something, Zeddicus?\r
-\r
-135\r
-00:07:59,730 --> 00:08:01,498\r
-You know exactly why I've come.\r
-\r
-136\r
-00:08:01,499 --> 00:08:02,566\r
-Yes.\r
-\r
-137\r
-00:08:02,667 --> 00:08:06,367\r
-Because you realize that Richard Cypher\r
-will fail at his quest.\r
-\r
-138\r
-00:08:06,470 --> 00:08:09,605\r
-And someone very wise told you\r
-that if you do not name\r
-\r
-139\r
-00:08:09,706 --> 00:08:12,040\r
-a new Seeker,\r
-the world will perish,\r
-\r
-140\r
-00:08:12,041 --> 00:08:15,143\r
-which, in your blindness\r
-and your pride,\r
-\r
-141\r
-00:08:15,144 --> 00:08:16,477\r
-you chose to ignore.\r
-\r
-142\r
-00:08:16,478 --> 00:08:18,311\r
-Are you just\r
-interested in gloating,\r
-\r
-143\r
-00:08:18,412 --> 00:08:20,380\r
-or do you have\r
-a candidate in mind?\r
-\r
-144\r
-00:08:20,381 --> 00:08:23,148\r
-As a matter of fact, I do.\r
-\r
-145\r
-00:08:23,149 --> 00:08:25,416\r
-Remember, not just anyone\r
-can be the Seeker.\r
-\r
-146\r
-00:08:25,517 --> 00:08:29,452\r
-He must be courageous, strong,\r
-compassionate, and above all,\r
-\r
-147\r
-00:08:29,453 --> 00:08:31,420\r
-relentless in the pursuit\r
-of truth.\r
-\r
-148\r
-00:08:31,421 --> 00:08:34,756\r
-Fortunately, I have glimpsed\r
-just such a man in my vision.\r
-\r
-149\r
-00:08:34,757 --> 00:08:37,291\r
-Come, let me show him to you.\r
-\r
-150\r
-00:08:38,727 --> 00:08:40,861\r
-Shota, if this turns out\r
-to be one of your tricks\r
-\r
-151\r
-00:08:40,862 --> 00:08:42,395\r
-it will be your last.\r
-\r
-152\r
-00:08:42,396 --> 00:08:43,563\r
-No tricks.\r
-\r
-153\r
-00:08:43,564 --> 00:08:46,131\r
-A new Seeker is our only hope.\r
-\r
-154\r
-00:08:55,132 --> 00:08:56,532\r
-There he is.\r
-\r
-155\r
-00:09:11,084 --> 00:09:12,285\r
-Who are you?\r
-\r
-156\r
-00:09:17,256 --> 00:09:19,390\r
-I am Sister Nicci.\r
-\r
-157\r
-00:09:19,391 --> 00:09:20,558\r
-I saw you today.\r
-\r
-158\r
-00:09:20,559 --> 00:09:22,426\r
-With the Prelate.\r
-Yes.\r
-\r
-159\r
-00:09:22,427 --> 00:09:25,463\r
-She considers me one\r
-of her closest advisers.\r
-\r
-160\r
-00:09:25,464 --> 00:09:27,164\r
-Why did you ask me here?\r
-\r
-161\r
-00:09:29,034 --> 00:09:30,835\r
-To tell you a secret\r
-that could get me killed.\r
-\r
-162\r
-00:09:30,836 --> 00:09:34,337\r
-But you must know the truth.\r
-\r
-163\r
-00:09:34,338 --> 00:09:35,939\r
-What truth?\r
-\r
-164\r
-00:09:35,940 --> 00:09:37,909\r
-How old do you think I am?\r
-\r
-165\r
-00:09:37,910 --> 00:09:39,944\r
-By the reckoning of the world\r
-\r
-166\r
-00:09:39,945 --> 00:09:41,914\r
-outside the Palace\r
-of the Prophets,\r
-\r
-167\r
-00:09:41,915 --> 00:09:44,851\r
-I am nearly\r
-300 years old.\r
-\r
-168\r
-00:09:44,852 --> 00:09:47,386\r
-How is that possible?\r
-\r
-169\r
-00:09:47,387 --> 00:09:49,122\r
-The palace is spelled.\r
-\r
-170\r
-00:09:49,123 --> 00:09:52,293\r
-For every day\r
-that passes in here,\r
-\r
-171\r
-00:09:52,294 --> 00:09:55,261\r
-ten days pass\r
-in the outside world.\r
-\r
-172\r
-00:09:55,262 --> 00:10:01,066\r
-If that's true,\r
-then if I'm here a month,\r
-\r
-173\r
-00:10:01,067 --> 00:10:03,268\r
-almost a year will\r
-go by for my friends.\r
-\r
-174\r
-00:10:03,269 --> 00:10:06,871\r
-Yes, and if your Wizard training\r
-takes only a year--\r
-\r
-175\r
-00:10:06,872 --> 00:10:08,907\r
-Ten years will pass\r
-on the outside?\r
-\r
-176\r
-00:10:08,908 --> 00:10:10,341\r
-And by that time,\r
-\r
-177\r
-00:10:10,342 --> 00:10:11,643\r
-your friends could be dead.\r
-\r
-178\r
-00:10:11,644 --> 00:10:14,212\r
-Your quest could be meaningless.\r
-\r
-179\r
-00:10:14,213 --> 00:10:17,081\r
-The Keeper could have already\r
-destroyed all life.\r
-\r
-180\r
-00:10:21,523 --> 00:10:22,923\r
-Why didn't anyone\r
-tell me this?\r
-\r
-181\r
-00:10:22,924 --> 00:10:25,892\r
-The Prelate believed you\r
-wouldn't stay if you found out\r
-\r
-182\r
-00:10:25,893 --> 00:10:28,294\r
-so she ordered the Sisters\r
-not to speak of it.\r
-\r
-183\r
-00:10:28,295 --> 00:10:30,896\r
-But you're telling me. Why?\r
-\r
-184\r
-00:10:42,573 --> 00:10:45,140\r
-Because I don't believe\r
-it's right to keep you\r
-\r
-185\r
-00:10:45,141 --> 00:10:47,842\r
-from pursuing your quest\r
-by perpetrating a lie.\r
-\r
-186\r
-00:10:47,843 --> 00:10:50,545\r
-Are the headaches\r
-a lie too?\r
-\r
-187\r
-00:10:50,546 --> 00:10:52,346\r
-No, I'm afraid\r
-those are real.\r
-\r
-188\r
-00:10:57,485 --> 00:10:59,185\r
-What are you doing?\r
-\r
-189\r
-00:10:59,186 --> 00:11:00,720\r
-Showing you your han.\r
-\r
-190\r
-00:11:00,721 --> 00:11:04,156\r
-The essence\r
-of your magic.\r
-\r
-191\r
-00:11:04,157 --> 00:11:06,825\r
-Sisters of the Light\r
-have the ability to sense it.\r
-\r
-192\r
-00:11:10,396 --> 00:11:13,330\r
-Your han is the strongest\r
-I've ever felt.\r
-\r
-193\r
-00:11:13,331 --> 00:11:16,099\r
-It's what's been\r
-causing your pain.\r
-\r
-194\r
-00:11:16,100 --> 00:11:17,200\r
-And it's also why the Prelate\r
-\r
-195\r
-00:11:17,201 --> 00:11:19,535\r
-is so intent\r
-on keeping you here.\r
-\r
-196\r
-00:11:19,536 --> 00:11:20,837\r
-Because I'd die otherwise?\r
-\r
-197\r
-00:11:20,838 --> 00:11:22,071\r
-That's only part of it.\r
-\r
-198\r
-00:11:22,072 --> 00:11:23,572\r
-What she really wants\r
-is to train\r
-\r
-199\r
-00:11:23,573 --> 00:11:25,807\r
-the most powerful wizard\r
-in 3,000 years\r
-\r
-200\r
-00:11:25,808 --> 00:11:28,176\r
-to be her disciple,\r
-to fight her enemies.\r
-\r
-201\r
-00:11:28,177 --> 00:11:30,077\r
-You mean the Keeper?\r
-No.\r
-\r
-202\r
-00:11:30,078 --> 00:11:33,580\r
-The Prelate wants to stop\r
-you from pursuing your quest.\r
-\r
-203\r
-00:11:33,581 --> 00:11:35,548\r
-Why?\r
-\r
-204\r
-00:11:35,549 --> 00:11:37,383\r
-Prophecy.\r
-\r
-205\r
-00:11:37,384 --> 00:11:39,852\r
-It is written: "In the time\r
-of the tearing of the veil,\r
-\r
-206\r
-00:11:39,853 --> 00:11:41,853\r
-"should the son of Brennidon\r
-seek the sacred stone,\r
-\r
-207\r
-00:11:41,854 --> 00:11:46,591\r
-he will find it, only to deliver\r
-it to the enemy of light."\r
-\r
-208\r
-00:11:51,563 --> 00:11:54,297\r
-The Prelate believes the enemy\r
-of the light is the Keeper\r
-\r
-209\r
-00:11:54,298 --> 00:11:55,431\r
-and that this prophecy means\r
-\r
-210\r
-00:11:55,432 --> 00:11:56,966\r
-you'll fail in your\r
-quest to defeat him.\r
-\r
-211\r
-00:11:56,967 --> 00:11:58,500\r
-You don't agree.\r
-\r
-212\r
-00:11:58,501 --> 00:11:59,834\r
-Some of us believe\r
-it's a pretense\r
-\r
-213\r
-00:11:59,835 --> 00:12:00,969\r
-for holding you here,\r
-\r
-214\r
-00:12:00,970 --> 00:12:03,037\r
-and that the beloved\r
-leader of our order\r
-\r
-215\r
-00:12:03,038 --> 00:12:05,572\r
-has become a zealot.\r
-\r
-216\r
-00:12:05,573 --> 00:12:06,806\r
-Sister Brenna thought so.\r
-\r
-217\r
-00:12:06,807 --> 00:12:09,541\r
-She argued that we should\r
-tell you the truth,\r
-\r
-218\r
-00:12:09,542 --> 00:12:12,210\r
-but she never got the chance.\r
-\r
-219\r
-00:12:12,211 --> 00:12:14,512\r
-You believe the Prelate\r
-killed her?\r
-\r
-220\r
-00:12:22,387 --> 00:12:25,055\r
-Creeping elder\r
-kills quickly.\r
-\r
-221\r
-00:12:25,056 --> 00:12:28,290\r
-The Prelate greeted me\r
-at the back of this room.\r
-\r
-222\r
-00:12:28,291 --> 00:12:31,926\r
-She didn't get close enough\r
-to Brenna to deliver the poison.\r
-\r
-223\r
-00:12:31,927 --> 00:12:34,828\r
-All I know is that Sister Brenna\r
-spoke out against the Prelate\r
-\r
-224\r
-00:12:34,829 --> 00:12:36,763\r
-and now Brenna's dead.\r
-\r
-225\r
-00:12:36,764 --> 00:12:39,133\r
-I have to get out of here.\r
-\r
-226\r
-00:12:41,972 --> 00:12:44,509\r
-Is there a way to do that\r
-without the han killing me?\r
-\r
-227\r
-00:12:44,510 --> 00:12:47,878\r
-If you wore a rada'han,\r
-it would suppress your powers,\r
-\r
-228\r
-00:12:47,879 --> 00:12:49,547\r
-and in turn,\r
-your headaches.\r
-\r
-229\r
-00:12:49,548 --> 00:12:51,315\r
-Do you have one?\r
-No.\r
-\r
-230\r
-00:12:51,316 --> 00:12:52,816\r
-But the Prelate does.\r
-\r
-231\r
-00:12:52,817 --> 00:12:55,351\r
-She keeps it locked up.\r
-\r
-232\r
-00:12:55,352 --> 00:12:57,219\r
-It may take me a few days\r
-before I have the chance,\r
-\r
-233\r
-00:12:57,220 --> 00:12:58,454\r
-but I'll try to bring\r
-it for you.\r
-\r
-234\r
-00:12:58,455 --> 00:13:00,321\r
-A few days here\r
-is a month on the outside.\r
-\r
-235\r
-00:13:00,322 --> 00:13:02,823\r
-I'll get it\r
-as soon as I can.\r
-\r
-236\r
-00:13:02,824 --> 00:13:07,460\r
-Until then, please, don't let\r
-anyone know that we've spoken.\r
-\r
-237\r
-00:13:07,461 --> 00:13:10,028\r
-It could get me killed.\r
-\r
-238\r
-00:13:22,806 --> 00:13:23,340\r
-Why did you lie to me?\r
-\r
-239\r
-00:13:25,242 --> 00:13:28,077\r
-I want the truth.\r
-\r
-240\r
-00:13:36,151 --> 00:13:38,051\r
-Come with me.\r
-\r
-241\r
-00:13:39,720 --> 00:13:41,020\r
-<i>"In the time</i>\r
-\r
-242\r
-00:13:41,021 --> 00:13:42,854\r
-<i>"of the tearing\r
-of the veil,</i>\r
-\r
-243\r
-00:13:42,855 --> 00:13:47,325\r
-"should the son of Brennidon\r
-seek the sacred stone,\r
-\r
-244\r
-00:13:47,326 --> 00:13:52,495\r
-he will find it, only to deliver\r
-it to the enemy of the light."\r
-\r
-245\r
-00:13:52,496 --> 00:13:54,797\r
-The Creator herself\r
-gives us these prophecies\r
-\r
-246\r
-00:13:54,798 --> 00:13:56,532\r
-to guide our actions.\r
-\r
-247\r
-00:13:56,533 --> 00:13:59,033\r
-Did the Creator herself\r
-tell you to lie to me?\r
-\r
-248\r
-00:13:59,034 --> 00:14:02,837\r
-No.\r
-\r
-249\r
-00:14:02,838 --> 00:14:04,306\r
-No, that was my idea.\r
-\r
-250\r
-00:14:04,307 --> 00:14:07,743\r
-While I was looking for you\r
-in the New World,\r
-\r
-251\r
-00:14:07,744 --> 00:14:09,344\r
-I learned a lot about you,\r
-\r
-252\r
-00:14:09,345 --> 00:14:11,513\r
-including how devoted\r
-you were to Kahlan\r
-\r
-253\r
-00:14:11,514 --> 00:14:12,581\r
-and your grandfather.\r
-\r
-254\r
-00:14:12,582 --> 00:14:15,183\r
-So I sent word\r
-in a Journey Book\r
-\r
-255\r
-00:14:15,184 --> 00:14:17,485\r
-suggesting the Prelate\r
-hide the truth\r
-\r
-256\r
-00:14:17,486 --> 00:14:18,986\r
-about the time difference.\r
-\r
-257\r
-00:14:18,987 --> 00:14:20,186\r
-Why?\r
-\r
-258\r
-00:14:20,187 --> 00:14:23,355\r
-Because you have\r
-a greater destiny, Richard.\r
-\r
-259\r
-00:14:23,356 --> 00:14:25,757\r
-I believe people\r
-make their own destinies.\r
-\r
-260\r
-00:14:25,758 --> 00:14:28,459\r
-Sometimes they\r
-are written for us.\r
-\r
-261\r
-00:14:33,297 --> 00:14:35,531\r
-Our scholars have interpreted\r
-this prophecy to mean\r
-\r
-262\r
-00:14:35,532 --> 00:14:38,567\r
-that you would\r
-be born in Brennidon.\r
-\r
-263\r
-00:14:38,568 --> 00:14:40,268\r
-And you were.\r
-\r
-264\r
-00:14:45,207 --> 00:14:46,874\r
-They said that\r
-this prophecy meant\r
-\r
-265\r
-00:14:46,875 --> 00:14:49,576\r
-that you would defeat\r
-an evil tyrant.\r
-\r
-266\r
-00:14:49,577 --> 00:14:51,177\r
-And you did.\r
-\r
-267\r
-00:14:52,580 --> 00:14:53,880\r
-And now they say\r
-\r
-268\r
-00:14:53,881 --> 00:14:57,550\r
-that this prophecy means\r
-that if you continue searching\r
-\r
-269\r
-00:14:57,551 --> 00:15:00,219\r
-for the Stone of Tears,\r
-you'll find it,\r
-\r
-270\r
-00:15:00,220 --> 00:15:02,887\r
-but you will give\r
-it to the Keeper\r
-\r
-271\r
-00:15:02,888 --> 00:15:05,022\r
-I would never do that.\r
-\r
-272\r
-00:15:05,023 --> 00:15:10,093\r
-And finally, the last and most\r
-important prophecy.\r
-\r
-273\r
-00:15:10,094 --> 00:15:12,128\r
-Our scholars have interpreted\r
-this one to mean\r
-\r
-274\r
-00:15:12,129 --> 00:15:15,464\r
-that the descendant\r
-of two powerful bloodlines\r
-\r
-275\r
-00:15:15,465 --> 00:15:19,334\r
-must fight a powerful new force\r
-after the Keeper is defeated.\r
-\r
-276\r
-00:15:20,870 --> 00:15:23,471\r
-That descendant is you.\r
-\r
-277\r
-00:15:23,472 --> 00:15:26,707\r
-Even if that's true,\r
-that battle will never happen\r
-\r
-278\r
-00:15:26,708 --> 00:15:28,608\r
-if I don't defeat\r
-the Keeper first.\r
-\r
-279\r
-00:15:28,609 --> 00:15:30,810\r
-You must leave that quest\r
-to a new Seeker\r
-\r
-280\r
-00:15:30,811 --> 00:15:33,112\r
-and prepare for your\r
-next challenge.\r
-\r
-281\r
-00:15:33,113 --> 00:15:36,648\r
-I'm not going to let my life\r
-be ruled by someone's\r
-\r
-282\r
-00:15:36,649 --> 00:15:38,450\r
-interpretations of some\r
-carvings on a wall.\r
-\r
-283\r
-00:15:38,451 --> 00:15:40,819\r
-Because of these carvings\r
-\r
-284\r
-00:15:40,820 --> 00:15:42,787\r
-I gave up half my life\r
-\r
-285\r
-00:15:42,788 --> 00:15:45,289\r
-just to bring you here.\r
-\r
-286\r
-00:15:45,290 --> 00:15:48,760\r
-And if I stay I'm giving up\r
-the love of my life.\r
-\r
-287\r
-00:15:48,761 --> 00:15:50,828\r
-The harder you study,\r
-\r
-288\r
-00:15:50,829 --> 00:15:53,263\r
-the faster you'll learn\r
-to use your power,\r
-\r
-289\r
-00:15:53,264 --> 00:15:56,532\r
-and the sooner you'll\r
-get back to those you love.\r
-\r
-290\r
-00:16:21,758 --> 00:16:23,592\r
-What do we do\r
-with horse thieves?\r
-\r
-291\r
-00:16:23,593 --> 00:16:26,261\r
-I'm not a horse thief,\r
-I'm a blacksmith.\r
-\r
-292\r
-00:16:28,197 --> 00:16:30,464\r
-This is the man\r
-we've spent the last month\r
-\r
-293\r
-00:16:30,465 --> 00:16:32,499\r
-crossing three rivers,\r
-\r
-294\r
-00:16:32,500 --> 00:16:33,667\r
-two mountain ranges,\r
-\r
-295\r
-00:16:33,668 --> 00:16:35,768\r
-and the great swamp\r
-of Mathragon to find.\r
-\r
-296\r
-00:16:35,769 --> 00:16:38,436\r
-This is the man I saw\r
-in Shota's vision.\r
-\r
-297\r
-00:16:38,437 --> 00:16:41,268\r
-Then why was he skulking\r
-around our horses?\r
-\r
-298\r
-00:16:41,269 --> 00:16:44,168\r
-I was going to the stream\r
-to get some water for my forge\r
-\r
-299\r
-00:16:44,169 --> 00:16:47,969\r
-when I noticed one of your\r
-horses was favoring a leg.\r
-\r
-300\r
-00:16:47,970 --> 00:16:49,470\r
-Look, if you don't\r
-get that pebble\r
-\r
-301\r
-00:16:49,471 --> 00:16:50,871\r
-out of her hoof,\r
-she'll go lame.\r
-\r
-302\r
-00:16:50,872 --> 00:16:52,773\r
-He's telling the truth.\r
-\r
-303\r
-00:16:52,774 --> 00:16:54,507\r
-Of course he's telling\r
-the truth.\r
-\r
-304\r
-00:16:54,508 --> 00:16:57,510\r
-He's the next Seeker of Truth.\r
-\r
-305\r
-00:17:02,615 --> 00:17:04,349\r
-So it's true then?\r
-\r
-306\r
-00:17:04,350 --> 00:17:06,284\r
-You knew you'd be the Seeker?\r
-\r
-307\r
-00:17:06,285 --> 00:17:08,987\r
-There's been a legend\r
-in my family for generations\r
-\r
-308\r
-00:17:08,988 --> 00:17:11,655\r
-that someday one of our line\r
-would be named.\r
-\r
-309\r
-00:17:11,656 --> 00:17:15,158\r
-My mother was always\r
-sure it would be me.\r
-\r
-310\r
-00:17:15,159 --> 00:17:16,659\r
-Did did Richard Cypher die?\r
-\r
-311\r
-00:17:16,660 --> 00:17:19,361\r
-No. He's alive.\r
-\r
-312\r
-00:17:19,362 --> 00:17:22,397\r
-He just had to take\r
-a long journey.\r
-\r
-313\r
-00:17:22,398 --> 00:17:23,932\r
-We're not sure\r
-when he'll come back.\r
-\r
-314\r
-00:17:32,541 --> 00:17:34,575\r
-<i>This is The Book\r
-of Counted Shadows.</i>\r
-\r
-315\r
-00:17:34,576 --> 00:17:38,145\r
-Only a true Seeker\r
-can read it.\r
-\r
-316\r
-00:17:42,248 --> 00:17:46,917\r
-<i>The truth of the words of\r
-The Book of Counted Shadows</i>\r
-\r
-317\r
-00:17:46,918 --> 00:17:48,985\r
-can only be insured\r
-by a Confessor.\r
-\r
-318\r
-00:17:52,823 --> 00:17:54,890\r
-Sorry about your neck.\r
-\r
-319\r
-00:17:57,493 --> 00:17:59,861\r
-Leo Dane,\r
-\r
-320\r
-00:17:59,862 --> 00:18:02,662\r
-though the road will be long\r
-and the outcome unknown,\r
-\r
-321\r
-00:18:02,663 --> 00:18:05,698\r
-will you undertake\r
-this journey?\r
-\r
-322\r
-00:18:05,699 --> 00:18:07,365\r
-I will.\r
-\r
-323\r
-00:18:07,366 --> 00:18:08,800\r
-Will you leave\r
-behind your friends\r
-\r
-324\r
-00:18:08,801 --> 00:18:10,767\r
-and all that you have known?\r
-\r
-325\r
-00:18:12,303 --> 00:18:14,003\r
-I will.\r
-\r
-326\r
-00:18:14,004 --> 00:18:15,972\r
-And though the forces\r
-of evil are sworn\r
-\r
-327\r
-00:18:15,973 --> 00:18:17,740\r
-to bring about your death,\r
-\r
-328\r
-00:18:17,741 --> 00:18:20,243\r
-still, will you go on?\r
-\r
-329\r
-00:18:20,244 --> 00:18:22,678\r
-I will.\r
-\r
-330\r
-00:18:22,679 --> 00:18:23,946\r
-And will you accept\r
-\r
-331\r
-00:18:23,947 --> 00:18:25,848\r
-the name of the Seeker?\r
-\r
-332\r
-00:18:25,849 --> 00:18:28,952\r
-I will.\r
-\r
-333\r
-00:18:42,198 --> 00:18:44,066\r
-Then I,\r
-\r
-334\r
-00:18:44,067 --> 00:18:48,070\r
-First Wizard\r
-Zeddicus Zu'l Zorander,\r
-\r
-335\r
-00:18:48,071 --> 00:18:49,538\r
-so name you.\r
-\r
-336\r
-00:19:09,461 --> 00:19:11,031\r
-Only in the hands of the Seeker\r
-\r
-337\r
-00:19:11,032 --> 00:19:12,166\r
-will the compass guide the way\r
-\r
-338\r
-00:19:12,167 --> 00:19:15,038\r
-to the Stone of Tears.\r
-\r
-339\r
-00:19:15,039 --> 00:19:16,072\r
-We head south.\r
-\r
-340\r
-00:19:20,778 --> 00:19:21,878\r
-Can I give you a hand?\r
-\r
-341\r
-00:19:26,783 --> 00:19:27,917\r
-You'll soon learn that it's we\r
-\r
-342\r
-00:19:27,918 --> 00:19:32,319\r
-who are here\r
-to help you, Seeker.\r
-\r
-343\r
-00:19:35,989 --> 00:19:38,357\r
-Trying to show chivalry\r
-to a Mord-Sith\r
-\r
-344\r
-00:19:38,358 --> 00:19:39,791\r
-is like trying\r
-to dance with a bear.\r
-\r
-345\r
-00:19:39,792 --> 00:19:41,492\r
-It's never gonna work\r
-\r
-346\r
-00:19:41,493 --> 00:19:43,962\r
-and someone will get\r
-their head bitten off.\r
-\r
-347\r
-00:19:50,868 --> 00:19:52,302\r
-Something's spooking her.\r
-\r
-348\r
-00:19:54,672 --> 00:19:56,639\r
-Easy, easy, easy.\r
-\r
-349\r
-00:20:07,816 --> 00:20:09,417\r
-Banelings.\r
-\r
-350\r
-00:21:15,047 --> 00:21:17,615\r
-Who are these people?\r
-And why did they attack us?\r
-\r
-351\r
-00:21:17,616 --> 00:21:19,548\r
-They're banelings.\r
-\r
-352\r
-00:21:19,549 --> 00:21:22,716\r
-Dead souls who bargain with\r
-the Keeper for a second life\r
-\r
-353\r
-00:21:22,717 --> 00:21:24,151\r
-in exchange for killing others.\r
-\r
-354\r
-00:21:25,620 --> 00:21:27,619\r
-How do we make sure they don't\r
-come back from the dead\r
-\r
-355\r
-00:21:27,620 --> 00:21:28,619\r
-a second time?\r
-\r
-356\r
-00:21:28,620 --> 00:21:30,217\r
-We burn them.\r
-\r
-357\r
-00:21:40,189 --> 00:21:42,188\r
-I told you you were\r
-gonna need our help.\r
-\r
-358\r
-00:21:48,729 --> 00:21:52,564\r
-The Grace represents\r
-the whole of everything.\r
-\r
-359\r
-00:21:52,565 --> 00:21:56,400\r
-Separating the world of life\r
-from the Underworld\r
-\r
-360\r
-00:21:56,401 --> 00:21:58,602\r
-is the veil.\r
-\r
-361\r
-00:21:58,603 --> 00:22:00,004\r
-Which has been torn.\r
-\r
-362\r
-00:22:00,005 --> 00:22:01,472\r
-And while the Keeper\r
-\r
-363\r
-00:22:01,473 --> 00:22:04,375\r
-is threatening\r
-to destroy all life,\r
-\r
-364\r
-00:22:04,376 --> 00:22:06,443\r
-here I am drawing shapes\r
-with sand.\r
-\r
-365\r
-00:22:06,444 --> 00:22:08,445\r
-We've been at this\r
-for three days.\r
-\r
-366\r
-00:22:08,446 --> 00:22:10,180\r
-I thought you would teach\r
-me to use my powers.\r
-\r
-367\r
-00:22:10,181 --> 00:22:11,781\r
-Patience.\r
-\r
-368\r
-00:22:11,782 --> 00:22:14,617\r
-The Grace is the foundation\r
-of everything you need to know.\r
-\r
-369\r
-00:22:14,618 --> 00:22:16,751\r
-What exactly are you\r
-trying to teach me?\r
-\r
-370\r
-00:22:16,752 --> 00:22:18,419\r
-How to be a Wizard?\r
-\r
-371\r
-00:22:18,420 --> 00:22:19,819\r
-Or how to be the Prelate's\r
-disciple?\r
-\r
-372\r
-00:22:19,820 --> 00:22:22,922\r
-Your stubborn resistance is only\r
-gonna make this take longer.\r
-\r
-373\r
-00:22:25,558 --> 00:22:26,958\r
-Excuse the interruption,\r
-\r
-374\r
-00:22:26,959 --> 00:22:28,993\r
-but I was asked to bring\r
-Richard his lunch.\r
-\r
-375\r
-00:22:28,994 --> 00:22:31,795\r
-Thank you, Sister Nicci.\r
-\r
-376\r
-00:22:36,801 --> 00:22:38,635\r
-Yes, thank you, Sister Nicci.\r
-\r
-377\r
-00:22:39,637 --> 00:22:41,104\r
-Shall we continue?\r
-\r
-378\r
-00:23:00,223 --> 00:23:01,690\r
-How can I ever thank you?\r
-\r
-379\r
-00:23:01,691 --> 00:23:03,057\r
-You must hurry.\r
-\r
-380\r
-00:23:03,058 --> 00:23:04,225\r
-It's only a matter of time\r
-\r
-381\r
-00:23:04,226 --> 00:23:06,593\r
-before the Prelate\r
-discovers it's missing.\r
-\r
-382\r
-00:23:06,594 --> 00:23:09,529\r
-Leave through the vestibule\r
-at the west end of the palace.\r
-\r
-383\r
-00:23:09,530 --> 00:23:12,665\r
-It's rarely used and far\r
-from the Sisters' quarters.\r
-\r
-384\r
-00:23:12,666 --> 00:23:14,967\r
-Will you be all right?\r
-\r
-385\r
-00:23:14,968 --> 00:23:18,136\r
-We'll all be better off\r
-once you're back on your quest.\r
-\r
-386\r
-00:23:18,137 --> 00:23:19,804\r
-Now, go.\r
-\r
-387\r
-00:23:50,834 --> 00:23:53,100\r
-You're not going anywhere.\r
-\r
-388\r
-00:24:31,496 --> 00:24:32,763\r
-How did you get the rada'han?\r
-\r
-389\r
-00:24:36,500 --> 00:24:38,167\r
-I'm the Seeker.\r
-\r
-390\r
-00:24:38,168 --> 00:24:39,635\r
-I find things.\r
-\r
-391\r
-00:24:39,636 --> 00:24:42,503\r
-The only way you could have\r
-known I even had a rada'han\r
-\r
-392\r
-00:24:42,504 --> 00:24:44,572\r
-is if one of the Sisters\r
-told you.\r
-\r
-393\r
-00:24:44,573 --> 00:24:46,240\r
-How did you find me?\r
-\r
-394\r
-00:24:46,241 --> 00:24:48,775\r
-I'm 600 years old, Richard.\r
-\r
-395\r
-00:24:48,776 --> 00:24:50,976\r
-Not much gets past me.\r
-\r
-396\r
-00:24:50,977 --> 00:24:52,878\r
-I discovered the rada'han\r
-was missing\r
-\r
-397\r
-00:24:52,879 --> 00:24:55,014\r
-and I told the Prelate\r
-right away.\r
-\r
-398\r
-00:24:55,015 --> 00:24:56,582\r
-I erected a magical barrier\r
-\r
-399\r
-00:24:56,583 --> 00:24:58,483\r
-over every exit in the palace.\r
-\r
-400\r
-00:24:58,484 --> 00:25:00,151\r
-So now I'm your prisoner?\r
-\r
-401\r
-00:25:00,152 --> 00:25:01,718\r
-You've read the Prophecy\r
-for yourself.\r
-\r
-402\r
-00:25:01,719 --> 00:25:03,355\r
-You've seen it with\r
-your own eyes.\r
-\r
-403\r
-00:25:03,356 --> 00:25:05,157\r
-Well, I must have missed\r
-the part that said,\r
-\r
-404\r
-00:25:05,158 --> 00:25:07,493\r
-"Richard Cypher will be held\r
-in the Palace of the Prophets\r
-\r
-405\r
-00:25:07,494 --> 00:25:08,694\r
-against his will."\r
-\r
-406\r
-00:25:08,695 --> 00:25:11,830\r
-Richard, I want to show\r
-you the ugly truth\r
-\r
-407\r
-00:25:11,831 --> 00:25:14,065\r
-about whichever Sister\r
-is helping you.\r
-\r
-408\r
-00:25:14,066 --> 00:25:15,566\r
-What are you talking about?\r
-\r
-409\r
-00:25:20,072 --> 00:25:23,941\r
-Each candle represents\r
-one Sister in the palace.\r
-\r
-410\r
-00:25:23,942 --> 00:25:27,612\r
-As the soul seeks the dark,\r
-so does the flame.\r
-\r
-411\r
-00:25:31,013 --> 00:25:33,813\r
-The green flames represent\r
-the sisters of the Dark.\r
-\r
-412\r
-00:25:34,718 --> 00:25:36,618\r
-Who secretly serve the Keeper.\r
-\r
-413\r
-00:25:36,619 --> 00:25:40,120\r
-One of them is obviously\r
-pretending to be your friend.\r
-\r
-414\r
-00:25:40,121 --> 00:25:42,455\r
-Why would these Sisters\r
-of the Dark do that?\r
-\r
-415\r
-00:25:42,456 --> 00:25:44,089\r
-Because they want you\r
-to leave the palace,\r
-\r
-416\r
-00:25:44,090 --> 00:25:46,258\r
-find the Stone of Tears\r
-and deliver it to the Keeper,\r
-\r
-417\r
-00:25:46,259 --> 00:25:47,993\r
-just as the Prophecy\r
-says you will.\r
-\r
-418\r
-00:25:49,863 --> 00:25:50,796\r
-Nicci?\r
-\r
-419\r
-00:25:56,569 --> 00:25:57,502\r
-Yes, Prelate?\r
-\r
-420\r
-00:26:00,038 --> 00:26:03,339\r
-Please see Richard\r
-to his room.\r
-\r
-421\r
-00:26:03,340 --> 00:26:05,442\r
-Make sure he doesn't\r
-get any uninvited guests.\r
-\r
-422\r
-00:26:17,084 --> 00:26:18,818\r
-Whose side are you on?\r
-\r
-423\r
-00:26:18,819 --> 00:26:20,586\r
-I tried to help you.\r
-\r
-424\r
-00:26:20,587 --> 00:26:22,921\r
-So I can get back on my quest,\r
-find the sacred stone\r
-\r
-425\r
-00:26:22,922 --> 00:26:24,322\r
-and give it to the enemy\r
-of the light?\r
-\r
-426\r
-00:26:24,323 --> 00:26:27,256\r
-Are the Prelate's\r
-powers of persuasion\r
-\r
-427\r
-00:26:27,257 --> 00:26:28,924\r
-so compelling that even\r
-the Seeker of Truth\r
-\r
-428\r
-00:26:28,925 --> 00:26:31,660\r
-will succumb\r
-to her manipulations?\r
-\r
-429\r
-00:26:31,661 --> 00:26:34,195\r
-How do I know she's the one\r
-manipulating me?\r
-\r
-430\r
-00:26:36,130 --> 00:26:38,831\r
-All she had to do was turn one\r
-word from "light" to "dark"\r
-\r
-431\r
-00:26:38,832 --> 00:26:41,567\r
-and claim there's\r
-a conspiracy against her,\r
-\r
-432\r
-00:26:41,568 --> 00:26:44,002\r
-and you-- You believed her?\r
-\r
-433\r
-00:26:44,003 --> 00:26:46,871\r
-And you stopped\r
-believing in yourself.\r
-\r
-434\r
-00:26:46,872 --> 00:26:48,640\r
-I believe in myself, Nicci.\r
-\r
-435\r
-00:26:48,641 --> 00:26:50,308\r
-It's you I'm not sure about.\r
-\r
-436\r
-00:26:50,309 --> 00:26:52,676\r
-I risked my life for you.\r
-\r
-437\r
-00:26:52,677 --> 00:26:54,010\r
-Where are you going?\r
-\r
-438\r
-00:26:54,011 --> 00:26:56,912\r
-If the Prelate is going\r
-to accuse anyone\r
-\r
-439\r
-00:26:56,913 --> 00:26:59,814\r
-who disagrees with her\r
-of serving the Keeper,\r
-\r
-440\r
-00:26:59,815 --> 00:27:02,248\r
-then it's far more\r
-dangerous than I thought.\r
-\r
-441\r
-00:27:02,249 --> 00:27:03,916\r
-Who-- Who will she\r
-accuse next?\r
-\r
-442\r
-00:27:03,917 --> 00:27:05,784\r
-The cook because\r
-the roast was burnt?\r
-\r
-443\r
-00:27:05,785 --> 00:27:10,425\r
-Or the groundskeeper because\r
-he trimmed the hedges too low?\r
-\r
-444\r
-00:27:10,426 --> 00:27:13,898\r
-If I stay here, I will\r
-end up like Sister Brenna.\r
-\r
-445\r
-00:27:17,903 --> 00:27:19,202\r
-Is there another way\r
-to get out?\r
-\r
-446\r
-00:27:29,579 --> 00:27:30,712\r
-There might be.\r
-\r
-447\r
-00:27:30,713 --> 00:27:31,780\r
-Tell me.\r
-\r
-448\r
-00:27:33,716 --> 00:27:36,784\r
-Aside from being able\r
-to sense someone's han,\r
-\r
-449\r
-00:27:36,785 --> 00:27:39,685\r
-the Sisters of Light\r
-can also take it.\r
-\r
-450\r
-00:27:39,686 --> 00:27:41,853\r
-Take it how?\r
-\r
-451\r
-00:27:41,854 --> 00:27:44,857\r
-We can kill someone\r
-with the Dacra,\r
-\r
-452\r
-00:27:44,858 --> 00:27:46,694\r
-and use it to absorb their han,\r
-\r
-453\r
-00:27:46,695 --> 00:27:49,629\r
-or accept the gift from\r
-someone who chooses\r
-\r
-454\r
-00:27:49,630 --> 00:27:51,731\r
-to relinquish it willingly.\r
-\r
-455\r
-00:27:51,732 --> 00:27:53,698\r
-Why didn't you\r
-tell me this before?\r
-\r
-456\r
-00:27:53,699 --> 00:27:55,733\r
-Because the rada'han\r
-was a safer way.\r
-\r
-457\r
-00:27:55,734 --> 00:27:58,068\r
-Taking someone's han\r
-could kill me.\r
-\r
-458\r
-00:27:59,804 --> 00:28:01,271\r
-It could also make you\r
-very powerful.\r
-\r
-459\r
-00:28:03,842 --> 00:28:06,644\r
-Yes.\r
-\r
-460\r
-00:28:06,645 --> 00:28:09,547\r
-Powerful enough to break through\r
-the Prelate's barriers\r
-\r
-461\r
-00:28:09,548 --> 00:28:11,215\r
-and help you escape.\r
-\r
-462\r
-00:28:11,216 --> 00:28:14,985\r
-How do I know this wasn't\r
-your plan all along?\r
-\r
-463\r
-00:28:14,986 --> 00:28:17,254\r
-Slowly gain my trust\r
-and then steal my power.\r
-\r
-464\r
-00:28:19,190 --> 00:28:22,192\r
-I told you,\r
-\r
-465\r
-00:28:22,193 --> 00:28:23,393\r
-if I wanted your power\r
-\r
-466\r
-00:28:23,394 --> 00:28:25,762\r
-I could just kill you\r
-and take it.\r
-\r
-467\r
-00:28:28,933 --> 00:28:31,734\r
-I have to go before\r
-they catch me talking to you.\r
-\r
-468\r
-00:28:36,238 --> 00:28:37,338\r
-The choice is yours.\r
-\r
-469\r
-00:28:37,339 --> 00:28:41,173\r
-Trust me and escape\r
-\r
-470\r
-00:28:41,174 --> 00:28:44,240\r
-or stay here until\r
-they decide to let you out.\r
-\r
-471\r
-00:28:58,418 --> 00:29:01,086\r
-Sister Philomena\r
-sent word by Journey Book.\r
-\r
-472\r
-00:29:01,087 --> 00:29:02,454\r
-She's crossed to the New World\r
-\r
-473\r
-00:29:02,455 --> 00:29:04,889\r
-and she's already\r
-on the new Seeker's trail.\r
-\r
-474\r
-00:29:04,890 --> 00:29:06,890\r
-He'll be dead before\r
-he's gripped the Sword of Truth\r
-\r
-475\r
-00:29:06,891 --> 00:29:08,958\r
-long enough to warm its hilt.\r
-\r
-476\r
-00:29:08,959 --> 00:29:11,461\r
-Very good, Ulicia.\r
-\r
-477\r
-00:29:11,462 --> 00:29:12,495\r
-And Richard?\r
-\r
-478\r
-00:29:14,498 --> 00:29:16,699\r
-It's only a matter of time\r
-\r
-479\r
-00:29:16,700 --> 00:29:18,500\r
-before he's begging me\r
-to take his power,\r
-\r
-480\r
-00:29:18,501 --> 00:29:22,237\r
-and once I have it,\r
-I'll free him from the palace\r
-\r
-481\r
-00:29:22,238 --> 00:29:26,707\r
-and return him\r
-to his quest...\r
-\r
-482\r
-00:29:26,708 --> 00:29:28,675\r
-of failure.\r
-\r
-483\r
-00:29:28,676 --> 00:29:32,112\r
-And the Sisters of the Light?\r
-\r
-484\r
-00:29:32,113 --> 00:29:34,581\r
-I'll kill the Prelate.\r
-\r
-485\r
-00:29:34,582 --> 00:29:36,985\r
-The rest of the Sisters\r
-will be given a choice:\r
-\r
-486\r
-00:29:36,986 --> 00:29:40,689\r
-convert to the dark\r
-and serve the Keeper, or die.\r
-\r
-487\r
-00:29:42,725 --> 00:29:46,495\r
-Although there\r
-is one small problem.\r
-\r
-488\r
-00:29:46,496 --> 00:29:50,099\r
-I've felt the strength\r
-of Richard's han.\r
-\r
-489\r
-00:29:50,100 --> 00:29:53,769\r
-It's far greater\r
-than I anticipated.\r
-\r
-490\r
-00:29:53,770 --> 00:29:56,872\r
-If I try to absorb it,\r
-\r
-491\r
-00:29:56,873 --> 00:29:59,107\r
-the power may overwhelm me.\r
-\r
-492\r
-00:29:59,108 --> 00:30:03,278\r
-You should increase your\r
-strength before you take his.\r
-\r
-493\r
-00:30:03,279 --> 00:30:07,982\r
-Kill another Sister.\r
-Take her han.\r
-\r
-494\r
-00:30:07,983 --> 00:30:12,486\r
-Sisters of the Dark\r
-think alike, Ulicia.\r
-\r
-495\r
-00:30:34,166 --> 00:30:37,768\r
-I'll take over your watch\r
-so you can get some sleep.\r
-\r
-496\r
-00:30:37,769 --> 00:30:39,470\r
-I'm not tired.\r
-\r
-497\r
-00:30:39,471 --> 00:30:42,673\r
-Considering how easy it was for\r
-me to sneak up on you just now,\r
-\r
-498\r
-00:30:42,674 --> 00:30:44,141\r
-obviously you need some rest.\r
-\r
-499\r
-00:30:44,142 --> 00:30:47,579\r
-It would be impossible\r
-for you to sneak up on me.\r
-\r
-500\r
-00:30:56,787 --> 00:30:58,287\r
-So,\r
-\r
-501\r
-00:30:58,288 --> 00:30:59,989\r
-Cara.\r
-\r
-502\r
-00:30:59,990 --> 00:31:02,590\r
-Yes, Leo?\r
-\r
-503\r
-00:31:05,861 --> 00:31:07,428\r
-Do you like animals?\r
-\r
-504\r
-00:31:07,429 --> 00:31:09,329\r
-Ones that taste good.\r
-\r
-505\r
-00:31:09,330 --> 00:31:11,998\r
-I meant,\r
-do you like pets?\r
-\r
-506\r
-00:31:14,334 --> 00:31:16,802\r
-I once had a dog.\r
-\r
-507\r
-00:31:16,803 --> 00:31:18,003\r
-I like dogs.\r
-\r
-508\r
-00:31:19,239 --> 00:31:21,406\r
-I trained it to attack\r
-on command.\r
-\r
-509\r
-00:31:23,042 --> 00:31:25,843\r
-I could see how that\r
-could be useful.\r
-\r
-510\r
-00:31:27,512 --> 00:31:29,713\r
-Could you train a chipmunk?\r
-\r
-511\r
-00:31:32,182 --> 00:31:33,549\r
-What are you talking about?\r
-\r
-512\r
-00:31:33,550 --> 00:31:36,518\r
-To obey your orders?\r
-Attack people?\r
-\r
-513\r
-00:31:37,954 --> 00:31:40,588\r
-It's probably too hard, right?\r
-\r
-514\r
-00:31:40,589 --> 00:31:43,457\r
-Ah, the mighty chipmunk.\r
-\r
-515\r
-00:31:43,458 --> 00:31:44,825\r
-It's fearless.\r
-\r
-516\r
-00:31:44,826 --> 00:31:45,859\r
-Cunning.\r
-\r
-517\r
-00:31:45,860 --> 00:31:47,393\r
-Stalwart.\r
-\r
-518\r
-00:31:47,394 --> 00:31:48,728\r
-And sworn enemy\r
-of the Mord-Sith.\r
-\r
-519\r
-00:31:48,729 --> 00:31:51,363\r
-Not even the touch of the Agiel\r
-\r
-520\r
-00:31:51,364 --> 00:31:54,065\r
-can break its tiny\r
-but heroic heart.\r
-\r
-521\r
-00:31:55,634 --> 00:31:58,469\r
-So you do have\r
-a sense of humor.\r
-\r
-522\r
-00:32:01,039 --> 00:32:02,472\r
-You were right.\r
-\r
-523\r
-00:32:02,473 --> 00:32:03,640\r
-What about?\r
-\r
-524\r
-00:32:03,641 --> 00:32:05,275\r
-If I'm laughing at your\r
-ridiculous jokes,\r
-\r
-525\r
-00:32:05,276 --> 00:32:07,544\r
-I must be tired.\r
-\r
-526\r
-00:32:07,545 --> 00:32:09,412\r
-I should get some sleep.\r
-\r
-527\r
-00:32:09,413 --> 00:32:10,746\r
-Sleep well.\r
-\r
-528\r
-00:32:10,747 --> 00:32:12,614\r
-And don't worry.\r
-\r
-529\r
-00:32:12,615 --> 00:32:14,215\r
-I'll protect you\r
-from the chipmunks.\r
-\r
-530\r
-00:32:19,819 --> 00:32:22,154\r
-I've never heard you\r
-laugh before.\r
-\r
-531\r
-00:32:24,123 --> 00:32:26,124\r
-Aren't you supposed\r
-to be asleep?\r
-\r
-532\r
-00:32:40,236 --> 00:32:43,004\r
-Well, I'm glad to see you\r
-at devotions.\r
-\r
-533\r
-00:32:43,005 --> 00:32:45,806\r
-Having the Creator on your side\r
-certainly can't hurt\r
-\r
-534\r
-00:32:45,807 --> 00:32:48,008\r
-when it comes to learning\r
-to use your gift.\r
-\r
-535\r
-00:32:50,011 --> 00:32:53,413\r
-In time, I'm confident\r
-you'll learn to appreciate\r
-\r
-536\r
-00:32:53,414 --> 00:32:55,749\r
-the Palace of the Prophets\r
-as much as I do.\r
-\r
-537\r
-00:32:55,750 --> 00:32:58,984\r
-Maybe so.\r
-\r
-538\r
-00:33:01,689 --> 00:33:04,858\r
-It is customary to kiss\r
-the star before opening it.\r
-\r
-539\r
-00:33:27,276 --> 00:33:28,310\r
-Ready for your lesson?\r
-\r
-540\r
-00:33:28,311 --> 00:33:29,844\r
-The lessons are over.\r
-\r
-541\r
-00:33:32,447 --> 00:33:35,082\r
-A Sister of the Dark\r
-has agreed to absorb my han,\r
-\r
-542\r
-00:33:35,083 --> 00:33:37,950\r
-use the power to blast\r
-through the Prelate's barrier,\r
-\r
-543\r
-00:33:37,951 --> 00:33:39,051\r
-and set me free.\r
-\r
-544\r
-00:33:45,893 --> 00:33:47,059\r
-Is this a joke?\r
-\r
-545\r
-00:33:47,060 --> 00:33:49,628\r
-Oh, I'm very serious.\r
-\r
-546\r
-00:33:49,629 --> 00:33:51,830\r
-Who's helping you?\r
-\r
-547\r
-00:33:51,831 --> 00:33:53,665\r
-All I can say is that\r
-once this is done,\r
-\r
-548\r
-00:33:53,666 --> 00:33:57,935\r
-the person I'm leaving behind\r
-will be very powerful.\r
-\r
-549\r
-00:33:57,936 --> 00:34:01,070\r
-She'll probably kill all\r
-the Sisters of the Light.\r
-\r
-550\r
-00:34:01,071 --> 00:34:04,140\r
-How kind of you to warn me.\r
-\r
-551\r
-00:34:05,809 --> 00:34:07,409\r
-But I'm afraid\r
-I can't let you do this.\r
-\r
-552\r
-00:34:07,410 --> 00:34:09,477\r
-Looking for this?\r
-\r
-553\r
-00:34:09,478 --> 00:34:11,946\r
-The choice is yours:\r
-\r
-554\r
-00:34:11,947 --> 00:34:13,847\r
-help me with what I need to do\r
-to prevent this woman\r
-\r
-555\r
-00:34:13,848 --> 00:34:15,082\r
-from killing everyone,\r
-\r
-556\r
-00:34:15,083 --> 00:34:18,284\r
-or stay here gagged and tied up\r
-while I escape anyway.\r
-\r
-557\r
-00:34:18,285 --> 00:34:21,854\r
-Either way, I'm getting free.\r
-\r
-558\r
-00:34:21,855 --> 00:34:25,357\r
-In one instance\r
-the Sisters will be safe.\r
-\r
-559\r
-00:34:25,358 --> 00:34:27,993\r
-In the other,\r
-they'll probably be slaughtered.\r
-\r
-560\r
-00:34:30,963 --> 00:34:33,765\r
-I've gotten\r
-to know you Richard.\r
-\r
-561\r
-00:34:33,766 --> 00:34:36,167\r
-You would never leave innocent\r
-women at the mercy of a monster.\r
-\r
-562\r
-00:34:36,168 --> 00:34:39,536\r
-I'd hardly call the Sisters\r
-of the Light innocent women.\r
-\r
-563\r
-00:34:39,537 --> 00:34:42,371\r
-You've lied to me,\r
-held me captive,\r
-\r
-564\r
-00:34:42,372 --> 00:34:45,706\r
-and separated me from the people\r
-I love most in the world.\r
-\r
-565\r
-00:34:47,608 --> 00:34:49,041\r
-But worst of all,\r
-\r
-566\r
-00:34:49,042 --> 00:34:51,943\r
-you've used your piety\r
-as an excuse\r
-\r
-567\r
-00:34:51,944 --> 00:34:53,478\r
-to take away my freedom.\r
-\r
-568\r
-00:34:53,479 --> 00:34:56,814\r
-Everything I've done, I've done\r
-with the best intentions.\r
-\r
-569\r
-00:34:56,815 --> 00:34:59,849\r
-I don't need training to tell\r
-you Wizard's Second Rule:\r
-\r
-570\r
-00:34:59,850 --> 00:35:04,320\r
-the greatest harm can result\r
-from the best intentions.\r
-\r
-571\r
-00:35:32,578 --> 00:35:36,179\r
-Is the air putting up\r
-much of a fight?\r
-\r
-572\r
-00:35:36,180 --> 00:35:39,015\r
-Well, I could use\r
-a sparring partner.\r
-\r
-573\r
-00:35:39,016 --> 00:35:41,150\r
-Mord-Siths don't spar.\r
-\r
-574\r
-00:35:41,151 --> 00:35:44,987\r
-When we fight,\r
-we fight to inflict pain.\r
-\r
-575\r
-00:35:48,892 --> 00:35:50,626\r
-Someone just tried to kill you.\r
-\r
-576\r
-00:36:10,881 --> 00:36:13,049\r
-Who are you and why are you\r
-trying to kill me?\r
-\r
-577\r
-00:36:13,050 --> 00:36:14,716\r
-I'm not telling you anything.\r
-\r
-578\r
-00:36:14,717 --> 00:36:16,617\r
-Feeling a little shy today?\r
-\r
-579\r
-00:36:16,618 --> 00:36:18,951\r
-I can help you\r
-find your courage.\r
-\r
-580\r
-00:36:22,021 --> 00:36:23,922\r
-What's going on here?\r
-\r
-581\r
-00:36:23,923 --> 00:36:26,358\r
-This woman just tried\r
-to kill Leo.\r
-\r
-582\r
-00:36:26,359 --> 00:36:28,794\r
-Perhaps you can compel her\r
-to explain why.\r
-\r
-583\r
-00:36:47,543 --> 00:36:51,478\r
-Can you bring her back\r
-with the Breath of Life?\r
-\r
-584\r
-00:36:54,982 --> 00:36:57,383\r
-No.\r
-\r
-585\r
-00:36:57,384 --> 00:36:58,784\r
-She's severed her windpipe.\r
-\r
-586\r
-00:36:58,785 --> 00:37:02,486\r
-Why would a Sister of the Light\r
-want to kill Leo?\r
-\r
-587\r
-00:37:02,487 --> 00:37:04,522\r
-Something must be terribly wrong\r
-within their order.\r
-\r
-588\r
-00:37:07,125 --> 00:37:09,625\r
-Richard's with them.\r
-\r
-589\r
-00:37:09,626 --> 00:37:10,626\r
-He could be in danger.\r
-\r
-590\r
-00:37:10,627 --> 00:37:12,128\r
-I have to find him.\r
-\r
-591\r
-00:37:12,129 --> 00:37:13,829\r
-I'll go with you.\r
-\r
-592\r
-00:37:13,830 --> 00:37:15,731\r
-What about the Stone of Tears?\r
-\r
-593\r
-00:37:15,732 --> 00:37:17,799\r
-He's right.\r
-\r
-594\r
-00:37:17,800 --> 00:37:19,801\r
-We shouldn't all go.\r
-\r
-595\r
-00:37:19,802 --> 00:37:21,002\r
-I'll stay with Leo.\r
-\r
-596\r
-00:37:21,003 --> 00:37:23,204\r
-You try to pick up\r
-Richard's trail.\r
-\r
-597\r
-00:37:25,340 --> 00:37:27,040\r
-Are you sure you\r
-want to do this?\r
-\r
-598\r
-00:37:27,041 --> 00:37:28,842\r
-Yes.\r
-\r
-599\r
-00:37:30,811 --> 00:37:32,077\r
-Place your palms on mine,\r
-\r
-600\r
-00:37:34,947 --> 00:37:36,515\r
-close your eyes,\r
-\r
-601\r
-00:37:38,117 --> 00:37:39,651\r
-and surrender yourself to me.\r
-\r
-602\r
-00:37:54,387 --> 00:37:56,354\r
-Say the words with me:\r
-\r
-603\r
-00:38:47,932 --> 00:38:50,968\r
-Now the Sisters won't be able\r
-to follow you.\r
-\r
-604\r
-00:38:53,137 --> 00:38:55,037\r
-All that power.\r
-\r
-605\r
-00:38:55,038 --> 00:38:56,038\r
-Useless.\r
-\r
-606\r
-00:38:56,039 --> 00:38:58,273\r
-Richard, help me.\r
-\r
-607\r
-00:38:58,274 --> 00:38:59,808\r
-You are a Sister of the Dark,\r
-Nicci.\r
-\r
-608\r
-00:38:59,809 --> 00:39:00,809\r
-And so is Ulicia.\r
-\r
-609\r
-00:39:00,810 --> 00:39:02,210\r
-That's not true.\r
-\r
-610\r
-00:39:02,211 --> 00:39:03,545\r
-At first I wasn't sure,\r
-\r
-611\r
-00:39:03,546 --> 00:39:04,980\r
-but then I realized:\r
-\r
-612\r
-00:39:04,981 --> 00:39:06,982\r
-<i>you're the one who passes\r
-out the hymn books.</i>\r
-\r
-613\r
-00:39:06,983 --> 00:39:08,651\r
-You killed Sister Brenna\r
-\r
-614\r
-00:39:08,652 --> 00:39:10,453\r
-by rubbing\r
-creeping elder on hers.\r
-\r
-615\r
-00:39:10,454 --> 00:39:12,554\r
-<i>She was poisoned\r
-when she kissed it.</i>\r
-\r
-616\r
-00:39:12,555 --> 00:39:14,055\r
-Why would I kill Brenna?\r
-\r
-617\r
-00:39:14,056 --> 00:39:16,490\r
-To make me suspicious\r
-of the Prelate.\r
-\r
-618\r
-00:39:16,491 --> 00:39:18,424\r
-That's absurd.\r
-Ulicia put the hymn book\r
-\r
-619\r
-00:39:18,425 --> 00:39:21,093\r
-<i>with the body so the poison\r
-wouldn't be discovered.</i>\r
-\r
-620\r
-00:39:21,094 --> 00:39:24,660\r
-She also alerted the Prelate\r
-that the rada'han was missing\r
-\r
-621\r
-00:39:24,661 --> 00:39:25,760\r
-so I'd be captured.\r
-\r
-622\r
-00:39:25,761 --> 00:39:28,030\r
-If we wanted you\r
-out of the palace,\r
-\r
-623\r
-00:39:28,031 --> 00:39:29,767\r
-why would we\r
-want you captured?\r
-\r
-624\r
-00:39:29,768 --> 00:39:32,103\r
-Because you needed me to believe\r
-that the only way out\r
-\r
-625\r
-00:39:32,104 --> 00:39:34,639\r
-was to let you take my powers.\r
-\r
-626\r
-00:39:41,779 --> 00:39:43,180\r
-Get him.\r
-\r
-627\r
-00:39:49,753 --> 00:39:52,421\r
-Your han isn't as strong\r
-as the woman\r
-\r
-628\r
-00:39:52,422 --> 00:39:53,788\r
-who put up this barrier.\r
-\r
-629\r
-00:39:53,789 --> 00:39:55,657\r
-You can't take\r
-it down so easily.\r
-\r
-630\r
-00:39:55,658 --> 00:39:59,660\r
-Richard, don't go.\r
-\r
-631\r
-00:39:59,661 --> 00:40:02,963\r
-Don't you see, you'll only\r
-be serving the Keeper?\r
-\r
-632\r
-00:40:02,964 --> 00:40:06,365\r
-I don't believe\r
-in prophecies.\r
-\r
-633\r
-00:40:06,366 --> 00:40:09,001\r
-You're a lost soul if you have\r
-nothing to believe in, Richard.\r
-\r
-634\r
-00:40:10,369 --> 00:40:12,403\r
-I believe in myself.\r
-\r
-635\r
-00:40:12,404 --> 00:40:13,671\r
-And the people I love.\r
-\r
-636\r
-00:40:33,180 --> 00:40:35,473\r
-Well, it's only a matter of time\r
-before he finds the stone\r
-\r
-637\r
-00:40:35,474 --> 00:40:36,539\r
-and gives it to the Keeper.\r
-\r
-638\r
-00:40:36,540 --> 00:40:39,765\r
-Just like the Prophecy says.\r
-\r
-639\r
-00:40:39,766 --> 00:40:42,666\r
-I wouldn't underestimate him\r
-if I were you.\r
-\r
-640\r
-00:40:42,667 --> 00:40:44,568\r
-He's full of surprises.\r
-\r
-641\r
-00:41:05,287 --> 00:41:06,718\r
-Sister, what's happening?\r
-\r
-642\r
-00:41:11,356 --> 00:41:14,191\r
-A new prophecy.\r
-\r
-643\r
-00:41:14,192 --> 00:41:17,127\r
-That hasn't happened\r
-in a thousand years.\r
-\r
-644\r
-00:41:19,530 --> 00:41:22,866\r
-"As long as the Mother\r
-Confessor's pure heart beats,\r
-\r
-645\r
-00:41:22,867 --> 00:41:27,103\r
-the Keeper is doomed to fail."\r
-\r
-646\r
-00:41:39,047 --> 00:41:40,614\r
-Lesson Number 88, Seeker:\r
-\r
-647\r
-00:41:40,615 --> 00:41:44,583\r
-"Growling bellies make for\r
-unhappy traveling companions."\r
-\r
-648\r
-00:41:44,584 --> 00:41:46,117\r
-You want to stop and eat?\r
-\r
-649\r
-00:41:48,487 --> 00:41:49,820\r
-Kahlan.\r
-\r
-650\r
-00:41:49,821 --> 00:41:50,988\r
-Cara.\r
-\r
-651\r
-00:41:50,989 --> 00:41:52,255\r
-What are you doing here?\r
-\r
-652\r
-00:41:52,256 --> 00:41:53,523\r
-We were heading south,\r
-\r
-653\r
-00:41:53,524 --> 00:41:56,859\r
-but then the compass\r
-suddenly changed direction\r
-\r
-654\r
-00:41:56,860 --> 00:41:57,993\r
-and it led us here.\r
-\r
-655\r
-00:41:57,994 --> 00:42:00,229\r
-If the compass led you to us,\r
-\r
-656\r
-00:42:00,230 --> 00:42:03,465\r
-and we're traveling\r
-towards Richard, then--\r
-\r
-657\r
-00:42:06,236 --> 00:42:08,470\r
-Then the compass must\r
-be guiding us all back to him.\r
-\r
-658\r
-00:42:10,780 --> 00:42:15,414\r
--- Sync, corrected by <font color=#00FF00>elderman</font> --\r
--- <font color=#00FFFF>for addic7ed.com</font> --\r
-\r
diff --git a/TC/utc/audio/tslist b/TC/utc/audio/tslist
deleted file mode 100755 (executable)
index 90d7384..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/utc/audio/utc_audio_svc_add_item_to_playlist_func
-/utc/audio/utc_audio_svc_add_playlist_func
-/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func
-/utc/audio/utc_audio_svc_count_group_item_func
-/utc/audio/utc_audio_svc_count_list_item_func
-/utc/audio/utc_audio_svc_count_playlist_by_name_func
-/utc/audio/utc_audio_svc_count_playlist_func
-/utc/audio/utc_audio_svc_create_table_func
-/utc/audio/utc_audio_svc_delete_all_func
-/utc/audio/utc_audio_svc_delete_item_by_path_func
-/utc/audio/utc_audio_svc_delete_playlist_func
-/utc/audio/utc_audio_svc_get_group_item_func
-/utc/audio/utc_audio_svc_get_item_by_audio_id_func
-/utc/audio/utc_audio_svc_get_item_by_path_func
-/utc/audio/utc_audio_svc_get_list_item_func
-/utc/audio/utc_audio_svc_get_path_by_audio_id_func
-/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func
-/utc/audio/utc_audio_svc_get_playlist_func
-/utc/audio/utc_audio_svc_get_unique_playlist_name_func
-/utc/audio/utc_audio_svc_insert_item_func
-/utc/audio/utc_audio_svc_item_free_func
-/utc/audio/utc_audio_svc_item_get_val_func
-/utc/audio/utc_audio_svc_item_new_func
-/utc/audio/utc_audio_svc_list_item_free_func
-/utc/audio/utc_audio_svc_list_item_get_func
-/utc/audio/utc_audio_svc_list_item_get_val_func
-/utc/audio/utc_audio_svc_list_item_new_func
-/utc/audio/utc_audio_svc_move_item_func
-/utc/audio/utc_audio_svc_playlist_free_func
-/utc/audio/utc_audio_svc_playlist_get_item_func
-/utc/audio/utc_audio_svc_playlist_get_val_func
-/utc/audio/utc_audio_svc_playlist_new_func
-/utc/audio/utc_audio_svc_playlist_set_val_func
-/utc/audio/utc_audio_svc_refresh_metadata_func
-/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func
-/utc/audio/utc_audio_svc_set_db_valid_func
-/utc/audio/utc_audio_svc_set_item_valid_func
-/utc/audio/utc_audio_svc_update_playlist_name_func
-/utc/audio/utc_audio_svc_delete_invalid_items_func
-/utc/audio/utc_audio_svc_check_item_exist_func
-/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func
diff --git a/TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.c b/TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.c
deleted file mode 100755 (executable)
index 42c2098..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_add_item_to_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_add_item_to_playlist_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_add_item_to_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_add_item_to_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_id = 0;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-\r
-       retval = get_playlist_id(&playlist_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");\r
-       }\r
-       \r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_item_audio_id","fail to get audio_id.");\r
-       }\r
-       \r
-       ret = audio_svc_add_item_to_playlist(db_handle, playlist_id, audio_id);\r
-       dts_check_eq("audio_svc_add_item_to_playlist", ret, AUDIO_SVC_ERROR_NONE, "unable to add item to playlist.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_add_item_to_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_add_item_to_playlist_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int plst_index = -1;\r
-       char * audio_id = "550e8400-e29b-41d4-a716-446655440000";\r
-\r
-       ret = audio_svc_add_item_to_playlist(db_handle, plst_index, audio_id);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_add_item_to_playlist","abnormal condition test for invalid parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_add_item_to_playlist","add item to playlist should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.h b/TC/utc/audio/utc_audio_svc_add_item_to_playlist_func.h
deleted file mode 100755 (executable)
index cbd2a2b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_add_item_to_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_ADD_ITEM_TO_PLAYLIST_FUNC_H_\r
-#define __UTS_AUDIO_SVC_ADD_ITEM_TO_PLAYLIST_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_add_item_to_playlist_func_01();\r
-void utc_audio_svc_add_item_to_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_add_item_to_playlist_func_01, 1},\r
-       {utc_audio_svc_add_item_to_playlist_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_ADD_ITEM_TO_PLAYLIST_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_add_playlist_func.c b/TC/utc/audio/utc_audio_svc_add_playlist_func.c
deleted file mode 100755 (executable)
index bbd0d59..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_insert_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_add_playlist_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_insert_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_insert_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       const char *playlist_name = "plst_test_00";\r
-       int playlist_id = 0;\r
-       \r
-       ret = audio_svc_add_playlist(db_handle, playlist_name, &playlist_id);\r
-       dts_check_eq("audio_svc_add_playlist", ret, AUDIO_SVC_ERROR_NONE, "unable to insert playlist.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_insert_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_insert_playlist_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_add_playlist(db_handle, NULL, NULL);\r
-       \r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_add_playlist","abnormal condition test for invalid parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_add_playlist","Inserting playlist should be failed because of the NULL out parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_add_playlist_func.h b/TC/utc/audio/utc_audio_svc_add_playlist_func.h
deleted file mode 100755 (executable)
index e8d113c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_insert_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_INSERT_PLAYLIST_FUNC_H_\r
-#define __UTS_AUDIO_SVC_INSERT_PLAYLIST_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_insert_playlist_func_01();\r
-void utc_audio_svc_insert_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_insert_playlist_func_01, 1},\r
-       {utc_audio_svc_insert_playlist_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_INSERT_PLAYLIST_FUNC_H_       \r
diff --git a/TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.c b/TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.c
deleted file mode 100755 (executable)
index b183a25..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_check_duplicate_insertion_in_playlist_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_check_duplicate_insertion_in_playlist_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_check_duplicate_insertion_in_playlist_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_check_duplicate_insertion_in_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_id = 0;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-       int count = -1;\r
-\r
-       retval = get_playlist_id(&playlist_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_playlist_id","fail to get playlist id.");\r
-       }\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-\r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_item_audio_id","fail to get audio_id.");\r
-       }\r
-       \r
-       ret = audio_svc_check_duplicate_insertion_in_playlist(db_handle, playlist_id, audio_id, &count);\r
-       dts_check_eq("audio_svc_check_duplicate_insertion_in_playlist", ret, AUDIO_SVC_ERROR_NONE, "unable to check duplicate insertion.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_check_duplicate_insertion_in_playlist_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_check_duplicate_insertion_in_playlist_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int playlist_id = 1;\r
-       char * audio_id = "550e8400-e29b-41d4-a716-446655440000";\r
-\r
-       ret = audio_svc_check_duplicate_insertion_in_playlist(db_handle, playlist_id, audio_id, NULL);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_check_duplicate_insertion_in_playlist","abnormal condition test for invalid parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_check_duplicate_insertion_in_playlist","check insertion should be failed because of the NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.h b/TC/utc/audio/utc_audio_svc_check_duplicate_insertion_in_playlist_func.h
deleted file mode 100755 (executable)
index 27ab7df..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_check_duplicate_insertion_in_playlist_playlist_func.h\r
-* @author\r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_CHECK_DUPLICATE_INSERT_PLAYLIST_FUNC_H_\r
-#define __UTS_AUDIO_SVC_CHECK_DUPLICATE_INSERT_PLAYLIST_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_check_duplicate_insertion_in_playlist_func_01();\r
-void utc_audio_svc_check_duplicate_insertion_in_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_check_duplicate_insertion_in_playlist_func_01, 1},\r
-       {utc_audio_svc_check_duplicate_insertion_in_playlist_func_02, 2},\r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_CHECK_DUPLICATE_INSERT_PLAYLIST_FUNC_H_\r
diff --git a/TC/utc/audio/utc_audio_svc_check_item_exist_func.c b/TC/utc/audio/utc_audio_svc_check_item_exist_func.c
deleted file mode 100755 (executable)
index 57a759f..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_audio_svc_check_item_exist_func.c
-* @brief       This is a suit of unit test cases to test audio_svc_check_item_exist API function
-* @author
-* @version     Initial Creation Version 0.1
-* @date        2011-03-07
-*/
-#include "utc_audio_svc_check_item_exist_func.h"
-
-
-void startup()
-{
-       UTC_AUDIO_SVC_OPEN();
-}
-
-
-void cleanup()
-{
-       UTC_AUDIO_SVC_CLOSE();
-}
-
-/**
-* @brief       This tests int audio_svc_check_item_exist() API with valid parameter
-* @par ID      utc_audio_svc_check_item_exist_func_01
-* @param       [in] storage_type       storage type to delete invalid item
-*                      [in]    path                    the file path
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_audio_svc_check_item_exist_func_01()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-
-       ret = audio_svc_check_item_exist(db_handle, DEFAULT_FILE);
-       if(ret ==  AUDIO_SVC_ERROR_INVALID_PARAMETER)
-       {
-               dts_fail("audio_svc_check_item_exist","fail to check item.");
-       }
-       else
-       {
-               dts_pass("audio_svc_check_item_exist","Success to check item.");
-       }
-}
-
-
-/**
-* @brief       This tests int audio_svc_check_item_exist() API with invalid parameter
-* @par ID      utc_audio_svc_check_item_exist_func_02
-* @param       [in] storage_type       storage type to delete invalid item
-*                      [in]    path                    the file path
-* @return      error code on success
-*/
-void utc_audio_svc_check_item_exist_func_02()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-
-       ret = audio_svc_check_item_exist(db_handle, NULL);
-       if (ret ==  AUDIO_SVC_ERROR_INVALID_PARAMETER)
-       {
-               dts_pass("audio_svc_check_item_exist","abnormal condition test for invalid path parameter.");
-       }
-       else
-       {
-               dts_fail("audio_svc_check_item_exist","this API should be failed because of the invalid path parameter.");
-       }
-
-       return ;
-}
-
diff --git a/TC/utc/audio/utc_audio_svc_check_item_exist_func.h b/TC/utc/audio/utc_audio_svc_check_item_exist_func.h
deleted file mode 100755 (executable)
index d91c072..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_audio_svc_check_item_exist_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of audio_svc_check_item_exist API function
-* @version     Initial Creation Version 0.1
-* @date                2011-03-07
-*/
-
-#ifndef __UTS_AUDIO_SVC_CHECK_ITEM_EXIST_FUNC_H_
-#define __UTS_AUDIO_SVC_CHECK_ITEM_EXIST_FUNC_H_
-
-
-#include "utc_audio_svc_common.h"
-
-void startup();
-void cleanup();
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_audio_svc_check_item_exist_func_01();
-void utc_audio_svc_check_item_exist_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_audio_svc_check_item_exist_func_01, 1},
-       {utc_audio_svc_check_item_exist_func_02, 2},    
-       {NULL, 0}
-};
-
-
-#endif //__UTS_AUDIO_SVC_CHECK_ITEM_EXIST_FUNC_H_
-
diff --git a/TC/utc/audio/utc_audio_svc_close_func.c b/TC/utc/audio/utc_audio_svc_close_func.c
deleted file mode 100755 (executable)
index 28e3297..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_close_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_close API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_close_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_close() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_close_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_close_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_close();\r
-       dts_check_eq("audio_svc_close", ret, AUDIO_SVC_ERROR_NONE, "fail to close music db.");\r
-\r
-}\r
-\r
-#if 0\r
-/**\r
-* @brief               This tests int audio_svc_close() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_close_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_close_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       UTC_AUDIO_SVC_OPEN();\r
-       ret = audio_svc_close();\r
-       if (!ret)\r
-       {\r
-               UTC_MM_LOG("abnormal condition test for null, error code->%x", ret);\r
-               tet_result(TET_PASS);\r
-       }\r
-       else\r
-       {\r
-               UTC_MM_LOG("Closing music db should be failed because of the NULL out parameter.");\r
-               tet_result(TET_FAIL);\r
-       }\r
-\r
-       return ;\r
-}\r
-#endif\r
diff --git a/TC/utc/audio/utc_audio_svc_close_func.h b/TC/utc/audio/utc_audio_svc_close_func.h
deleted file mode 100755 (executable)
index d48ad70..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_close_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_close API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_CLOSE_FUNC_H_\r
-#define __UTS_AUDIO_SVC_CLOSE_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = NULL;\r
-\r
-void utc_audio_svc_close_func_01();\r
-//void utc_audio_svc_close_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_close_func_01, 1},\r
-//     {utc_audio_svc_close_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_CLOSE_FUNC_H_ \r
diff --git a/TC/utc/audio/utc_audio_svc_common.c b/TC/utc/audio/utc_audio_svc_common.c
deleted file mode 100755 (executable)
index 02d4bd0..0000000
+++ /dev/null
@@ -1,355 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-bool copy_file(const char* srcPath, const char* destPath);\r
-\r
-bool copy_file(const char* srcPath, const char* destPath)\r
-{\r
-       FILE* fs = NULL;\r
-       FILE* fd = NULL;\r
-       char buff[4096] = {0};\r
-       int n = 0;\r
-       int m = 0;\r
-       bool result = FALSE;\r
-       bool remove_dest = FALSE;\r
-\r
-       fs=fopen(srcPath, "rb");\r
-       if(fs == NULL)\r
-       {\r
-               dts_message("fopen", "failed to open source file: %s", srcPath);\r
-               return FALSE;\r
-       }\r
-\r
-\r
-       fd=fopen(destPath, "wb");\r
-       if(fd == NULL)\r
-       {\r
-               dts_message("fopen", "ailed to open dest file: %s", destPath);\r
-\r
-               fclose(fs);\r
-               return FALSE;\r
-       }\r
-\r
-\r
-       while (1)\r
-       {\r
-               result = feof(fs);\r
-               if (!result)\r
-               {\r
-                       n = fread(buff, sizeof(char), sizeof(buff), fs);\r
-                       if(n > 0 && n <= sizeof(buff))\r
-                       {\r
-                               m = fwrite(buff, sizeof(char), n, fd);\r
-                               if (m <= 0)\r
-                               {\r
-                                       dts_message("fwrite", "fwrite = %d \n", m);\r
-\r
-                                       result = FALSE;\r
-                                       remove_dest = TRUE;\r
-                                       goto CATCH;\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               dts_message("fread", "fread = %d \n", n);\r
-                               result = TRUE;\r
-                               goto CATCH;\r
-                       }\r
-               }\r
-               else\r
-               {\r
-                       result = TRUE;\r
-                       goto CATCH;\r
-               }\r
-\r
-\r
-       }\r
-\r
-CATCH:\r
-       fflush(fd);\r
-       fsync(fileno(fd));\r
-       fclose(fd);\r
-       fclose(fs);\r
-\r
-       if(remove_dest)\r
-       {\r
-               remove(destPath);\r
-               sync();\r
-       }\r
-\r
-       dts_message("copy_file", "copying file is successful\n");\r
-       return result;\r
-}\r
-\r
-bool get_item_audio_id(char * audio_id_val)\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType *item;\r
-       char * audio_id = NULL;\r
-       int size = 0;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_message("check_default_item_exist","fail to check default item exist.");\r
-               return FALSE;\r
-       }\r
-\r
-       ret = audio_svc_item_new(&item);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_item_new","fail to audio_svc_item_new.");\r
-               return FALSE;\r
-       }\r
-       \r
-       ret = audio_svc_get_item_by_path(db_handle, DEFAULT_FILE, item);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_message("audio_svc_get_item_by_path","fail to audio_svc_get_item_by_path.");\r
-               return FALSE;\r
-       }\r
-       \r
-       ret = audio_svc_item_get_val(item, AUDIO_SVC_TRACK_DATA_AUDIO_ID, &audio_id, &size, -1);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_message("audio_svc_item_get_val","fail to audio_svc_item_get_val.");\r
-               return FALSE;\r
-       }\r
-\r
-       if(audio_id == NULL)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_message("audio_svc_item_get_val","wrong audio_id.");\r
-               return FALSE;\r
-       }\r
-       \r
-       strncpy(audio_id_val, audio_id, AUDIO_SVC_UUID_SIZE+1);\r
-\r
-       ret = audio_svc_item_free(item);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_item_free","fail to audio_svc_item_free.");\r
-               return FALSE;\r
-       }\r
-       \r
-       return TRUE;\r
-       \r
-}\r
-\r
-bool get_playlist_id(int * playlist_id)\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType*playlists = NULL;\r
-       int count = -1;\r
-       int plst_id = 0;\r
-       \r
-       retval = check_default_playlist_exist();\r
-       if(!retval)\r
-       {\r
-               dts_message("check_default_playlist_exist","fail to check default playlist exist.");\r
-               return FALSE;\r
-       }\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_count_playlist","unable to get playlist.");\r
-               return FALSE;\r
-       }\r
-       \r
-       ret = audio_svc_playlist_new(&playlists, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_count_playlist","there is no playlist.");\r
-               return FALSE;\r
-       }\r
-       \r
-       //get all the playlists in db.\r
-       ret = audio_svc_get_playlist(db_handle, \r
-                               NULL, //filter_string,\r
-                               NULL, //filter_string2,\r
-                               0, //offset,\r
-                               count,\r
-                               playlists);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_message("audio_svc_get_playlist","unable to get playlist.");\r
-               return FALSE;\r
-       }\r
-       \r
-       //get the playlist id and playlist name of each playlist\r
-       ret = audio_svc_playlist_get_val(playlists, 0, AUDIO_SVC_PLAYLIST_ID, &plst_id, -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_message("audio_svc_get_playlist","unable to get value for playlist.");\r
-               return FALSE;\r
-       }\r
-\r
-       if(plst_id < 1)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_message("audio_svc_get_playlist","unable to get value for playlist.");\r
-               return FALSE;\r
-       }\r
-       \r
-       *playlist_id = plst_id;\r
-\r
-       ret = audio_svc_playlist_free(playlists);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_playlist_free","unable to audio_svc_playlist_free.");\r
-               return FALSE;\r
-       }\r
-       \r
-       return TRUE;\r
-}      \r
-\r
-bool check_default_item_exist()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       audio_svc_storage_type_e storage = AUDIO_SVC_STORAGE_PHONE;\r
-\r
-       ret = audio_svc_check_item_exist(db_handle, DEFAULT_FILE);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               ret = audio_svc_insert_item(db_handle, storage, DEFAULT_FILE, AUDIO_SVC_CATEGORY_MUSIC);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       dts_message("audio_svc_insert_item","fail to insert item.");\r
-                       return FALSE;\r
-               }\r
-       }\r
-       \r
-       return TRUE;\r
-}\r
-\r
-bool check_temp_item_file_exist()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_check_item_exist(db_handle, TEST_FILE);\r
-       if(ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               copy_file(DEFAULT_FILE, TEST_FILE);\r
-       }\r
-       else\r
-       {\r
-               ret = audio_svc_delete_item_by_path(db_handle, TEST_FILE);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       dts_message("audio_svc_delete_item_by_path","fail to delete item.");\r
-                       return FALSE;\r
-               }\r
-       }\r
-\r
-       return TRUE;\r
-}\r
-\r
-bool check_default_playlist_exist()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_count_playlist","unable to get playlist.");\r
-               return FALSE;\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               int playlist_id = 0;\r
-               ret = audio_svc_add_playlist(db_handle, "plst_test", &playlist_id);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       dts_message("audio_svc_add_playlist","fail to add playlist");\r
-                       return FALSE;\r
-               }\r
-               \r
-               ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       dts_message("audio_svc_count_playlist","unable to get playlist.");\r
-                       return FALSE;\r
-               }\r
-               if(count < 1)\r
-               {\r
-                       dts_message("audio_svc_count_playlist","there is no playlist");\r
-                       return FALSE;\r
-               }\r
-       }\r
-       \r
-       return TRUE;\r
-}\r
-\r
-bool check_playlist_has_item(int * playlist_id, char * audio_id_val)\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_idx = 0;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-       int count = -1;\r
-       \r
-       retval = get_playlist_id(&playlist_idx);\r
-       if(!retval)\r
-       {\r
-               dts_message("get_playlist_id","fail to get playlist id.");\r
-               return FALSE;\r
-       }\r
-\r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_message("get_item_audio_id","fail to get item audio_id.");\r
-               return FALSE;\r
-       }\r
-\r
-       ret = audio_svc_check_duplicate_insertion_in_playlist(db_handle, playlist_idx, audio_id, &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_message("audio_svc_count_playlist","unable to get playlist.");\r
-               return FALSE;\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               ret = audio_svc_add_item_to_playlist(db_handle, playlist_idx, audio_id);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       dts_message("audio_svc_add_item_to_playlist","unable to audio_svc_add_item_to_playlist.");\r
-                       return FALSE;\r
-               }\r
-       }\r
-\r
-       *playlist_id = playlist_idx;\r
-       strncpy(audio_id_val, audio_id, AUDIO_SVC_UUID_SIZE+1);\r
-       \r
-       return TRUE;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_common.h b/TC/utc/audio/utc_audio_svc_common.h
deleted file mode 100755 (executable)
index d932893..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                uts_audio_svc_common.h
-* @author      
-* @brief       This is the implementaion file for the test case of Audio in libmedia-service 
-* @version     Initial Creation Version 0.1
-* @date        2010-09-13
-*/
-
-#ifndef __UTS_AUDIO_SVC_COMMON_H_
-#define __UTS_AUDIO_SVC_COMMON_H_
-
-#include <audio-svc.h>
-#include <media-svc.h>
-#include <string.h>
-#include <tet_api.h>
-#include <unistd.h>
-#include <stdbool.h>
-
-#define MAX_STRING_LEN 256
-
-#define UTC_MM_LOG(fmt, args...)       tet_printf("[%s(L%d)]:"fmt"\n", __FUNCTION__, __LINE__, ##args)
-
-MediaSvcHandle * db_handle;
-
-#define UTC_AUDIO_SVC_OPEN() \
-do \
-{ \
-       int ret = AUDIO_SVC_ERROR_NONE; \
-       ret = media_svc_connect(&db_handle); \
-       if (ret != AUDIO_SVC_ERROR_NONE) \
-       { \
-               dts_fail("media_svc_connect", "fail to open music db"); \
-       } \
-} \
-while(0);
-
-#define UTC_AUDIO_SVC_CLOSE() \
-do \
-{ \
-       int ret = AUDIO_SVC_ERROR_NONE; \
-       ret = media_svc_disconnect(db_handle); \
-       if (ret != AUDIO_SVC_ERROR_NONE) \
-       { \
-               dts_fail("media_svc_disconnect", "fail to close music db"); \
-       } \
-} \
-while(0);
-
-#define        DEFAULT_FILE            "/opt/media/Music/Over the horizon.mp3"
-#define        TEST_FILE                       "/opt/media/Music/test.mp3"
-
-#ifndef FALSE
-#define FALSE  0
-#endif
-#ifndef TRUE
-#define TRUE   1
-#endif
-
-bool get_item_audio_id(char * audio_id_val);
-bool get_playlist_id(int * playlist_id);
-bool check_default_item_exist();
-bool check_temp_item_file_exist();
-bool check_default_playlist_exist();
-bool check_playlist_has_item(int * playlist_id, char * audio_id_val);
-
-#endif //__UTS_AUDIO_SVC_COMMON_H_
-
diff --git a/TC/utc/audio/utc_audio_svc_count_group_item_func.c b/TC/utc/audio/utc_audio_svc_count_group_item_func.c
deleted file mode 100755 (executable)
index 595ebde..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_count_group_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_count_group_item API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_count_group_item_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_count_group_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_count_group_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_count_group_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_group_item(db_handle, AUDIO_SVC_GROUP_BY_ARTIST, "", "", "", "", &count);\r
-       dts_check_eq("audio_svc_count_group_item", ret, AUDIO_SVC_ERROR_NONE, "failed to get groups.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_count_group_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_count_group_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_count_group_item_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_group_item(db_handle, AUDIO_SVC_GROUP_BY_ARTIST_ALBUM, NULL, "", "", "", &count);\r
-       \r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_count_group_item","abnormal condition test for invalid limit string parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_count_group_item","Counting groups should be failed because of the NULL limit string parameter.");\r
-       }\r
\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_count_group_item_func.h b/TC/utc/audio/utc_audio_svc_count_group_item_func.h
deleted file mode 100755 (executable)
index ca55680..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_count_group_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_count_group_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_COUNT_GROUPS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_COUNT_GROUPS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_count_group_item_func_01();\r
-void utc_audio_svc_count_group_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_count_group_item_func_01, 1},\r
-       {utc_audio_svc_count_group_item_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_COUNT_GROUPS_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_count_list_item_func.c b/TC/utc/audio/utc_audio_svc_count_list_item_func.c
deleted file mode 100755 (executable)
index df5c728..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_count_list_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_count_list_item API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_count_list_item_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_count_list_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_count_list_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_count_list_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       dts_check_eq("audio_svc_count_list_item", ret, AUDIO_SVC_ERROR_NONE, "failed to count items.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_count_list_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_count_list_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_count_list_item_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", NULL);\r
-       \r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_count_list_item","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_count_list_item","Counting items should be failed because of the NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_count_list_item_func.h b/TC/utc/audio/utc_audio_svc_count_list_item_func.h
deleted file mode 100755 (executable)
index dd9f532..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_count_list_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_count_list_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_COUNT_ITEMS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_COUNT_ITEMS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_count_list_item_func_01();\r
-void utc_audio_svc_count_list_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_count_list_item_func_01, 1},\r
-       {utc_audio_svc_count_list_item_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_COUNT_ITEMS_FUNC_H_   \r
diff --git a/TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.c b/TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.c
deleted file mode 100755 (executable)
index 2d0479d..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_count_playlists_by_name_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_count_playlists API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_count_playlist_by_name_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_count_playlist_by_name() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_count_playlist_by_name_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_count_playlist_by_name_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_playlist_by_name(db_handle, "plst 001", &count);\r
-       dts_check_eq("audio_svc_count_playlist_by_name", ret, AUDIO_SVC_ERROR_NONE, "failed to get playlists count.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_count_playlist_by_name() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_count_playlist_by_name_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_count_playlist_by_name_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_playlist_by_name(db_handle, NULL, &count);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_count_playlist_by_name","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_count_playlist_by_name","Counting playlists should be failed because of the NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.h b/TC/utc/audio/utc_audio_svc_count_playlist_by_name_func.h
deleted file mode 100755 (executable)
index e1c7cd9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_count_playlist_by_name_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_count_playlist_by_name API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_COUNT_PLAYLISTS_BY_NAME_FUNC_H_\r
-#define __UTS_AUDIO_SVC_COUNT_PLAYLISTS_BY_NAME_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_count_playlist_by_name_func_01();\r
-void utc_audio_svc_count_playlist_by_name_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_count_playlist_by_name_func_01, 1},\r
-       {utc_audio_svc_count_playlist_by_name_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_COUNT_PLAYLISTS_BY_NAME_FUNC_H_       \r
diff --git a/TC/utc/audio/utc_audio_svc_count_playlist_func.c b/TC/utc/audio/utc_audio_svc_count_playlist_func.c
deleted file mode 100755 (executable)
index 68f21c4..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_count_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_count_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_count_playlist_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_count_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_count_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_count_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int count = -1;\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       dts_check_eq("audio_svc_count_playlist", ret, AUDIO_SVC_ERROR_NONE, "failed to get playlists count.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_count_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_count_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_count_playlist_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       ret = audio_svc_count_playlist(db_handle, "", "", NULL);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_count_playlist","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_count_playlist","Counting playlists should be failed because of the NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_count_playlist_func.h b/TC/utc/audio/utc_audio_svc_count_playlist_func.h
deleted file mode 100755 (executable)
index 92049fd..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_count_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_count_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_COUNT_PLAYLISTS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_COUNT_PLAYLISTS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_count_playlist_func_01();\r
-void utc_audio_svc_count_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_count_playlist_func_01, 1},\r
-       {utc_audio_svc_count_playlist_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_COUNT_PLAYLISTS_FUNC_H_       \r
diff --git a/TC/utc/audio/utc_audio_svc_create_table_func.c b/TC/utc/audio/utc_audio_svc_create_table_func.c
deleted file mode 100755 (executable)
index 11bfdf8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_create_table_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_create_table API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_create_table_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_create_table() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_create_table_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_create_table_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       \r
-       ret = audio_svc_create_table(db_handle);\r
-       dts_check_eq("audio_svc_create_table", ret, AUDIO_SVC_ERROR_NONE, "unable to create music phone table.");\r
-\r
-}\r
-\r
-#if 0\r
-/**\r
-* @brief       This tests int audio_svc_create_table() API with invalid parameter\r
-*              Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_create_table_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_create_table_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       \r
-       ret = audio_svc_create_table();\r
-       \r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_create_table","abnormal condition test for invalid storage type parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_create_table","create music table should be failed because of the invalid storage type.");\r
-       }\r
-\r
-}\r
-#endif\r
diff --git a/TC/utc/audio/utc_audio_svc_create_table_func.h b/TC/utc/audio/utc_audio_svc_create_table_func.h
deleted file mode 100755 (executable)
index af0b93d..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_create_table_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_create_table API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_CREATE_TABLE_FUNC_H_\r
-#define __UTS_AUDIO_SVC_CREATE_TABLE_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_create_table_func_01();\r
-//void utc_audio_svc_create_table_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_create_table_func_01, 1},\r
-//     {utc_audio_svc_create_table_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_CREATE_TABLE_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_delete_all_func.c b/TC/utc/audio/utc_audio_svc_delete_all_func.c
deleted file mode 100755 (executable)
index f166b62..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_delete_all_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_delete_all API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_delete_all_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_delete_all() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_delete_all_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_delete_all_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       \r
-       ret = audio_svc_delete_all(db_handle, AUDIO_SVC_STORAGE_PHONE);\r
-       dts_check_eq("audio_svc_delete_all", ret, AUDIO_SVC_ERROR_NONE, "failed to get groups.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_delete_all() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_delete_all_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_delete_all_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_delete_all(db_handle, 100);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_delete_all","abnormal condition test for invalid storage type.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_delete_all","Deleting all should be failed because of the storage type parameter.");\r
-       }\r
-       \r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_delete_all_func.h b/TC/utc/audio/utc_audio_svc_delete_all_func.h
deleted file mode 100755 (executable)
index e3f6a4b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_delete_all_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_delete_all API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_DELETE_ALL_FUNC_H_\r
-#define __UTS_AUDIO_SVC_DELETE_ALL_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_delete_all_func_01();\r
-void utc_audio_svc_delete_all_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_delete_all_func_01, 1},\r
-       {utc_audio_svc_delete_all_func_02, 2},  \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_DELETE_ALL_FUNC_H_    \r
diff --git a/TC/utc/audio/utc_audio_svc_delete_invalid_items_func.c b/TC/utc/audio/utc_audio_svc_delete_invalid_items_func.c
deleted file mode 100755 (executable)
index 6056d6b..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_audio_svc_delete_invalid_items_func.c
-* @brief       This is a suit of unit test cases to test utc_audio_svc_delete_invalid_items_func API function
-* @author
-* @version     Initial Creation Version 0.1
-* @date        2011-03-07
-*/
-#include "utc_audio_svc_delete_invalid_items_func.h"
-
-
-void startup()
-{
-       UTC_AUDIO_SVC_OPEN();
-}
-
-
-void cleanup()
-{
-       UTC_AUDIO_SVC_CLOSE();
-}
-
-/**
-* @brief       This tests int audio_svc_delete_invalid_items() API with valid parameter
-* @par ID      utc_audio_svc_list_item_get_val_func_01
-* @param       [in] storage_type       storage type to delete invalid item
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_audio_svc_delete_invalid_items_func_01()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-       audio_svc_storage_type_e storage = AUDIO_SVC_STORAGE_PHONE;
-
-       ret = audio_svc_delete_invalid_items(db_handle, storage);
-       dts_check_eq("audio_svc_delete_invalid_items", ret, AUDIO_SVC_ERROR_NONE, "failed to delete invalid items.");
-}
-
-/**
-* @brief       This tests int audio_svc_delete_invalid_items() API with invalid parameter
-* @par ID      utc_audio_svc_list_item_get_val_func_02
-* @param       [in] storage_type       storage type to delete invalid item
-* @return      error code on success
-*/
-void utc_audio_svc_delete_invalid_items_func_02()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-       audio_svc_storage_type_e storage = 3;
-
-       ret = audio_svc_delete_invalid_items(db_handle, storage);
-       if (ret !=  AUDIO_SVC_ERROR_NONE)
-       {
-               dts_pass("audio_svc_delete_invalid_items","abnormal condition test for invalid storage parameter.");
-       }
-       else
-       {
-               dts_fail("audio_svc_delete_invalid_items","this API should be failed because of the invalid storage parameter.");
-       }
-
-       return ;
-}
-
diff --git a/TC/utc/audio/utc_audio_svc_delete_invalid_items_func.h b/TC/utc/audio/utc_audio_svc_delete_invalid_items_func.h
deleted file mode 100755 (executable)
index d4be1f4..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_audio_svc_delete_invalid_items_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of audio_svc_delete_invalid_items API function
-* @version     Initial Creation Version 0.1
-* @date                2011-03-07
-*/
-
-#ifndef __UTS_AUDIO_SVC_DELETE_INVALID_ITEMS_FUNC_H_
-#define __UTS_AUDIO_SVC_DELETE_INVALID_ITEMS_FUNC_H_
-
-
-#include "utc_audio_svc_common.h"
-
-void startup();
-void cleanup();
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_audio_svc_delete_invalid_items_func_01();
-void utc_audio_svc_delete_invalid_items_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_audio_svc_delete_invalid_items_func_01, 1},
-       {utc_audio_svc_delete_invalid_items_func_02, 2},        
-       {NULL, 0}
-};
-
-
-#endif //__UTS_AUDIO_SVC_DELETE_INVALID_ITEMS_FUNC_H_
-
diff --git a/TC/utc/audio/utc_audio_svc_delete_item_by_path_func.c b/TC/utc/audio/utc_audio_svc_delete_item_by_path_func.c
deleted file mode 100755 (executable)
index 2c0e006..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_delete_item_by_path_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_delete_item_by_path API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_delete_item_by_path_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_delete_item_by_path() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_delete_item_by_path_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_delete_item_by_path_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_delete_item_by_path(db_handle, DEFAULT_FILE);\r
-       dts_check_eq("audio_svc_delete_item_by_path", ret, AUDIO_SVC_ERROR_NONE, "failed to delete item by path.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_delete_item_by_path() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_delete_item_by_path_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_delete_item_by_path_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       const char * path = NULL;\r
-\r
-       ret = audio_svc_delete_item_by_path(db_handle, path);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_delete_item_by_path","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_delete_item_by_path","Getting item by path should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_delete_item_by_path_func.h b/TC/utc/audio/utc_audio_svc_delete_item_by_path_func.h
deleted file mode 100755 (executable)
index 85b6f52..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_item_by_path_func.h\r
-* @author\r
-* @brief       This is the implementaion file for the test case of audio_svc_get_item_by_path API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_delete_item_by_path_func_01();\r
-void utc_audio_svc_delete_item_by_path_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_delete_item_by_path_func_01, 1},\r
-       {utc_audio_svc_delete_item_by_path_func_02, 2},\r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_\r
diff --git a/TC/utc/audio/utc_audio_svc_delete_playlist_func.c b/TC/utc/audio/utc_audio_svc_delete_playlist_func.c
deleted file mode 100755 (executable)
index 2f0fc7d..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_delete_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_delete_playlist API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_delete_playlist_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_delete_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_delete_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_delete_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_id = 0;\r
-\r
-       retval = get_playlist_id(&playlist_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_playlist_id","fail to get playlist id.");\r
-       }\r
-       \r
-       ret = audio_svc_delete_playlist(db_handle, playlist_id);\r
-       dts_check_eq("audio_svc_delete_playlist", ret, AUDIO_SVC_ERROR_NONE, "failed to delete playlist.");\r
-       \r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_delete_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_delete_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_delete_playlist_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int playlist_id = -1;\r
-       \r
-       ret = audio_svc_delete_playlist(db_handle, playlist_id);\r
-       \r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_delete_playlist","abnormal condition test for invalid parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_delete_playlist","deleting playlist should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_delete_playlist_func.h b/TC/utc/audio/utc_audio_svc_delete_playlist_func.h
deleted file mode 100755 (executable)
index 4a9db6a..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_delete_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_delete_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_DELETE_PLAYLIST_FUNC_H_\r
-#define __UTS_AUDIO_SVC_DELETE_PLAYLIST_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_delete_playlist_func_01();\r
-void utc_audio_svc_delete_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_delete_playlist_func_01, 1},\r
-       {utc_audio_svc_delete_playlist_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_DELETE_PLAYLIST_FUNC_H_       \r
diff --git a/TC/utc/audio/utc_audio_svc_get_group_item_func.c b/TC/utc/audio/utc_audio_svc_get_group_item_func.c
deleted file mode 100755 (executable)
index a1a1047..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_group_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_group_item API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_group_item_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_group_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_group_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_group_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType *result_records = NULL;\r
-       int count = -1;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_group_item(db_handle, AUDIO_SVC_GROUP_BY_ALBUM, "Breakaway", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_group_item","unable to count.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_new(&result_records, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","unable to new records.");\r
-       }\r
-\r
-       ret = audio_svc_get_group_item(db_handle, AUDIO_SVC_GROUP_BY_ALBUM, "Breakaway", "", "", "", 0, count, result_records);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(result_records);\r
-               dts_fail("audio_svc_get_group_item","unable to get records.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_free(result_records);\r
-       dts_check_eq("audio_svc_list_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-       \r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_group_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_group_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_group_item_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *result_records = NULL;\r
-       \r
-       ret = audio_svc_get_group_item(db_handle, AUDIO_SVC_GROUP_BY_ALBUM, "Breakaway", "", "", "", 0, ret, result_records);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_group_item","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_group_item","Getting groups should be failed because of the NULL out parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_group_item_func.h b/TC/utc/audio/utc_audio_svc_get_group_item_func.h
deleted file mode 100755 (executable)
index d393366..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_group_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_get_group_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_GROUPS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_GROUPS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_group_item_func_01();\r
-void utc_audio_svc_get_group_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_group_item_func_01, 1},\r
-       {utc_audio_svc_get_group_item_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif // __UTS_AUDIO_SVC_GET_GROUPS_FUNC_H_\r
diff --git a/TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.c b/TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.c
deleted file mode 100755 (executable)
index 7de030e..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_item_by_audio_id_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_item_by_audio_id API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_item_by_audio_id_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_item_by_audio_id() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_item_by_audio_id_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_item_by_audio_id_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-       AudioHandleType *item = NULL;\r
-       int count = -1;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_list_item","failed to count items.");\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               dts_fail("audio_svc_insert_item","there is no item.");\r
-       }\r
-\r
-       ret = audio_svc_item_new(&item);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_item_new","failed to malloc.");\r
-       }\r
-\r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_item_audio_id","fail to get audio_id.");\r
-       }\r
-       \r
-       ret = audio_svc_get_item_by_audio_id(db_handle, audio_id, item);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_fail("audio_svc_get_item_by_audio_id","failed to get item by audio_id.");\r
-       }\r
-\r
-       ret = audio_svc_item_free(item);\r
-       dts_check_eq("audio_svc_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_item_by_audio_id() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_item_by_audio_id_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_item_by_audio_id_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *item = NULL;\r
-       char * audio_id = "550e8400-e29b-41d4-a716-446655440000";\r
-\r
-       ret = audio_svc_get_item_by_audio_id(db_handle, audio_id, item);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_item_by_audio_id","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_item_by_audio_id","Getting item by path should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.h b/TC/utc/audio/utc_audio_svc_get_item_by_audio_id_func.h
deleted file mode 100755 (executable)
index 0e89558..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_item_by_audio_id_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_get_item_by_audio_id API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_ITEM_BY_AUDIO_ID_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_ITEM_BY_AUDIO_ID_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_item_by_audio_id_func_01();\r
-void utc_audio_svc_get_item_by_audio_id_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_item_by_audio_id_func_01, 1},\r
-       {utc_audio_svc_get_item_by_audio_id_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_ITEM_BY_AUDIO_ID_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_get_item_by_path_func.c b/TC/utc/audio/utc_audio_svc_get_item_by_path_func.c
deleted file mode 100755 (executable)
index 8a97c3a..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_item_by_path_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_item_by_path API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_item_by_path_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_item_by_path() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_item_by_path_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_item_by_path_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType *item = NULL;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_item_new(&item);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_item_new","failed to malloc.");\r
-       }\r
-\r
-       ret = audio_svc_get_item_by_path(db_handle, DEFAULT_FILE, item);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_fail("audio_svc_get_item_by_path","failed to get item by path.");\r
-       }\r
-\r
-       ret = audio_svc_item_free(item);\r
-       dts_check_eq("audio_svc_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_item_by_path() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_item_by_path_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_item_by_path_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *item = NULL;\r
-\r
-       ret = audio_svc_item_new(&item);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_item_new","failed to malloc.");\r
-       }\r
-       \r
-       ret = audio_svc_get_item_by_path(db_handle, NULL, item);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_pass("audio_svc_get_item_by_path","abnormal condition test for invalid path.");\r
-       }\r
-       else\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_fail("audio_svc_get_item_by_path","Getting item by path should be failed because of the invalid path parameter.");\r
-       }\r
-       \r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_item_by_path_func.h b/TC/utc/audio/utc_audio_svc_get_item_by_path_func.h
deleted file mode 100755 (executable)
index f63753c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_item_by_path_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_get_item_by_path API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_item_by_path_func_01();\r
-void utc_audio_svc_get_item_by_path_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_item_by_path_func_01, 1},\r
-       {utc_audio_svc_get_item_by_path_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_ITEM_BY_PATH_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_get_list_item_func.c b/TC/utc/audio/utc_audio_svc_get_list_item_func.c
deleted file mode 100755 (executable)
index 47b16e4..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_list_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_list_item API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_list_item_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_list_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_list_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_list_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType *result_records = NULL;\r
-       int count = -1;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_list_item","failed to count items.");\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               dts_fail("audio_svc_insert_item","there is no item.");\r
-       }\r
-       \r
-       ret = audio_svc_list_item_new(&result_records, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","unable to make list item.");\r
-       }\r
-       \r
-       ret = audio_svc_get_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", 0, count, result_records);\r
-       if (ret != AUDIO_SVC_ERROR_NONE) {\r
-               audio_svc_list_item_free(result_records);\r
-               dts_fail("audio_svc_get_list_item","failed to get items.");\r
-       }\r
-       \r
-       ret = audio_svc_list_item_free(result_records);\r
-       dts_check_eq("audio_svc_list_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_list_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_list_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_list_item_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *result_records = NULL;\r
-       ret = audio_svc_get_list_item(db_handle, AUDIO_SVC_GROUP_BY_ALBUM, "Breakaway", "", "", "", 0, ret, result_records);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_list_item","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_list_item","Getting items should be failed because of the NULL out parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_list_item_func.h b/TC/utc/audio/utc_audio_svc_get_list_item_func.h
deleted file mode 100755 (executable)
index e87d736..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_get_list_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_get_list_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_ITEMS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_ITEMS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_list_item_func_01();\r
-void utc_audio_svc_get_list_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_list_item_func_01, 1},\r
-       {utc_audio_svc_get_list_item_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_ITEMS_FUNC_H_     \r
diff --git a/TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.c b/TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.c
deleted file mode 100755 (executable)
index 607ed69..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_path_by_audio_id_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_path_by_audio_id API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_path_by_audio_id_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_path_by_audio_id() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_path_by_audio_id_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_path_by_audio_id_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       char pathname[AUDIO_SVC_PATHNAME_SIZE] = {0,};\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-\r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_item_audio_id","fail to get audio_id.");\r
-       }\r
-       //retrieve the file path by track audio_id.\r
-       ret = audio_svc_get_path_by_audio_id(db_handle, audio_id, pathname, AUDIO_SVC_PATHNAME_SIZE);\r
-       dts_check_eq("audio_svc_get_path_by_audio_id", ret, AUDIO_SVC_ERROR_NONE, "failed to get path.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_path_by_audio_id() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_path_by_audio_id_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_path_by_audio_id_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       char * audio_id = "550e8400-e29b-41d4-a716-446655440000";\r
-\r
-       ret = audio_svc_get_path_by_audio_id(db_handle, audio_id, NULL, AUDIO_SVC_PATHNAME_SIZE);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_path_by_audio_id","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_path_by_audio_id","Getting items should be failed because of the NULL out parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.h b/TC/utc/audio/utc_audio_svc_get_path_by_audio_id_func.h
deleted file mode 100755 (executable)
index 5938386..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_path_by_audio_id_func.h\r
-* @author\r
-* @brief       This is the implementaion file for the test case of audio_svc_get_path_by_audio_id API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_PATH_BY_AUDIO_ID_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_PATH_BY_AUDIO_ID_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_path_by_audio_id_func_01();\r
-void utc_audio_svc_get_path_by_audio_id_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_path_by_audio_id_func_01, 1},\r
-       {utc_audio_svc_get_path_by_audio_id_func_02, 2},\r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_ITEMS_FUNC_H_\r
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_func.c b/TC/utc/audio/utc_audio_svc_get_playlist_func.c
deleted file mode 100755 (executable)
index 24fbdaa..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_get_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_get_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_playlist_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_get_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       AudioHandleType *result_records = NULL;\r
-       int count = -1;\r
-\r
-       retval = check_default_playlist_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");\r
-       }\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       ret = audio_svc_playlist_new(&result_records, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_playlist_new","unable to create playlist.");\r
-       }\r
-       \r
-       ret = audio_svc_get_playlist(db_handle, "", "", 0, count, result_records);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(result_records);\r
-               dts_fail("audio_svc_get_playlist","unable to get playlist.");\r
-       }\r
-\r
-       ret = audio_svc_playlist_free(result_records);\r
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");\r
-       \r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_get_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_playlist_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *result_records = NULL;\r
-       \r
-       ret = audio_svc_get_playlist(db_handle, "", "", 0, ret, result_records);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_playlist","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_playlist","Getting playlists should be failed because of the NULL out parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_func.h b/TC/utc/audio/utc_audio_svc_get_playlist_func.h
deleted file mode 100755 (executable)
index 9ca738f..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_get_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_get_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_PLAYLISTS_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_PLAYLISTS_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_playlist_func_01();\r
-void utc_audio_svc_get_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_playlist_func_01, 1},\r
-       {utc_audio_svc_get_playlist_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_PLAYLISTS_FUNC_H_ \r
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.c b/TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.c
deleted file mode 100755 (executable)
index 3659a4a..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                utc_audio_svc_get_playlist_id_by_playlist_name_func.c
-* @brief       This is a suit of unit test cases to test utc_audio_svc_get_playlist_id_by_playlist_name_func API function
-* @author
-* @version     Initial Creation Version 0.1
-* @date        2011-03-07
-*/
-#include "utc_audio_svc_get_playlist_id_by_playlist_name_func.h"
-
-
-void startup()
-{
-       UTC_AUDIO_SVC_OPEN();
-}
-
-
-void cleanup()
-{
-       UTC_AUDIO_SVC_CLOSE();
-}
-
-/**
-* @brief       This tests int audio_svc_get_playlist_id_by_playlist_name() API with valid parameter
-* @par ID      utc_audio_svc_get_playlist_id_by_playlist_name_func_01
-* @param       [in]    playlist_name   playlist name for find playlist index
-                       [out]   playlist_id             the unique playlist id
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_audio_svc_get_playlist_id_by_playlist_name_func_01()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-       bool retval = FALSE;
-       int playlist_id = -1;
-       int count = -1;
-       AudioHandleType*playlists = NULL;
-       char *p = NULL;
-       int size = -1;
-       int i = 0;
-
-       retval = check_default_playlist_exist();
-       if(!retval)
-       {
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");
-       }
-
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);
-       if (ret != AUDIO_SVC_ERROR_NONE)
-       {
-               dts_fail("audio_svc_count_playlists","unable to get playlist.");
-       }
-       
-       ret = audio_svc_playlist_new(&playlists, count);
-       if (ret != AUDIO_SVC_ERROR_NONE)
-       {
-               dts_fail("audio_svc_count_playlists","there is no playlist.");
-       }
-       
-       //get all the playlists in db.
-       ret = audio_svc_get_playlist(db_handle, 
-                               NULL, //filter_string,
-                               NULL, //filter_string2,
-                               0, //offset,
-                               count,
-                               playlists);
-       if (ret != AUDIO_SVC_ERROR_NONE)
-       {
-               audio_svc_playlist_free(playlists);
-               dts_fail("audio_svc_get_playlist","unable to get playlist.");
-       }
-       
-       //get the playlist id and playlist name of each playlist
-       ret = audio_svc_playlist_get_val(playlists, i, AUDIO_SVC_PLAYLIST_NAME, &p, &size, -1);
-       if (ret != AUDIO_SVC_ERROR_NONE)
-       {
-               audio_svc_playlist_free(playlists);
-               dts_fail("audio_svc_playlist_get_val","unable to get value for playlist.");
-       }
-       if(p == NULL)
-       {
-               audio_svc_playlist_free(playlists);
-               dts_fail("audio_svc_playlists_get_val","unable to get name of playlist.");
-       }
-       
-       ret = audio_svc_get_playlist_id_by_playlist_name(db_handle, p, &playlist_id);
-       if (ret != AUDIO_SVC_ERROR_NONE)
-       {
-               audio_svc_playlist_free(playlists);
-               dts_fail("audio_svc_get_playlist_id_by_playlist_name","unable to get playlist id.");
-       }
-       
-       ret = audio_svc_playlist_free(playlists);
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");
-
-}
-
-
-/**
-* @brief       This tests int audio_svc_get_playlist_id_by_playlist_name() API with invalid parameter
-* @par ID      utc_audio_svc_get_playlist_id_by_playlist_name_func_02
-* @param       [in]    playlist_name   playlist name for find playlist index
-                       [out]   playlist_id             the unique playlist id
-* @return      error code on success
-*/
-void utc_audio_svc_get_playlist_id_by_playlist_name_func_02()
-{
-       int ret = AUDIO_SVC_ERROR_NONE;
-       int playlist_id = -1;
-       
-       ret = audio_svc_get_playlist_id_by_playlist_name(db_handle, NULL, &playlist_id);
-       if (ret !=  AUDIO_SVC_ERROR_NONE)
-       {
-               dts_pass("audio_svc_get_playlist_id_by_playlist_name","abnormal condition test for invalid playlist name parameter.");
-       }
-       else
-       {
-               dts_fail("audio_svc_get_playlist_id_by_playlist_name","this API should be failed because of the invalid playlist name parameter.");
-       }
-
-       return ;
-}
-
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.h b/TC/utc/audio/utc_audio_svc_get_playlist_id_by_playlist_name_func.h
deleted file mode 100755 (executable)
index 845fb56..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                utc_audio_svc_get_playlist_id_by_playlist_name_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of audio_svc_get_playlist_id_by_playlist_name API function
-* @version     Initial Creation Version 0.1
-* @date                2011-03-07
-*/
-
-#ifndef __UTS_AUDIO_SVC_GET_PLAYLIST_ID_BY_PLAYLIST_NAME_FUNC_H_
-#define __UTS_AUDIO_SVC_GET_PLAYLIST_ID_BY_PLAYLIST_NAME_FUNC_H_
-
-
-#include "utc_audio_svc_common.h"
-
-void startup();
-void cleanup();
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_audio_svc_get_playlist_id_by_playlist_name_func_01();
-void utc_audio_svc_get_playlist_id_by_playlist_name_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_audio_svc_get_playlist_id_by_playlist_name_func_01, 1},
-       {utc_audio_svc_get_playlist_id_by_playlist_name_func_02, 2},    
-       {NULL, 0}
-};
-
-
-#endif //__UTS_AUDIO_SVC_GET_PLAYLIST_ID_BY_PLAYLIST_NAME_FUNC_H_
-
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.c b/TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.c
deleted file mode 100755 (executable)
index 1a86560..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_get_playlist_name_by_playlist_id_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_playlist_name_by_playlist_id_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_playlist_name_by_playlist_id_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_playlist_name_by_playlist_id_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       char playlist_name[AUDIO_SVC_PLAYLIST_NAME_SIZE] = {0};\r
-       int playlist_id = 0;\r
-\r
-       retval = get_playlist_id(&playlist_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_playlist_id","fail to get playlist id.");\r
-       }\r
-       \r
-       ret = audio_svc_get_playlist_name_by_playlist_id(db_handle, playlist_id, playlist_name, AUDIO_SVC_PLAYLIST_NAME_SIZE);\r
-       dts_check_eq("audio_svc_get_playlist_name_by_playlist_id", ret, AUDIO_SVC_ERROR_NONE, "failed to get playlist name.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_playlist_name_by_playlist_id_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_playlist_name_by_playlist_id_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       char playlist_name[AUDIO_SVC_PLAYLIST_NAME_SIZE] = {0};\r
-       int playlist_id = -1;\r
-\r
-       ret = audio_svc_get_playlist_name_by_playlist_id(db_handle, playlist_id, playlist_name, AUDIO_SVC_PLAYLIST_NAME_SIZE);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_playlist_name_by_playlist_id","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_playlist_name_by_playlist_id","get playlist should be failed because of the NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.h b/TC/utc/audio/utc_audio_svc_get_playlist_name_by_playlist_id_func.h
deleted file mode 100755 (executable)
index 04b7c41..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_get_playlist_name_by_playlist_id_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_PLST_NAME_BY_IDX_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_PLST_NAME_BY_IDX_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_playlist_name_by_playlist_id_func_01();\r
-void utc_audio_svc_get_playlist_name_by_playlist_id_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_playlist_name_by_playlist_id_func_01, 1},\r
-       {utc_audio_svc_get_playlist_name_by_playlist_id_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_PLST_NAME_BY_IDX_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.c b/TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.c
deleted file mode 100755 (executable)
index d366678..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_get_unique_playlist_name_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_get_unique_playlist_name_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_get_unique_playlist_name_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_get_unique_playlist_name_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       const char orig_name[AUDIO_SVC_PLAYLIST_NAME_SIZE] = "plst_test";\r
-       char unique_name[AUDIO_SVC_PLAYLIST_NAME_SIZE] = {0};\r
-\r
-       ret = audio_svc_get_unique_playlist_name(db_handle, orig_name, unique_name, AUDIO_SVC_PLAYLIST_NAME_SIZE);\r
-       dts_check_eq("audio_svc_get_unique_playlist_name", ret, AUDIO_SVC_ERROR_NONE, "failed to get playlist name.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_get_unique_playlist_name_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_get_unique_playlist_name_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       char *orig_name = NULL;\r
-       char unique_name[AUDIO_SVC_PLAYLIST_NAME_SIZE] = {0};\r
-\r
-       ret = audio_svc_get_unique_playlist_name(db_handle, orig_name, unique_name, AUDIO_SVC_PLAYLIST_NAME_SIZE);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_get_unique_playlist_name","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_get_unique_playlist_name","get playlist should be failed because of the NULL parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.h b/TC/utc/audio/utc_audio_svc_get_unique_playlist_name_func.h
deleted file mode 100755 (executable)
index 9307c2d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_get_unique_playlist_name_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_GET_UNIQUE_PLAYLIST_NAME_FUNC_H_\r
-#define __UTS_AUDIO_SVC_GET_UNIQUE_PLAYLIST_NAME_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_get_unique_playlist_name_func_01();\r
-void utc_audio_svc_get_unique_playlist_name_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_get_unique_playlist_name_func_01, 1},\r
-       {utc_audio_svc_get_unique_playlist_name_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_GET_UNIQUE_PLAYLIST_NAME_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_insert_item_func.c b/TC/utc/audio/utc_audio_svc_insert_item_func.c
deleted file mode 100755 (executable)
index 9a121da..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_insert_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_insert_item_ex API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_insert_item_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_insert_item_ex() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_insert_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_insert_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int category = AUDIO_SVC_CATEGORY_MUSIC;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-\r
-       ret = audio_svc_delete_item_by_path(db_handle, DEFAULT_FILE);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_delete_item_by_path","failed to delete item by path.");\r
-       }\r
-       \r
-       ret = audio_svc_insert_item(db_handle, AUDIO_SVC_STORAGE_PHONE, DEFAULT_FILE, category);\r
-       dts_check_eq("audio_svc_insert_item", ret, AUDIO_SVC_ERROR_NONE, "failed to insert item.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_insert_item_ex() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_insert_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_insert_item_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       const char *path = NULL; // invalid value\r
-       int category = AUDIO_SVC_CATEGORY_MUSIC;\r
-\r
-       ret = audio_svc_insert_item(db_handle, AUDIO_SVC_STORAGE_PHONE, path, category);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_insert_item","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_insert_item","Inserting item should be failed because of invalid path parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_insert_item_func.h b/TC/utc/audio/utc_audio_svc_insert_item_func.h
deleted file mode 100755 (executable)
index e9f692c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_insert_item_ex_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_insert_item_ex API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_INSERT_ITEM_FUNC_H_\r
-#define __UTS_AUDIO_SVC_INSERT_ITEM_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_insert_item_func_01();\r
-void utc_audio_svc_insert_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_insert_item_func_01, 1},\r
-       {utc_audio_svc_insert_item_func_02, 2}, \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_INSERT_ITEM_EX_FUNC_H_        \r
diff --git a/TC/utc/audio/utc_audio_svc_item_free_func.c b/TC/utc/audio/utc_audio_svc_item_free_func.c
deleted file mode 100755 (executable)
index a0b900c..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_item_free_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_item_free API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_item_free_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_item_free() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_item_free_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_item_free_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-\r
-       //create svc item object, object number is count.\r
-       ret = audio_svc_item_new(&handle);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_item_new","failed to allocate service item.");\r
-       }\r
-\r
-       //free the svc item object.\r
-       ret = audio_svc_item_free(handle);\r
-       dts_check_eq("audio_svc_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_item_free() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_item_free_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_item_free_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-\r
-       ret = audio_svc_item_free(handle);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_item_free","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_item_free","free item should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_item_free_func.h b/TC/utc/audio/utc_audio_svc_item_free_func.h
deleted file mode 100755 (executable)
index f058f8c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-/**\r
-* @file                utc_audio_svc_item_free_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_item_free API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_ITEM_FREE_FUNC_H_\r
-#define __UTS_AUDIO_SVC_ITEM_FREE_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_item_free_func_01();\r
-void utc_audio_svc_item_free_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_item_free_func_01, 1},\r
-       {utc_audio_svc_item_free_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_ITEM_FREE_FUNC_H_     \r
diff --git a/TC/utc/audio/utc_audio_svc_item_get_val_func.c b/TC/utc/audio/utc_audio_svc_item_get_val_func.c
deleted file mode 100755 (executable)
index 1b2ba10..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_item_get_val_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_list_item_get_val API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_item_get_val_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_list_item_get_val() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_item_get_val_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_item_get_val_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       AudioHandleType *tracks = NULL;\r
-       AudioHandleType *item = NULL;\r
-       char *audio_id = NULL, *title = NULL, *album = NULL, *artist = NULL, *thumbname = NULL;\r
-       int i = 0;\r
-       int size = -1;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_list_item","unable to get count.");\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               dts_fail("audio_svc_insert_item","there is no item.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_new(&tracks, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","unable to make list item.");\r
-       }\r
-\r
-       //get all tracks from db.\r
-       ret = audio_svc_get_list_item(db_handle, AUDIO_SVC_TRACK_ALL, //item_type,\r
-               NULL, //type_string,\r
-               NULL, //type_string2,\r
-               NULL, //filter_string,\r
-               NULL, //filter_string2,\r
-               0, //offset,\r
-               count,\r
-               tracks\r
-               );\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_get_list_item","unable to get items.");\r
-       }\r
-\r
-       ret = audio_svc_item_new(&item);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_item_new","unable to malloc.");     \r
-       }\r
-       \r
-       //get the track audio_id with index "i" in tracks array.\r
-       ret = audio_svc_list_item_get_val(tracks, i, AUDIO_SVC_LIST_ITEM_AUDIO_ID, &audio_id, &size, -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_list_item_get_val","unable to get count.");\r
-       }\r
-       \r
-       ret = audio_svc_get_item_by_audio_id(db_handle, audio_id, item);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_get_item_by_audio_id","unable to get audio_id.");\r
-       }\r
-\r
-       //get the property value of svc item\r
-       ret = audio_svc_item_get_val(item,\r
-               AUDIO_SVC_TRACK_DATA_AUDIO_ID, &audio_id, &size,\r
-               AUDIO_SVC_TRACK_DATA_TITLE, &title, &size,\r
-               AUDIO_SVC_TRACK_DATA_ALBUM, &album, &size,\r
-               AUDIO_SVC_TRACK_DATA_ARTIST, &artist, &size,\r
-               AUDIO_SVC_TRACK_DATA_THUMBNAIL_PATH, &thumbname, &size,\r
-               -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_item_get_val","unable to get value for item.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_free(tracks);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_item_free(item);\r
-               dts_fail("audio_svc_list_item_free","unable to free.");\r
-       }\r
-       \r
-       ret = audio_svc_item_free(item);\r
-       dts_check_eq("audio_svc_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_item_get_val() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_item_get_val_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_item_get_val_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int i = 0;\r
-       char * audio_id = NULL;\r
-\r
-       ret = audio_svc_item_get_val(handle, i, AUDIO_SVC_TRACK_DATA_AUDIO_ID, &audio_id, -1);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_item_get_val","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_item_get_val","Svc item get value should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_item_get_val_func.h b/TC/utc/audio/utc_audio_svc_item_get_val_func.h
deleted file mode 100755 (executable)
index 0208634..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_item_get_val_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_item_get_val API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_ITEM_GET_VAL_FUNC_H_\r
-#define __UTS_AUDIO_SVC_ITEM_GET_VAL_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_item_get_val_func_01();\r
-void utc_audio_svc_item_get_val_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_item_get_val_func_01, 1},\r
-       {utc_audio_svc_item_get_val_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_ITEM_GET_VAL_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_item_new_func.c b/TC/utc/audio/utc_audio_svc_item_new_func.c
deleted file mode 100755 (executable)
index 9d9192a..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_new_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_new_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_new() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_new_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_new_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 5;\r
-\r
-       //create playlists\r
-       ret = audio_svc_playlist_new(&handle, count);\r
-       dts_check_eq("audio_svc_playlist_new", ret, AUDIO_SVC_ERROR_NONE, "failed to create playlist.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_new() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_new_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_new_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 0;\r
-\r
-       //create playlists\r
-       ret = audio_svc_playlist_new(&handle, count);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_item_get_val","abnormal condition test for invalid count parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_new","Creating playlist should be failed because of the invalid count parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_item_new_func.h b/TC/utc/audio/utc_audio_svc_item_new_func.h
deleted file mode 100755 (executable)
index 8c1488d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_new_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_new_func_01();\r
-void utc_audio_svc_playlist_new_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_new_func_01, 1},\r
-       {utc_audio_svc_playlist_new_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_free_func.c b/TC/utc/audio/utc_audio_svc_list_item_free_func.c
deleted file mode 100755 (executable)
index db754c2..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_list_item_free_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_list_item_free API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_list_item_free_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_list_item_free() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_list_item_free_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_list_item_free_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 5;\r
-\r
-       //allocate the memory of type list item with count\r
-       ret = audio_svc_list_item_new(&handle, count);\r
-       if (ret  != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","failed to allocate handle.");\r
-       }\r
-\r
-       //free the list item memory.\r
-       ret = audio_svc_list_item_free(handle);\r
-       dts_check_eq("audio_svc_list_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_list_item_free() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_list_item_free_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_list_item_free_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-\r
-       ret = audio_svc_list_item_free(handle);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_list_item_free","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_list_item_free","free list item should be failed because of the null parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_free_func.h b/TC/utc/audio/utc_audio_svc_list_item_free_func.h
deleted file mode 100755 (executable)
index 1554b91..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_list_item_free_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_list_item_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_LIST_ITEM_FREE_FUNC_H_\r
-#define __UTS_AUDIO_SVC_LIST_ITEM_FREE_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_list_item_free_func_01();\r
-void utc_audio_svc_list_item_free_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_list_item_free_func_01, 1},\r
-       {utc_audio_svc_list_item_free_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_LIST_ITEM_FREE_FUNC_H_        \r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_get_func.c b/TC/utc/audio/utc_audio_svc_list_item_get_func.c
deleted file mode 100755 (executable)
index 479c64a..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_list_item_get_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_list_item_get API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_list_item_get_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_list_item_get() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_list_item_get_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_list_item_get_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       int i = 0;\r
-       AudioHandleType *tracks = NULL; \r
-       AudioHandleType *item = NULL;\r
-\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_list_item","unable to get count.");\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               dts_fail("audio_svc_insert_item","there is no item.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_new(&tracks, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","unable to make list item.");\r
-       }\r
-       \r
-       //get the all tracks item.\r
-       ret = audio_svc_get_list_item(db_handle, AUDIO_SVC_TRACK_ALL, //item_type,\r
-               NULL, //type_string,\r
-               NULL, //type_string2,\r
-               NULL, //filter_string,\r
-               NULL, //filter_string2,\r
-               0, //offset,\r
-               count,\r
-               tracks\r
-               );\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_get_list_item","unable to get items.");     \r
-       }\r
-\r
-       //get the list item with index "i"\r
-       ret = audio_svc_list_item_get(tracks, i, &item);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_get","unable to get svc item.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_free(tracks);\r
-       dts_check_eq("audio_svc_list_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_list_item_get() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_list_item_get_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_list_item_get_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       AudioHandleType *list_item = NULL;\r
-\r
-       ret = audio_svc_list_item_get(handle, 0, &list_item);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_list_item_get","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_list_item_get","Getting list item should be failed because of the null parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_get_func.h b/TC/utc/audio/utc_audio_svc_list_item_get_func.h
deleted file mode 100755 (executable)
index a285852..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_list_item_get_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_list_item_get API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_LIST_ITEM_GET_FUNC_H_\r
-#define __UTS_AUDIO_SVC_LIST_ITEM_GET_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_list_item_get_func_01();\r
-void utc_audio_svc_list_item_get_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_list_item_get_func_01, 1},\r
-       {utc_audio_svc_list_item_get_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_LIST_ITEM_GET_FUNC_H_ \r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_get_val_func.c b/TC/utc/audio/utc_audio_svc_list_item_get_val_func.c
deleted file mode 100755 (executable)
index 3b05676..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_list_item_get_val_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_list_item_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_list_item_get_val_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_list_item_get_val() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_list_item_get_val_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_list_item_get_val_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       AudioHandleType *tracks = NULL;\r
-       int i = 0;\r
-       char * audio_id = NULL;\r
-       int size = 0;\r
-\r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-       \r
-       ret = audio_svc_count_list_item(db_handle, AUDIO_SVC_TRACK_ALL, "", "", "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_list_item","unable to get count.");\r
-       }\r
-\r
-       if(count < 1)\r
-       {\r
-               dts_fail("audio_svc_insert_item","there is no item.");\r
-       }\r
-       \r
-       ret = audio_svc_list_item_new(&tracks, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_list_item_new","unable to make list item.");\r
-       }\r
-       \r
-       //get the all track items.\r
-       ret = audio_svc_get_list_item(db_handle, AUDIO_SVC_TRACK_ALL, //item_type,\r
-               NULL, //type_string,\r
-               NULL, //type_string2,\r
-               NULL, //filter_string,\r
-               NULL, //filter_string2,\r
-               0, //offset,\r
-               count,\r
-               tracks\r
-               );\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_get_list_item","failed to get service list items.");\r
-       }\r
-       \r
-       //get the audio_id of each track in "tracks"\r
-       ret = audio_svc_list_item_get_val(tracks, i, AUDIO_SVC_LIST_ITEM_AUDIO_ID, &audio_id, &size, -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_list_item_free(tracks);\r
-               dts_fail("audio_svc_list_item_get_val","unable to get value for svc list item.");\r
-       }\r
-\r
-       ret = audio_svc_list_item_free(tracks);\r
-       dts_check_eq("audio_svc_list_item_free", ret, AUDIO_SVC_ERROR_NONE, "fail to free memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_list_item_get_val() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_list_item_get_val_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_list_item_get_val_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int i = 0;\r
-       char *audio_id = NULL;\r
-\r
-       ret = audio_svc_list_item_get_val(handle, i, AUDIO_SVC_LIST_ITEM_AUDIO_ID, &audio_id, -1);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_list_item_get_val","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_list_item_get_val","Svc list get value should be failed because of the null parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_get_val_func.h b/TC/utc/audio/utc_audio_svc_list_item_get_val_func.h
deleted file mode 100755 (executable)
index 00b0ef0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_list_item_get_val_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_list_item_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_SVC_LIST_GET_VAL_FUNC_H_\r
-#define __UTS_AUDIO_SVC_SVC_LIST_GET_VAL_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_list_item_get_val_func_01();\r
-void utc_audio_svc_list_item_get_val_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_list_item_get_val_func_01, 1},\r
-       {utc_audio_svc_list_item_get_val_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_SVC_LIST_GET_VAL_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_new_func.c b/TC/utc/audio/utc_audio_svc_list_item_new_func.c
deleted file mode 100755 (executable)
index 2eecdbc..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_list_item_new_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_list_item_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_list_item_new_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_list_item_new() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_list_item_new_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_list_item_new_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 5;\r
-\r
-       //create svc list\r
-       ret = audio_svc_list_item_new(&handle, count);\r
-       dts_check_eq("audio_svc_list_item_new", ret, AUDIO_SVC_ERROR_NONE, "failed to create svc list.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_list_item_new() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_list_item_new_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_list_item_new_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 0;\r
-\r
-       //create svc list\r
-       ret = audio_svc_list_item_new(&handle, count);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_list_item_new","abnormal condition test for invalid count parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_list_item_new","Creating playlist should be failed because of the invalid count parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_list_item_new_func.h b/TC/utc/audio/utc_audio_svc_list_item_new_func.h
deleted file mode 100755 (executable)
index 47daa13..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_list_item_new_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_list_item_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_LIST_ITEM_NEWFUNC_H_\r
-#define __UTS_AUDIO_SVC_LIST_ITEM_NEWFUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_list_item_new_func_01();\r
-void utc_audio_svc_list_item_new_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_list_item_new_func_01, 1},\r
-       {utc_audio_svc_list_item_new_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_LIST_ITEM_NEWFUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_move_item_func.c b/TC/utc/audio/utc_audio_svc_move_item_func.c
deleted file mode 100755 (executable)
index 8af7335..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_move_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_move_item API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_move_item_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_move_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_move_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_move_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       audio_svc_storage_type_e storage = AUDIO_SVC_STORAGE_PHONE;\r
-       \r
-       retval = check_default_item_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_item_exist","fail to check default item.");\r
-       }\r
-\r
-       ret = audio_svc_move_item(db_handle, storage, DEFAULT_FILE, storage, TEST_FILE);\r
-       dts_check_eq("audio_svc_move_item", ret, AUDIO_SVC_ERROR_NONE, "failed to move item.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_move_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_move_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_move_item_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       audio_svc_storage_type_e storage = AUDIO_SVC_STORAGE_PHONE;\r
-       const char *src_path = NULL;\r
-\r
-       ret = audio_svc_move_item(db_handle, storage, src_path, storage, TEST_FILE);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_move_item","abnormal condition test for invalid NULL src path parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_move_item","Moving item should be failed because of NULL parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_move_item_func.h b/TC/utc/audio/utc_audio_svc_move_item_func.h
deleted file mode 100755 (executable)
index 723b474..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_move_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_move_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_MOVE_ITEM_FUNC_H_\r
-#define __UTS_AUDIO_SVC_MOVE_ITEM_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_move_item_func_01();\r
-void utc_audio_svc_move_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_move_item_func_01, 1},\r
-       {utc_audio_svc_move_item_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_MOVE_ITEM_FUNC_H_     \r
diff --git a/TC/utc/audio/utc_audio_svc_open_func.c b/TC/utc/audio/utc_audio_svc_open_func.c
deleted file mode 100755 (executable)
index 8aa266a..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_open_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_open API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_open_func.h"\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_open() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_open_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_open_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_open();\r
-       dts_check_eq("audio_svc_open", ret, AUDIO_SVC_ERROR_NONE, "failed to open music db.");\r
-\r
-}\r
-\r
-#if 0          //there is no abnormal case\r
-/**\r
-* @brief               This tests int audio_svc_open() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_open_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success \r
-*/\r
-void utc_audio_svc_open_func_02()\r
-{      \r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_open();\r
-       \r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               UTC_MM_LOG("abnormal condition test for null, error code->%d", ret);\r
-               tet_result(TET_PASS);\r
-       }\r
-       else\r
-       {\r
-               UTC_MM_LOG("Open music db should be failed because of the NULL out parameter.");\r
-               tet_result(TET_FAIL);\r
-       }\r
-\r
-       return ;\r
-}\r
-#endif\r
diff --git a/TC/utc/audio/utc_audio_svc_open_func.h b/TC/utc/audio/utc_audio_svc_open_func.h
deleted file mode 100755 (executable)
index a1fdfdd..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_open_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_open API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_OPEN_FUNC_H_\r
-#define __UTS_AUDIO_SVC_OPEN_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = NULL;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_open_func_01();\r
-//void utc_audio_svc_open_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_open_func_01, 1},\r
-//     {utc_audio_svc_open_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_OPEN_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_free_func.c b/TC/utc/audio/utc_audio_svc_playlist_free_func.c
deleted file mode 100755 (executable)
index 6f380ec..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_free_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_free API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_free_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_free() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_free_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_free_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 5;\r
-\r
-       //create playlists\r
-       ret = audio_svc_playlist_new(&handle, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_playlist_new","unable to create playlist.");\r
-       }\r
-\r
-       ret = audio_svc_playlist_free(handle);\r
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_free() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_free_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_free_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-\r
-       ret = audio_svc_playlist_free(handle);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_free","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_free","free playlist should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_free_func.h b/TC/utc/audio/utc_audio_svc_playlist_free_func.h
deleted file mode 100755 (executable)
index fe998b3..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_free_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_FREE_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_FREE_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_free_func_01();\r
-void utc_audio_svc_playlist_free_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_free_func_01, 1},\r
-       {utc_audio_svc_playlist_free_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_FREE_FUNC_H_ \r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_get_item_func.c b/TC/utc/audio/utc_audio_svc_playlist_get_item_func.c
deleted file mode 100755 (executable)
index b91727e..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_get_item_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_get_item API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_get_item_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_get_item() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_get_item_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_get_item_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       AudioHandleType*playlists = NULL;\r
-       int i = 0;\r
-\r
-       retval = check_default_playlist_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");\r
-       }\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       ret = audio_svc_playlist_new(&playlists, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_playlist_new","unable to make list item."); \r
-       }\r
-\r
-       ret = audio_svc_get_playlist(db_handle, \r
-                               NULL, //filter_string,\r
-                               NULL, //filter_string2,\r
-                               0, //offset,\r
-                               count, \r
-                               playlists);\r
-\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_fail("audio_svc_get_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       for (i = 0; i < count; i++) {\r
-               AudioHandleType *plst = NULL;\r
-               //get the playlist object with index "i"\r
-               ret = audio_svc_playlist_get_item(playlists, i, &plst);\r
-               if (ret != AUDIO_SVC_ERROR_NONE)\r
-               {\r
-                       audio_svc_playlist_free(playlists);\r
-                       dts_fail("audio_svc_playlist_get_item","unable to create playlist.");\r
-               }\r
-       }\r
-\r
-       ret = audio_svc_playlist_free(playlists);\r
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");\r
-\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_get_item() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_get_item_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_get_item_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       AudioHandleType *plst = NULL;\r
-\r
-       ret = audio_svc_playlist_get_item(handle, 0, &plst);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_get_item","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_get_item","Getting playlist item should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_get_item_func.h b/TC/utc/audio/utc_audio_svc_playlist_get_item_func.h
deleted file mode 100755 (executable)
index 9bc757c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_get_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_get_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_GET_ITEM_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_GET_ITEM_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_get_item_func_01();\r
-void utc_audio_svc_playlist_get_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_get_item_func_01, 1},\r
-       {utc_audio_svc_playlist_get_item_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_GET_ITEM_FUNC_H_     \r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_get_val_func.c b/TC/utc/audio/utc_audio_svc_playlist_get_val_func.c
deleted file mode 100755 (executable)
index f383f48..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_get_val_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_get_val_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_new() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_get_val_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_get_val_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       AudioHandleType*playlists = NULL;\r
-       char *p = NULL;\r
-       int plst_id = -1;\r
-       int size = -1;\r
-       int i = 0;\r
-\r
-       retval = check_default_playlist_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");\r
-       }\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       ret = audio_svc_playlist_new(&playlists, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_playlist","there is no playlist.");\r
-       }\r
-       \r
-       //get all the playlists in db.\r
-       ret = audio_svc_get_playlist(db_handle, \r
-                               NULL, //filter_string,\r
-                               NULL, //filter_string2,\r
-                               0, //offset,\r
-                               count,\r
-                               playlists);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_fail("audio_svc_get_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       //get the playlist id and playlist name of each playlist\r
-       ret = audio_svc_playlist_get_val(playlists, i, AUDIO_SVC_PLAYLIST_ID, &plst_id, AUDIO_SVC_PLAYLIST_NAME, &p, &size, -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_fail("audio_svc_get_playlist","unable to get value for playlist.");\r
-       }\r
-\r
-       ret = audio_svc_playlist_free(playlists);\r
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");\r
-       \r
-}\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_new() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_get_val_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_get_val_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int i = 0;\r
-       int size;\r
-       char *name;\r
-\r
-       ret = audio_svc_playlist_get_val(handle, i, AUDIO_SVC_PLAYLIST_NAME, &name, &size, -1);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_get_val","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_get_val","Playlist get value should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_get_val_func.h b/TC/utc/audio/utc_audio_svc_playlist_get_val_func.h
deleted file mode 100755 (executable)
index 7cf13b9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_get_val_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_GET_VAL_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_GET_VAL_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_get_val_func_01();\r
-void utc_audio_svc_playlist_get_val_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_get_val_func_01, 1},\r
-       {utc_audio_svc_playlist_get_val_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_GET_VAL_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_new_func.c b/TC/utc/audio/utc_audio_svc_playlist_new_func.c
deleted file mode 100755 (executable)
index 01bc9f3..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_new_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_new_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_new() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_new_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_new_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 5;\r
-\r
-       //create playlists\r
-       ret = audio_svc_playlist_new(&handle, count);\r
-       dts_check_eq("audio_svc_playlist_new", ret, AUDIO_SVC_ERROR_NONE, "failed to create playlist.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_new() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_new_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_new_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int count = 0;\r
-\r
-       //create playlists\r
-       ret = audio_svc_playlist_new(&handle, count);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_new","abnormal condition test for invalid count parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_new","Creating playlist should be failed because of the invalid count parameter.");\r
-       }\r
-\r
-       return ;\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_new_func.h b/TC/utc/audio/utc_audio_svc_playlist_new_func.h
deleted file mode 100755 (executable)
index 9b29cf6..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_new_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_new_func_01();\r
-void utc_audio_svc_playlist_new_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_new_func_01, 1},\r
-       {utc_audio_svc_playlist_new_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_NEW_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_set_val_func.c b/TC/utc/audio/utc_audio_svc_playlist_set_val_func.c
deleted file mode 100755 (executable)
index ee67a17..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_playlist_set_val_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_playlist_new API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_playlist_set_val_func.h"\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_playlist_new() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_playlist_set_val_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_playlist_set_val_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int count = -1;\r
-       AudioHandleType*playlists = NULL;\r
-       int size = AUDIO_SVC_METADATA_LEN_MAX;\r
-       int i = 0;\r
-\r
-       retval = check_default_playlist_exist();\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_default_playlist_exist","fail to check default playlist.");\r
-       }\r
-\r
-       ret = audio_svc_count_playlist(db_handle, "", "", &count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_count_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       ret = audio_svc_playlist_new(&playlists, count);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail("audio_svc_playlist_new","unable to make list item.");\r
-       }\r
-\r
-       //get all the playlists.\r
-       ret = audio_svc_get_playlist(db_handle, \r
-                               NULL, //filter_string,\r
-                               NULL, //filter_string2,\r
-                               0, //offset,\r
-                               count,\r
-                               playlists);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_fail("audio_svc_get_playlist","unable to get playlist.");\r
-       }\r
-       \r
-       //set the name of first playlist to "playlist_test_name"\r
-       ret = audio_svc_playlist_set_val(playlists, i, AUDIO_SVC_PLAYLIST_NAME, "playlist_test_name", size, -1);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               audio_svc_playlist_free(playlists);\r
-               dts_fail("audio_svc_playlist_set_val","unable to set value for playlist.");\r
-       }\r
-\r
-       ret = audio_svc_playlist_free(playlists);\r
-       dts_check_eq("audio_svc_playlist_free", ret, AUDIO_SVC_ERROR_NONE, "failed to free list memory.");\r
-       \r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_playlist_new() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_playlist_set_val_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_playlist_set_val_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       AudioHandleType *handle = NULL;\r
-       int i = 0;\r
-       int size = AUDIO_SVC_METADATA_LEN_MAX;\r
-\r
-       ret = audio_svc_playlist_set_val(handle, i, AUDIO_SVC_PLAYLIST_NAME, "playlist_test_name", size, -1);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_set_val","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_playlist_set_val","Playlist set value should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_playlist_set_val_func.h b/TC/utc/audio/utc_audio_svc_playlist_set_val_func.h
deleted file mode 100755 (executable)
index c8f53e5..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_playlist_set_val_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_playlist_new API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_PLAYLIST_SET_VAL_FUNC_H_\r
-#define __UTS_AUDIO_SVC_PLAYLIST_SET_VAL_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_playlist_set_val_func_01();\r
-void utc_audio_svc_playlist_set_val_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_playlist_set_val_func_01, 1},\r
-       {utc_audio_svc_playlist_set_val_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_PLAYLIST_SET_VAL_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_refresh_metadata_func.c b/TC/utc/audio/utc_audio_svc_refresh_metadata_func.c
deleted file mode 100755 (executable)
index 3f049a3..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_refresh_metadata_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_refresh_metadata API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_refresh_metadata_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_refresh_metadata() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_refresh_metadata_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_refresh_metadata_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-\r
-       retval = get_item_audio_id(audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_item_audio_id","fail to get audio_id.");\r
-       }\r
-       \r
-       ret = audio_svc_refresh_metadata(db_handle, audio_id);\r
-       dts_check_eq("audio_svc_refresh_metadata", ret, AUDIO_SVC_ERROR_NONE, "failed to refresh metadata.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_refresh_metadata() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_refresh_metadata_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_refresh_metadata_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-\r
-       ret = audio_svc_refresh_metadata(db_handle, NULL);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_playlist_set_val","abnormal condition test for invalid audio_id parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_refresh_metadata","Refresh metadata should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_refresh_metadata_func.h b/TC/utc/audio/utc_audio_svc_refresh_metadata_func.h
deleted file mode 100755 (executable)
index 794cd05..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_refresh_metadata_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_refresh_metadata API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_REFRESH_METADATA_FUNC_H_\r
-#define __UTS_AUDIO_SVC_REFRESH_METADATA_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_refresh_metadata_func_01();\r
-void utc_audio_svc_refresh_metadata_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_refresh_metadata_func_01, 1},\r
-       {utc_audio_svc_refresh_metadata_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_REFRESH_METADATA_FUNC_H_      \r
diff --git a/TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.c b/TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.c
deleted file mode 100755 (executable)
index ae65a4b..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file        utc_audio_svc_remove_item_from_playlist_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_remove_item_from_playlist_by_audio_id_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_remove_item_from_playlist_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_remove_item_from_playlist_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_id = 0;\r
-       char audio_id[AUDIO_SVC_UUID_SIZE+1] = {0, };\r
-\r
-       retval =  check_playlist_has_item(&playlist_id, audio_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("check_playlist_has_item","fail to check_playlist_has_item.");\r
-       }\r
-       \r
-       ret = audio_svc_remove_item_from_playlist_by_audio_id(db_handle, playlist_id, audio_id);\r
-       dts_check_eq("audio_svc_remove_item_from_playlist", ret, AUDIO_SVC_ERROR_NONE, "failed to  remove item.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_remove_item_from_playlist_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_remove_item_from_playlist_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       char * audio_id = "550e8400-e29b-41d4-a716-446655440000";\r
-       int playlist_id = -1;\r
-\r
-       ret = audio_svc_remove_item_from_playlist_by_audio_id(db_handle, playlist_id, audio_id);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_remove_item_from_playlist","abnormal condition test for invalid playlist index parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_remove_item_from_playlist","get playlist should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.h b/TC/utc/audio/utc_audio_svc_remove_item_from_playlist_by_audio_id_func.h
deleted file mode 100755 (executable)
index 863a9d9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_remove_item_from_playlist_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_REMOVE_ITEM_FROM_PLAYLIST_FUNC_H_\r
-#define __UTS_AUDIO_SVC_REMOVE_ITEM_FROM_PLAYLIST_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_remove_item_from_playlist_func_01();\r
-void utc_audio_svc_remove_item_from_playlist_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_remove_item_from_playlist_func_01, 1},\r
-       {utc_audio_svc_remove_item_from_playlist_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_REMOVE_ITEM_FROM_PLAYLIST_FUNC_H_     \r
diff --git a/TC/utc/audio/utc_audio_svc_set_db_valid_func.c b/TC/utc/audio/utc_audio_svc_set_db_valid_func.c
deleted file mode 100755 (executable)
index 7e4fe40..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_set_db_valid_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_set_db_valid API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_set_db_valid_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_set_db_valid() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_set_db_valid_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_set_db_valid_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int storage = AUDIO_SVC_STORAGE_PHONE;\r
-       int valid = 1;\r
-\r
-       ret = audio_svc_set_db_valid(db_handle, storage, valid);\r
-       dts_check_eq("audio_svc_set_db_valid", ret, AUDIO_SVC_ERROR_NONE, "failed to set db valid.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_set_db_valid() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_set_db_valid_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_set_db_valid_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int valid = 1;\r
-\r
-       ret = audio_svc_set_db_valid(db_handle, 100, valid);\r
-\r
-\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_remove_item_from_playlist","abnormal condition test for invalid storage type parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_set_db_valid","Open music db should be failed because of the invalid parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_set_db_valid_func.h b/TC/utc/audio/utc_audio_svc_set_db_valid_func.h
deleted file mode 100755 (executable)
index 24b56b7..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_set_db_valid_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_set_db_valid API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_SET_DB_VALID_FUNC_H_\r
-#define __UTS_AUDIO_SVC_SET_DB_VALID_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_set_db_valid_func_01();\r
-void utc_audio_svc_set_db_valid_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_set_db_valid_func_01, 1},\r
-       {utc_audio_svc_set_db_valid_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_SET_DB_VALID_FUNC_H_  \r
diff --git a/TC/utc/audio/utc_audio_svc_set_item_valid_func.c b/TC/utc/audio/utc_audio_svc_set_item_valid_func.c
deleted file mode 100755 (executable)
index f3fa944..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_set_item_valid_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_set_item_valid API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-#include "utc_audio_svc_set_item_valid_func.h"\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-/**\r
-* @brief       This tests int audio_svc_set_item_valid() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_set_item_valid_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_set_item_valid_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int valid = 1;\r
-\r
-       ret = audio_svc_set_item_valid(db_handle, DEFAULT_FILE, valid);\r
-       dts_check_eq("audio_svc_set_item_valid", ret, AUDIO_SVC_ERROR_NONE, "failed to set item valid.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_set_item_valid() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_set_item_valid_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_set_item_valid_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int valid = 1;\r
-\r
-       ret = audio_svc_set_item_valid(db_handle, NULL, valid);\r
-       if (ret !=  AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_set_item_valid","abnormal condition test for invalid path parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_set_item_valid","Setting item valid should be failed because of the invalid path parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_set_item_valid_func.h b/TC/utc/audio/utc_audio_svc_set_item_valid_func.h
deleted file mode 100755 (executable)
index a36f9dc..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_audio_svc_set_item_valid_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_set_item_valid API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_SET_ITEM_VALID_FUNC_H_\r
-#define __UTS_AUDIO_SVC_SET_ITEM_VALID_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_set_item_valid_func_01();\r
-void utc_audio_svc_set_item_valid_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_set_item_valid_func_01, 1},\r
-       {utc_audio_svc_set_item_valid_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_SET_ITEM_VALID_FUNC_H_        \r
diff --git a/TC/utc/audio/utc_audio_svc_update_playlist_name_func.c b/TC/utc/audio/utc_audio_svc_update_playlist_name_func.c
deleted file mode 100755 (executable)
index b9121aa..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_audio_svc_update_playlist_name_func.c\r
-* @brief       This is a suit of unit test cases to test audio_svc_add_playlist API function\r
-* @author\r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-09-13\r
-*/\r
-\r
-#include "utc_audio_svc_update_playlist_name_func.h"\r
-\r
-\r
-\r
-\r
-\r
-void startup()\r
-{\r
-       UTC_AUDIO_SVC_OPEN();\r
-}\r
-\r
-\r
-void cleanup()\r
-{\r
-       UTC_AUDIO_SVC_CLOSE();\r
-}\r
-\r
-\r
-/**\r
-* @brief       This tests int audio_svc_add_playlist() API with valid parameter\r
-*              Create a player handle with valid parameter & Test the handle by playing\r
-* @par ID      utc_audio_svc_update_playlist_name_func_01\r
-* @param       [in] &player = handle of player to be populated\r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_audio_svc_update_playlist_name_func_01()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       bool retval = FALSE;\r
-       int playlist_id = 0;\r
-\r
-       retval = get_playlist_id(&playlist_id);\r
-       if(!retval)\r
-       {\r
-               dts_fail("get_playlist_id","fail to get playlist id.");\r
-       }\r
-       \r
-       ret = audio_svc_update_playlist_name(db_handle, playlist_id, "new name");\r
-       dts_check_eq("audio_svc_update_playlist_name", ret, AUDIO_SVC_ERROR_NONE, "failed to update playlist name.");\r
-\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int audio_svc_add_playlist() API with invalid parameter\r
-*                      Create a player handle with a NULL out param\r
-* @par ID      utc_audio_svc_update_playlist_name_func_02\r
-* @param       [in] &player = NULL\r
-* @return      error code on success\r
-*/\r
-void utc_audio_svc_update_playlist_name_func_02()\r
-{\r
-       int ret = AUDIO_SVC_ERROR_NONE;\r
-       int playlist_id = 1;\r
-\r
-       ret = audio_svc_update_playlist_name(db_handle, playlist_id, NULL);\r
-       if (ret != AUDIO_SVC_ERROR_NONE)\r
-       {\r
-               dts_pass("audio_svc_update_playlist_name","abnormal condition test for invalid NULL parameter.");\r
-       }\r
-       else\r
-       {\r
-               dts_fail("audio_svc_update_playlist_name","update playlist should be failed because of the null parameter.");\r
-       }\r
-\r
-}\r
diff --git a/TC/utc/audio/utc_audio_svc_update_playlist_name_func.h b/TC/utc/audio/utc_audio_svc_update_playlist_name_func.h
deleted file mode 100755 (executable)
index 042db0e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_audio_svc_update_playlist_name_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of audio_svc_add_playlist API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-09-13\r
-*/\r
-\r
-#ifndef __UTS_AUDIO_SVC_UPDATE_PLAYLIST_NAME_FUNC_H_\r
-#define __UTS_AUDIO_SVC_UPDATE_PLAYLIST_NAME_FUNC_H_\r
-\r
-\r
-#include "utc_audio_svc_common.h"\r
-\r
-void startup();\r
-void cleanup();\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_audio_svc_update_playlist_name_func_01();\r
-void utc_audio_svc_update_playlist_name_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_audio_svc_update_playlist_name_func_01, 1},\r
-       {utc_audio_svc_update_playlist_name_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_AUDIO_SVC_UPDATE_PLAYLIST_NAME_FUNC_H_  \r
diff --git a/TC/utc/visual/Makefile b/TC/utc/visual/Makefile
deleted file mode 100644 (file)
index 8998656..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-ifeq ($(ARCH),target)\r
-       PKG_CONFIG_PATH=/usr/lib/pkgconfig\r
-       export PKG_CONFIG_PATH\r
-       CC=arm-linux-gcc -Wall\r
-       CXX=arm-linux-g++ -Wall\r
-else\r
-       PKG_CONFIG_PATH=/usr/lib/pkgconfig\r
-       export PKG_CONFIG_PATH\r
-       CC=gcc -Wall\r
-    CXX=gcc -Wall\r
-endif\r
-\r
-TS11=utc_minfo_destroy_mtype_item_func\r
-TS13=utc_minfo_get_bookmark_list_func\r
-TS14=utc_minfo_get_cluster_cnt_func\r
-TS15=utc_minfo_get_cluster_cover_func\r
-TS16=utc_minfo_get_cluster_func\r
-TS17=utc_minfo_get_cluster_list_func\r
-TS18=utc_minfo_get_cluster_id_by_url_func\r
-TS19=utc_minfo_get_geo_item_list_func\r
-TS20=utc_minfo_get_item_cnt_func\r
-TS21=utc_minfo_get_item_func\r
-TS22=utc_minfo_get_item_list_func\r
-TS25=utc_minfo_get_meta_info_func\r
-TS26=utc_minfo_get_thumb_path_func\r
-TS28=utc_minfo_move_media_func\r
-TS29=utc_minfo_mv_media_func\r
-TS30=utc_minfo_update_cluster_name_func\r
-TS31=utc_minfo_update_favorite_by_media_id_func\r
-TS32=utc_minfo_update_media_favorite_func\r
-TS33=utc_minfo_update_media_name_func\r
-TS34=utc_minfo_set_cluster_lock_status_func\r
-TS35=utc_minfo_get_cluster_lock_status_func\r
-TS36=utc_minfo_bookmark_func\r
-TS37=utc_minfo_cluster_func\r
-TS38=utc_minfo_media_func\r
-TS39=utc_minfo_get_all_item_list_func\r
-TS40=utc_minfo_update_video_meta_info_int_func\r
-TS41=utc_minfo_get_thumb_path_for_video_func\r
-TS42=utc_minfo_get_cluster_name_by_id_func\r
-TS43=utc_minfo_get_media_path_func\r
-TS44=utc_minfo_tag_func\r
-TS45=utc_minfo_get_media_list_by_tagname_func\r
-TS46=utc_minfo_get_tag_list_by_media_id_func\r
-TS47=utc_minfo_set_db_valid_func\r
-TS48=utc_minfo_delete_invalid_media_records_func\r
-TS49=utc_minfo_get_cluster_fullpath_by_id_func\r
-\r
-\r
-LIBS = `pkg-config --libs libmedia-service`\r
-LIBS +=$(TET_ROOT)/lib/tet3/tcm_s.o\r
-LIBS +=-L$(TET_ROOT)/lib/tet3 -ltcm_s\r
-LIBS +=-lapi_s\r
-\r
-INCS = -I. `pkg-config --cflags  libmedia-service`\r
-INCS += -I$(TET_ROOT)/inc/tet3\r
-INCS += -I/usr/include\r
-\r
-CFLAGS = $(INCS) \r
-CC += $(CFLAGS)\r
-LDFLAGS = $(LIBS)\r
-\r
-all : $(TS11) $(TS12) $(TS13) $(TS14) $(TS15) $(TS16) $(TS17) $(TS18) $(TS19) $(TS20) $(TS21) $(TS22) $(TS23) $(TS24) $(TS25) $(TS26) $(TS28) $(TS29) $(TS30) $(TS31) $(TS32) $(TS33) $(TS34) $(TS35) $(TS36) $(TS37) $(TS38) $(TS39) $(TS40) $(TS41) $(TS42) $(TS43) $(TS44) $(TS45) $(TS46) $(TS47) $(TS48) $(TS49)\r
-\r
-$(TS1): $(TS1).c\r
-       $(CC) -o $(TS1) $(TS1).c $(LDFLAGS)\r
-\r
-$(TS2): $(TS2).c\r
-       $(CC) -o $(TS2) $(TS2).c $(LDFLAGS)\r
-       \r
-$(TS3): $(TS3).c\r
-       $(CC) -o $(TS3) $(TS3).c $(LDFLAGS)\r
-\r
-$(TS4): $(TS4).c\r
-       $(CC) -o $(TS4) $(TS4).c $(LDFLAGS)\r
-\r
-$(TS5): $(TS5).c\r
-       $(CC) -o $(TS5) $(TS5).c $(LDFLAGS)\r
-       \r
-$(TS6): $(TS6).c\r
-       $(CC) -o $(TS6) $(TS6).c $(LDFLAGS)\r
-\r
-$(TS7): $(TS7).c\r
-       $(CC) -o $(TS7) $(TS7).c $(LDFLAGS)\r
-\r
-$(TS8): $(TS8).c\r
-       $(CC) -o $(TS8) $(TS8).c $(LDFLAGS)\r
-\r
-$(TS9): $(TS9).c\r
-       $(CC) -o $(TS9) $(TS9).c $(LDFLAGS)\r
-\r
-$(TS11): $(TS11).c\r
-       $(CC) -o $(TS11) $(TS11).c $(LDFLAGS)\r
-\r
-$(TS12): $(TS12).c\r
-       $(CC) -o $(TS12) $(TS12).c $(LDFLAGS)\r
-\r
-$(TS13): $(TS13).c\r
-       $(CC) -o $(TS13) $(TS13).c $(LDFLAGS)\r
-\r
-$(TS14): $(TS14).c\r
-       $(CC) -o $(TS14) $(TS14).c $(LDFLAGS)\r
-\r
-$(TS15): $(TS15).c\r
-       $(CC) -o $(TS15) $(TS15).c $(LDFLAGS)\r
-\r
-$(TS16): $(TS16).c\r
-       $(CC) -o $(TS16) $(TS16).c $(LDFLAGS)\r
-\r
-$(TS17): $(TS17).c\r
-       $(CC) -o $(TS17) $(TS17).c $(LDFLAGS)\r
-\r
-$(TS18): $(TS18).c\r
-       $(CC) -o $(TS18) $(TS18).c $(LDFLAGS)\r
-\r
-$(TS19): $(TS19).c\r
-       $(CC) -o $(TS19) $(TS19).c $(LDFLAGS)\r
-\r
-$(TS20): $(TS20).c\r
-       $(CC) -o $(TS20) $(TS20).c $(LDFLAGS)\r
-\r
-$(TS21): $(TS21).c\r
-       $(CC) -o $(TS21) $(TS21).c $(LDFLAGS)\r
-\r
-$(TS22): $(TS22).c\r
-       $(CC) -o $(TS22) $(TS22).c $(LDFLAGS)\r
-\r
-$(TS23): $(TS23).c\r
-       $(CC) -o $(TS23) $(TS23).c $(LDFLAGS)\r
-\r
-$(TS24): $(TS24).c\r
-       $(CC) -o $(TS24) $(TS24).c $(LDFLAGS)\r
-\r
-$(TS25): $(TS25).c\r
-       $(CC) -o $(TS25) $(TS25).c $(LDFLAGS)\r
-\r
-$(TS26): $(TS26).c\r
-       $(CC) -o $(TS26) $(TS26).c $(LDFLAGS)\r
-\r
-$(TS28): $(TS28).c\r
-       $(CC) -o $(TS28) $(TS28).c $(LDFLAGS)\r
-\r
-$(TS29): $(TS29).c\r
-       $(CC) -o $(TS29) $(TS29).c $(LDFLAGS)\r
-\r
-$(TS30): $(TS30).c\r
-       $(CC) -o $(TS30) $(TS30).c $(LDFLAGS)\r
-\r
-$(TS31): $(TS31).c\r
-       $(CC) -o $(TS31) $(TS31).c $(LDFLAGS)\r
-\r
-$(TS32): $(TS32).c\r
-       $(CC) -o $(TS32) $(TS32).c $(LDFLAGS)\r
-\r
-$(TS33): $(TS33).c\r
-       $(CC) -o $(TS33) $(TS33).c $(LDFLAGS)\r
-\r
-$(TS34): $(TS34).c\r
-       $(CC) -o $(TS34) $(TS34).c $(LDFLAGS)\r
-\r
-$(TS35): $(TS35).c\r
-       $(CC) -o $(TS35) $(TS35).c $(LDFLAGS)\r
-\r
-$(TS36): $(TS36).c\r
-       $(CC) -o $(TS36) $(TS36).c $(LDFLAGS)\r
-\r
-$(TS37): $(TS37).c\r
-       $(CC) -o $(TS37) $(TS37).c $(LDFLAGS)\r
-\r
-$(TS38): $(TS38).c\r
-       $(CC) -o $(TS38) $(TS38).c $(LDFLAGS)\r
-\r
-$(TS39): $(TS39).c\r
-       $(CC) -o $(TS39) $(TS39).c $(LDFLAGS)\r
-\r
-$(TS40): $(TS40).c\r
-       $(CC) -o $(TS40) $(TS40).c $(LDFLAGS)\r
-\r
-$(TS41): $(TS41).c\r
-       $(CC) -o $(TS41) $(TS41).c $(LDFLAGS)\r
-\r
-$(TS42): $(TS42).c\r
-       $(CC) -o $(TS42) $(TS42).c $(LDFLAGS)\r
-\r
-$(TS43): $(TS43).c\r
-       $(CC) -o $(TS43) $(TS43).c $(LDFLAGS)\r
-\r
-$(TS44): $(TS44).c\r
-       $(CC) -o $(TS44) $(TS44).c $(LDFLAGS)\r
-\r
-$(TS45): $(TS45).c\r
-       $(CC) -o $(TS45) $(TS45).c $(LDFLAGS)\r
-\r
-$(TS46): $(TS46).c\r
-       $(CC) -o $(TS46) $(TS46).c $(LDFLAGS)\r
-\r
-$(TS47): $(TS47).c\r
-       $(CC) -o $(TS47) $(TS47).c $(LDFLAGS)\r
-\r
-$(TS48): $(TS48).c\r
-       $(CC) -o $(TS48) $(TS48).c $(LDFLAGS)\r
-\r
-$(TS49): $(TS49).c\r
-       $(CC) -o $(TS49) $(TS49).c $(LDFLAGS)\r
-\r
-clean:\r
-       rm -rf *~ *.o $(TS10) $(TS11) $(TS12) $(TS13) $(TS14) $(TS15) $(TS16) $(TS17) $(TS18) $(TS19) $(TS20) $(TS21) $(TS22) $(TS23) $(TS24) $(TS25) $(TS26) $(TS28) $(TS29) $(TS30) $(TS31) $(TS32) $(TS33) $(TS34) $(TS35) $(TS36) $(TS37) $(TS38) $(TS39) $(TS40) $(TS41) $(TS42) $(TS43) $(TS44) $(TS45) $(TS46) $(TS47) $(TS48) $(TS49)\r
-       \r
-\r
diff --git a/TC/utc/visual/tslist b/TC/utc/visual/tslist
deleted file mode 100644 (file)
index 0b3f895..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/utc/visual/utc_minfo_bookmark_func
-/utc/visual/utc_minfo_cluster_func
-/utc/visual/utc_minfo_media_func
-/utc/visual/utc_minfo_tag_func
-/utc/visual/utc_minfo_delete_invalid_media_records_func
-/utc/visual/utc_minfo_destroy_mtype_item_func
-/utc/visual/utc_minfo_get_bookmark_list_func
-/utc/visual/utc_minfo_get_media_list_by_tagname_func
-/utc/visual/utc_minfo_get_cluster_cnt_func
-/utc/visual/utc_minfo_get_cluster_cover_func
-/utc/visual/utc_minfo_get_cluster_func
-/utc/visual/utc_minfo_get_cluster_id_by_url_func
-/utc/visual/utc_minfo_get_cluster_list_func
-/utc/visual/utc_minfo_get_cluster_lock_status_func
-/utc/visual/utc_minfo_get_cluster_name_by_id_func
-/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func
-/utc/visual/utc_minfo_get_geo_item_list_func
-/utc/visual/utc_minfo_get_item_cnt_func
-/utc/visual/utc_minfo_get_item_func
-/utc/visual/utc_minfo_get_item_list_func
-/utc/visual/utc_minfo_get_all_item_list_func
-/utc/visual/utc_minfo_get_meta_info_func
-/utc/visual/utc_minfo_set_cluster_lock_status_func
-/utc/visual/utc_minfo_set_db_valid_func
-/utc/visual/utc_minfo_update_cluster_name_func
-/utc/visual/utc_minfo_update_favorite_by_media_id_func
-/utc/visual/utc_minfo_update_media_favorite_func
-/utc/visual/utc_minfo_update_media_name_func
-/utc/visual/utc_minfo_update_video_meta_info_int_func
-/utc/visual/utc_minfo_get_thumb_path_func
-/utc/visual/utc_minfo_get_thumb_path_for_video_func
-/utc/visual/utc_minfo_get_media_path_func
-/utc/visual/utc_minfo_get_tag_list_by_media_id_func
-/utc/visual/utc_minfo_move_media_func
-/utc/visual/utc_minfo_mv_media_func
-
diff --git a/TC/utc/visual/utc_minfo_bookmark_func.c b/TC/utc/visual/utc_minfo_bookmark_func.c
deleted file mode 100644 (file)
index c2f8ee3..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_bookmark_func.c
-* @brief       This is a suit of unit test cases to test minfo_add_bookmark and minfo_delete_bookmark API functions
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_bookmark_func.h"
-
-/**
-* @brief       This tests int minfo_add_bookmark() API with valid parameter
-*              add a bookmark to a media file.
-* @par ID      utc_minfo_add_bookmark_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_add_bookmark_func_01()
-{
-       int ret = -1;
-        
-       int position = 2346;
-       const char *media_id = "77b876ed-5db9-4114-82c0-d08e814b5051";
-       char *thumb_path = "tmp1";
-
-       ret = minfo_add_bookmark(handle, media_id, position, thumb_path);
-       
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to add a bookmark to a media file. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_add_bookmark() API with invalid parameter
-*                      add a bookmark to a media file.
-* @par ID      utc_minfo_add_bookmark_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_add_bookmark_func_02()
-{      
-       int ret = -1;
-        
-       int position = 2346;
-       const char *media_id = "77b876ed-5db9-4114-82c0-d08e814b5051";
-       char *thumb_path = NULL;
-
-       ret = minfo_add_bookmark(handle, media_id,position,thumb_path);
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "add a bookmark to a media file should be failed because of the media_id parameter -1.");
-}
-
-/**
-* @brief       This tests int minfo_delete_bookmark() API with valid parameter
-*              delete a bookmark to a media file.
-* @par ID      utc_minfo_delete_bookmark_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_bookmark_func_01()
-{
-       int ret = -1;
-        
-       int bookmark_id = 1;
-       ret = minfo_delete_bookmark(handle, bookmark_id);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to delete a bookmark to a media file. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_bookmark() API with invalid parameter
-*                      delete a bookmark to a media file.
-* @par ID      utc_minfo_delete_bookmark_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_bookmark_func_02()
-{      
-       int ret = -1;
-        
-       int bookmark_id = -1;
-       ret = minfo_delete_bookmark(handle, bookmark_id);
-       
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "delete a bookmark to a media file should be failed because of the bookmark_id parameter -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_bookmark_func.h b/TC/utc/visual/utc_minfo_bookmark_func.h
deleted file mode 100644 (file)
index 418babd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_bookmark_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_add_bookmark and minfo_delete_bookmark API functions
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_bookmark__FUNC_H_
-#define __UTS_minfo_bookmark__FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_add_bookmark_func_01();
-void utc_minfo_add_bookmark_func_02();
-void utc_minfo_delete_bookmark_func_01();
-void utc_minfo_delete_bookmark_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_add_bookmark_func_01, 1},
-       {utc_minfo_delete_bookmark_func_01, 1},
-       {utc_minfo_add_bookmark_func_02, 2},    
-       {utc_minfo_delete_bookmark_func_02, 2}, 
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_bookmark__FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_cluster_func.c b/TC/utc/visual/utc_minfo_cluster_func.c
deleted file mode 100644 (file)
index 774332e..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_cluster_func.c
-* @brief       This is a suit of unit test cases to test minfo_add_cluster and minfo_delete_cluster API functions
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_cluster_func.h"
-
-int _get_id_by_url(const char *url, char *id)
-{
-       char cluster_id[256] = {0,};
-
-       if( minfo_get_cluster_id_by_url(handle, url, cluster_id, sizeof(cluster_id)) < 0 )
-       {
-               return -1;
-       }
-
-       strncpy(id, cluster_id, 256);
-
-       return 0;
-}
-
-
-/**
-* @brief       This tests int minfo_add_cluster() API with valid parameter
-*              add a cluser record content in folder table.
-* @par ID      utc_minfo_add_cluster_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_add_cluster_func_01()
-{
-       int ret = -1;
-       char *cluster_url = "/opt/media/Images/ForTC";
-       char cluster_id[256] = {0,};
-       
-       ret = minfo_add_cluster(handle, cluster_url, cluster_id, sizeof(cluster_id));
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to add a cluser record content in folder table. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_add_cluster() API with invalid parameter
-*                      add a cluser record content in folder table.
-* @par ID      utc_minfo_add_cluster_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_add_cluster_func_02()
-{
-       int ret = -1;
-       char *cluster_url = NULL; /*= "/opt/media/Images/Wallpapers_1";*/
-       char cluster_id[256] = {0,};
-       
-       ret = minfo_add_cluster(handle, cluster_url, cluster_id, sizeof(cluster_id));
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "add a cluser record content in folder table should be failed because of the cluster_url NULL.");
-}
-
-
-/**
-* @brief       This tests int minfo_delete_cluster() API with valid parameter
-*              delete a cluster/folder identified by folder id.
-* @par ID      utc_minfo_delete_cluster_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_cluster_func_01()
-{
-       int ret = -1;
-
-       char cluster_id[256] = {0,};
-        _get_id_by_url("/opt/media/Images/ForTC", cluster_id);
-       ret = minfo_delete_cluster(handle, cluster_id);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to delete a cluster/folder identified by folder id. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_cluster() API with invalid parameter
-*                      delete a cluster/folder identified by folder id.
-* @par ID      utc_minfo_delete_cluster_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_cluster_func_02()
-{
-       int ret = -1;
-        
-       const char *cluster_id = NULL;
-       ret = minfo_delete_cluster(handle, cluster_id);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "delete a cluster/folder identified by folder id should be failed because of the cluster_id -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_cluster_func.h b/TC/utc/visual/utc_minfo_cluster_func.h
deleted file mode 100644 (file)
index ef7317c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_cluster_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_add_cluster and minfo_del_cluster API functions
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_cluster_FUNC_H_
-#define __UTS_minfo_cluster_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_add_cluster_func_01();
-void utc_minfo_add_cluster_func_02();
-void utc_minfo_delete_cluster_func_01();
-void utc_minfo_delete_cluster_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_add_cluster_func_01, 1},
-       {utc_minfo_delete_cluster_func_01, 1},
-       {utc_minfo_add_cluster_func_02, 2},     
-       {utc_minfo_delete_cluster_func_02, 2},  
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_cluster_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_delete_invalid_media_records_func.c b/TC/utc/visual/utc_minfo_delete_invalid_media_records_func.c
deleted file mode 100644 (file)
index defc28c..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_delete_invalid_media_records.c
-* @brief       This is a suit of unit test cases to test minfo_delete_invalid_media_records API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_delete_invalid_media_records_func.h"
-
-
-/**
-* @brief       This tests int minfo_delete_invalid_media_records() API with valid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_delete_invalid_media_records_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_invalid_media_records_func_01()
-{
-       int ret = -1;
-       minfo_store_type storage_type = MINFO_PHONE;
-
-    ret = minfo_delete_invalid_media_records(handle, storage_type);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to delete invalid records. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_invalid_media_records() API with invalid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_delete_invalid_media_records_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_invalid_media_records_func_02()
-{
-       int ret = -1;
-       minfo_store_type storage_type = MINFO_SYSTEM;
-
-    ret = minfo_delete_invalid_media_records(handle, storage_type);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "deleting invalid records should be failed because of the status is invalid.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_delete_invalid_media_records_func.h b/TC/utc/visual/utc_minfo_delete_invalid_media_records_func.h
deleted file mode 100644 (file)
index 33f6625..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_delete_invalid_media_records_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_delete_invalid_media_records API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_delete_invalid_media_records_FUNC_H_
-#define __UTS_minfo_delete_invalid_media_records_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_delete_invalid_media_records_func_01();
-void utc_minfo_delete_invalid_media_records_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_delete_invalid_media_records_func_01, 1},
-       {utc_minfo_delete_invalid_media_records_func_02, 2},    
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_delete_invalid_media_records_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_destroy_mtype_item_func.c b/TC/utc/visual/utc_minfo_destroy_mtype_item_func.c
deleted file mode 100644 (file)
index 06cfa4a..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_minfo_destroy_mtype_item_func.c\r
-* @brief       This is a suit of unit test cases to test minfo_destroy_mtype_item_func API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-10-13\r
-*/\r
-\r
-#include "utc_minfo_destroy_mtype_item_func.h"\r
-\r
-static int _cluster_ite_fn( Mcluster* cluster, void* user_data)\r
-{\r
-       GList** list = (GList**) user_data;\r
-       *list = g_list_append( *list, cluster );\r
-       return 0;\r
-}\r
-\r
-/**\r
-* @brief       This tests int minfo_destroy_mtype_item_func() API with valid parameter\r
-*              free glist of media clusters.\r
-* @par ID      utc_minfo_destroy_mtype_item_func_01\r
-* @param       [in] \r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_minfo_destroy_mtype_item_func_01()\r
-{\r
-       int ret = -1;\r
-       int i = 0;\r
-       GList *p_list = NULL;\r
-       void* p = NULL;\r
-\r
-    minfo_cluster_filter cluster_filter ={MINFO_CLUSTER_TYPE_ALL,MINFO_CLUSTER_SORT_BY_NONE,0,5};\r
-       ret = minfo_get_cluster_list(handle, cluster_filter, _cluster_ite_fn, &p_list);\r
-\r
-       if( ret < MB_SVC_ERROR_NONE ) {\r
-               dts_fail(API_NAME, "unable to get list of clusters.  error code->%d", ret);\r
-               return;\r
-       }\r
-\r
-       for( i = 0; i < g_list_length(p_list); i++ ) \r
-       {\r
-               p = g_list_nth_data(p_list, i);\r
-               minfo_destroy_mtype_item(p);    \r
-\r
-               if (ret < MB_SVC_ERROR_NONE)\r
-               {\r
-                       dts_fail(API_NAME, "unable to destroy item of mtype.  error code->%d", ret);\r
-                       return;\r
-               }\r
-       }\r
-\r
-       dts_pass(API_NAME, "utc_minfo_destroy_mtype_item_func_01 succeeded");\r
-       \r
-       return;\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int minfo_destroy_mtype_item() API with invalid parameter\r
-*                      free glist of media clusters.\r
-* @par ID      utc_minfo_destroy_mtype_item_func_02\r
-* @param       [in] \r
-* @return      error code on success \r
-*/\r
-void utc_minfo_destroy_mtype_item_func_02()\r
-{      \r
-       int ret = -1;\r
-       void* p = NULL;\r
-\r
-       ret = minfo_destroy_mtype_item(p);      \r
-\r
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"destroying item of mtype should be failed because of the p_list NULL.");\r
-}\r
diff --git a/TC/utc/visual/utc_minfo_destroy_mtype_item_func.h b/TC/utc/visual/utc_minfo_destroy_mtype_item_func.h
deleted file mode 100644 (file)
index cc85821..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_destroy_mtype_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_destroy_mtype_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_destroy_mtype_item_FUNC_H_\r
-#define __UTS_minfo_destroy_mtype_item_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_destroy_mtype_item_func_01();\r
-void utc_minfo_destroy_mtype_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_destroy_mtype_item_func_01, 1},\r
-       {utc_minfo_destroy_mtype_item_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_destroy_mtype_item_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_all_item_list_func.c b/TC/utc/visual/utc_minfo_get_all_item_list_func.c
deleted file mode 100644 (file)
index ff1fc51..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_all_item_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_all_item_list API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-10
-*/
-
-#include "utc_minfo_get_all_item_list_func.h"
-
-static int _ite_fn( Mitem* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_all_item_list() API with valid parameter
-*              Get glist including Mitem members.
-* @par ID      utc_minfo_get_all_item_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_all_item_list_func_01()
-{
-       int ret = 0;
-
-       GList *p_list = NULL;
-       minfo_folder_type cluster_type = MINFO_CLUSTER_TYPE_LOCAL_ALL;
-       minfo_item_filter item_filter = {MINFO_ITEM_ALL,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true,MINFO_MEDIA_FAV_ALL};
-
-       ret = minfo_get_all_item_list(handle, cluster_type, item_filter, _ite_fn, &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get media records. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_all_item_list() API with invalid parameter
-*                      Get glist including Mitem members.
-* @par ID      utc_minfo_get_all_item_list_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_all_item_list_func_02()
-{      
-       int ret = 0;
-
-       GList *p_list = NULL;
-       minfo_folder_type cluster_type = MINFO_CLUSTER_TYPE_LOCAL_ALL;
-       minfo_item_filter item_filter = {MINFO_ITEM_ALL,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true,MINFO_MEDIA_FAV_ALL};
-
-       ret = minfo_get_all_item_list(handle, cluster_type, item_filter, NULL, &p_list);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting media records should be failed because of the item_filter parameter.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_all_item_list_func.h b/TC/utc/visual/utc_minfo_get_all_item_list_func.h
deleted file mode 100644 (file)
index eb66750..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_all_item_list_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_all_item_list API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_all_item_list_FUNC_H_\r
-#define __UTS_minfo_get_all_item_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_all_item_list_func_01();\r
-void utc_minfo_get_all_item_list_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_all_item_list_func_01, 1},\r
-       {utc_minfo_get_all_item_list_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_all_item_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_bookmark_list_func.c b/TC/utc/visual/utc_minfo_get_bookmark_list_func.c
deleted file mode 100644 (file)
index d157e12..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_bookmark_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_bookmark_list API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_bookmark_list_func.h"
-
-static int _minfo_bm_ite_fn( Mbookmark *bookmark, void *user_data )
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, bookmark );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_bookmark_list() API with valid parameter
-*              get all of bookmark for a media content.
-* @par ID      utc_minfo_get_bookmark_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_bookmark_list_func_01()
-{
-       int ret = -1;
-
-       const char *media_uuid = "77b876ed-5db9-4114-82c0-d08e814b5051";
-       GList *p_list = NULL;
-
-       ret = minfo_get_bookmark_list(handle, media_uuid, _minfo_bm_ite_fn, &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get all of bookmark for a media content. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_bookmark_list() API with invalid parameter
-*                      get all of bookmark for a media content.
-* @par ID      utc_minfo_get_bookmark_list_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_bookmark_list_func_02()
-{
-       int ret = -1;
-
-       const char *media_uuid = NULL;
-       GList *p_list = NULL;
-
-       ret = minfo_get_bookmark_list(handle, media_uuid, NULL, &p_list);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"get all of bookmark for a media content should be failed because of the p_list non-NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_bookmark_list_func.h b/TC/utc/visual/utc_minfo_get_bookmark_list_func.h
deleted file mode 100644 (file)
index 6262796..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_bookmark_list_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_bookmark_list API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_bookmark_list_FUNC_H_\r
-#define __UTS_minfo_get_bookmark_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_bookmark_list_func_01();\r
-void utc_minfo_get_bookmark_list_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_bookmark_list_func_01, 1},\r
-       {utc_minfo_get_bookmark_list_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_bookmark_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_cnt_func.c b/TC/utc/visual/utc_minfo_get_cluster_cnt_func.c
deleted file mode 100644 (file)
index 512518e..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_cnt_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_cnt API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_cnt_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster_cnt() API with valid parameter
-*              Get count of media clusters.
-* @par ID      utc_minfo_get_cluster_cnt_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_cnt_func_01()
-{
-       int ret = 0;
-       int cnt = 0;
-
-       minfo_cluster_filter cluster_filter ={MINFO_CLUSTER_TYPE_ALL,MINFO_CLUSTER_SORT_BY_NONE,-1,10};
-       ret = minfo_get_cluster_cnt(handle, cluster_filter, &cnt);
-       
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get count of media clusters. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_cnt() API with invalid parameter
-*                      Get count of media clusters.
-* @par ID      utc_minfo_get_cluster_cnt_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_cnt_func_02()
-{      
-       int ret = 0;
-       int *cnt = NULL;
-
-       minfo_cluster_filter cluster_filter ={MINFO_CLUSTER_TYPE_ALL,MINFO_CLUSTER_SORT_BY_NONE,-1,10};
-       ret = minfo_get_cluster_cnt(handle, cluster_filter, cnt);
-       
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting count of media clusters should be failed because of the item_filter parameter.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_cluster_cnt_func.h b/TC/utc/visual/utc_minfo_get_cluster_cnt_func.h
deleted file mode 100644 (file)
index 9a114ee..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_cluster_cnt_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_cnt API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_cluster_cnt_FUNC_H_\r
-#define __UTS_minfo_get_cluster_cnt_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_cluster_cnt_func_01();\r
-void utc_minfo_get_cluster_cnt_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_cluster_cnt_func_01, 1},\r
-       {utc_minfo_get_cluster_cnt_func_02, 2}, \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_cluster_cnt_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_cover_func.c b/TC/utc/visual/utc_minfo_get_cluster_cover_func.c
deleted file mode 100644 (file)
index 53b0949..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_cover_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_cover API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_cover_func.h"
-
-static int _cover_ite_fn(const char* thumb_path, void* user_data)
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, (char *)thumb_path );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_cluster_cover() API with valid parameter
-*              get cover of a cluster/folder.
-* @par ID      utc_minfo_get_cluster_cover_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_cover_func_01()
-{
-       int ret = -1;
-       
-       GList *p_list = NULL;
-       int img_cnt = 5;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-       
-       ret = minfo_get_cluster_cover(handle, cluster_uuid, img_cnt, _cover_ite_fn, &p_list);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get cover of a cluster/folder. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_cover() API with invalid parameter
-*                      get cover of a cluster/folder.
-* @par ID      utc_minfo_get_cluster_cover_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_cover_func_02()
-{
-       int ret = -1;
-       
-       GList *p_list = NULL;
-       int img_cnt = 5;
-       const char *cluster_uuid = NULL;
-       
-       ret = minfo_get_cluster_cover(handle, cluster_uuid, img_cnt, NULL, &p_list);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"get cover of a cluster/folder should be failed because of the p_list non-NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_cluster_cover_func.h b/TC/utc/visual/utc_minfo_get_cluster_cover_func.h
deleted file mode 100644 (file)
index 93109bb..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_cluster_cover_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_cover API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_cluster_cover_FUNC_H_\r
-#define __UTS_minfo_get_cluster_cover_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_cluster_cover_func_01();\r
-void utc_minfo_get_cluster_cover_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_cluster_cover_func_01, 1},\r
-       {utc_minfo_get_cluster_cover_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_cluster_cover_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.c b/TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.c
deleted file mode 100644 (file)
index 048534f..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_fullpath_by_id.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_fullpath_by_id API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_fullpath_by_id_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster_fullpath_by_id() API with valid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_fullpath_by_id_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_fullpath_by_id_func_01()
-{
-       int ret = -1;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-       int size = 256;
-       char fullpath[256] = {'\0'};
-
-    ret = minfo_get_cluster_fullpath_by_id(handle, cluster_uuid, fullpath, size);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get cluster fullpath by id. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_fullpath_by_id() API with invalid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_fullpath_by_id_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_fullpath_by_id_func_02()
-{
-       int ret = -1;
-       const char *cluster_uuid = NULL;
-       int size = 256;
-       char fullpath[256] = {'\0'};
-
-    ret = minfo_get_cluster_fullpath_by_id(handle, cluster_uuid, fullpath, size);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Getting cluster fullpath by id should be failed because the passed status is NULL.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.h b/TC/utc/visual/utc_minfo_get_cluster_fullpath_by_id_func.h
deleted file mode 100644 (file)
index 2f0c64b..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_get_cluster_fullpath_by_id_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_fullpath_by_id API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_get_cluster_fullpath_by_id_FUNC_H_
-#define __UTS_minfo_get_cluster_fullpath_by_id_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_get_cluster_fullpath_by_id_func_01();
-void utc_minfo_get_cluster_fullpath_by_id_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_get_cluster_fullpath_by_id_func_01, 1},
-       {utc_minfo_get_cluster_fullpath_by_id_func_02, 2},      
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_get_cluster_fullpath_by_id_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_get_cluster_func.c b/TC/utc/visual/utc_minfo_get_cluster_func.c
deleted file mode 100644 (file)
index f7596cf..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster() API with valid parameter
-*              get a cluster/folder record from folder table with Mcluster type.
-* @par ID      utc_minfo_get_cluster_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_func_01()
-{
-       int ret = -1;
-
-    Mcluster *mc = NULL;
-    char *cluster_url = "/opt/media/Images/Wallpapers";
-
-    ret = minfo_get_cluster(handle, cluster_url, 0, &mc);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get a cluster/folder record from folder table with Mcluster type. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster() API with invalid parameter
-*                      get a cluster/folder record from folder table with Mcluster type.
-* @par ID      utc_minfo_get_cluster_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_func_02()
-{
-       int ret = -1;
-
-    Mcluster *mc = NULL;
-    char *cluster_url = NULL; /*= "/opt/media/Images/Wallpapers";*/
-
-    ret = minfo_get_cluster(NULL, cluster_url, 0, &mc);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "get a cluster/folder record from folder table with Mcluster type should be failed because of mc NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_cluster_func.h b/TC/utc/visual/utc_minfo_get_cluster_func.h
deleted file mode 100644 (file)
index fa87d9f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_cluster_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_cluster API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_cluster_FUNC_H_\r
-#define __UTS_minfo_get_cluster_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_cluster_func_01();\r
-void utc_minfo_get_cluster_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_cluster_func_01, 1},\r
-       {utc_minfo_get_cluster_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_cluster_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.c b/TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.c
deleted file mode 100644 (file)
index 5a9cd87..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_id_by_url_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_id_by_url API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_id_by_url_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster_id_by_url() API with valid parameter
-*              get folder id using it's full name.
-* @par ID      utc_minfo_get_cluster_id_by_url_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_id_by_url_func_01()
-{
-       int ret = -1;
-        
-       char cluster_uuid[256] = {0,};
-       char *folder_full_path = "/opt/media/Images/Wallpapers";
-       ret = minfo_get_cluster_id_by_url(handle, folder_full_path, cluster_uuid, sizeof(cluster_uuid));
-       
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get folder id using it's full name. error code->%d", ret);
-
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_id_by_url() API with invalid parameter
-*                      get folder id using it's full name.
-* @par ID      utc_minfo_get_cluster_id_by_url_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_id_by_url_func_02()
-{      
-       int ret = -1;
-        
-       char *cluster_uuid = NULL;
-       char *folder_full_path = NULL; /*= "/opt/media/Images/Wallpapers";*/
-
-       ret = minfo_get_cluster_id_by_url(handle, folder_full_path, cluster_uuid, sizeof(cluster_uuid));
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"get folder id using it's full name should be failed because of the folder_full_path parameter NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.h b/TC/utc/visual/utc_minfo_get_cluster_id_by_url_func.h
deleted file mode 100644 (file)
index 3080669..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_cluster_id_by_url_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_id_by_url API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_cluster_id_by_url_FUNC_H_\r
-#define __UTS_minfo_get_cluster_id_by_url_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_cluster_id_by_url_func_01();\r
-void utc_minfo_get_cluster_id_by_url_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_cluster_id_by_url_func_01, 1},\r
-       {utc_minfo_get_cluster_id_by_url_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_cluster_id_by_url_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_list_func.c b/TC/utc/visual/utc_minfo_get_cluster_list_func.c
deleted file mode 100644 (file)
index 27049d0..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_list API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_list_func.h"
-
-static int _cluster_ite_fn( Mcluster* cluster, void* user_data)
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, cluster );
-       return 0;
-}
-
-
-/**
-* @brief       This tests int minfo_get_cluster_list() API with valid parameter
-*              Get glist including media clusters.
-* @par ID      utc_minfo_get_cluster_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_list_func_01()
-{
-       int ret = -1;
-
-       GList *p_list = NULL;
-
-    minfo_cluster_filter cluster_filter ={MINFO_CLUSTER_TYPE_ALL,MINFO_CLUSTER_SORT_BY_NONE,0,10};
-       ret = minfo_get_cluster_list(handle, cluster_filter, _cluster_ite_fn, &p_list);
-       
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get glist including media clusters. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_list() API with invalid parameter
-*                      Get glist including media clusters.
-* @par ID      utc_minfo_get_cluster_list_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_list_func_02()
-{      
-       int ret = -1;
-
-       GList *p_list = NULL;
-
-    minfo_cluster_filter cluster_filter ={MINFO_CLUSTER_TYPE_ALL,MINFO_CLUSTER_SORT_BY_NONE,0,10};
-       ret = minfo_get_cluster_list(handle, cluster_filter, NULL, &p_list);
-       
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting glist including media clusters should be failed because of the item_filter parameter.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_cluster_list_func.h b/TC/utc/visual/utc_minfo_get_cluster_list_func.h
deleted file mode 100644 (file)
index b4ac397..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_cluster_list_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_list API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_cluster_list_FUNC_H_\r
-#define __UTS_minfo_get_cluster_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_cluster_list_func_01();\r
-void utc_minfo_get_cluster_list_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_cluster_list_func_01, 1},\r
-       {utc_minfo_get_cluster_list_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_cluster_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_cluster_lock_status_func.c b/TC/utc/visual/utc_minfo_get_cluster_lock_status_func.c
deleted file mode 100644 (file)
index c48ac74..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_lock_status.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_lock_status API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_lock_status_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster_lock_status() API with valid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_lock_status_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_lock_status_func_01()
-{
-       int ret = -1;
-       int status = 0;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-
-    ret = minfo_get_cluster_lock_status(handle, cluster_uuid, &status);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to varify password to lock/unlock.  error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_lock_status() API with invalid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_lock_status_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_lock_status_func_02()
-{
-       int ret = -1;
-       const char *cluster_uuid = NULL;
-       int status = 0;
-
-    ret = minfo_get_cluster_lock_status(handle, cluster_uuid, &status);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Get status for lock should be failed because the passed status is NULL.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_cluster_lock_status_func.h b/TC/utc/visual/utc_minfo_get_cluster_lock_status_func.h
deleted file mode 100644 (file)
index 8dcf0be..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                utc_minfo_get_cluster_lock_status_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_lock_status API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_get_cluster_lock_status_FUNC_H_
-#define __UTS_minfo_get_cluster_lock_status_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_get_cluster_lock_status_func_01();
-void utc_minfo_get_cluster_lock_status_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_get_cluster_lock_status_func_01, 1},
-       {utc_minfo_get_cluster_lock_status_func_02, 2}, 
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_get_cluster_lock_status_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.c b/TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.c
deleted file mode 100644 (file)
index 5ccb8fa..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_name_by_id.c
-* @brief       This is a suit of unit test cases to test minfo_get_cluster_name_by_id API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_cluster_name_by_id_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_cluster_name_by_id() API with valid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_name_by_id_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_cluster_name_by_id_func_01()
-{
-       int ret = -1;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-       int size = 256;
-       char cluster_name[256] = {'\0'};
-
-    ret = minfo_get_cluster_name_by_id(handle, cluster_uuid, cluster_name, size);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get cluster name by id. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_cluster_name_by_id() API with invalid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_cluster_name_by_id_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_cluster_name_by_id_func_02()
-{
-       int ret = -1;
-       const char *cluster_uuid = NULL;
-       int size = 256;
-       char cluster_name[256] = {'\0'};
-
-    ret = minfo_get_cluster_name_by_id(handle, cluster_uuid, cluster_name, size);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Getting cluster name by id should be failed because the passed status is NULL.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.h b/TC/utc/visual/utc_minfo_get_cluster_name_by_id_func.h
deleted file mode 100644 (file)
index 1482512..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_get_cluster_name_by_id_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_get_cluster_name_by_id API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_get_cluster_name_by_id_FUNC_H_
-#define __UTS_minfo_get_cluster_name_by_id_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_get_cluster_name_by_id_func_01();
-void utc_minfo_get_cluster_name_by_id_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_get_cluster_name_by_id_func_01, 1},
-       {utc_minfo_get_cluster_name_by_id_func_02, 2},  
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_get_cluster_name_by_id_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_get_geo_item_list_func.c b/TC/utc/visual/utc_minfo_get_geo_item_list_func.c
deleted file mode 100644 (file)
index f717842..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_geo_item_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_geo_item_list API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_geo_item_list_func.h"
-
-static int _ite_fn( Mitem* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_geo_item_list() API with valid parameter
-*              get all of Mitem which pass the filter and meanwhile position where the longitude and latitude are specified.
-* @par ID      utc_minfo_get_geo_item_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_geo_item_list_func_01()
-{
-       int ret = -1;
-
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-       int min_longitude = 120.0;
-       int max_longitude = 123.0;
-       int min_latitude = 19.0;
-       int max_latitude = 24.0;
-       GList *p_list = NULL;
-       minfo_item_filter filter = {MINFO_ITEM_ALL,MINFO_MEDIA_SORT_BY_NONE,-1,-1,true,MINFO_MEDIA_FAV_ALL};
-       //minfo_store_type store_type = MINFO_CLUSTER_TYPE_LOCAL_ALL;
-       minfo_store_type store_type = MINFO_CLUSTER_TYPE_ALL;
-
-       ret = minfo_get_geo_item_list(handle,
-                                               cluster_uuid, 
-                                               store_type,
-                                   filter, 
-                                   min_longitude, 
-                                   max_longitude, 
-                                   min_latitude, 
-                                   max_latitude,
-                                               _ite_fn,
-                                   &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get all of Mitem which pass the filter and meanwhile position where the longitude and latitude are specified. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_geo_item_list() API with invalid parameter
-*                      get all of Mitem which pass the filter and meanwhile position where the longitude and latitude are specified.
-* @par ID      utc_minfo_get_geo_item_list_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_geo_item_list_func_02()
-{
-       int ret = -1; 
-
-       const char *cluster_uuid = NULL;
-       int min_longitude = 220.0;
-       int max_longitude = 223.0;
-       int min_latitude = 119.0;
-       int max_latitude = 24.0;
-       GList *p_list = NULL;
-       minfo_item_filter filter = {MINFO_ITEM_ALL,MINFO_MEDIA_SORT_BY_NONE,-1,-1,true,MINFO_MEDIA_FAV_ALL};
-       minfo_store_type store_type = MINFO_CLUSTER_TYPE_ALL;
-
-       ret = minfo_get_geo_item_list(handle,
-                                               cluster_uuid, 
-                                               store_type,
-                                   filter, 
-                                   min_longitude, 
-                                   max_longitude, 
-                                   min_latitude, 
-                                   max_latitude,
-                                               _ite_fn,
-                                   &p_list);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"get all of Mitem which pass the filter and meanwhile position where the longitude and latitude are specified should be failed because of the p_list non-NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_geo_item_list_func.h b/TC/utc/visual/utc_minfo_get_geo_item_list_func.h
deleted file mode 100644 (file)
index 1a1c8a6..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_geo_item_list_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_geo_item_list API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_geo_item_list_FUNC_H_\r
-#define __UTS_minfo_get_geo_item_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_geo_item_list_func_01();\r
-void utc_minfo_get_geo_item_list_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_geo_item_list_func_01, 1},\r
-       {utc_minfo_get_geo_item_list_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_geo_item_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_item_cnt_func.c b/TC/utc/visual/utc_minfo_get_item_cnt_func.c
deleted file mode 100644 (file)
index 696e83e..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file        utc_minfo_get_item_cnt_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_item_cnt API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_item_cnt_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_item_cnt() API with valid parameter
-*              Get count of including Mitem members.
-* @par ID      utc_minfo_get_item_cnt_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_item_cnt_func_01()
-{
-       int ret = 0;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-
-
-       int cnt = 0;
-       minfo_item_filter item_filter = {MINFO_ITEM_VIDEO,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true,true};
-
-       ret = minfo_get_item_cnt(handle, cluster_uuid, item_filter, &cnt);
-       
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get media records. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_item_cnt() API with invalid parameter
-*                      Get count of including Mitem members.
-* @par ID      utc_minfo_get_item_cnt_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_item_cnt_func_02()
-{      
-       int ret = 0;
-       const char *cluster_uuid = NULL;
-
-       int *cnt = NULL;
-       minfo_item_filter item_filter = {MINFO_ITEM_VIDEO,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true,true};
-
-       ret = minfo_get_item_cnt(handle, cluster_uuid, item_filter, cnt);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "getting media records should be failed because of the item_filter parameter.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_item_cnt_func.h b/TC/utc/visual/utc_minfo_get_item_cnt_func.h
deleted file mode 100644 (file)
index 61043c7..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_item_cnt_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_item_cnt API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_item_cnt_FUNC_H_\r
-#define __UTS_minfo_get_item_cnt_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_item_cnt_func_01();\r
-void utc_minfo_get_item_cnt_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_item_cnt_func_01, 1},\r
-       {utc_minfo_get_item_cnt_func_02, 2},    \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_item_cnt_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_item_func.c b/TC/utc/visual/utc_minfo_get_item_func.c
deleted file mode 100644 (file)
index 0e6a5bd..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file        utc_minfo_get_item_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_item API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_item_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_item() API with valid parameter
-*              get a item record from media table with Mitem type.
-* @par ID      utc_minfo_get_item_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_item_func_01()
-{
-       int ret = -1;
-       
-       Mitem *mi = NULL;
-       char* file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-
-       ret = minfo_get_item(handle, file_url, &mi);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get a item record from media table with Mitem type . error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_item() API with invalid parameter
-*                      get a item record from media table with Mitem type.
-* @par ID      utc_minfo_get_item_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_item_func_02()
-{
-       int ret = -1;
-       
-       Mitem *mi = NULL;
-       char* file_url = NULL;/*= "/opt/media/Images/Wallpapers/Home_01.jpg";*/
-
-       ret = minfo_get_item(handle, file_url, &mi);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "get a item record from media table with Mitem type should be failed because of the file_url NULL.");
-
-}
diff --git a/TC/utc/visual/utc_minfo_get_item_func.h b/TC/utc/visual/utc_minfo_get_item_func.h
deleted file mode 100644 (file)
index f51a127..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_minfo_get_item_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_item API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_item_FUNC_H_\r
-#define __UTS_minfo_get_item_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_item_func_01();\r
-void utc_minfo_get_item_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_item_func_01, 1},\r
-       {utc_minfo_get_item_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_item_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_item_list_func.c b/TC/utc/visual/utc_minfo_get_item_list_func.c
deleted file mode 100644 (file)
index 191d5bc..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_item_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_item_list API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-10
-*/
-
-#include "utc_minfo_get_item_list_func.h"
-
-static int _ite_fn( Mitem* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_item_list() API with valid parameter
-*              Get glist including Mitem members.
-* @par ID      utc_minfo_get_item_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_item_list_func_01()
-{
-       int ret = 0;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-
-       GList *p_list = NULL;
-       minfo_item_filter item_filter = {MINFO_ITEM_VIDEO,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true, MINFO_MEDIA_FAV_ALL};
-
-       ret = minfo_get_item_list(handle, cluster_uuid, item_filter, _ite_fn, &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get media records. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_item_list() API with invalid parameter
-*                      Get glist including Mitem members.
-* @par ID      utc_minfo_get_item_list_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_item_list_func_02()
-{      
-       int ret = 0;
-       const char *cluster_uuid = NULL;
-
-       GList *p_list = NULL;
-       minfo_item_filter item_filter = {MINFO_ITEM_VIDEO,MINFO_MEDIA_SORT_BY_DATE_ASC,0,5,true,MINFO_MEDIA_FAV_ALL};
-
-       ret = minfo_get_item_list(handle, cluster_uuid, item_filter, NULL, &p_list);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting media records should be failed because of the item_filter parameter.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_item_list_func.h b/TC/utc/visual/utc_minfo_get_item_list_func.h
deleted file mode 100644 (file)
index dd2bdb2..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_item_list_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_item_list API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_item_list_FUNC_H_\r
-#define __UTS_minfo_get_item_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_item_list_func_01();\r
-void utc_minfo_get_item_list_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_item_list_func_01, 1},\r
-       {utc_minfo_get_item_list_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_item_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.c b/TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.c
deleted file mode 100644 (file)
index de7b204..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_media_list_by_tagname_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_media_list_by_tagname API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-10
-*/
-
-#include "utc_minfo_get_media_list_by_tagname_func.h"
-
-static int _ite_fn( Mitem* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_media_list_by_tagname() API with valid parameter
-*              Get glist including Mitem members.
-* @par ID      utc_minfo_get_media_list_by_tagname_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_media_list_by_tagname_func_01()
-{
-       int ret = 0;
-       const char* tag = "Family";
-       GList *p_list = NULL;
-       ret = minfo_get_media_list_by_tagname(handle, tag, FALSE, _ite_fn, &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get media records. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_media_list_by_tagname() API with invalid parameter
-*                      Get glist including Mitem members.
-* @par ID      utc_minfo_get_media_list_by_tagname_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_media_list_by_tagname_func_02()
-{      
-       int ret = 0;
-       const char* tag = "Family";
-       GList *p_list = NULL;
-       ret = minfo_get_media_list_by_tagname(handle, tag, FALSE, NULL, &p_list);
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting media records should be failed because of the item_filter parameter.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.h b/TC/utc/visual/utc_minfo_get_media_list_by_tagname_func.h
deleted file mode 100644 (file)
index 7722b97..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_media_list_by_tagname_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_media_list_by_tagname API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_media_list_by_tagname_FUNC_H_\r
-#define __UTS_minfo_get_media_list_by_tagname_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_media_list_by_tagname_func_01();\r
-void utc_minfo_get_media_list_by_tagname_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_media_list_by_tagname_func_01, 1},\r
-       {utc_minfo_get_media_list_by_tagname_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_media_list_by_tagname_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_media_path_func.c b/TC/utc/visual/utc_minfo_get_media_path_func.c
deleted file mode 100644 (file)
index e1b1a6a..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file        utc_minfo_get_media_path.c
-* @brief       This is a suit of unit test cases to test minfo_get_media_path API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_media_path_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_media_path() API with valid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_media_path_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_media_path_func_01()
-{
-       int ret = -1;
-       int size = 256;
-       char media_path[256] = {'\0'};
-       minfo_store_type store_type = MINFO_PHONE;
-
-    ret = minfo_get_media_path(store_type, media_path, size);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get cluster name by id. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_media_path() API with invalid parameter
-*                      Gets status for lock from DB
-* @par ID      utc_minfo_get_media_path_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_media_path_func_02()
-{
-       int ret = -1;
-       int size = 256;
-       char *media_path = NULL;
-       minfo_store_type store_type = MINFO_PHONE;
-
-    ret = minfo_get_media_path(store_type, media_path, size);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Getting cluster name by id should be failed because the passed status is NULL.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_media_path_func.h b/TC/utc/visual/utc_minfo_get_media_path_func.h
deleted file mode 100644 (file)
index 60448ab..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_get_media_path_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_get_media_path API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_get_media_path_FUNC_H_
-#define __UTS_minfo_get_media_path_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_get_media_path_func_01();
-void utc_minfo_get_media_path_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_get_media_path_func_01, 1},
-       {utc_minfo_get_media_path_func_02, 2},  
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_get_media_path_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_get_meta_info_func.c b/TC/utc/visual/utc_minfo_get_meta_info_func.c
deleted file mode 100644 (file)
index 27a6510..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_cluster_list_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_meta_info API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_get_meta_info_func.h"
-
-
-/**
-* @brief       This tests int minfo_get_meta_info() API with valid parameter
-*              Get meta record of media Mitem.
-* @par ID      utc_minfo_get_cluster_list_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_meta_info_func_01()
-{
-       int ret = -1;
-       Mmeta* mt = NULL;
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-
-
-       ret = minfo_get_meta_info(handle, media_uuid, &mt);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get meta record of media Mitem. error code->%d", ret);
-       minfo_destroy_mtype_item(mt);
-}
-
-
-/**
-* @brief               This tests int minfo_get_meta_info() API with invalid parameter
-*                      Get meta record of media Mitem.
-* @par ID      utc_minfo_get_meta_info_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_meta_info_func_02()
-{      
-       int ret = -1;
-       Mmeta* mt = NULL;
-       const char *media_uuid = NULL;
-
-       ret = minfo_get_meta_info(handle, media_uuid, &mt);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting meta record of media Mitem should be failed because of the media_id parameter.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_get_meta_info_func.h b/TC/utc/visual/utc_minfo_get_meta_info_func.h
deleted file mode 100644 (file)
index b513a5b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_minfo_get_meta_info_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_meta_info API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_meta_info_FUNC_H_\r
-#define __UTS_minfo_get_meta_info_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_meta_info_func_01();\r
-void utc_minfo_get_meta_info_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_meta_info_func_01, 1},\r
-       {utc_minfo_get_meta_info_func_02, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_meta_info_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.c b/TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.c
deleted file mode 100644 (file)
index 5798c1d..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_get_tag_list_by_media_id_func.c
-* @brief       This is a suit of unit test cases to test minfo_get_tag_list_by_media_id API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-10
-*/
-
-#include "utc_minfo_get_tag_list_by_media_id_func.h"
-
-static int _ite_fn( Mtag* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-/**
-* @brief       This tests int minfo_get_tag_list_by_media_id() API with valid parameter
-*              Get glist including Mitem members.
-* @par ID      utc_minfo_get_tag_list_by_media_id_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_get_tag_list_by_media_id_func_01()
-{
-       int ret = 0;
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-       GList *p_list = NULL;
-       ret = minfo_get_tag_list_by_media_id(handle, media_uuid, _ite_fn, &p_list);
-
-       if (ret == MB_SVC_ERROR_DB_NO_RECORD) {
-               dts_pass(API_NAME, "No record. This is normal operation");
-       }
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to get tag list. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_get_tag_list_by_media_id() API with invalid parameter
-*                      Get glist including Mitem members.
-* @par ID      utc_minfo_get_tag_list_by_media_id_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_get_tag_list_by_media_id_func_02()
-{      
-       int ret = 0;
-       const char *media_uuid = NULL;
-       GList *p_list = NULL;
-       ret = minfo_get_tag_list_by_media_id(handle, media_uuid, NULL, &p_list);
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"getting tag list should be failed because of the item_filter parameter.");
-}
diff --git a/TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.h b/TC/utc/visual/utc_minfo_get_tag_list_by_media_id_func.h
deleted file mode 100644 (file)
index 89fd2f8..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_tag_list_by_media_id_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_tag_list_by_media_id API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_tag_list_by_media_id_FUNC_H_\r
-#define __UTS_minfo_get_tag_list_by_media_id_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_tag_list_by_media_id_func_01();\r
-void utc_minfo_get_tag_list_by_media_id_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_tag_list_by_media_id_func_01, 1},\r
-       {utc_minfo_get_tag_list_by_media_id_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_tag_list_by_media_id_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.c b/TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.c
deleted file mode 100644 (file)
index bea973d..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_minfo_get_thumb_path_for_video_func.c\r
-* @brief       This is a suit of unit test cases to test minfo_get_thumb_path_for_video API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-10-13\r
-*/\r
-\r
-#include "utc_minfo_get_thumb_path_for_video_func.h"\r
-\r
-\r
-/**\r
-* @brief       This tests int minfo_get_thumb_path_for_video() API with valid parameter\r
-*              get thumbnail pathname for a media content.\r
-* @par ID      utc_minfo_get_thumb_path_for_video_func_01\r
-* @param       [in] \r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_minfo_get_thumb_path_for_video_func_01()\r
-{\r
-       int ret = -1;\r
-       int size = 256;\r
-       \r
-       char thumb_path_for_video[256] = {'\0'};\r
-       char *file_url = "/opt/media/Videos/Helicopter.mp4";\r
-\r
-       ret = minfo_get_thumb_path_for_video(handle, file_url,thumb_path_for_video, size);\r
-\r
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get thumbnail pathname for a media content. error code->%d", ret);\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int minfo_get_thumb_path_for_video() API with invalid parameter\r
-*                      get thumbnail pathname for a media content.\r
-* @par ID      utc_minfo_get_thumb_path_for_video_func_02\r
-* @param       [in] \r
-* @return      error code on success \r
-*/\r
-void utc_minfo_get_thumb_path_for_video_func_02()\r
-{\r
-       int ret = -1;\r
-       int size = 20;\r
-       \r
-       char thumb_path_for_video[256] = {'\0'};\r
-       char *file_url = NULL;\r
-\r
-       ret = minfo_get_thumb_path_for_video(handle, file_url,thumb_path_for_video, size);\r
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "get thumbnail pathname for a media content should be failed because of the file_url NULL.");\r
-}\r
diff --git a/TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.h b/TC/utc/visual/utc_minfo_get_thumb_path_for_video_func.h
deleted file mode 100644 (file)
index c5d471f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_thumb_path_for_video_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_thumb_path_for_video API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_thumb_path_for_video_FUNC_H_\r
-#define __UTS_minfo_get_thumb_path_for_video_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_thumb_path_for_video_func_01();\r
-void utc_minfo_get_thumb_path_for_video_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_thumb_path_for_video_func_01, 1},\r
-       {utc_minfo_get_thumb_path_for_video_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_thumb_path_for_video_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_get_thumb_path_func.c b/TC/utc/visual/utc_minfo_get_thumb_path_func.c
deleted file mode 100644 (file)
index 5f048e2..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_minfo_get_thumb_path_func.c\r
-* @brief       This is a suit of unit test cases to test minfo_get_thumb_path API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-10-13\r
-*/\r
-\r
-#include "utc_minfo_get_thumb_path_func.h"\r
-\r
-\r
-/**\r
-* @brief       This tests int minfo_get_thumb_path() API with valid parameter\r
-*              get thumbnail pathname for a media content.\r
-* @par ID      utc_minfo_get_thumb_path_func_01\r
-* @param       [in] \r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_minfo_get_thumb_path_func_01()\r
-{\r
-       int ret = -1;\r
-       int size = 256;\r
-       \r
-       char thumb_path[256] = {'\0'};\r
-       char *file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";\r
-\r
-       ret = minfo_get_thumb_path(handle, file_url,thumb_path, size);\r
-\r
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to get thumbnail pathname for a media content. error code->%d", ret);\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int minfo_get_thumb_path() API with invalid parameter\r
-*                      get thumbnail pathname for a media content.\r
-* @par ID      utc_minfo_get_thumb_path_func_02\r
-* @param       [in] \r
-* @return      error code on success \r
-*/\r
-void utc_minfo_get_thumb_path_func_02()\r
-{\r
-       int ret = -1;\r
-       int size = 20;\r
-       \r
-       char thumb_path[256] = {'\0'};\r
-       char *file_url = NULL;/* = "/opt/media/Images/Wallpapers/Home_01.jpg";*/\r
-\r
-       ret = minfo_get_thumb_path(handle, file_url,thumb_path, size);\r
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "get thumbnail pathname for a media content should be failed because of the file_url NULL.");\r
-}\r
diff --git a/TC/utc/visual/utc_minfo_get_thumb_path_func.h b/TC/utc/visual/utc_minfo_get_thumb_path_func.h
deleted file mode 100644 (file)
index b89af40..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_get_thumb_path_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_get_thumb_path API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_thumb_path_FUNC_H_\r
-#define __UTS_minfo_get_thumb_path_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_get_thumb_path_func_01();\r
-void utc_minfo_get_thumb_path_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_get_thumb_path_func_01, 1},\r
-       {utc_minfo_get_thumb_path_func_02, 2},  \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_thumb_path_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_media_func.c b/TC/utc/visual/utc_minfo_media_func.c
deleted file mode 100644 (file)
index 457e622..0000000
+++ /dev/null
@@ -1,289 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_free_glist_func.c
-* @brief       This is a suit of unit test cases to test minfo_add_media, minfo_copy_media, minfo_cp_media, minfo_delete_media, minfo_delete_media_id API functions
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_media_func.h"
-
-static int _ite_fn( Mitem* item, void* user_data) 
-{
-       GList** list = (GList**) user_data;
-       *list = g_list_append( *list, item );
-
-       return 0;
-}
-
-int _get_id_by_url(const char* url, char *id)
-{
-       int ret;
-       Mitem* item = NULL;
-
-       ret = minfo_get_item(handle, url, &item );
-       if( ret < 0 ) {
-               dts_message(API_NAME, "minfo_get_item fail");
-               return -1;
-       }
-
-       strncpy(id, item->uuid, 256);
-
-       return 0;
-}
-
-
-/**
-* @brief       This tests int minfo_add_media() API with valid parameter
-*              Add a media content to media table.
-* @par ID      utc_minfo_add_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_add_media_func_01()
-{
-       int err = -1;
-       char *file_url = "/opt/media/Images/Wallpapers/Home_01.jpg";
-       int type = 1;
-
-       err = minfo_add_media(handle, file_url, type);
-
-       dts_check_ge(API_NAME, err, MB_SVC_ERROR_NONE, "unable to Add a media content to media table. error code->%d", err);
-}
-
-
-/**
-* @brief               This tests int minfo_add_media() API with invalid parameter
-*                      Add a media content to media table.
-* @par ID      utc_minfo_add_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_add_media_func_02()
-{      
-       int err = -1;
-       char *file_url = NULL; /*= "/opt/media/Images/Wallpapers/Home_01.jpg";*/
-       int type = 1;
-
-       err = minfo_add_media(handle, file_url, type);  
-               
-       dts_check_lt(API_NAME, err, MB_SVC_ERROR_NONE,"Add a media content to media table should be failed because of the file_url NULL.");
-}
-
-/**
-* @brief       This tests int minfo_copy_media() API with valid parameter
-*              Copy a media content from media table.
-* @par ID      utc_minfo_copy_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_copy_media_func_01()
-{
-       int err = -1;
-       char *old_file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-       char *new_file_url = "/opt/media/Images/Wallpapers/Home_default_1.jpg";
-       int type = 1;
-
-       err = minfo_copy_media(handle, old_file_url, new_file_url, type);
-
-       dts_check_ge(API_NAME, err, MB_SVC_ERROR_NONE, "unable to Copy a media content from media table.. error code->%d", err);
-
-}
-
-
-/**
-* @brief               This tests int minfo_copy_media() API with invalid parameter
-*                      Copy a media content from media table.
-* @par ID      utc_minfo_copy_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_copy_media_func_02()
-{      
-       int err = -1;
-       char *old_file_url = NULL; /*= "/opt/media/Images/Wallpapers/Home_default.jpg";*/
-       char *new_file_url = "/opt/media/Images/Wallpapers/Home_default_1.jpg";
-       int type = 1;
-
-       err = minfo_copy_media(handle, old_file_url, new_file_url, type);
-               
-       dts_check_lt(API_NAME, err, MB_SVC_ERROR_NONE, "Copy a media content from media table should be failed because of the file_url NULL.");
-}
-
-
-/**
-* @brief       This tests int minfo_cp_media() API with valid parameter
-*              copy a record identified by media id to destination folder identified by folder id.
-* @par ID      utc_minfo_cp_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_cp_media_func_01()
-{
-       int ret = -1;
-       
-       char *file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-       char src_media_uuid[256] = {0,};
-       char src_cluster_uuid[256] = {0,};
-       char *dst_cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-
-       Mitem* item = NULL;
-
-       ret = minfo_get_item(handle, file_url, &item );
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail( API_NAME, "unable to get a media content from media table. error code->%d", ret);
-               return;
-       }
-
-       strncpy(src_media_uuid, item->uuid, sizeof(src_media_uuid));
-       strncpy(src_cluster_uuid, item->cluster_uuid, sizeof(src_cluster_uuid));
-
-       minfo_destroy_mtype_item(item); 
-
-       ret = minfo_cp_media(handle, src_media_uuid, dst_cluster_uuid);
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "failed to copy a record identified by media id to destination folder identified by folder id. error code->%d", ret);
-               return;
-       }
-       
-       GList *p_list = NULL;
-       minfo_item_filter item_filter = {MINFO_ITEM_ALL,MINFO_MEDIA_SORT_BY_NONE,-1,-1,false,false};
-       Mitem* dest_item = NULL;
-
-       ret = minfo_get_item_list(handle, dst_cluster_uuid, item_filter, _ite_fn, &p_list);
-       
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to get media records. error code->%d", ret);
-       }
-
-       int len = g_list_length( p_list );
-       dest_item = (Mitem*)g_list_nth_data(p_list, len-1);
-       ret = minfo_delete_media_id(handle, dest_item->uuid );
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to delete media records. error code->%d", ret);
-       }
-
-       minfo_destroy_mtype_item(dest_item);    
-
-       dts_pass(API_NAME, "minfo_cp_media succeeded");
-
-       return;
-}
-
-/**
-* @brief               This tests int minfo_cp_media() API with invalid parameter
-*                      copy a record identified by media id to destination folder identified by folder id.
-* @par ID      utc_minfo_cp_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_cp_media_func_02()
-{
-       int ret = -1;
-       
-       char *src_media_uuid = NULL;
-       char *dst_cluster_uuid = NULL;
-
-       ret = minfo_cp_media(handle, src_media_uuid, dst_cluster_uuid);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"copy a record identified by media id to destination folder identified by folder id should be failed because of the src_media_id -1.");
-}
-
-/**
-* @brief       This tests int minfo_delete_media() API with valid parameter
-*              Delete a media content from media table.
-* @par ID      utc_minfo_delete_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_media_func_01()
-{
-       int err = -1;
-       char *file_url = "/opt/media/Images/Wallpapers/Home_01.jpg";
-
-       err = minfo_delete_media(handle, file_url);
-
-       dts_check_ge(API_NAME, err, MB_SVC_ERROR_NONE, "unable to Add a media content to media table. error code->%d", err);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_media() API with invalid parameter
-*                      Delete a media content from media table.
-* @par ID      utc_minfo_delete_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_media_func_02()
-{      
-       int err = -1;
-       char *file_url = NULL; /*= "/opt/media/Images/Wallpapers/Home_01.jpg";*/
-
-       err = minfo_delete_media(handle, file_url);
-       dts_check_lt(API_NAME, err, MB_SVC_ERROR_NONE,"Delete a media content from media table should be failed because of the file_url NULL.");
-}
-
-
-/**
-* @brief       This tests int minfo_delete_media_id() API with valid parameter
-*              delete a record identified by media id from 'media' table.
-* @par ID      utc_minfo_delete_media_id_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_media_id_func_01()
-{
-       int ret = -1;
-       char media_uuid[256] = {0,};
-       
-       _get_id_by_url("/opt/media/Images/Wallpapers/Home_default_1.jpg", media_uuid);
-       ret = minfo_delete_media_id(handle, media_uuid);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to delete a record identified by media id from 'media' table. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_media_id() API with invalid parameter
-*                      delete a record identified by media id from 'media' table.
-* @par ID      utc_minfo_delete_media_id_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_media_id_func_02()
-{
-       int ret = -1;
-       
-       char *media_uuid = NULL;
-       ret = minfo_delete_media_id(handle, media_uuid);
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "delete a record identified by media id from 'media' table should be failed because of the media_id -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_media_func.h b/TC/utc/visual/utc_minfo_media_func.h
deleted file mode 100644 (file)
index 45fa683..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_media_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_add_media, minfo_copy_media, minfo_cp_media, minfo_delete_media, minfo_delete_media_id API functions
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_media_FUNC_H_
-#define __UTS_minfo_media_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_add_media_func_01();
-void utc_minfo_add_media_func_02();
-void utc_minfo_copy_media_func_01();
-void utc_minfo_copy_media_func_02();
-void utc_minfo_cp_media_func_01();
-void utc_minfo_cp_media_func_02();
-void utc_minfo_delete_media_func_01();
-void utc_minfo_delete_media_func_02();
-void utc_minfo_delete_media_id_func_01();
-void utc_minfo_delete_media_id_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_add_media_func_01, 1},
-       {utc_minfo_copy_media_func_01, 1},
-       {utc_minfo_cp_media_func_01, 1},
-       {utc_minfo_delete_media_func_01, 1},
-       {utc_minfo_delete_media_id_func_01, 1},
-       {utc_minfo_add_media_func_02, 2},       
-       {utc_minfo_copy_media_func_02, 2},      
-       {utc_minfo_cp_media_func_02, 2},        
-       {utc_minfo_delete_media_func_02, 2},    
-       {utc_minfo_delete_media_id_func_02, 2}, 
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_media_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_move_media_func.c b/TC/utc/visual/utc_minfo_move_media_func.c
deleted file mode 100644 (file)
index 2c0a6e5..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_move_media_func.c
-* @brief       This is a suit of unit test cases to test minfo_move_media API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_move_media_func.h"
-
-
-/**
-* @brief       This tests int minfo_move_media() API with valid parameter
-*              Move a media content from media table.
-* @par ID      utc_minfo_move_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_move_media_func_01()
-{
-       int err = -1;
-       char *old_file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-       char *new_file_url = "/opt/media/Images/Wallpapers/Home_default_2.jpg";
-       int type = 1;
-
-       err = minfo_move_media(handle, old_file_url, new_file_url, type);
-
-       if (err < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to Move a media content from media table. error code->%d", err);
-       }
-
-       err = minfo_move_media(handle, new_file_url, old_file_url, type);
-       if (err < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to Move a media content from media table. error code->%d", err);
-       }
-       
-       dts_pass(API_NAME, "utc_minfo_move_media_func_01 succeeded");
-       
-       return;
-}
-
-
-/**
-* @brief               This tests int minfo_move_media() API with invalid parameter
-*                      Move a media content from media table.
-* @par ID      utc_minfo_move_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_move_media_func_02()
-{      
-       int err = -1;
-       char *old_file_url = NULL; /*= "/opt/media/Images/Wallpapers/Home_01.jpg";*/
-       char *new_file_url = "/opt/media/Images/Wallpapers/Home_01_1.jpg";
-       int type = 1;
-
-       err = minfo_move_media(handle, old_file_url, new_file_url, type);
-       dts_check_lt(API_NAME, err, MB_SVC_ERROR_NONE,"Move a media content from media table should be failed because of the file_url NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_move_media_func.h b/TC/utc/visual/utc_minfo_move_media_func.h
deleted file mode 100644 (file)
index 74fbf80..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_move_media_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_move_media API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_move_media_FUNC_H_\r
-#define __UTS_minfo_move_media_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_move_media_func_01();\r
-void utc_minfo_move_media_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_move_media_func_01, 1},\r
-       {utc_minfo_move_media_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_move_media_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_mv_media_func.c b/TC/utc/visual/utc_minfo_mv_media_func.c
deleted file mode 100644 (file)
index 05d8a6c..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_mv_media_func.c
-* @brief       This is a suit of unit test cases to test minfo_mv_media API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_mv_media_func.h"
-
-
-/**
-* @brief       This tests int minfo_mv_media() API with valid parameter
-*              move a record identified by media id to destination folder identified by folder id.
-* @par ID      utc_minfo_mv_media_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_mv_media_func_01()
-{
-       int ret = -1;
-       
-       char *file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-       char src_media_uuid[256] = {0,};
-       char src_cluster_uuid[256] = {0,};
-       char *dst_cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-
-       Mitem* item = NULL;
-
-
-       ret = minfo_get_item(handle, file_url, &item );
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to get a media content from media table. error code->%d", ret);
-       }
-
-       strncpy(src_media_uuid, item->uuid, sizeof(src_media_uuid));
-       strncpy(src_cluster_uuid, item->cluster_uuid, sizeof(src_cluster_uuid));
-
-       ret = minfo_mv_media(handle, src_media_uuid, dst_cluster_uuid);
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "failed to move a record identified by media id to destination folder identified by folder id. error code->%d", ret);
-       }
-
-       ret = minfo_mv_media(handle, src_media_uuid, src_cluster_uuid);
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "failed to move a record identified by media id to destination folder identified by folder id. error code->%d", ret);
-       }
-       
-       dts_pass(API_NAME, "utc_minfo_mv_media_func_01 succeeded");
-       return;
-}
-
-
-/**
-* @brief               This tests int minfo_mv_media() API with invalid parameter
-*                      move a record identified by media id to destination folder identified by folder id.
-* @par ID      utc_minfo_mv_media_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_mv_media_func_02()
-{
-       int ret = -1;
-       
-       char *src_media_uuid = NULL;
-       char *dst_cluster_uuid = NULL;
-
-       ret = minfo_mv_media(handle, src_media_uuid, dst_cluster_uuid);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"move a record identified by media id to destination folder identified by folder id should be failed because of the src_media_id -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_mv_media_func.h b/TC/utc/visual/utc_minfo_mv_media_func.h
deleted file mode 100644 (file)
index 590de4e..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_minfo_mv_media_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_mv_media API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_mv_media_FUNC_H_\r
-#define __UTS_minfo_mv_media_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_mv_media_func_01();\r
-void utc_minfo_mv_media_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_mv_media_func_01, 1},\r
-       {utc_minfo_mv_media_func_02, 2},        \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_mv_media_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_set_cluster_lock_status_func.c b/TC/utc/visual/utc_minfo_set_cluster_lock_status_func.c
deleted file mode 100644 (file)
index bae5754..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_set_cluster_lock_status.c
-* @brief       This is a suit of unit test cases to test minfo_set_cluster_lock_status API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_set_cluster_lock_status_func.h"
-
-
-/**
-* @brief       This tests int minfo_set_cluster_lock_status() API with valid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_set_cluster_lock_status_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_set_cluster_lock_status_func_01()
-{
-       int ret = -1;
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";
-       int status = 1;
-
-    ret = minfo_set_cluster_lock_status(handle, cluster_uuid, status);
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to set status to lock the album.  error code->%d", ret);
-       }
-
-    ret = minfo_set_cluster_lock_status(handle, cluster_uuid, 0);
-
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to set status to unlock the album.  error code->%d", ret);
-       }
-       
-       dts_pass(API_NAME, "utc_minfo_set_cluster_lock_status_func_01 succeeded");
-       
-       return;
-}
-
-
-/**
-* @brief               This tests int minfo_set_cluster_lock_status() API with invalid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_set_cluster_lock_status_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_set_cluster_lock_status_func_02()
-{
-       int ret = -1;
-       const char *cluster_uuid = NULL;
-       int status = 2;
-
-    ret = minfo_set_cluster_lock_status(handle, cluster_uuid, status);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "Setting lock status to the album should be failed because of the status is invalid.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_set_cluster_lock_status_func.h b/TC/utc/visual/utc_minfo_set_cluster_lock_status_func.h
deleted file mode 100644 (file)
index ffe14a2..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_minfo_set_cluster_lock_status_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_set_cluster_lock_status API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_set_cluster_lock_status_FUNC_H_
-#define __UTS_minfo_set_cluster_lock_status_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_set_cluster_lock_status_func_01();
-void utc_minfo_set_cluster_lock_status_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_set_cluster_lock_status_func_01, 1},
-       {utc_minfo_set_cluster_lock_status_func_02, 2}, 
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_set_cluster_lock_status_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_set_db_valid_func.c b/TC/utc/visual/utc_minfo_set_db_valid_func.c
deleted file mode 100644 (file)
index 6d4620e..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file        utc_minfo_set_db_valid.c
-* @brief       This is a suit of unit test cases to test minfo_set_db_valid API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_set_db_valid_func.h"
-
-
-/**
-* @brief       This tests int minfo_set_db_valid() API with valid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_set_db_valid_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_set_db_valid_func_01()
-{
-       int ret = -1;
-       int valid = 1;
-
-       minfo_store_type storage_type = MINFO_PHONE;
-
-    ret = minfo_set_db_valid(handle, storage_type, valid);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to set value of valid. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_set_db_valid() API with invalid parameter
-*                      Set status for lock to DB
-* @par ID      utc_minfo_set_db_valid_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_set_db_valid_func_02()
-{
-       int ret = -1;
-       int valid = 2;
-
-       minfo_store_type storage_type = MINFO_PHONE;
-
-    ret = minfo_set_db_valid(handle, storage_type, valid);
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "Setting value of valid should be failed because of the status is invalid.");
-}
-
diff --git a/TC/utc/visual/utc_minfo_set_db_valid_func.h b/TC/utc/visual/utc_minfo_set_db_valid_func.h
deleted file mode 100644 (file)
index d550879..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                utc_minfo_set_db_valid_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_set_db_valid API function
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_set_db_valid_FUNC_H_
-#define __UTS_minfo_set_db_valid_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_set_db_valid_func_01();
-void utc_minfo_set_db_valid_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_set_db_valid_func_01, 1},
-       {utc_minfo_set_db_valid_func_02, 2},    
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_set_db_valid_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_tag_func.c b/TC/utc/visual/utc_minfo_tag_func.c
deleted file mode 100644 (file)
index bf3b9d2..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file        utc_minfo_tag_func.c
-* @brief       This is a suit of unit test cases to test minfo_add_tag and minfo_delete_tag API functions
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_tag_func.h"
-
-/**
-* @brief       This tests int minfo_add_tag() API with valid parameter
-*              add a cluser record content in folder table.
-* @par ID      utc_minfo_add_tag_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_add_tag_func_01()
-{
-       int ret = -1;
-       const char *tag = "Family";
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-       
-       ret = minfo_add_tag(handle, media_uuid, tag);
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to add a tag. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_add_tag() API with invalid parameter
-*                      add a cluser record content in folder table.
-* @par ID      utc_minfo_add_tag_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_add_tag_func_02()
-{
-       int ret = -1;
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-       const char *tag = NULL;
-       
-       ret = minfo_add_tag(handle, media_uuid, tag);
-
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "Adding a tag should be failed because of the cluster_url NULL.");
-}
-
-
-/**
-* @brief       This tests int minfo_delete_tag() API with valid parameter
-*              delete a cluster/folder identified by folder id.
-* @par ID      utc_minfo_delete_tag_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_delete_tag_func_01()
-{
-       int ret = -1;
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-       const char *tag = "Family";
-
-       ret = minfo_delete_tag(handle, media_uuid, tag);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "failed to delete a tag. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_delete_tag() API with invalid parameter
-*                      delete a cluster/folder identified by folder id.
-* @par ID      utc_minfo_delete_tag_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_delete_tag_func_02()
-{
-       int ret = -1;
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-       const char *tag = NULL;
-
-       ret = minfo_delete_tag(handle, media_uuid, tag);
-        
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "deleting a tag should be failed because of the cluster_id -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_tag_func.h b/TC/utc/visual/utc_minfo_tag_func.h
deleted file mode 100644 (file)
index 49fd018..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-/**
-* @file                utc_minfo_tag_func.h
-* @author      
-* @brief       This is the implementaion file for the test case of minfo_add_tag and minfo_delete_tag API functions
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_minfo_tag_FUNC_H_
-#define __UTS_minfo_tag_FUNC_H_
-
-
-#include "utc_visual_svc_common.h"
-
-/* Initialize TCM data structures */
-void (*tet_startup)() = startup;
-void (*tet_cleanup)() = cleanup;
-
-void utc_minfo_add_tag_func_01();
-void utc_minfo_add_tag_func_02();
-void utc_minfo_delete_tag_func_01();
-void utc_minfo_delete_tag_func_02();
-
-struct tet_testlist tet_testlist[] = {
-       {utc_minfo_add_tag_func_01, 1},
-       {utc_minfo_delete_tag_func_01, 1},
-       {utc_minfo_add_tag_func_02, 2}, 
-       {utc_minfo_delete_tag_func_02, 2},      
-       {NULL, 0}
-};
-
-
-#endif //__UTS_minfo_tag_FUNC_H_
diff --git a/TC/utc/visual/utc_minfo_update_cluster_name_func.c b/TC/utc/visual/utc_minfo_update_cluster_name_func.c
deleted file mode 100644 (file)
index f8c8be7..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_minfo_update_cluster_name_func.c\r
-* @brief       This is a suit of unit test cases to test minfo_update_cluster_name API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-10-13\r
-*/\r
-\r
-#include "utc_minfo_update_cluster_name_func.h"\r
-\r
-\r
-/**\r
-* @brief       This tests int minfo_update_cluster_name() API with valid parameter\r
-*              Update a cluster name.\r
-* @par ID      utc_minfo_update_cluster_name_func_01\r
-* @param       [in] \r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_minfo_update_cluster_name_func_01()\r
-{\r
-       int ret = -1;\r
-       \r
-       const char *cluster_uuid = "8ac1df34-efa8-4143-a47e-5b6f4bac8c96";\r
-       char *new_name = "newfolder";\r
-       char origin_name[256];\r
-       memset( origin_name, 0x00, 256 );\r
-\r
-       ret = minfo_get_cluster_name_by_id(handle, cluster_uuid, origin_name, 256); \r
-       if (ret < MB_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail(API_NAME, "unable to get a cluster name. error code->%d", ret);\r
-       }\r
-\r
-       ret = minfo_update_cluster_name(handle, cluster_uuid,new_name);\r
-\r
-       if (ret < MB_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail(API_NAME, "unable to get a cluster name. error code->%d", ret);\r
-       }\r
-       \r
-       ret = minfo_update_cluster_name(handle, cluster_uuid, origin_name);\r
-\r
-       if (ret < MB_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail(API_NAME, "unable to Reupdate a cluster name. error code->%d", ret);\r
-       }\r
-\r
-       dts_pass(API_NAME, "utc_minfo_update_cluster_name_func_01 succeeded");\r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int minfo_update_cluster_name() API with invalid parameter\r
-*                      Update a cluster name.\r
-* @par ID      utc_minfo_update_cluster_name_func_02\r
-* @param       [in] \r
-* @return      error code on success \r
-*/\r
-void utc_minfo_update_cluster_name_func_02()\r
-{      \r
-       int ret = -1;\r
-       \r
-       const char *cluster_uuid = NULL;\r
-       char *new_name = NULL; /*= "newfolder";*/\r
-\r
-       ret = minfo_update_cluster_name(handle, cluster_uuid, new_name);\r
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Update a cluster name should be failed because of the new_name parameter NULL.");\r
-       \r
-}\r
-\r
diff --git a/TC/utc/visual/utc_minfo_update_cluster_name_func.h b/TC/utc/visual/utc_minfo_update_cluster_name_func.h
deleted file mode 100644 (file)
index 81dc27d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_update_cluster_name_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_update_cluster_name API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_get_item_list_FUNC_H_\r
-#define __UTS_minfo_get_item_list_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_update_cluster_name_func_01();\r
-void utc_minfo_update_cluster_name_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_update_cluster_name_func_01, 1},\r
-       {utc_minfo_update_cluster_name_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_get_item_list_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.c b/TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.c
deleted file mode 100644 (file)
index 6d56e56..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_update_favorite_by_media_id_func.c
-* @brief       This is a suit of unit test cases to test minfo_update_favorite_by_media_id API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_update_favorite_by_media_id_func.h"
-
-
-/**
-* @brief       This tests int minfo_update_favorite_by_media_id() API with valid parameter
-*              update favorite field for media file.
-* @par ID      utc_minfo_update_favorite_by_media_id_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_update_favorite_by_media_id_func_01()
-{
-       int ret = -1;
-       
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";
-
-       int favorite = 0;
-
-       ret = minfo_update_media_favorite(handle, media_uuid, favorite);
-
-       dts_check_ge(API_NAME, ret, MB_SVC_ERROR_NONE, "unable to update favorite field for media file. error code->%d", ret);
-}
-
-
-/**
-* @brief               This tests int minfo_update_favorite_by_media_id() API with invalid parameter
-*                      update favorite field for media file.
-* @par ID      utc_minfo_update_favorite_by_media_id_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_update_favorite_by_media_id_func_02()
-{      
-       int ret = -1;
-       
-       const char *media_uuid = NULL;
-       int favorite = 2;
-
-       ret = minfo_update_media_favorite(handle, media_uuid, favorite);
-       
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "update favorite field for media file should be failed because of the media_id parameter -1.");
-}
diff --git a/TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.h b/TC/utc/visual/utc_minfo_update_favorite_by_media_id_func.h
deleted file mode 100644 (file)
index 28e35a6..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_update_favorite_by_media_id_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_update_favorite_by_media_id API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_update_favorite_by_media_id_FUNC_H_\r
-#define __UTS_minfo_update_favorite_by_media_id_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_update_favorite_by_media_id_func_01();\r
-void utc_minfo_update_favorite_by_media_id_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_update_favorite_by_media_id_func_01, 1},\r
-       {utc_minfo_update_favorite_by_media_id_func_02, 2},     \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_update_favorite_by_media_id_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_update_media_favorite_func.c b/TC/utc/visual/utc_minfo_update_media_favorite_func.c
deleted file mode 100644 (file)
index b4f683b..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file        utc_minfo_update_media_favorite_func.c\r
-* @brief       This is a suit of unit test cases to test minfo_update_media_favorite API function\r
-* @author              \r
-* @version     Initial Creation Version 0.1\r
-* @date        2010-10-13\r
-*/\r
-\r
-#include "utc_minfo_update_media_favorite_func.h"\r
-\r
-\r
-/**\r
-* @brief       This tests int minfo_update_media_favorite() API with valid parameter\r
-*              update 'favorite' feild of a media content in media table.\r
-* @par ID      utc_minfo_update_media_name_func_01\r
-* @param       [in] \r
-* @return      This function returns zero on success, or negative value with error code\r
-*/\r
-void utc_minfo_update_media_favorite_func_01()\r
-{\r
-       int ret = -1;\r
-       const char *media_uuid = "aa33f347-988b-41f4-8a53-9df24ea86bc4";\r
-       int favorite_level = 1;\r
-\r
-    ret = minfo_update_media_favorite(handle, media_uuid, favorite_level);\r
-\r
-       if (ret < MB_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail(API_NAME, "unable to update 'favorite' feild of a media content in media table. error code->%d", ret);\r
-       }\r
-       \r
-    ret = minfo_update_media_favorite(handle, media_uuid, 0);\r
-\r
-       if (ret < MB_SVC_ERROR_NONE)\r
-       {\r
-               dts_fail(API_NAME, "unable to reupdate 'favorite' feild of a media content in media table. error code->%d", ret);\r
-       }\r
-\r
-       dts_pass(API_NAME, "utc_minfo_update_media_favorite_func_01 succeeded");\r
-       \r
-}\r
-\r
-\r
-/**\r
-* @brief               This tests int minfo_update_media_favorite() API with invalid parameter\r
-*                      update 'favorite' feild of a media content in media table.\r
-* @par ID      utc_minfo_update_media_name_func_02\r
-* @param       [in] \r
-* @return      error code on success \r
-*/\r
-void utc_minfo_update_media_favorite_func_02()\r
-{\r
-       int ret = -1;\r
-       const char *media_uuid = NULL;\r
-       int favorite_level = 1;\r
-\r
-    ret = minfo_update_media_favorite(handle, media_uuid, favorite_level);\r
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE, "update 'favorite' feild of a media content in media table should be failed because of the new_name NULL.");\r
-}\r
diff --git a/TC/utc/visual/utc_minfo_update_media_favorite_func.h b/TC/utc/visual/utc_minfo_update_media_favorite_func.h
deleted file mode 100644 (file)
index fd7f701..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-/**\r
-* @file                utc_minfo_update_media_favorite_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_update_media_favorite API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_update_media_favorite_FUNC_H_\r
-#define __UTS_minfo_update_media_favorite_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_update_media_favorite_func_01();\r
-void utc_minfo_update_media_favorite_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_update_media_favorite_func_01, 1},\r
-       {utc_minfo_update_media_favorite_func_01, 2},   \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_update_media_favorite_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_update_media_name_func.c b/TC/utc/visual/utc_minfo_update_media_name_func.c
deleted file mode 100644 (file)
index 430b38f..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_update_media_name_func.c
-* @brief       This is a suit of unit test cases to test minfo_update_media_name API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_update_media_name_func.h"
-
-
-/**
-* @brief       This tests int minfo_update_media_name() API with valid parameter
-*              Rename a media content from media table.
-* @par ID      utc_minfo_update_media_name_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_update_media_name_func_01()
-{
-       int ret = -1;
-       char *file_url = "/opt/media/Images/Wallpapers/Home_default.jpg";
-       char origin_name[256];
-       char *new_name = "Home_01.jpg";
-       Mitem* item = NULL;
-       memset( origin_name, 0x00, 256 );
-
-
-       ret = minfo_get_item(handle, file_url, &item );
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to get a media content from media table. error code->%d", ret);
-       }
-
-       if( item ) {
-               strncpy( origin_name, item->display_name, sizeof( origin_name ) );
-       ret = minfo_update_media_name(handle, item->uuid, new_name);
-
-               if (ret < MB_SVC_ERROR_NONE)
-               {
-                       dts_fail(API_NAME, "unable to Rename a media content from media table. error code->%d", ret);
-               }
-
-       ret = minfo_update_media_name(handle, item->uuid, origin_name);
-
-               if (ret < MB_SVC_ERROR_NONE)
-               {
-                       dts_fail(API_NAME, "unable to Rename a media content from media table. error code->%d", ret);
-               }
-       }
-               
-       dts_pass(API_NAME, "utc_minfo_update_media_name_func_01 succeeded");
-}
-
-
-/**
-* @brief               This tests int minfo_update_media_name() API with invalid parameter
-*                      Rename a media content from media table.
-* @par ID      utc_minfo_update_media_name_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_update_media_name_func_02()
-{
-       int ret = -1;
-       const char *media_uuid = NULL;
-       char *new_name = NULL;/*= "Home_01.jpg";*/
-
-    ret = minfo_update_media_name(handle, media_uuid, new_name);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"Rename a media content from media table should be failed because of the new_name NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_update_media_name_func.h b/TC/utc/visual/utc_minfo_update_media_name_func.h
deleted file mode 100644 (file)
index d55edc6..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_update_media_name_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_update_media_name API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_update_media_name_FUNC_H_\r
-#define __UTS_minfo_update_media_name_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_update_media_name_func_01();\r
-void utc_minfo_update_media_name_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_update_media_name_func_01, 1},\r
-       {utc_minfo_update_media_name_func_02, 2},       \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_update_media_name_FUNC_H_\r
diff --git a/TC/utc/visual/utc_minfo_update_video_meta_info_int_func.c b/TC/utc/visual/utc_minfo_update_video_meta_info_int_func.c
deleted file mode 100644 (file)
index 842ad7d..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file        utc_minfo_update_video_meta_info_int_func.c
-* @brief       This is a suit of unit test cases to test minfo_update_video_meta_info_int API function
-* @author              
-* @version     Initial Creation Version 0.1
-* @date        2010-10-13
-*/
-
-#include "utc_minfo_update_video_meta_info_int_func.h"
-
-
-/**
-* @brief       This tests int minfo_update_video_meta_info_int() API with valid parameter
-*              Rename a media content from media table.
-* @par ID      utc_minfo_update_video_meta_info_int_func_01
-* @param       [in] 
-* @return      This function returns zero on success, or negative value with error code
-*/
-void utc_minfo_update_video_meta_info_int_func_01()
-{
-       int ret = -1;
-       char *file_url = "/opt/media/Videos/Helicopter.mp4";
-       char origin_name[256];
-       Mitem* item = NULL;
-       memset( origin_name, 0x00, 256 );
-
-
-       ret = minfo_get_item(handle, file_url, &item);
-       if (ret < MB_SVC_ERROR_NONE)
-       {
-               dts_fail(API_NAME, "unable to get a media content from media table. error code->%d", ret);
-       }
-
-       if( item ) {
-               strncpy( origin_name, item->display_name, sizeof( origin_name ) );
-       ret = minfo_update_video_meta_info_int(handle, item->uuid, MINFO_VIDEO_META_BOOKMARK_LAST_PLAYED, 3000);
-
-               if (ret < MB_SVC_ERROR_NONE)
-               {
-                       dts_fail(API_NAME, "unable to update a media content from media table. error code->%d", ret);
-               }
-
-       ret = minfo_update_video_meta_info_int(handle, item->uuid, MINFO_VIDEO_META_BOOKMARK_LAST_PLAYED, 0);
-
-               if (ret < MB_SVC_ERROR_NONE)
-               {
-                       dts_fail(API_NAME, "unable to reupdate a media content from media table. error code->%d", ret);
-               }
-       }
-               
-       dts_pass(API_NAME, "utc_minfo_update_video_meta_info_int_func_01 succeeded");
-}
-
-
-/**
-* @brief               This tests int minfo_update_video_meta_info_int() API with invalid parameter
-*                      Rename a media content from media table.
-* @par ID      utc_minfo_update_video_meta_info_int_func_02
-* @param       [in] 
-* @return      error code on success 
-*/
-void utc_minfo_update_video_meta_info_int_func_02()
-{
-       int ret = -1;
-       const char *media_uuid = NULL;
-       minfo_video_meta_field_t meta_field = MINFO_VIDEO_META_BOOKMARK_LAST_PLAYED;
-
-    ret = minfo_update_video_meta_info_int(handle, media_uuid, meta_field, 3000);
-               
-       dts_check_lt(API_NAME, ret, MB_SVC_ERROR_NONE,"update a media content from media table should be failed because of the new_name NULL.");
-}
diff --git a/TC/utc/visual/utc_minfo_update_video_meta_info_int_func.h b/TC/utc/visual/utc_minfo_update_video_meta_info_int_func.h
deleted file mode 100644 (file)
index 37c294a..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*\r
- * libmedia-service\r
- *\r
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
- *\r
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-\r
-/**\r
-* @file                utc_minfo_update_video_meta_info_int_func.h\r
-* @author      \r
-* @brief       This is the implementaion file for the test case of minfo_update_video_meta_info_int API function\r
-* @version     Initial Creation Version 0.1\r
-* @date                2010-10-13\r
-*/\r
-\r
-#ifndef __UTS_minfo_update_video_meta_info_int_FUNC_H_\r
-#define __UTS_minfo_update_video_meta_info_int_FUNC_H_\r
-\r
-\r
-#include "utc_visual_svc_common.h"\r
-\r
-/* Initialize TCM data structures */\r
-void (*tet_startup)() = startup;\r
-void (*tet_cleanup)() = cleanup;\r
-\r
-void utc_minfo_update_video_meta_info_int_func_01();\r
-void utc_minfo_update_video_meta_info_int_func_02();\r
-\r
-struct tet_testlist tet_testlist[] = {\r
-       {utc_minfo_update_video_meta_info_int_func_01, 1},\r
-       {utc_minfo_update_video_meta_info_int_func_02, 2},      \r
-       {NULL, 0}\r
-};\r
-\r
-\r
-#endif //__UTS_minfo_update_video_meta_info_int_FUNC_H_\r
diff --git a/TC/utc/visual/utc_visual_svc_common.h b/TC/utc/visual/utc_visual_svc_common.h
deleted file mode 100644 (file)
index 2f60950..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * libmedia-service
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
- *
- * 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.
- *
- */
-
-
-/**
-* @file                utc_visual_svc_common.h
-* @author      
-* @brief       This is the implementaion file for the test case of media service
-
-* @version     Initial Creation Version 0.1
-* @date                2010-10-13
-*/
-
-#ifndef __UTS_VISUAL_SVC_COMMON_H_
-#define __UTS_VISUAL_SVC_COMMON_H_
-
-#include <media-svc.h>
-#include <visual-svc.h>
-#include <string.h>
-#include <tet_api.h>
-#include <unistd.h>
-#include <glib.h>
-
-#define MAX_STRING_LEN 256
-
-#define UTC_MM_LOG(fmt, args...)       tet_printf("[%s(L%d)]:"fmt"\n", __FUNCTION__, __LINE__, ##args)
-#define API_NAME "libmedia-service"
-
-MediaSvcHandle *handle;
-
-#define UTC_MEDIA_SVC_CONNECT() \
-do \
-{ \
-       int ret = 0; \
-       ret = media_svc_connect(&handle); \
-       if (ret < MB_SVC_ERROR_NONE) \
-       { \
-               UTC_MM_LOG( "unable to connect to media db. error code->%d", ret); \
-               tet_result(TET_FAIL); \
-               return; \
-       } \
-} \
-while(0);
-
-#define UTC_MEDIA_SVC_DISCONNECT() \
-do \
-{ \
-       int ret = 0; \
-       ret = media_svc_disconnect(handle); \
-       if (ret < MB_SVC_ERROR_NONE) \
-       { \
-               UTC_MM_LOG( "unable to disconnect. error code->%d", ret); \
-               tet_result(TET_FAIL); \
-               return; \
-       } \
-} \
-while(0);
-
-void startup()
-{
-       UTC_MEDIA_SVC_CONNECT()
-}
-
-void cleanup()
-{
-       UTC_MEDIA_SVC_DISCONNECT()
-}
-
-
-#endif //__UTS_VISUAL_SVC_COMMON_H_
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100755 (executable)
index 0908b49..0000000
+++ /dev/null
@@ -1,988 +0,0 @@
-libmedia-service (0.1.121) unstable; urgency=low
-
-  * insert Content info to DB even though fail extract metadata information
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.121
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 17 Aug 2012 10:57:03 +0900
-
-libmedia-service (0.1.120) unstable; urgency=low
-
-  * Fix a crash because of data type
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.120
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 14 Aug 2012 19:00:00 +0900
-
-libmedia-service (0.1.119) unstable; urgency=low
-
-  * Remove drm-trusted dependancy
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.119
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 14 Aug 2012 19:00:00 +0900
-
-libmedia-service (0.1.118) unstable; urgency=low
-
-  * Change type of size to long long
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.118
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 13 Aug 2012 19:00:00 +0900
-
-libmedia-service (0.1.117) unstable; urgency=low
-
-  * Fix a bug when extracting width and height in video
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.117
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 10 Aug 2012 18:00:00 +0900
-
-libmedia-service (0.1.116) unstable; urgency=low
-
-  * Use new api thumbnail_request_from_db_with_size when insert items
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.116
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 31 Jul 2012 18:00:00 +0900
-
-libmedia-service (0.1.115) unstable; urgency=low
-
-  * Doesnt do rollback when a query fails in batch jobs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.115
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 30 Jul 2012 18:00:00 +0900
-
-libmedia-service (0.1.114) unstable; urgency=low
-
-  * Modify packaging file to make stripped lib
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.114
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 9 Jul 2012 18:00:00 +0900
-
-libmedia-service (0.1.113) unstable; urgency=low
-
-  * Create new api media_svc_rename_folder
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.113
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 6 Jul 2012 19:00:00 +0900
-
-libmedia-service (0.1.112) unstable; urgency=low
-
-  * bug fix of get thumbnail path
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.112
-
- -- root <backto.kim@samsung.com>  Thu, 05 Jul 2012 18:04:07 +0900
-
-libmedia-service (0.1.111) unstable; urgency=low
-
-  * separate plug-in for old and new DB 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.111
-
- -- Haejeong Kim <backto.kim@samsung.com>  Thu, 28 Jun 2012 19:15:05 +0900
-
-libmedia-service (0.1.110) unstable; urgency=low
-
-  * make added time value to time_t
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.110
-
- -- root <backto.kim@samsung.com>  Wed, 20 Jun 2012 11:53:33 +0900
-
-libmedia-service (0.1.109) unstable; urgency=low
-
-  * enable other type support
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.109
-
- -- Haejeong Kim <backto.kim@samsung.com>  Mon, 04 Jun 2012 16:45:52 +0900
-
-libmedia-service (0.1.108) unstable; urgency=low
-
-  * Remove hiding field in new media db
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.108
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 1 Jun 2012 15:00:00 +0900
-
-libmedia-service (0.1.107) unstable; urgency=low
-
-  * Update sql query
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.107
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 25 May 2012 15:00:00 +0900
-
-libmedia-service (0.1.106) unstable; urgency=low
-
-  * Fix a bug that doesn't finalize a statement
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.106
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 22 May 2012 20:00:00 +0900
-
-libmedia-service (0.1.105) unstable; urgency=low
-
-  * Change DRM apis
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.105
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 22 May 2012 18:00:00 +0900
-
-libmedia-service (0.1.104) unstable; urgency=low
-
-  * Enable new media-svc apis in plugin
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.104
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 21 May 2012 18:00:00 +0900
-
-libmedia-service (0.1.103) unstable; urgency=low
-
-  * Add refresh API
-  * Git : slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.103
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 16 May 2012 14:53:36 +0900
-
-libmedia-service (0.1.102) unstable; urgency=low
-
-  * Add a new api minfo_update_media_orientation
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.102
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 14 May 2012 18:00:00 +0900
-
-libmedia-service (0.1.101) unstable; urgency=low
-
-  * bug fix of stat
-  * Git : slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.101
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 16 Mar 2012 14:01:32 +0900
-
-libmedia-service (0.1.100) unstable; urgency=low
-
-  * add file_name field to support BADA
-  * Git : slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.100
-
- -- Haejeong Kim <backto.kim@samsung.com>  Tue, 13 Mar 2012 11:08:21 +0900
-
-libmedia-service (0.1.99) unstable; urgency=low
-
-  * Update spec file for OBS build
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.99
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 9 Mar 2012 18:00:00 +0900
-
-libmedia-service (0.1.98) unstable; urgency=low
-
-  * Rollback to enable to exctract thumbnail when bulk-insert
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.98
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 5 Mar 2012 14:00:00 +0900
-
-libmedia-service (0.1.97) unstable; urgency=low
-
-  * bug fix of memory free
-  * Git : slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.97
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 02 Mar 2012 17:42:33 +0900
-
-libmedia-service (0.1.96) unstable; urgency=low
-
-  * The api update_begin starts to call thumbnail_request_extract_all_thumbs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.96
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 29 Feb 2012 18:00:00 +0900
-
-libmedia-service (0.1.95) unstable; urgency=low
-
-  * Reduce buffer size of stack
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.95
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 20 Feb 2011 20:00:00 +0900
-
-libmedia-service (0.1.94) unstable; urgency=low
-
-  * get Album info also when get list item.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.94
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 17 Feb 2012 17:22:01 +0900
-
-libmedia-service (0.1.93) unstable; urgency=low
-
-  * Add a routine to extract thumbnail when adding visual items
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.93
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 15 Feb 2011 18:00:00 +0900
-
-libmedia-service (0.1.92) unstable; urgency=low
-
-  * code clean up.
-  * Update TC
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.92
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 10 Feb 2012 17:34:35 +0900
-
-libmedia-service (0.1.91) unstable; urgency=low
-
-  * Fix a bug
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.91
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 6 Feb 2011 18:00:00 +0900
-
-libmedia-service (0.1.90) unstable; urgency=low
-
-  * Enable plugin
-  * New api : minfo_get_all_item_count
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.90
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 3 Feb 2011 11:00:00 +0900
-
-libmedia-service (0.1.89) unstable; urgency=low
-
-  * Fix a bug to get visual media list
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.89
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 1 Feb 2011 11:00:00 +0900
-
-libmedia-service (0.1.88) unstable; urgency=low
-
-  * Change to latest source from rollback
-  * Add new api minfo_get_all_item_conut
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.88
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 30 Jan 2011 23:00:00 +0900
-
-libmedia-service (0.1.87) unstable; urgency=low
-
-  * Rollback to 0.1.85
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.87
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 30 Jan 2011 23:00:00 +0900
-
-libmedia-service (0.1.86) unstable; urgency=low
-
-  * Add DB field : size in visual_media, genre in video_meta
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.86
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 30 Jan 2011 23:00:00 +0900
-
-libmedia-service (0.1.85) unstable; urgency=low
-
-  * Change that makes user managing db handle
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.85
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 18 Jan 2011 17:00:00 +0900
-
-libmedia-service (0.1.84) unstable; urgency=low
-
-  * Remove a dependancy of libmedia-thumbnail
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.84
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 5 Jan 2011 18:30:00 +0900
-
-libmedia-service (0.1.83) unstable; urgency=low
-
-  * Fix dependancy
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.83
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 4 Jan 2011 16:30:00 +0900
-
-libmedia-service (0.1.82) unstable; urgency=low
-
-  * Remove md5 codes 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.82
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 3 Jan 2011 18:30:00 +0900
-
-libmedia-service (0.1.81) unstable; urgency=low
-
-  * Arrange MD5 algorithm opensource
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.81
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 28 Dec 2011 18:30:00 +0900
-
-libmedia-service (0.1.80) unstable; urgency=low
-
-  * some APIs are not deprecated.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.80
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 07 Dec 2011 12:35:23 +0900
-
-libmedia-service (0.1.79) unstable; urgency=low
-
-  * code cleanup.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-service
-  * Tag : libmedia-service_0.1.79
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 07 Dec 2011 11:00:14 +0900
-
-libmedia-service (0.1.78) unstable; urgency=low
-
-  * Change the name of this pkg from libmedia-info to libmedia-service
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-service_0.1.78
-
- -- Haejeong Kim <backto.kim@samsung.com>  Tue, 29 Nov 2011 18:30:00 +0900
-
-libmedia-info (0.1.77) unstable; urgency=low
-
-  * mark deprecated functions : mediainfo_register_file
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.77
-
- -- Yong Yeon Kim <yy9875.kim@samsung.com>  Wed, 30 Nov 2011 16:33:07 +0900
-
-libmedia-info (0.1.76) unstable; urgency=low
-
-  * Fix a bug for deleting invalid items
-  * code clean up
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.76
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 29 Nov 2011 18:30:00 +0900
-
-libmedia-info (0.1.75) unstable; urgency=low
-
-  * code clean up.
-  * fix thumbnail bug when adding bulk insertion
-  * modify code to same folrder but different web_album_id can be added to DB 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.75
-
- -- Haejeong Kim <backto.kim@samsung.com>  Thu, 24 Nov 2011 10:43:43 +0900
-
-libmedia-info (0.1.74) unstable; urgency=low
-
-  * code clean up. remove unused code and files.
-  * register busy_handler 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.74
-
- -- backto.kim <backto.kim@samsung.com>  Tue, 22 Nov 2011 17:47:39 +0900
-
-libmedia-info (0.1.73) unstable; urgency=low
-
-  * bug fix. disable album_id
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.73
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 16 Nov 2011 11:00:37 +0900
-
-libmedia-info (0.1.72) unstable; urgency=low
-
-  * modify insert_item to reduce db commit time.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.72
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 11 Nov 2011 14:38:24 +0900
-
-libmedia-info (0.1.71) unstable; urgency=low
-
-  * Fix CQ defects
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.71
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 10 Nov 2011 14:30:00 +0900
-
-libmedia-info (0.1.70) unstable; urgency=low
-
-  * Fix prevents defects
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.70
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 7 Nov 2011 18:30:00 +0900
-
-libmedia-info (0.1.69) unstable; urgency=low
-
-  * sorting case insenstive
-  * bug fix of add folder info
-  * remove unused API
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.69
-
- -- Haejeong Kim <backto.kim@samsung.com>  Mon, 07 Nov 2011 16:45:49 +0900
-
-libmedia-info (0.1.68) unstable; urgency=low
-
-  * Fix a bug in mb_svc_get_media_id_by_http_url 
-  * The length of path buffer is changed
-  * Sorting with case independent
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.68
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 3 Nov 2011 18:30:00 +0900
-
-libmedia-info (0.1.67) unstable; urgency=low
-
-  * Fix a bug in video bookmark 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.67
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 3 Nov 2011 10:30:00 +0900
-
-libmedia-info (0.1.66) unstable; urgency=low
-
-  * Apply UUID 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.66
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 2 Nov 2011 19:30:00 +0900
-
-libmedia-info (0.1.65) unstable; urgency=low
-
-  * modify albumart image type. (png to proper img type)
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.65
-
- -- Haejeong Kim <backto.kim@samsung.com>  Mon, 24 Oct 2011 11:05:49 +0900
-
-libmedia-info (0.1.64) unstable; urgency=low
-
-  * add timeout to socket
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.64
-
- -- Yong Yeon Kim <yy9875.kim@samsung.com>  Wed, 19 Oct 2011 16:48:55 +0900
-
-libmedia-info (0.1.63) unstable; urgency=low
-
-  * change way to IPC of register file from DBUS to UDP
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.63
-
- -- Yong Yeon Kim <yy9875.kim@samsung.com>  Wed, 19 Oct 2011 11:18:13 +0900
-
-libmedia-info (0.1.62) unstable; urgency=low
-
-  * Fix a problem when moving items
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.62
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 12 Oct 2011 19:30:00 +0900
-
-libmedia-info (0.1.61) unstable; urgency=low
-
-  * Remove code to create thumbnail
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.61
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 12 Oct 2011 12:30:00 +0900
-
-libmedia-info (0.1.60) unstable; urgency=low
-
-  * Fix a critical bug when inserting items
-  * modify audio_svc_move_item to reduce db commit time
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.60
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 11 Oct 2011 18:30:00 +0900
-
-libmedia-info (0.1.59) unstable; urgency=low
-
-  * Fix some bugs and prevent defects
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.59
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 10 Oct 2011 17:30:00 +0900
-
-libmedia-info (0.1.58) unstable; urgency=low
-
-  * Fix some bugs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.58
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 7 Aug 2011 12:30:00 +0900
-
-libmedia-info (0.1.57) unstable; urgency=low
-
-  * Fix the defect H0100134184
-  * New api minfo_update_image_meta_info_int and minfo_update_media_thumb
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.57
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 4 Aug 2011 15:30:00 +0900
-
-libmedia-info (0.1.56) unstable; urgency=low
-
-  * Disable SPLUSA feature
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.56
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 28 Sep 2011 10:59:39 +0900
-
-libmedia-info (0.1.55) unstable; urgency=low
-
-  * Change an option when opening files 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.55
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 23 Aug 2011 17:00:00 +0900
-
-libmedia-info (0.1.54) unstable; urgency=low
-
-  * Fix a bug when querying a string including escape character
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.54
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 23 Aug 2011 17:00:00 +0900
-
-libmedia-info (0.1.53) unstable; urgency=low
-
-  * add code to get favourite value 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.53
-
- -- Haejeong Kim <backto.kim@samsung.com>  Fri, 23 Sep 2011 10:17:49 +0900
-
-libmedia-info (0.1.52) unstable; urgency=low
-
-  * Fix minor bug when saving thumbnail of video
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.52
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 21 Aug 2011 12:00:00 +0900
-
-libmedia-info (0.1.51) unstable; urgency=low
-
-  * Fix defects when saving thumbnail of video
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.51
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 21 Aug 2011 12:00:00 +0900
-
-libmedia-info (0.1.50) unstable; urgency=low
-
-  * add favourite field in audio_media table 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.50
-
- -- Haejeong Kim <backto.kim@samsung.com>  Tue, 20 Sep 2011 09:24:39 +0900
-
-libmedia-info (0.1.49) unstable; urgency=low
-
-  * Change not to resize if it's small jpeg when making thumbs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.49
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 19 Aug 2011 12:00:00 +0900
-
-libmedia-info (0.1.48) unstable; urgency=low
-
-  * Fix a bug rotation in thumb
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.48
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 17 Aug 2011 17:00:00 +0900
-
-libmedia-info (0.1.47) unstable; urgency=low
-
-  * Fix a minor bug in audio_svc_list_by_search
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.47
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 16 Aug 2011 17:00:00 +0900
-
-libmedia-info (0.1.46) unstable; urgency=low
-
-  * Fix some bugs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.46
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 15 Aug 2011 20:00:00 +0900
-
-libmedia-info (0.1.45) unstable; urgency=low
-
-  * Rotate thumbnails according to its orientation
-  * Improve the logic of handling exif info
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.45
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 15 Aug 2011 19:00:00 +0900
-
-libmedia-info (0.1.44) unstable; urgency=low
-
-  * Fix bugs when making thumb
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.44
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 15 Aug 2011 15:00:00 +0900
-
-libmedia-info (0.1.43) unstable; urgency=low
-
-  * Codes to decide if the DRM file is image or video
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.43
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 14 Aug 2011 19:00:00 +0900
-
-libmedia-info (0.1.42) unstable; urgency=low
-
-  * Fix a bug when writing thumb file
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.42
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 09 Aug 2011 11:00:00 +0900
-
-libmedia-info (0.1.41) unstable; urgency=low
-
-  * Remove gdk dependency in control file
-  * Check width and height when extracting thumb in exif
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.41
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 08 Aug 2011 15:00:00 +0900
-
-libmedia-info (0.1.40) unstable; urgency=low
-
-  * Remove gdk dependency
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.40
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 07 Aug 2011 18:00:00 +0900
-
-libmedia-info (0.1.39) unstable; urgency=low
-
-  * Update music mime and file register code 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.39
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 07 Sep 2011 08:47:28 +0900
-
-libmedia-info (0.1.38) unstable; urgency=low
-
-  * Improve minfo_delete_invalid_media_records
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.38
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 05 Aug 2011 18:00:00 +0900
-
-libmedia-info (0.1.37) unstable; urgency=low
-
-  * DB schema changed.
-  * query for getting artist is changed. Since UX change 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.37
-
- -- Haejeong Kim <backto.kim@samsung.com>  Mon, 05 Sep 2011 14:18:23 +0900
-
-libmedia-info (0.1.36) unstable; urgency=low
-
-  * Improve minfo_set_db_valid api
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.36
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 29 Aug 2011 15:00:00 +0900
-
-libmedia-info (0.1.35) unstable; urgency=low
-
-  * Add a busy handler to sqlite
-  * Add new api mediainfo_register_file 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.35
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 24 Aug 2011 19:00:00 +0900
-
-libmedia-info (0.1.34) unstable; urgency=low
-
-  * Change the directory name from /mnt/mmc to /opt/storage/sdcard
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.34
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 17 Aug 2011 15:00:00 +0900
-
-libmedia-info (0.1.33) unstable; urgency=low
-
-  * Change the maximum of resolution to be able to get thumbnail to 3000x3000
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.33
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 4 Aug 2011 19:00:00 +0900
-
-libmedia-info (0.1.32) unstable; urgency=low
-
-  * Change the maximum of resolution to be able to get thumbnail
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.32
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 2 Aug 2011 11:00:00 +0900
-
-libmedia-info (0.1.31) unstable; urgency=low
-
-  * Make it atomic to manage db handlers
-  * Modify to make ecore evas
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.31
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 29 Jul 2011 17:00:00 +0900
-
-libmedia-info (0.1.30) unstable; urgency=low
-
-  * Add new api for search
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.30
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 28 Jul 2010 20:00:00 +0900
-
-libmedia-info (0.1.29) unstable; urgency=low
-
-  * Fix a bug of positioning when getting list 
-  * Fix defects from prevent and memory leak
-  * Modify the path of default thumbnail
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.29
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 22 Jul 2010 18:00:00 +0900
-
-libmedia-info (0.1.28) unstable; urgency=low
-
-  * Fix defects from prevent and memory leak
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.28
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 11 Jul 2010 18:00:00 +0900
-
-libmedia-info (0.1.27) unstable; urgency=low
-
-  * Enable to extract thumbnails using evas
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.27
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 5 Jul 2010 18:00:00 +0900
-
-libmedia-info (0.1.26) unstable; urgency=low
-
-  * Fix the crash in media server and CQ H0100128875
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.26
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 1 Jul 2010 18:00:00 +0900
-
-libmedia-info (0.1.25) unstable; urgency=low
-
-  * Fix the api minfo_update_cluster_name
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.25
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 29 Jun 2010 18:00:00 +0900
-
-libmedia-info (0.1.24) unstable; urgency=low
-
-  * Added new api minfo_add_web_media_with_type
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.24
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 17 Jun 2010 16:00:00 +0900
-
-libmedia-info (0.1.23) unstable; urgency=low
-
-  * Added codes to use transaction when writing DB
-  * Fixed a problem of web media and get_list of locked folder
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.23
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 13 Jun 2010 18:00:00 +0900
-
-libmedia-info (0.1.22) unstable; urgency=low
-
-  * Change the way to decide mime type 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.22
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 13 Jun 2010 18:00:00 +0900
-
-libmedia-info (0.1.21) unstable; urgency=low
-
-  * Fix a problem of positioning in minfo_get_item_list
-  * Fix a problem of minfo_delete_media_id
-  * Prevent thumbnail extraction of high resolution jpeg files
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.21
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Fri, 10 Jun 2010 18:00:00 +0900
-
-libmedia-info (0.1.20) unstable; urgency=low
-
-  * Fix a problem of getting count apis
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.20
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 9 Jun 2010 12:00:00 +0900
-
-libmedia-info (0.1.19) unstable; urgency=low
-
-  * Add new apis - minfo_get_media_count_by_tagname, minfo_get_media_list_by_tagname_with_filter
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.19
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 8 Jun 2010 14:00:00 +0900
-
-libmedia-info (0.1.18) unstable; urgency=low
-
-  * Fix problems in minfo_update_cluster_name
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.18
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 2 Jun 2010 15:00:00 +0900
-
-libmedia-info (0.1.17) unstable; urgency=low
-
-  * Fix problems in minfo_get_media_list
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.17
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Tue, 31 May 2010 17:00:00 +0900
-
-libmedia-info (0.1.16) unstable; urgency=low
-
-  * Fix a crash in gallery
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.16
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 25 May 2010 17:00:00 +0900
-
-libmedia-info (0.1.15) unstable; urgency=low
-
-  * New codes to extract new meta info
-  * Changes in minfo_get_thumb_path according to new policy
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.15
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 25 May 2010 15:00:00 +0900
-
-libmedia-info (0.1.14) unstable; urgency=low
-
-  * Fix a bug in minfo_delete_media_id 
-  * Fix prevent defects
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.14
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 23 May 2010 16:00:00 +0900
-
-libmedia-info (0.1.13) unstable; urgency=low
-
-  * Fix myfiles problem
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.13
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 19 May 2010 19:00:00 +0900
-
-libmedia-info (0.1.12) unstable; urgency=low
-
-  * Call g_type_init
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.12
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 18 May 2010 12:00:00 +0900
-
-libmedia-info (0.1.11) unstable; urgency=low
-
-  * Control DB handles in each thread for audio-svc.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.11
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 17 May 2010 15:00:00 +0900
-
-libmedia-info (0.1.10) unstable; urgency=low
-
-  * Control DB handles in each thread. 
-  * Change from sprintf to snprintf
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.10
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 16 May 2010 16:00:00 +0900
-
-libmedia-info (0.1.9) unstable; urgency=low
-
-  * Rollback media-svc APIs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.9
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 11 May 2010 19:00:00 +0900
-
-libmedia-info (0.1.8) unstable; urgency=low
-
-  * remove media-svc APIs
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.8
-
- -- Yong Yeon Kim <yy9875.kim@samsung.com>  Fri, 06 May 2011 18:26:36 +0900
-
-libmedia-info (0.1.7) unstable; urgency=low
-
-  * enable SPLUSA and modify TC
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.7
-
- -- Yong Yeon Kim <yy9875.kim@samsung.com>  Fri, 06 May 2011 17:27:04 +0900
-
-libmedia-info (0.1.4) unstable; urgency=low
-
-  * enable SPLUSA and modify TC
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.4
-
- -- Haejeong Kim <backto.kim@samsung.com>  Wed, 04 May 2011 08:59:32 +0900
-
-libmedia-info (0.1.3) unstable; urgency=low
-
-  * Modify parameter of audio_svc_delete_invalid_items
-  * Add new apis minfo_update_media_date, minfo_get_item_by_http_url
-  * Add new attributes for image and video meta structures 
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.3
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 2 May 2010 17:00:00 +0900
-
-libmedia-info (0.1.2) unstable; urgency=low
-
-  * Add new attributes for media tag structures.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.2
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Mon, 2 May 2010 15:50:00 +0900
-
-libmedia-info (0.1.1) unstable; urgency=low
-
-  * Modification for review.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.1
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Thu, 28 Apr 2010 15:50:00 +0900
-
-libmedia-info (0.1.0) unstable; urgency=low
-
-  * Initial Release.
-  * New DB schema for visual and audio media contents.
-  * Git : 165.213.180.234:slp/pkgs/l/libmedia-info
-  * Tag : libmedia-info_0.1.0
-
- -- Hyunjun Ko <zzoon.ko@samsung.com>  Wed, 27 Apr 2010 15:50:00 +0900
diff --git a/debian/compat b/debian/compat
deleted file mode 100755 (executable)
index 7ed6ff8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100755 (executable)
index 3ba3f19..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-Source: libmedia-service
-Section: libs
-Priority: extra
-Maintainer: Hyunjun Ko<zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>, Byungwook Jang <bw.jang@samsung.com>
-Uploaders: Hyunjun Ko<zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
-Build-Depends: debhelper (>= 5), libglib2.0-dev,
-               dlog-dev,
-               libslp-db-util-dev,
-               libsqlite3-dev, 
-               libmm-fileinfo-dev, 
-               libmm-utility-dev, 
-               drm-client-dev,
-               libexif-dev,
-               libevas-dev,
-               libecore-dev,
-               libmedia-thumbnail-dev,
-               libaul-1-dev
-Standards-Version: 0.1
-Homepage: N/A
-
-Package: libmedia-service
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Media information service library for multimedia applications.
-
-Package: libmedia-service-dev
-Section: libdevel
-Architecture: any
-Depends: libmedia-service (= ${Source-Version}), libsqlite3-dev, libslp-db-util-dev, libmm-common-dev, libmm-fileinfo-dev, libmm-utility-dev, libglib2.0-dev, libxext-dev, dlog-dev, drm-client-dev, libevas-dev, libecore-dev, libexif-dev, libmedia-thumbnail, libaul-1-dev
-Description: Media information service library for multimedia applications. (development)
-
-Package: libmedia-service-dbg
-Section: debug
-Architecture: any
-Depends:  ${misc:Depends}, libmedia-service (= ${Source-Version})
-Description: Media information service library for multimedia applications. (unstripped)
-
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100755 (executable)
index 8eb7553..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
-
-Contact: Hyunjun Ko <zzoon.ko@samsung.com>, Haejeong Kim <backto.kim@samsung.com>
-
-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.
-
-
diff --git a/debian/docs b/debian/docs
deleted file mode 100755 (executable)
index a0f0008..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CMakeLists.txt
diff --git a/debian/libmedia-service-dev.install.in b/debian/libmedia-service-dev.install.in
deleted file mode 100755 (executable)
index bb9b916..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-@PREFIX@/lib/pkgconfig/*
-@PREFIX@/include/*
diff --git a/debian/libmedia-service.install.in b/debian/libmedia-service.install.in
deleted file mode 100755 (executable)
index 636e09d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@PREFIX@/lib/libmedia-*.so*
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 41d28dc..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS += -Wall -g
-LDFLAGS +=
-PREFIX ?= /usr
-DATADIR ?= /usr/share
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0 -fPIC
-else
-       CFLAGS += -O2 -fPIC
-endif
-
-LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed -Wl,--hash-style=both
-
-CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       # Add here commands to configure the package.
-       mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && \
-       CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" cmake .. -DCMAKE_INSTALL_PREFIX="$(PREFIX)"
-
-       touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-       dh_testdir
-
-       # Add here commands to compile the package.
-       cd $(CMAKE_BUILD_DIR) && $(MAKE)
-
-       for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
-               cat $$f > $${f%.in}; \
-               sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
-               sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
-       done
-
-       touch $@
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp configure-stamp
-
-       # Add here commands to clean up after the build process.
-       rm -rf $(CMAKE_BUILD_DIR)
-
-       for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
-               rm -f $${f%.in}; \
-       done
-
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-
-       # Add here commands to install the package into debian/wavplayer.
-       cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installexamples
-       dh_install --sourcedir=debian/tmp
-#      dh_installmenu
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
-       dh_installman
-       dh_link
-       dh_strip --dbg-package=libmedia-service-dbg
-       dh_compress
-       dh_fixperms
-#      dh_perl
-       dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
index eda18cf..5675ae8 100644 (file)
@@ -1,8 +1,7 @@
-#sbs-git:slp/pkgs/l/libmedia-service libmedia-service 0.1.101 9a5b1f60f91231fdd7bf8d0ba935602f03425400
 Name:       libmedia-service
 Summary:    Media information service library for multimedia applications.
 Version: 0.1.121
-Release:    1
+Release:    2
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz