[UTC][metadata-editor][ACR-1810] Deprecate all APIs 87/303087/3
authorminje.ahn <minje.ahn@samsung.com>
Wed, 20 Dec 2023 02:04:39 +0000 (11:04 +0900)
committerMinje ahn <minje.ahn@samsung.com>
Wed, 3 Jan 2024 06:20:56 +0000 (06:20 +0000)
Change-Id: Id4dd1b97e7dbaa29f823a010cfa701cd738e2c3e
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
54 files changed:
packaging/utc/core-metadata-editor-tests.spec [deleted file]
packaging/utc/core-metadata-editor-tests.xml [deleted file]
scripts_tpk/spec.sh
scripts_tpk/tizeniot_service_modules.txt
scripts_tpk/tpk_create.sh
src/utc/metadata-editor/CMakeLists.txt [deleted file]
src/utc/metadata-editor/post-install/post-inst.sh [deleted file]
src/utc/metadata-editor/public.list [deleted file]
src/utc/metadata-editor/res/mobile/id3tag_v1.mp3 [deleted file]
src/utc/metadata-editor/res/mobile/no_tag.mp3 [deleted file]
src/utc/metadata-editor/res/mobile/sample.jpg [deleted file]
src/utc/metadata-editor/res/mobile/sample_audio.flac [deleted file]
src/utc/metadata-editor/res/mobile/sample_audio.mp3 [deleted file]
src/utc/metadata-editor/res/mobile/sample_audio.ogg [deleted file]
src/utc/metadata-editor/res/mobile/sample_audio.wav [deleted file]
src/utc/metadata-editor/res/mobile/sample_audio_flac.ogg [deleted file]
src/utc/metadata-editor/res/mobile/sample_m4a.m4a [deleted file]
src/utc/metadata-editor/res/mobile/sample_video.mp4 [deleted file]
src/utc/metadata-editor/res/tizeniot/id3tag_v1.mp3 [deleted file]
src/utc/metadata-editor/res/tizeniot/no_tag.mp3 [deleted file]
src/utc/metadata-editor/res/tizeniot/sample.jpg [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_audio.flac [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_audio.ogg [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_audio.wav [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_audio_flac.ogg [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_m4a.m4a [deleted file]
src/utc/metadata-editor/res/tizeniot/sample_video.mp4 [deleted file]
src/utc/metadata-editor/res/tv/id3tag_v1.mp3 [deleted file]
src/utc/metadata-editor/res/tv/no_tag.mp3 [deleted file]
src/utc/metadata-editor/res/tv/sample.jpg [deleted file]
src/utc/metadata-editor/res/tv/sample_audio.flac [deleted file]
src/utc/metadata-editor/res/tv/sample_audio.mp3 [deleted file]
src/utc/metadata-editor/res/tv/sample_audio.ogg [deleted file]
src/utc/metadata-editor/res/tv/sample_audio.wav [deleted file]
src/utc/metadata-editor/res/tv/sample_audio_flac.ogg [deleted file]
src/utc/metadata-editor/res/tv/sample_m4a.m4a [deleted file]
src/utc/metadata-editor/res/tv/sample_video.mp4 [deleted file]
src/utc/metadata-editor/res/wearable/id3tag_v1.mp3 [deleted file]
src/utc/metadata-editor/res/wearable/no_tag.mp3 [deleted file]
src/utc/metadata-editor/res/wearable/sample.jpg [deleted file]
src/utc/metadata-editor/res/wearable/sample_audio.flac [deleted file]
src/utc/metadata-editor/res/wearable/sample_audio.mp3 [deleted file]
src/utc/metadata-editor/res/wearable/sample_audio.ogg [deleted file]
src/utc/metadata-editor/res/wearable/sample_audio.wav [deleted file]
src/utc/metadata-editor/res/wearable/sample_audio_flac.ogg [deleted file]
src/utc/metadata-editor/res/wearable/sample_m4a.m4a [deleted file]
src/utc/metadata-editor/res/wearable/sample_video.mp4 [deleted file]
src/utc/metadata-editor/tct-metadata-editor-core.c [deleted file]
src/utc/metadata-editor/tct-metadata-editor-core_mobile.h [deleted file]
src/utc/metadata-editor/tct-metadata-editor-core_tizeniot.h [deleted file]
src/utc/metadata-editor/tct-metadata-editor-core_tv.h [deleted file]
src/utc/metadata-editor/tct-metadata-editor-core_wearable.h [deleted file]
src/utc/metadata-editor/utc-metadata-editor.c [deleted file]

diff --git a/packaging/utc/core-metadata-editor-tests.spec b/packaging/utc/core-metadata-editor-tests.spec
deleted file mode 100755 (executable)
index 470108b..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-%define MODULE_NAME metadata-editor
-%define MODULE_LIBNAME capi-media-metadata-editor
-Name:       core-%{MODULE_NAME}-tests
-Summary:    Core API unit TC (%{name})
-Version:    0.1
-Release:    0
-Group:      Development/Tools
-License:    Apache License, Version 2.0, Samsung Properietary
-Source0:    %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(%{MODULE_LIBNAME})
-BuildRequires: cmake
-BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(taglib)
-BuildRequires:  pkgconfig(storage)
-
-%description
-Core API unit TC (%{name})
-
-%prep
-%setup -q
-
-%build
-
-%define PREFIX "%{_libdir}/%{name}"
-
-export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
-
-%if %{?ASAN_BUILD:1}0
-       %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TV:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-%else
-       %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TV:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-%endif
-
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
-mkdir -p %{buildroot}/usr/share/packages/
-cp packaging/utc/%{name}.xml %{buildroot}/usr/share/packages/
-
-mkdir -p %{buildroot}%{APP_PATH}%{name}/data
-
-%if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
-cp src/utc/metadata-editor/res/mobile/sample_audio.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/mobile/sample.jpg %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/mobile/sample_video.mp4 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/mobile/no_tag.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/mobile/id3tag_v1.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/mobile/sample_m4a.m4a %{buildroot}%{APP_PATH}%{name}/data/
-%endif
-
-%if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
-cp src/utc/metadata-editor/res/wearable/sample_audio.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/wearable/sample.jpg %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/wearable/sample_video.mp4 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/wearable/no_tag.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/wearable/id3tag_v1.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/wearable/sample_m4a.m4a %{buildroot}%{APP_PATH}%{name}/data/
-%endif
-
-%if %{?DEVICE_BUILD_TYPE_TV:1}0
-cp src/utc/metadata-editor/res/tv/sample_audio.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/tv/sample.jpg %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/tv/sample_video.mp4 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/tv/no_tag.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/tv/id3tag_v1.mp3 %{buildroot}%{APP_PATH}%{name}/data/
-cp src/utc/metadata-editor/res/tv/sample_m4a.m4a %{buildroot}%{APP_PATH}%{name}/data/
-%endif
-
-%post
-
-%postun
-
-%files
-/usr/apps/%{name}/*
-/usr/share/packages/%{name}.xml
-/usr/share/license/%{name}
diff --git a/packaging/utc/core-metadata-editor-tests.xml b/packaging/utc/core-metadata-editor-tests.xml
deleted file mode 100755 (executable)
index ab4884b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="core-metadata-editor-tests" version="0.1.0" api-version="6.0">
-    <label>CoreMetadataEditorTest</label>
-    <author email="test@samsung.com" href="www.samsung.com">test</author>
-    <description>Core API test Application</description>
-    <ui-application appid="core.metadata-editor-tests" exec="/usr/apps/core-metadata-editor-tests/bin/tct-metadata-editor-core" nodisplay="false" multiple="false" type="capp" taskmanage="true">
-    <background-category value="background-network"/>
-       <background-category value="download"/>
-       <background-category value="iot-communication"/>
-       <background-category value="location"/>
-       <background-category value="media"/>
-       <background-category value="sensor"/>
-    </ui-application>
-       <privileges>
-               <privilege>http://tizen.org/privilege/mediastorage</privilege>
-       </privileges>
-</manifest>
index 6cdfb3c8d7e2aa5d6d09047cbe177d98197f1824..bb347adb19536e069b361f93f417281e48da2e29 100644 (file)
@@ -885,17 +885,6 @@ case "$1" in
                        echo "Installing pre-requisites for the package $1"
                        install -m 755 core-capi-message-port-tests.sh $APPS_ROOT/org.tizen.capi-message-port-native-utc/bin
                        ;;
-       "org.tizen.metadata-editor-native-utc")
-                       echo "Installing pre-requisites for the package $1"
-                       mkdir -p $APP_DATA_DIR
-                       chsmack -a "User::App::Shared" $APP_DATA_DIR
-                       chsmack -e "User::App::Shared" $APP_DATA_DIR
-                       cp -rf * $APP_DATA_DIR/
-                       chown -R 5000:5000 $APP_DATA_DIR
-                       chmod -R 777 $APP_DATA_DIR
-                       chsmack -a "User::App::Shared" $APP_DATA_DIR/*
-                       chsmack -e "User::App::Shared" $APP_DATA_DIR/*
-                       ;;
        "org.tizen.stt-native-utc")
                        echo "Installing pre-requisites for the package $1"
                        mkdir -p $APP_DATA_DIR
index efa08e2f873591900f4c636ee557664b1c8dfff4..3a1e678bc93610d9b35f8e594faa65d0e6a604ae 100755 (executable)
@@ -31,7 +31,6 @@ mediademuxer
 media-key
 mediamuxer
 mediatool
-metadata-editor
 metadata-extractor
 mime-type
 motion
index 512e1300d77f317a123fb7df756ba4a310dad2bf..7616bb0c7e2a4f4d5882f93189c47f2504c0774d 100755 (executable)
@@ -516,12 +516,6 @@ deploySourceFile() {
                fi
        fi
 
-       if [ $MODULE_NAME == "metadata-editor" ]; then
-               if [ "$5" == "utc" ]; then
-                       sed -i -e 's/core-metadata-editor-tests/org.tizen.metadata-editor-native-utc/g' $1/src/utc-metadata-editor.c
-               fi
-       fi
-
        if [ $MODULE_NAME == "sync-manager" ]; then
                if [ "$5" == "utc" ]; then
                        sed -i -e 's/core.sync-manager-tests/org.tizen.sync-manager-native-utc/g' $1/src/utc-sync-manager.c
diff --git a/src/utc/metadata-editor/CMakeLists.txt b/src/utc/metadata-editor/CMakeLists.txt
deleted file mode 100644 (file)
index a6f0fb2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-SET(PKG_NAME "metadata-editor")
-
-SET(EXEC_NAME "tct-${PKG_NAME}-core")
-SET(RPM_NAME "core-${PKG_NAME}-tests")
-
-SET(CAPI_LIB "capi-media-metadata-editor")
-SET(TC_SOURCES
-    utc-metadata-editor.c
-)
-
-PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
-    ${CAPI_LIB}
-       capi-appfw-application
-       capi-system-info
-       dlog
-)
-
-INCLUDE_DIRECTORIES(
-    ${${CAPI_LIB}_INCLUDE_DIRS}
-)
-
-ADD_EXECUTABLE(${EXEC_NAME} ${EXEC_NAME}.c ${TC_SOURCES} ${COMMON_FILE})
-TARGET_LINK_LIBRARIES(${EXEC_NAME}
-    ${${CAPI_LIB}_LIBRARIES}
-)
-
-INSTALL(PROGRAMS ${EXEC_NAME}
-    DESTINATION ${BIN_DIR}/${RPM_NAME}/bin
-)
-
-IF( DEFINED ASAN )
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -Wall -pie -g -fsanitize=address -fsanitize-recover=address -U_FORTIFY_SOURCE -fno-omit-frame-pointer")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib -Wl,-fsanitize=address")
-ELSE()
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g -fPIE -Wall")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib -pie")
-ENDIF()
-
diff --git a/src/utc/metadata-editor/post-install/post-inst.sh b/src/utc/metadata-editor/post-install/post-inst.sh
deleted file mode 100755 (executable)
index 6b1fc10..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2016 Samsung Electronics Co., Ltd.
-#
-# 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.
-#
-
-# extract TCT configuration directory from TCT_CONFIG_FILE (/home/owner/share/TCT_CONFIG)
-APP_DIR=/usr/apps
-TCT_CONFIG_FILE=/home/owner/share/TCT_CONFIG
-PKG_NAME=$1
-MODE=$2
-
-if [ $PKG_NAME == "" ] || [ $MODE == "" ]; then
-       echo ""
-       echo "****************FATAL ERROR : post-inst.sh***************************"
-       echo "PackageName/Mode is not supplied with post-inst.sh"
-       echo "Necessary Resource Files if any can not be processed"
-       echo "********************************************************************"
-       echo ""
-       return;
-fi
-
-if [ ! -f $TCT_CONFIG_FILE ];then
-       echo ""
-       echo "****************FATAL ERROR : $PKG_NAME/post-inst.sh***************************"
-       echo "$TCT_CONFIG_FILE is not Found : Can Not Read TCT Configuration Directory"
-       echo "$PKG_NAME : Necessary Resource Files if any can not be processed"
-       echo "********************************************************************"
-       echo ""
-       return;
-fi
-DEVICE_SUITE_TARGET_30=`cat $TCT_CONFIG_FILE | grep DEVICE_SUITE_TARGET_30 | cut -f 2- -d '='`
-if [ $DEVICE_SUITE_TARGET_30 == "" ]; then
-       echo ""
-       echo "****************FATAL ERROR : $PKG_NAME/post-inst.sh***************************"
-       echo "'DEVICE_SUITE_TARGET_30' key-value pair is not Found"
-       echo "$PKG_NAME : Necessary Resource Files if any can not be processed"
-       echo "********************************************************************"
-       echo ""
-       return;
-fi
-DEVICE_USER_30=`cat $TCT_CONFIG_FILE | grep DEVICE_USER_30 | cut -f 2- -d '='`
-if [ $DEVICE_USER_30 == "" ]; then
-       echo ""
-       echo "****************FATAL ERROR : $PKG_NAME/post-inst.sh***************************"
-       echo "'DEVICE_USER_30' key-value pair is not Found"
-       echo "$PKG_NAME : Necessary Resource Files if any can not be processed"
-       echo "********************************************************************"
-       echo ""
-       return;
-fi
-DEVICE_PHYSICAL_STORAGE_30=`cat $TCT_CONFIG_FILE | grep DEVICE_PHYSICAL_STORAGE_30 | cut -f 2- -d '='`
-if [ $DEVICE_PHYSICAL_STORAGE_30 == "" ]; then
-       echo ""
-       echo "****************FATAL ERROR : $PKG_NAME/post-inst.sh***************************"
-       echo "'DEVICE_PHYSICAL_STORAGE_30' key-value pair is not Found"
-       echo "$PKG_NAME : Necessary Resource Files if any can not be processed"
-       echo "********************************************************************"
-       echo ""
-       return;
-fi
-
-
-if [ $MODE == "inst" ]; then
-       echo "Installing pre-requisites for the package $PKG_NAME"
-       mkdir -p $DEVICE_USER_30/apps_rw/core-metadata-editor-tests/data/
-       cp $APP_DIR/$PKG_NAME/data/* $DEVICE_USER_30/apps_rw/core-metadata-editor-tests/data/
-       chown -R 5001:100 $DEVICE_USER_30/apps_rw/core-metadata-editor-tests/data/
-       echo "Installing the pre-requisites for the package $PKG_NAME ======> Completed"
-else
-       echo "Un-installing the pre-requisites for the package $PKG_NAME"
-       echo "Un-installing the pre-requisites for the package $PKG_NAME ======> Completed"
-fi
diff --git a/src/utc/metadata-editor/public.list b/src/utc/metadata-editor/public.list
deleted file mode 100755 (executable)
index ff2b260..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-metadata_editor_create
-metadata_editor_set_path
-metadata_editor_get_metadata
-metadata_editor_set_metadata
-metadata_editor_update_metadata
-metadata_editor_get_picture
-metadata_editor_append_picture
-metadata_editor_remove_picture
-metadata_editor_destroy
diff --git a/src/utc/metadata-editor/res/mobile/id3tag_v1.mp3 b/src/utc/metadata-editor/res/mobile/id3tag_v1.mp3
deleted file mode 100755 (executable)
index 5b92c0d..0000000
Binary files a/src/utc/metadata-editor/res/mobile/id3tag_v1.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/no_tag.mp3 b/src/utc/metadata-editor/res/mobile/no_tag.mp3
deleted file mode 100755 (executable)
index 69eeb9a..0000000
Binary files a/src/utc/metadata-editor/res/mobile/no_tag.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample.jpg b/src/utc/metadata-editor/res/mobile/sample.jpg
deleted file mode 100755 (executable)
index a1a4fc4..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample.jpg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_audio.flac b/src/utc/metadata-editor/res/mobile/sample_audio.flac
deleted file mode 100644 (file)
index b574de2..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.flac and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_audio.mp3 b/src/utc/metadata-editor/res/mobile/sample_audio.mp3
deleted file mode 100644 (file)
index 61c0f6c..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_audio.ogg b/src/utc/metadata-editor/res/mobile/sample_audio.ogg
deleted file mode 100644 (file)
index 563985d..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_audio.wav b/src/utc/metadata-editor/res/mobile/sample_audio.wav
deleted file mode 100644 (file)
index 88289d2..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio.wav and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_audio_flac.ogg b/src/utc/metadata-editor/res/mobile/sample_audio_flac.ogg
deleted file mode 100644 (file)
index 0e844ab..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_audio_flac.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_m4a.m4a b/src/utc/metadata-editor/res/mobile/sample_m4a.m4a
deleted file mode 100755 (executable)
index c33b948..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_m4a.m4a and /dev/null differ
diff --git a/src/utc/metadata-editor/res/mobile/sample_video.mp4 b/src/utc/metadata-editor/res/mobile/sample_video.mp4
deleted file mode 100644 (file)
index 2b79e2e..0000000
Binary files a/src/utc/metadata-editor/res/mobile/sample_video.mp4 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/id3tag_v1.mp3 b/src/utc/metadata-editor/res/tizeniot/id3tag_v1.mp3
deleted file mode 100755 (executable)
index 5b92c0d..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/id3tag_v1.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/no_tag.mp3 b/src/utc/metadata-editor/res/tizeniot/no_tag.mp3
deleted file mode 100755 (executable)
index 69eeb9a..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/no_tag.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample.jpg b/src/utc/metadata-editor/res/tizeniot/sample.jpg
deleted file mode 100755 (executable)
index a1a4fc4..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample.jpg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio.flac b/src/utc/metadata-editor/res/tizeniot/sample_audio.flac
deleted file mode 100644 (file)
index b574de2..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.flac and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 b/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3
deleted file mode 100755 (executable)
index 61c0f6c..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio.ogg b/src/utc/metadata-editor/res/tizeniot/sample_audio.ogg
deleted file mode 100644 (file)
index 563985d..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio.wav b/src/utc/metadata-editor/res/tizeniot/sample_audio.wav
deleted file mode 100644 (file)
index 88289d2..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio.wav and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_audio_flac.ogg b/src/utc/metadata-editor/res/tizeniot/sample_audio_flac.ogg
deleted file mode 100644 (file)
index 0e844ab..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_audio_flac.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_m4a.m4a b/src/utc/metadata-editor/res/tizeniot/sample_m4a.m4a
deleted file mode 100755 (executable)
index c33b948..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_m4a.m4a and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tizeniot/sample_video.mp4 b/src/utc/metadata-editor/res/tizeniot/sample_video.mp4
deleted file mode 100755 (executable)
index 2b79e2e..0000000
Binary files a/src/utc/metadata-editor/res/tizeniot/sample_video.mp4 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/id3tag_v1.mp3 b/src/utc/metadata-editor/res/tv/id3tag_v1.mp3
deleted file mode 100755 (executable)
index 5b92c0d..0000000
Binary files a/src/utc/metadata-editor/res/tv/id3tag_v1.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/no_tag.mp3 b/src/utc/metadata-editor/res/tv/no_tag.mp3
deleted file mode 100755 (executable)
index 69eeb9a..0000000
Binary files a/src/utc/metadata-editor/res/tv/no_tag.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample.jpg b/src/utc/metadata-editor/res/tv/sample.jpg
deleted file mode 100755 (executable)
index a1a4fc4..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample.jpg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_audio.flac b/src/utc/metadata-editor/res/tv/sample_audio.flac
deleted file mode 100644 (file)
index b574de2..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_audio.flac and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_audio.mp3 b/src/utc/metadata-editor/res/tv/sample_audio.mp3
deleted file mode 100755 (executable)
index 61c0f6c..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_audio.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_audio.ogg b/src/utc/metadata-editor/res/tv/sample_audio.ogg
deleted file mode 100644 (file)
index 563985d..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_audio.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_audio.wav b/src/utc/metadata-editor/res/tv/sample_audio.wav
deleted file mode 100644 (file)
index 88289d2..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_audio.wav and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_audio_flac.ogg b/src/utc/metadata-editor/res/tv/sample_audio_flac.ogg
deleted file mode 100644 (file)
index 0e844ab..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_audio_flac.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_m4a.m4a b/src/utc/metadata-editor/res/tv/sample_m4a.m4a
deleted file mode 100755 (executable)
index c33b948..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_m4a.m4a and /dev/null differ
diff --git a/src/utc/metadata-editor/res/tv/sample_video.mp4 b/src/utc/metadata-editor/res/tv/sample_video.mp4
deleted file mode 100755 (executable)
index 2b79e2e..0000000
Binary files a/src/utc/metadata-editor/res/tv/sample_video.mp4 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/id3tag_v1.mp3 b/src/utc/metadata-editor/res/wearable/id3tag_v1.mp3
deleted file mode 100755 (executable)
index 5b92c0d..0000000
Binary files a/src/utc/metadata-editor/res/wearable/id3tag_v1.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/no_tag.mp3 b/src/utc/metadata-editor/res/wearable/no_tag.mp3
deleted file mode 100755 (executable)
index 69eeb9a..0000000
Binary files a/src/utc/metadata-editor/res/wearable/no_tag.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample.jpg b/src/utc/metadata-editor/res/wearable/sample.jpg
deleted file mode 100755 (executable)
index a1a4fc4..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample.jpg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_audio.flac b/src/utc/metadata-editor/res/wearable/sample_audio.flac
deleted file mode 100644 (file)
index b574de2..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.flac and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_audio.mp3 b/src/utc/metadata-editor/res/wearable/sample_audio.mp3
deleted file mode 100755 (executable)
index 61c0f6c..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.mp3 and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_audio.ogg b/src/utc/metadata-editor/res/wearable/sample_audio.ogg
deleted file mode 100644 (file)
index 563985d..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_audio.wav b/src/utc/metadata-editor/res/wearable/sample_audio.wav
deleted file mode 100644 (file)
index 88289d2..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio.wav and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_audio_flac.ogg b/src/utc/metadata-editor/res/wearable/sample_audio_flac.ogg
deleted file mode 100644 (file)
index 0e844ab..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_audio_flac.ogg and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_m4a.m4a b/src/utc/metadata-editor/res/wearable/sample_m4a.m4a
deleted file mode 100755 (executable)
index c33b948..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_m4a.m4a and /dev/null differ
diff --git a/src/utc/metadata-editor/res/wearable/sample_video.mp4 b/src/utc/metadata-editor/res/wearable/sample_video.mp4
deleted file mode 100755 (executable)
index 2b79e2e..0000000
Binary files a/src/utc/metadata-editor/res/wearable/sample_video.mp4 and /dev/null differ
diff --git a/src/utc/metadata-editor/tct-metadata-editor-core.c b/src/utc/metadata-editor/tct-metadata-editor-core.c
deleted file mode 100644 (file)
index 0669c21..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// 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.
-//
-#include <stdio.h>
-#include <string.h>
-#include "tct_common.h"
-
-#ifdef MOBILE
-#include "tct-metadata-editor-core_mobile.h"
-#endif /* MOBILE */
-#ifdef WEARABLE
-#include "tct-metadata-editor-core_wearable.h"
-#endif /* WEARABLE */
-#ifdef TV
-#include "tct-metadata-editor-core_tv.h"
-#endif /* TV */
-#ifdef TIZENIOT    
-#include "tct-metadata-editor-core_tizeniot.h"
-#endif //TIZENIOT
-
-#include <malloc.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-#include <glib.h>
-#include <stdbool.h>
-#include <app.h>
-#include <dlog.h>
-
-
-
-
-       
-       
-       
-
-
-static bool app_create(void *data)
-{
-       return true;
-}
-
-static void app_control(app_control_h app_control, void *data)
-{
-       char* pszGetTCName = NULL;
-       int i=0, result=0, nRet=0;
-       nRet = app_control_get_extra_data(app_control, "testcase_name", &pszGetTCName);
-       if(nRet != APP_CONTROL_ERROR_NONE)
-       {
-               dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] app_control_get_extra_data returns error = %d", __FUNCTION__, __LINE__, nRet);
-               PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to fetch test case name: app_control_get_extra_data API call fails\\n", __FILE__, __LINE__);
-               PRINT_TC_RESULT("%d",1);
-               FREE_MEMORY_TC(pszGetTCName);
-               return;
-       }
-
-       dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Executing TC Name = %s", __FUNCTION__, __LINE__, pszGetTCName);
-       for ( i = 0; tc_array[i].name; i++ )
-       {
-               if ( 0 == strncmp(pszGetTCName, tc_array[i].name, strlen(pszGetTCName)) )
-               {
-                       DUMP_UTC_ERRLOG();
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup begin", pszGetTCName);
-                       if ( tc_array[i].startup )
-                       {
-                               tc_array[i].startup();
-                       }
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup end", pszGetTCName);
-
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Body begin", pszGetTCName);
-                       result = tc_array[i].function();
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s returns value = %d", pszGetTCName, result);
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Body end", pszGetTCName);
-
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup begin", pszGetTCName);
-                       if ( tc_array[i].cleanup )
-                       {
-                               tc_array[i].cleanup();
-                       }
-                       dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup end", pszGetTCName);
-
-                       CLOSE_UTC_ERRLOG();
-                       PRINT_TC_RESULT("%d",result);
-                       FREE_MEMORY_TC(pszGetTCName);
-                       return;
-               }
-       }
-
-       dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] Unable to execute %s : Unknown Test Case Name", __FUNCTION__, __LINE__, pszGetTCName);
-       PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to execute %s : Unknown Test Case Name\\n", __FILE__, __LINE__, pszGetTCName);
-       PRINT_TC_RESULT("%d",1);
-       FREE_MEMORY_TC(pszGetTCName);
-       return;
-}
-
-static void app_terminate(void *data)
-{
-       dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is now Terminating", __FUNCTION__, __LINE__);
-}
-
-int main(int argc, char *argv[])
-{
-       int ret = 0;
-       
-
-       ui_app_lifecycle_callback_s event_callback = {0,};
-       event_callback.create = app_create;
-       event_callback.terminate = app_terminate;
-       event_callback.app_control = app_control;
-
-       //setting gcda file location for coverage
-       setenv("GCOV_PREFIX","/tmp",1);
-       dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__);
-
-       dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__);
-       ret = ui_app_main(argc, argv, &event_callback, NULL);
-       if (ret != APP_ERROR_NONE)
-       {
-               dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);
-               PRINT_UTC_LOG("\\n[%s][Line : %d]Application ui_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret);
-               PRINT_TC_RESULT("%d",1);
-               return ret;
-       }
-
-       dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is Terminated", __FUNCTION__, __LINE__);
-       return ret;
-}
diff --git a/src/utc/metadata-editor/tct-metadata-editor-core_mobile.h b/src/utc/metadata-editor/tct-metadata-editor-core_mobile.h
deleted file mode 100644 (file)
index f6e8cf5..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// 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.
-//
-#ifndef __TCT_METADATA-EDITOR-NATIVE_H__
-#define __TCT_METADATA-EDITOR-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_metadata_editor_startup(void);
-extern void utc_metadata_editor_cleanup(void);
-
-extern int utc_metadata_editor_create_n(void);
-extern int utc_metadata_editor_create_p(void);
-extern int utc_metadata_editor_set_path_n(void);
-extern int utc_metadata_editor_set_path_p(void);
-extern int utc_metadata_editor_get_metadata_n1(void);
-extern int utc_metadata_editor_get_metadata_n2(void);
-extern int utc_metadata_editor_get_metadata_n3(void);
-extern int utc_metadata_editor_get_metadata_n4(void);
-extern int utc_metadata_editor_get_metadata_p1(void);
-extern int utc_metadata_editor_get_metadata_p2(void);
-extern int utc_metadata_editor_get_metadata_p3(void);
-extern int utc_metadata_editor_get_metadata_p4(void);
-extern int utc_metadata_editor_get_metadata_p5(void);
-extern int utc_metadata_editor_get_metadata_p6(void);
-extern int utc_metadata_editor_get_metadata_p7(void);
-extern int utc_metadata_editor_get_metadata_p8(void);
-extern int utc_metadata_editor_set_metadata_n1(void);
-extern int utc_metadata_editor_set_metadata_n2(void);
-extern int utc_metadata_editor_set_metadata_n3(void);
-extern int utc_metadata_editor_set_metadata_n4(void);
-extern int utc_metadata_editor_set_metadata_p1(void);
-extern int utc_metadata_editor_set_metadata_p2(void);
-extern int utc_metadata_editor_set_metadata_p3(void);
-extern int utc_metadata_editor_set_metadata_p4(void);
-extern int utc_metadata_editor_set_metadata_p5(void);
-extern int utc_metadata_editor_set_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_n(void);
-extern int utc_metadata_editor_update_metadata_p1(void);
-extern int utc_metadata_editor_update_metadata_p2(void);
-extern int utc_metadata_editor_update_metadata_p3(void);
-extern int utc_metadata_editor_update_metadata_p4(void);
-extern int utc_metadata_editor_update_metadata_p5(void);
-extern int utc_metadata_editor_update_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_p7(void);
-extern int utc_metadata_editor_update_metadata_p8(void);
-extern int utc_metadata_editor_get_picture_n1(void);
-extern int utc_metadata_editor_get_picture_n2(void);
-extern int utc_metadata_editor_get_picture_n3(void);
-extern int utc_metadata_editor_get_picture_n4(void);
-extern int utc_metadata_editor_get_picture_p(void);
-extern int utc_metadata_editor_append_picture_n1(void);
-extern int utc_metadata_editor_append_picture_n2(void);
-extern int utc_metadata_editor_append_picture_n3(void);
-extern int utc_metadata_editor_append_picture_n4(void);
-extern int utc_metadata_editor_append_picture_p1(void);
-extern int utc_metadata_editor_append_picture_p2(void);
-extern int utc_metadata_editor_append_picture_p3(void);
-extern int utc_metadata_editor_append_picture_p4(void);
-extern int utc_metadata_editor_append_picture_p5(void);
-extern int utc_metadata_editor_append_picture_p6(void);
-extern int utc_metadata_editor_append_picture_p7(void);
-extern int utc_metadata_editor_remove_picture_n1(void);
-extern int utc_metadata_editor_remove_picture_n2(void);
-extern int utc_metadata_editor_remove_picture_n3(void);
-extern int utc_metadata_editor_remove_picture_p1(void);
-extern int utc_metadata_editor_remove_picture_p2(void);
-extern int utc_metadata_editor_remove_picture_p3(void);
-extern int utc_metadata_editor_remove_picture_p4(void);
-extern int utc_metadata_editor_remove_picture_p5(void);
-extern int utc_metadata_editor_remove_picture_p6(void);
-extern int utc_metadata_editor_destroy_n(void);
-extern int utc_metadata_editor_destroy_p(void);
-
-testcase tc_array[] = {
-       {"utc_metadata_editor_create_n",utc_metadata_editor_create_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_create_p",utc_metadata_editor_create_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_n",utc_metadata_editor_set_path_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_p",utc_metadata_editor_set_path_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n1",utc_metadata_editor_get_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n2",utc_metadata_editor_get_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n3",utc_metadata_editor_get_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n4",utc_metadata_editor_get_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p1",utc_metadata_editor_get_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p2",utc_metadata_editor_get_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p3",utc_metadata_editor_get_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p4",utc_metadata_editor_get_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p5",utc_metadata_editor_get_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p6",utc_metadata_editor_get_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p7",utc_metadata_editor_get_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p8",utc_metadata_editor_get_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n1",utc_metadata_editor_set_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n2",utc_metadata_editor_set_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n3",utc_metadata_editor_set_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n4",utc_metadata_editor_set_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p1",utc_metadata_editor_set_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p2",utc_metadata_editor_set_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p3",utc_metadata_editor_set_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p4",utc_metadata_editor_set_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p5",utc_metadata_editor_set_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p6",utc_metadata_editor_set_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_n",utc_metadata_editor_update_metadata_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p1",utc_metadata_editor_update_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p2",utc_metadata_editor_update_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p3",utc_metadata_editor_update_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p4",utc_metadata_editor_update_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p5",utc_metadata_editor_update_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p6",utc_metadata_editor_update_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p7",utc_metadata_editor_update_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p8",utc_metadata_editor_update_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n1",utc_metadata_editor_get_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n2",utc_metadata_editor_get_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n3",utc_metadata_editor_get_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n4",utc_metadata_editor_get_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_p",utc_metadata_editor_get_picture_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n1",utc_metadata_editor_append_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n2",utc_metadata_editor_append_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n3",utc_metadata_editor_append_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n4",utc_metadata_editor_append_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p1",utc_metadata_editor_append_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p2",utc_metadata_editor_append_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p3",utc_metadata_editor_append_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p4",utc_metadata_editor_append_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p5",utc_metadata_editor_append_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p6",utc_metadata_editor_append_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p7",utc_metadata_editor_append_picture_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n1",utc_metadata_editor_remove_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n2",utc_metadata_editor_remove_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n3",utc_metadata_editor_remove_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p1",utc_metadata_editor_remove_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p2",utc_metadata_editor_remove_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p3",utc_metadata_editor_remove_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p4",utc_metadata_editor_remove_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p5",utc_metadata_editor_remove_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p6",utc_metadata_editor_remove_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_n",utc_metadata_editor_destroy_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_p",utc_metadata_editor_destroy_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/utc/metadata-editor/tct-metadata-editor-core_tizeniot.h b/src/utc/metadata-editor/tct-metadata-editor-core_tizeniot.h
deleted file mode 100644 (file)
index f6e8cf5..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// 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.
-//
-#ifndef __TCT_METADATA-EDITOR-NATIVE_H__
-#define __TCT_METADATA-EDITOR-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_metadata_editor_startup(void);
-extern void utc_metadata_editor_cleanup(void);
-
-extern int utc_metadata_editor_create_n(void);
-extern int utc_metadata_editor_create_p(void);
-extern int utc_metadata_editor_set_path_n(void);
-extern int utc_metadata_editor_set_path_p(void);
-extern int utc_metadata_editor_get_metadata_n1(void);
-extern int utc_metadata_editor_get_metadata_n2(void);
-extern int utc_metadata_editor_get_metadata_n3(void);
-extern int utc_metadata_editor_get_metadata_n4(void);
-extern int utc_metadata_editor_get_metadata_p1(void);
-extern int utc_metadata_editor_get_metadata_p2(void);
-extern int utc_metadata_editor_get_metadata_p3(void);
-extern int utc_metadata_editor_get_metadata_p4(void);
-extern int utc_metadata_editor_get_metadata_p5(void);
-extern int utc_metadata_editor_get_metadata_p6(void);
-extern int utc_metadata_editor_get_metadata_p7(void);
-extern int utc_metadata_editor_get_metadata_p8(void);
-extern int utc_metadata_editor_set_metadata_n1(void);
-extern int utc_metadata_editor_set_metadata_n2(void);
-extern int utc_metadata_editor_set_metadata_n3(void);
-extern int utc_metadata_editor_set_metadata_n4(void);
-extern int utc_metadata_editor_set_metadata_p1(void);
-extern int utc_metadata_editor_set_metadata_p2(void);
-extern int utc_metadata_editor_set_metadata_p3(void);
-extern int utc_metadata_editor_set_metadata_p4(void);
-extern int utc_metadata_editor_set_metadata_p5(void);
-extern int utc_metadata_editor_set_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_n(void);
-extern int utc_metadata_editor_update_metadata_p1(void);
-extern int utc_metadata_editor_update_metadata_p2(void);
-extern int utc_metadata_editor_update_metadata_p3(void);
-extern int utc_metadata_editor_update_metadata_p4(void);
-extern int utc_metadata_editor_update_metadata_p5(void);
-extern int utc_metadata_editor_update_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_p7(void);
-extern int utc_metadata_editor_update_metadata_p8(void);
-extern int utc_metadata_editor_get_picture_n1(void);
-extern int utc_metadata_editor_get_picture_n2(void);
-extern int utc_metadata_editor_get_picture_n3(void);
-extern int utc_metadata_editor_get_picture_n4(void);
-extern int utc_metadata_editor_get_picture_p(void);
-extern int utc_metadata_editor_append_picture_n1(void);
-extern int utc_metadata_editor_append_picture_n2(void);
-extern int utc_metadata_editor_append_picture_n3(void);
-extern int utc_metadata_editor_append_picture_n4(void);
-extern int utc_metadata_editor_append_picture_p1(void);
-extern int utc_metadata_editor_append_picture_p2(void);
-extern int utc_metadata_editor_append_picture_p3(void);
-extern int utc_metadata_editor_append_picture_p4(void);
-extern int utc_metadata_editor_append_picture_p5(void);
-extern int utc_metadata_editor_append_picture_p6(void);
-extern int utc_metadata_editor_append_picture_p7(void);
-extern int utc_metadata_editor_remove_picture_n1(void);
-extern int utc_metadata_editor_remove_picture_n2(void);
-extern int utc_metadata_editor_remove_picture_n3(void);
-extern int utc_metadata_editor_remove_picture_p1(void);
-extern int utc_metadata_editor_remove_picture_p2(void);
-extern int utc_metadata_editor_remove_picture_p3(void);
-extern int utc_metadata_editor_remove_picture_p4(void);
-extern int utc_metadata_editor_remove_picture_p5(void);
-extern int utc_metadata_editor_remove_picture_p6(void);
-extern int utc_metadata_editor_destroy_n(void);
-extern int utc_metadata_editor_destroy_p(void);
-
-testcase tc_array[] = {
-       {"utc_metadata_editor_create_n",utc_metadata_editor_create_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_create_p",utc_metadata_editor_create_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_n",utc_metadata_editor_set_path_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_p",utc_metadata_editor_set_path_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n1",utc_metadata_editor_get_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n2",utc_metadata_editor_get_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n3",utc_metadata_editor_get_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n4",utc_metadata_editor_get_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p1",utc_metadata_editor_get_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p2",utc_metadata_editor_get_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p3",utc_metadata_editor_get_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p4",utc_metadata_editor_get_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p5",utc_metadata_editor_get_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p6",utc_metadata_editor_get_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p7",utc_metadata_editor_get_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p8",utc_metadata_editor_get_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n1",utc_metadata_editor_set_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n2",utc_metadata_editor_set_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n3",utc_metadata_editor_set_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n4",utc_metadata_editor_set_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p1",utc_metadata_editor_set_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p2",utc_metadata_editor_set_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p3",utc_metadata_editor_set_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p4",utc_metadata_editor_set_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p5",utc_metadata_editor_set_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p6",utc_metadata_editor_set_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_n",utc_metadata_editor_update_metadata_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p1",utc_metadata_editor_update_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p2",utc_metadata_editor_update_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p3",utc_metadata_editor_update_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p4",utc_metadata_editor_update_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p5",utc_metadata_editor_update_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p6",utc_metadata_editor_update_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p7",utc_metadata_editor_update_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p8",utc_metadata_editor_update_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n1",utc_metadata_editor_get_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n2",utc_metadata_editor_get_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n3",utc_metadata_editor_get_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n4",utc_metadata_editor_get_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_p",utc_metadata_editor_get_picture_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n1",utc_metadata_editor_append_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n2",utc_metadata_editor_append_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n3",utc_metadata_editor_append_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n4",utc_metadata_editor_append_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p1",utc_metadata_editor_append_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p2",utc_metadata_editor_append_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p3",utc_metadata_editor_append_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p4",utc_metadata_editor_append_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p5",utc_metadata_editor_append_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p6",utc_metadata_editor_append_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p7",utc_metadata_editor_append_picture_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n1",utc_metadata_editor_remove_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n2",utc_metadata_editor_remove_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n3",utc_metadata_editor_remove_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p1",utc_metadata_editor_remove_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p2",utc_metadata_editor_remove_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p3",utc_metadata_editor_remove_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p4",utc_metadata_editor_remove_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p5",utc_metadata_editor_remove_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p6",utc_metadata_editor_remove_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_n",utc_metadata_editor_destroy_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_p",utc_metadata_editor_destroy_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/utc/metadata-editor/tct-metadata-editor-core_tv.h b/src/utc/metadata-editor/tct-metadata-editor-core_tv.h
deleted file mode 100644 (file)
index f6e8cf5..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// 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.
-//
-#ifndef __TCT_METADATA-EDITOR-NATIVE_H__
-#define __TCT_METADATA-EDITOR-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_metadata_editor_startup(void);
-extern void utc_metadata_editor_cleanup(void);
-
-extern int utc_metadata_editor_create_n(void);
-extern int utc_metadata_editor_create_p(void);
-extern int utc_metadata_editor_set_path_n(void);
-extern int utc_metadata_editor_set_path_p(void);
-extern int utc_metadata_editor_get_metadata_n1(void);
-extern int utc_metadata_editor_get_metadata_n2(void);
-extern int utc_metadata_editor_get_metadata_n3(void);
-extern int utc_metadata_editor_get_metadata_n4(void);
-extern int utc_metadata_editor_get_metadata_p1(void);
-extern int utc_metadata_editor_get_metadata_p2(void);
-extern int utc_metadata_editor_get_metadata_p3(void);
-extern int utc_metadata_editor_get_metadata_p4(void);
-extern int utc_metadata_editor_get_metadata_p5(void);
-extern int utc_metadata_editor_get_metadata_p6(void);
-extern int utc_metadata_editor_get_metadata_p7(void);
-extern int utc_metadata_editor_get_metadata_p8(void);
-extern int utc_metadata_editor_set_metadata_n1(void);
-extern int utc_metadata_editor_set_metadata_n2(void);
-extern int utc_metadata_editor_set_metadata_n3(void);
-extern int utc_metadata_editor_set_metadata_n4(void);
-extern int utc_metadata_editor_set_metadata_p1(void);
-extern int utc_metadata_editor_set_metadata_p2(void);
-extern int utc_metadata_editor_set_metadata_p3(void);
-extern int utc_metadata_editor_set_metadata_p4(void);
-extern int utc_metadata_editor_set_metadata_p5(void);
-extern int utc_metadata_editor_set_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_n(void);
-extern int utc_metadata_editor_update_metadata_p1(void);
-extern int utc_metadata_editor_update_metadata_p2(void);
-extern int utc_metadata_editor_update_metadata_p3(void);
-extern int utc_metadata_editor_update_metadata_p4(void);
-extern int utc_metadata_editor_update_metadata_p5(void);
-extern int utc_metadata_editor_update_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_p7(void);
-extern int utc_metadata_editor_update_metadata_p8(void);
-extern int utc_metadata_editor_get_picture_n1(void);
-extern int utc_metadata_editor_get_picture_n2(void);
-extern int utc_metadata_editor_get_picture_n3(void);
-extern int utc_metadata_editor_get_picture_n4(void);
-extern int utc_metadata_editor_get_picture_p(void);
-extern int utc_metadata_editor_append_picture_n1(void);
-extern int utc_metadata_editor_append_picture_n2(void);
-extern int utc_metadata_editor_append_picture_n3(void);
-extern int utc_metadata_editor_append_picture_n4(void);
-extern int utc_metadata_editor_append_picture_p1(void);
-extern int utc_metadata_editor_append_picture_p2(void);
-extern int utc_metadata_editor_append_picture_p3(void);
-extern int utc_metadata_editor_append_picture_p4(void);
-extern int utc_metadata_editor_append_picture_p5(void);
-extern int utc_metadata_editor_append_picture_p6(void);
-extern int utc_metadata_editor_append_picture_p7(void);
-extern int utc_metadata_editor_remove_picture_n1(void);
-extern int utc_metadata_editor_remove_picture_n2(void);
-extern int utc_metadata_editor_remove_picture_n3(void);
-extern int utc_metadata_editor_remove_picture_p1(void);
-extern int utc_metadata_editor_remove_picture_p2(void);
-extern int utc_metadata_editor_remove_picture_p3(void);
-extern int utc_metadata_editor_remove_picture_p4(void);
-extern int utc_metadata_editor_remove_picture_p5(void);
-extern int utc_metadata_editor_remove_picture_p6(void);
-extern int utc_metadata_editor_destroy_n(void);
-extern int utc_metadata_editor_destroy_p(void);
-
-testcase tc_array[] = {
-       {"utc_metadata_editor_create_n",utc_metadata_editor_create_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_create_p",utc_metadata_editor_create_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_n",utc_metadata_editor_set_path_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_p",utc_metadata_editor_set_path_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n1",utc_metadata_editor_get_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n2",utc_metadata_editor_get_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n3",utc_metadata_editor_get_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n4",utc_metadata_editor_get_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p1",utc_metadata_editor_get_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p2",utc_metadata_editor_get_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p3",utc_metadata_editor_get_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p4",utc_metadata_editor_get_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p5",utc_metadata_editor_get_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p6",utc_metadata_editor_get_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p7",utc_metadata_editor_get_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p8",utc_metadata_editor_get_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n1",utc_metadata_editor_set_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n2",utc_metadata_editor_set_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n3",utc_metadata_editor_set_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n4",utc_metadata_editor_set_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p1",utc_metadata_editor_set_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p2",utc_metadata_editor_set_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p3",utc_metadata_editor_set_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p4",utc_metadata_editor_set_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p5",utc_metadata_editor_set_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p6",utc_metadata_editor_set_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_n",utc_metadata_editor_update_metadata_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p1",utc_metadata_editor_update_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p2",utc_metadata_editor_update_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p3",utc_metadata_editor_update_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p4",utc_metadata_editor_update_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p5",utc_metadata_editor_update_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p6",utc_metadata_editor_update_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p7",utc_metadata_editor_update_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p8",utc_metadata_editor_update_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n1",utc_metadata_editor_get_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n2",utc_metadata_editor_get_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n3",utc_metadata_editor_get_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n4",utc_metadata_editor_get_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_p",utc_metadata_editor_get_picture_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n1",utc_metadata_editor_append_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n2",utc_metadata_editor_append_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n3",utc_metadata_editor_append_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n4",utc_metadata_editor_append_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p1",utc_metadata_editor_append_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p2",utc_metadata_editor_append_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p3",utc_metadata_editor_append_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p4",utc_metadata_editor_append_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p5",utc_metadata_editor_append_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p6",utc_metadata_editor_append_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p7",utc_metadata_editor_append_picture_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n1",utc_metadata_editor_remove_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n2",utc_metadata_editor_remove_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n3",utc_metadata_editor_remove_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p1",utc_metadata_editor_remove_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p2",utc_metadata_editor_remove_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p3",utc_metadata_editor_remove_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p4",utc_metadata_editor_remove_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p5",utc_metadata_editor_remove_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p6",utc_metadata_editor_remove_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_n",utc_metadata_editor_destroy_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_p",utc_metadata_editor_destroy_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/utc/metadata-editor/tct-metadata-editor-core_wearable.h b/src/utc/metadata-editor/tct-metadata-editor-core_wearable.h
deleted file mode 100644 (file)
index f6e8cf5..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// 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.
-//
-#ifndef __TCT_METADATA-EDITOR-NATIVE_H__
-#define __TCT_METADATA-EDITOR-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_metadata_editor_startup(void);
-extern void utc_metadata_editor_cleanup(void);
-
-extern int utc_metadata_editor_create_n(void);
-extern int utc_metadata_editor_create_p(void);
-extern int utc_metadata_editor_set_path_n(void);
-extern int utc_metadata_editor_set_path_p(void);
-extern int utc_metadata_editor_get_metadata_n1(void);
-extern int utc_metadata_editor_get_metadata_n2(void);
-extern int utc_metadata_editor_get_metadata_n3(void);
-extern int utc_metadata_editor_get_metadata_n4(void);
-extern int utc_metadata_editor_get_metadata_p1(void);
-extern int utc_metadata_editor_get_metadata_p2(void);
-extern int utc_metadata_editor_get_metadata_p3(void);
-extern int utc_metadata_editor_get_metadata_p4(void);
-extern int utc_metadata_editor_get_metadata_p5(void);
-extern int utc_metadata_editor_get_metadata_p6(void);
-extern int utc_metadata_editor_get_metadata_p7(void);
-extern int utc_metadata_editor_get_metadata_p8(void);
-extern int utc_metadata_editor_set_metadata_n1(void);
-extern int utc_metadata_editor_set_metadata_n2(void);
-extern int utc_metadata_editor_set_metadata_n3(void);
-extern int utc_metadata_editor_set_metadata_n4(void);
-extern int utc_metadata_editor_set_metadata_p1(void);
-extern int utc_metadata_editor_set_metadata_p2(void);
-extern int utc_metadata_editor_set_metadata_p3(void);
-extern int utc_metadata_editor_set_metadata_p4(void);
-extern int utc_metadata_editor_set_metadata_p5(void);
-extern int utc_metadata_editor_set_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_n(void);
-extern int utc_metadata_editor_update_metadata_p1(void);
-extern int utc_metadata_editor_update_metadata_p2(void);
-extern int utc_metadata_editor_update_metadata_p3(void);
-extern int utc_metadata_editor_update_metadata_p4(void);
-extern int utc_metadata_editor_update_metadata_p5(void);
-extern int utc_metadata_editor_update_metadata_p6(void);
-extern int utc_metadata_editor_update_metadata_p7(void);
-extern int utc_metadata_editor_update_metadata_p8(void);
-extern int utc_metadata_editor_get_picture_n1(void);
-extern int utc_metadata_editor_get_picture_n2(void);
-extern int utc_metadata_editor_get_picture_n3(void);
-extern int utc_metadata_editor_get_picture_n4(void);
-extern int utc_metadata_editor_get_picture_p(void);
-extern int utc_metadata_editor_append_picture_n1(void);
-extern int utc_metadata_editor_append_picture_n2(void);
-extern int utc_metadata_editor_append_picture_n3(void);
-extern int utc_metadata_editor_append_picture_n4(void);
-extern int utc_metadata_editor_append_picture_p1(void);
-extern int utc_metadata_editor_append_picture_p2(void);
-extern int utc_metadata_editor_append_picture_p3(void);
-extern int utc_metadata_editor_append_picture_p4(void);
-extern int utc_metadata_editor_append_picture_p5(void);
-extern int utc_metadata_editor_append_picture_p6(void);
-extern int utc_metadata_editor_append_picture_p7(void);
-extern int utc_metadata_editor_remove_picture_n1(void);
-extern int utc_metadata_editor_remove_picture_n2(void);
-extern int utc_metadata_editor_remove_picture_n3(void);
-extern int utc_metadata_editor_remove_picture_p1(void);
-extern int utc_metadata_editor_remove_picture_p2(void);
-extern int utc_metadata_editor_remove_picture_p3(void);
-extern int utc_metadata_editor_remove_picture_p4(void);
-extern int utc_metadata_editor_remove_picture_p5(void);
-extern int utc_metadata_editor_remove_picture_p6(void);
-extern int utc_metadata_editor_destroy_n(void);
-extern int utc_metadata_editor_destroy_p(void);
-
-testcase tc_array[] = {
-       {"utc_metadata_editor_create_n",utc_metadata_editor_create_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_create_p",utc_metadata_editor_create_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_n",utc_metadata_editor_set_path_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_path_p",utc_metadata_editor_set_path_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n1",utc_metadata_editor_get_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n2",utc_metadata_editor_get_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n3",utc_metadata_editor_get_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_n4",utc_metadata_editor_get_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p1",utc_metadata_editor_get_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p2",utc_metadata_editor_get_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p3",utc_metadata_editor_get_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p4",utc_metadata_editor_get_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p5",utc_metadata_editor_get_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p6",utc_metadata_editor_get_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p7",utc_metadata_editor_get_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_metadata_p8",utc_metadata_editor_get_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n1",utc_metadata_editor_set_metadata_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n2",utc_metadata_editor_set_metadata_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n3",utc_metadata_editor_set_metadata_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_n4",utc_metadata_editor_set_metadata_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p1",utc_metadata_editor_set_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p2",utc_metadata_editor_set_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p3",utc_metadata_editor_set_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p4",utc_metadata_editor_set_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p5",utc_metadata_editor_set_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_set_metadata_p6",utc_metadata_editor_set_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_n",utc_metadata_editor_update_metadata_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p1",utc_metadata_editor_update_metadata_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p2",utc_metadata_editor_update_metadata_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p3",utc_metadata_editor_update_metadata_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p4",utc_metadata_editor_update_metadata_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p5",utc_metadata_editor_update_metadata_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p6",utc_metadata_editor_update_metadata_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p7",utc_metadata_editor_update_metadata_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_update_metadata_p8",utc_metadata_editor_update_metadata_p8,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n1",utc_metadata_editor_get_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n2",utc_metadata_editor_get_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n3",utc_metadata_editor_get_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_n4",utc_metadata_editor_get_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_get_picture_p",utc_metadata_editor_get_picture_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n1",utc_metadata_editor_append_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n2",utc_metadata_editor_append_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n3",utc_metadata_editor_append_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_n4",utc_metadata_editor_append_picture_n4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p1",utc_metadata_editor_append_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p2",utc_metadata_editor_append_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p3",utc_metadata_editor_append_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p4",utc_metadata_editor_append_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p5",utc_metadata_editor_append_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p6",utc_metadata_editor_append_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_append_picture_p7",utc_metadata_editor_append_picture_p7,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n1",utc_metadata_editor_remove_picture_n1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n2",utc_metadata_editor_remove_picture_n2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_n3",utc_metadata_editor_remove_picture_n3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p1",utc_metadata_editor_remove_picture_p1,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p2",utc_metadata_editor_remove_picture_p2,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p3",utc_metadata_editor_remove_picture_p3,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p4",utc_metadata_editor_remove_picture_p4,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p5",utc_metadata_editor_remove_picture_p5,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_remove_picture_p6",utc_metadata_editor_remove_picture_p6,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_n",utc_metadata_editor_destroy_n,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {"utc_metadata_editor_destroy_p",utc_metadata_editor_destroy_p,utc_metadata_editor_startup,utc_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/utc/metadata-editor/utc-metadata-editor.c b/src/utc/metadata-editor/utc-metadata-editor.c
deleted file mode 100755 (executable)
index d8ab5ed..0000000
+++ /dev/null
@@ -1,1855 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * 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.
- */
-
-#include <glib.h>
-#include <metadata_editor.h>
-#include "tct_common.h"
-
-#define CHANGE_NAME "change"
-#define API_NAMESPACE "[METADATA-EDITOR]"
-
-static char g_audio_path[PATH_MAX + 1];
-static char g_tagless_audio_path[PATH_MAX + 1];
-static char g_id3v1_audio_path[PATH_MAX + 1];
-static char g_m4a_path[PATH_MAX + 1];
-static char g_video_path[PATH_MAX + 1];
-static char g_image_path[PATH_MAX + 1];
-static char g_nonexist_path[PATH_MAX + 1];
-static char g_wav_path[PATH_MAX + 1];
-static char g_flac_path[PATH_MAX + 1];
-static char g_vorbis_ogg_path[PATH_MAX + 1];
-static char g_flac_ogg_path[PATH_MAX + 1];
-
-static metadata_editor_h g_handle = NULL;
-static int _startup_error = 0;
-
-typedef enum {
-       ME_CONTENT_TYPE_NO_TAG,
-       ME_CONTENT_TYPE_NO_TAG_MP3,
-       ME_CONTENT_TYPE_ID3v1,
-       ME_CONTENT_TYPE_ID3v2,
-       ME_CONTENT_TYPE_MP4,
-       ME_CONTENT_TYPE_FLAC,
-       ME_CONTENT_TYPE_OGG,
-       ME_CONTENT_TYPE_ID3v2_MODIFIED,
-       ME_CONTENT_TYPE_MP4_MODIFIED,
-       ME_CONTENT_TYPE_OGG_MODIFIED,
-       ME_CONTENT_TYPE_MAX,
-} content_type_e;
-
-static char *tag_value[ME_CONTENT_TYPE_MAX][METADATA_EDITOR_ATTR_UNSYNCLYRICS + 1] = {
-       //ME_CONTENT_TYPE_NO_TAG
-       {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "0", NULL, NULL},
-
-       //ME_CONTENT_TYPE_NO_TAG_MP3
-       {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "1", NULL, NULL},
-
-       //ME_CONTENT_TYPE_ID3v1
-       {"Test artist",
-       "Test title",
-       "Test album",
-       NULL,
-       NULL,
-       NULL,
-       "2020",
-       NULL,
-       "Test comment",
-       NULL,
-       "0",
-       NULL,
-       NULL},
-
-       //ME_CONTENT_TYPE_ID3v2
-       {"Test artist",
-       "Test title",
-       "Test album",
-       "Pop",
-       "Test composer",
-       "Test copyright",
-       "2015",
-       "Test description",
-       "Test comment",
-       "01/01",
-       "1",
-       "Test conductor",
-       "Test lyrics"},
-
-       //ME_CONTENT_TYPE_MP4
-       {"Test artist",
-       "Test title",
-       "Test album",
-       "Rock",
-       "Test composer",
-       "Test copyright",
-       "2020",
-       NULL,
-       "Test comment",
-       "15",
-       "0",
-       "Test conductor",
-       "Test lyrics"},
-
-       //ME_CONTENT_TYPE_FLAC
-       {"Test artist",
-       "Test title",
-       "Test album",
-       "Rock",
-       "Test composer",
-       "Test copyright",
-       "2020",
-       "Test description",
-       "Test comment",
-       "15",
-       "0",
-       "Test conductor",
-       "Test lyrics"},
-
-       //ME_CONTENT_TYPE_OGG
-       {"Test artist",
-       "Test title",
-       "Test album",
-       "Rock",
-       "Test composer",
-       "Test copyright",
-       "2020",
-       "Test description",
-       "Test comment",
-       "15",
-       "2",
-       "Test conductor",
-       "Test lyrics"},
-
-       //ME_CONTENT_TYPE_ID3v2_MODIFIED
-       {"Test artis modified",
-       "Test title modified",
-       "Test album modified",
-       "Rap",
-       "Test composer modified",
-       "Test copyright modified",
-       "2016",
-       "Test description modified",
-       "Test comment modified",
-       "02/03",
-       "1",
-       "Test conductor modified",
-       "Test lyrics modified"},
-
-       //ME_CONTENT_TYPE_MP4_MODIFIED
-       {"Test artist modified",
-       "Test title modified",
-       "Test album modified",
-       "Pop",
-       "Test composer modified",
-       "Test copyright modified",
-       "2019",
-       NULL,
-       "Test comment modified",
-       "10",
-       "0",
-       "Test conductor modified",
-       "Test lyrics modified"},
-
-       //ME_CONTENT_TYPE_OGG_MODIFIED
-       {"Test artist modified",
-       "Test title modified",
-       "Test album modified",
-       "Pop",
-       "Test composer modified",
-       "Test copyright modified",
-       "2019",
-       "Test description modified",
-       "Test comment modified",
-       "10",
-       "2",
-       "Test conductor modified",
-       "Test lyrics modified"}
-};
-
-static int __get_metadata(metadata_editor_h handle, content_type_e type)
-{
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       int i = 0;
-       char *value = NULL;
-       bool failed = false;
-
-       for (i = 0; i <= METADATA_EDITOR_ATTR_UNSYNCLYRICS; i++) {
-               ret = metadata_editor_get_metadata(handle, i, &value);
-               assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-               if (g_strcmp0(value, tag_value[type][i]) != 0) {
-                       PRINT_UTC_LOG("[Line : %d][%s] expected [%s] for [%d] but [%s]\\n", __LINE__, __FUNCTION__, (tag_value[type][i]) ? tag_value[type][i] : "(null)", i, (value) ? value : "(null)");
-
-                       failed = true;
-               }
-
-               FREE_MEMORY(value);
-       }
-
-       if (failed)
-               return METADATA_EDITOR_ERROR_OPERATION_FAILED;
-
-       return METADATA_EDITOR_ERROR_NONE;
-}
-
-/**
- * @function           utc_metadata_editor_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */
-void utc_metadata_editor_startup(void)
-{
-       char pszValue[CONFIG_VALUE_LEN_MAX] = { 0, };
-
-       if (GetValueForTCTSetting("DEVICE_OTHER_USER_APPS_ROOT_30", pszValue, API_NAMESPACE)) {
-               PRINT_UTC_LOG("[Line : %d][%s] 'DEVICE_OTHER_USER_APPS_ROOT_30' Values Received = %s\\n", __LINE__, __FUNCTION__, pszValue);
-
-               snprintf(g_audio_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_audio.mp3", pszValue);
-               snprintf(g_tagless_audio_path, PATH_MAX, "%s/core-metadata-editor-tests/data/no_tag.mp3", pszValue);
-               snprintf(g_id3v1_audio_path, PATH_MAX, "%s/core-metadata-editor-tests/data/id3tag_v1.mp3", pszValue);
-               snprintf(g_m4a_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_m4a.m4a", pszValue);
-               snprintf(g_video_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_video.mp4", pszValue);
-               snprintf(g_image_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample.jpg", pszValue);
-               snprintf(g_nonexist_path, PATH_MAX, "%s/core-metadata-editor-tests/data/not_exist.mp3", pszValue);
-               snprintf(g_wav_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_audio.wav", pszValue);
-               snprintf(g_flac_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_audio.flac", pszValue);
-               snprintf(g_vorbis_ogg_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_audio.ogg", pszValue);
-               snprintf(g_flac_ogg_path, PATH_MAX, "%s/core-metadata-editor-tests/data/sample_audio_flac.ogg", pszValue);
-       } else {
-               PRINT_UTC_LOG("[Line : %d][%s] GetValueForTCTSetting returned error for 'DEVICE_USER_30'\\n", __LINE__, __FUNCTION__);
-       }
-
-       if (METADATA_EDITOR_ERROR_NONE != metadata_editor_create(&g_handle)) {
-               PRINT_UTC_LOG("[Line : %d][%s] fail to metadata_editor_create\\n", __LINE__, __FUNCTION__);
-               _startup_error = 1;
-       }
-}
-
-/**
- * @function           utc_metadata_editor_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */
-void utc_metadata_editor_cleanup(void)
-{
-       if (g_handle) {
-               if (METADATA_EDITOR_ERROR_NONE != metadata_editor_destroy(g_handle))
-                       PRINT_UTC_LOG("[Line : %d][%s] fail to metadata_editor_destroy\\n", __LINE__, __FUNCTION__);
-       }
-
-       memset(&g_audio_path, 0, PATH_MAX + 1);
-       memset(&g_tagless_audio_path, 0, PATH_MAX + 1);
-       memset(&g_id3v1_audio_path, 0, PATH_MAX + 1);
-       memset(&g_m4a_path, 0, PATH_MAX + 1);
-       memset(&g_video_path, 0, PATH_MAX + 1);
-       memset(&g_image_path, 0, PATH_MAX + 1);
-       memset(&g_nonexist_path, 0, PATH_MAX + 1);
-       memset(&g_wav_path, 0, PATH_MAX + 1);
-       memset(&g_flac_path, 0, PATH_MAX + 1);
-       memset(&g_vorbis_ogg_path, 0, PATH_MAX + 1);
-       memset(&g_flac_ogg_path, 0, PATH_MAX + 1);
-}
-
-/**
- * @testcase           utc_metadata_editor_create_n
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_create()
- */
-int utc_metadata_editor_create_n(void)
-{
-       int ret = metadata_editor_create(NULL);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_create_p
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_create()
- */
-int utc_metadata_editor_create_p(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret;
-       ret = metadata_editor_destroy(g_handle);
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_path_n
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_set_path()
- */
-int utc_metadata_editor_set_path_n(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = metadata_editor_set_path(NULL, g_audio_path);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       ret = metadata_editor_set_path(g_handle, NULL);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       ret = metadata_editor_set_path(g_handle, g_nonexist_path);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_FILE_EXISTS);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_path_p
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_set_path()
- */
-int utc_metadata_editor_set_path_p(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = metadata_editor_set_path(g_handle, g_audio_path);
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_n1
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_get_metadata()
- */
-int utc_metadata_editor_get_metadata_n1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       char *c_value = NULL;
-
-       ret = metadata_editor_get_metadata(NULL, METADATA_EDITOR_ATTR_TITLE, &c_value);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_n2
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_metadata()
- */
-int utc_metadata_editor_get_metadata_n2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       char *c_value = NULL;
-
-       ret = metadata_editor_get_metadata(g_handle, METADATA_EDITOR_ATTR_TITLE, &c_value);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_n3
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_metadata()
- */
-int utc_metadata_editor_get_metadata_n3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       char *c_value = NULL;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_get_metadata(g_handle, METADATA_EDITOR_ATTR_UNSYNCLYRICS + 1, &c_value);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_n4
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_metadata()
- */
-int utc_metadata_editor_get_metadata_n4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_get_metadata(g_handle, METADATA_EDITOR_ATTR_TITLE, NULL);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p1
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_get_metadata() for No tag mp3 format
- */
-int utc_metadata_editor_get_metadata_p1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_tagless_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_NO_TAG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p2
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for ID3tag1 mp3 format
- */
-int utc_metadata_editor_get_metadata_p2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_id3v1_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_ID3v1);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p3
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for ID3tag2 mp3 format
- */
-int utc_metadata_editor_get_metadata_p3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_ID3v2);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p4
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for mp4 format
- */
-int utc_metadata_editor_get_metadata_p4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_MP4);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p5
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for wav format
- */
-int utc_metadata_editor_get_metadata_p5(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_ID3v2);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p6
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for flac format
- */
-int utc_metadata_editor_get_metadata_p6(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_FLAC);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p7
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for vorbis ogg format
- */
-int utc_metadata_editor_get_metadata_p7(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_OGG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_metadata_p8
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_get_metadata() for flac ogg format
- */
-int utc_metadata_editor_get_metadata_p8(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_OGG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-static int __set_metadata(metadata_editor_h handle, content_type_e type)
-{
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       int i = 0;
-
-       for (i = 0; i <= METADATA_EDITOR_ATTR_UNSYNCLYRICS; i++) {
-               if (i == METADATA_EDITOR_ATTR_PICTURE_NUM)
-                       continue;
-
-               ret = metadata_editor_set_metadata(handle, i, tag_value[type][i]);
-               assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-       }
-
-       return METADATA_EDITOR_ERROR_NONE;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_n1
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_set_metadata()
- */
-int utc_metadata_editor_set_metadata_n1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_metadata(NULL, METADATA_EDITOR_ATTR_TITLE, CHANGE_NAME);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_n2
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_set_metadata()
- */
-int utc_metadata_editor_set_metadata_n2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_metadata(g_handle, METADATA_EDITOR_ATTR_TITLE, CHANGE_NAME);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_n3
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_set_metadata()
- */
-int utc_metadata_editor_set_metadata_n3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_metadata(g_handle, METADATA_EDITOR_ATTR_PICTURE_NUM, CHANGE_NAME);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_n4
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_set_metadata()
- */
-int utc_metadata_editor_set_metadata_n4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_metadata(g_handle, METADATA_EDITOR_ATTR_UNSYNCLYRICS + 1, CHANGE_NAME);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p1
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_set_metadata() for mp3 format
- */
-int utc_metadata_editor_set_metadata_p1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p2
- * @since_tizen        6.0
- * @description        Positive test case of metadata_editor_set_metadata() for mp4 format
- */
-int utc_metadata_editor_set_metadata_p2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p3
- * @since_tizen        6.0
- * @description        Positive test case of metadata_editor_set_metadata() for wav format
- */
-int utc_metadata_editor_set_metadata_p3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p4
- * @since_tizen        6.0
- * @description        Positive test case of metadata_editor_set_metadata() for flac format
- */
-int utc_metadata_editor_set_metadata_p4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p5
- * @since_tizen        6.0
- * @description        Positive test case of metadata_editor_set_metadata() for vorbis ogg format
- */
-int utc_metadata_editor_set_metadata_p5(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_set_metadata_p6
- * @since_tizen        6.0
- * @description        Positive test case of metadata_editor_set_metadata() for flac ogg format
- */
-int utc_metadata_editor_set_metadata_p6(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_n
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_update_metadata()
- */
-int utc_metadata_editor_update_metadata_n(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = metadata_editor_update_metadata(NULL);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p1
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_update_metadata() for mp3 format
- */
-int utc_metadata_editor_update_metadata_p1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p2
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for mp4 format
- */
-int utc_metadata_editor_update_metadata_p2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-static int __get_picture(metadata_editor_h handle, const char *num)
-{
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       char *value = NULL;
-       int pic_num = 0;
-       int i = 0;
-       void *picture = NULL;
-       int picture_size = 0;
-       char *type = NULL;
-
-       ret = metadata_editor_get_metadata(handle, METADATA_EDITOR_ATTR_PICTURE_NUM, &value);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       if (g_strcmp0(value, num) != 0) {
-               PRINT_UTC_LOG("[Line : %d][%s] expected [%s] but [%s]\\n", __LINE__, __FUNCTION__, num, (value) ? value : "(null)");
-               ret = METADATA_EDITOR_ERROR_OPERATION_FAILED;
-       }
-
-       FREE_MEMORY(value);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       pic_num = g_ascii_strtoll(num, NULL, 10);
-
-       for (i = 0; i < pic_num; i++) {
-
-               ret = metadata_editor_get_picture(handle, i, &picture, &picture_size, &type);
-               assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-               if (!picture) {
-                       PRINT_UTC_LOG("[Line : %d][%s] fail to get picture\\n", __LINE__, __FUNCTION__);
-                       ret = METADATA_EDITOR_ERROR_OPERATION_FAILED;
-               }
-
-               if (picture_size == 0) {
-                       PRINT_UTC_LOG("[Line : %d][%s] fail to get picture size\\n", __LINE__, __FUNCTION__);
-                       ret = METADATA_EDITOR_ERROR_OPERATION_FAILED;
-               }
-
-               if (!type) {
-                       PRINT_UTC_LOG("[Line : %d][%s] fail to get picture type\\n", __LINE__, __FUNCTION__);
-                       ret = METADATA_EDITOR_ERROR_OPERATION_FAILED;
-               }
-
-               FREE_MEMORY(picture);
-               FREE_MEMORY(type);
-
-               assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-       }
-
-       return METADATA_EDITOR_ERROR_NONE;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p3
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for mp3 format
- */
-int utc_metadata_editor_update_metadata_p3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_NO_TAG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_NO_TAG_MP3);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p4
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for mp4 format
- */
-int utc_metadata_editor_update_metadata_p4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_NO_TAG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_NO_TAG);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p5
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for wav format
- */
-int utc_metadata_editor_update_metadata_p5(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_ID3v2_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p6
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for flac format
- */
-int utc_metadata_editor_update_metadata_p6(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_MP4_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p7
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for vorbis ogg format
- */
-int utc_metadata_editor_update_metadata_p7(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_update_metadata_p8
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_update_metadata() for flac ogg format
- */
-int utc_metadata_editor_update_metadata_p8(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __set_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_metadata(g_handle, ME_CONTENT_TYPE_OGG_MODIFIED);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_picture_n1
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_get_picture()
- */
-int utc_metadata_editor_get_picture_n1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       int size = 0;
-       void *picture = NULL;
-       char *type = NULL;
-
-       ret = metadata_editor_get_picture(NULL, 0, &picture, &size, &type);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_picture_n2
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_picture()
- */
-int utc_metadata_editor_get_picture_n2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       int size = 0;
-       void *picture = NULL;
-       char *type = NULL;
-
-       ret = metadata_editor_get_picture(g_handle, 0, &picture, &size, &type);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_picture_n3
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_picture()
- */
-int utc_metadata_editor_get_picture_n3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       char *type = NULL;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_get_picture(g_handle, 0, NULL, NULL, &type);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_picture_n4
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_get_picture()
- */
-int utc_metadata_editor_get_picture_n4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-       int size = 0;
-       void *picture = NULL;
-       char *type = NULL;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_get_picture(g_handle, 1, &picture, &size, &type);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_get_picture_p
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_get_picture()
- */
-int utc_metadata_editor_get_picture_p(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "1");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_n1
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_append_picture()
- */
-int utc_metadata_editor_append_picture_n1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_append_picture(NULL, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_n2
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_append_picture()
- */
-int utc_metadata_editor_append_picture_n2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_n3
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_append_picture()
- */
-int utc_metadata_editor_append_picture_n3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, NULL);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_n4
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_append_picture()
- */
-int utc_metadata_editor_append_picture_n4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_nonexist_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_FILE_EXISTS);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p1
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_append_picture() for mp3 format
- */
-int utc_metadata_editor_append_picture_p1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "2");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p2
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for mp4 format
- */
-int utc_metadata_editor_append_picture_p2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_video_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "1");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p3
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for m4a format
- */
-int utc_metadata_editor_append_picture_p3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_m4a_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_m4a_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "3");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p4
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for wav format
- */
-int utc_metadata_editor_append_picture_p4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "2");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p5
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for flac format
- */
-int utc_metadata_editor_append_picture_p5(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "1");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p6
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for vorbis ogg format
- */
-int utc_metadata_editor_append_picture_p6(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "3");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_append_picture_p7
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_append_picture() for flac ogg format
- */
-int utc_metadata_editor_append_picture_p7(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_append_picture(g_handle, g_image_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "3");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_n1
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_remove_picture()
- */
-int utc_metadata_editor_remove_picture_n1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_remove_picture(NULL, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_n2
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_remove_picture()
- */
-int utc_metadata_editor_remove_picture_n2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_n3
- * @since_tizen                6.0
- * @description                Negative test case of metadata_editor_remove_picture()
- */
-int utc_metadata_editor_remove_picture_n3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 3);
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p1
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_remove_picture() for mp3 format
- */
-int utc_metadata_editor_remove_picture_p1(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 1);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_audio_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "1");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p2
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_remove_picture() for mp4 format
- */
-int utc_metadata_editor_remove_picture_p2(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_m4a_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_m4a_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "2");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p3
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_remove_picture() for wav format
- */
-int utc_metadata_editor_remove_picture_p3(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_wav_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "1");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p4
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_remove_picture() for flac format
- */
-int utc_metadata_editor_remove_picture_p4(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "0");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p5
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_remove_picture() for vorbis ogg format
- */
-int utc_metadata_editor_remove_picture_p5(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_vorbis_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "2");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_remove_picture_p6
- * @since_tizen                6.0
- * @description                Positive test case of metadata_editor_remove_picture() for flac ogg format
- */
-int utc_metadata_editor_remove_picture_p6(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = METADATA_EDITOR_ERROR_NONE;
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_remove_picture(g_handle, 0);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_update_metadata(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_destroy(g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_create(&g_handle);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = metadata_editor_set_path(g_handle, g_flac_ogg_path);
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       ret = __get_picture(g_handle, "2");
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_destroy_n
- * @since_tizen                2.4
- * @description                Negative test case of metadata_editor_destroy()
- */
-int utc_metadata_editor_destroy_n(void)
-{
-       assert_eq(_startup_error, 0);
-       int ret = metadata_editor_destroy(NULL);
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_INVALID_PARAMETER);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_metadata_editor_destroy_p
- * @since_tizen                2.4
- * @description                Positive test case of metadata_editor_destroy()
- */
-int utc_metadata_editor_destroy_p(void)
-{
-       assert_eq(_startup_error, 0);
-
-       int ret = metadata_editor_set_path(g_handle, g_audio_path);
-       ret = metadata_editor_destroy(g_handle);
-       g_handle = NULL;
-
-       assert_eq(ret, METADATA_EDITOR_ERROR_NONE);
-
-       return 0;
-}