[ITC][metadata-editor][ACR-1810] Deprecate all APIs 35/303735/2
authorTarun Kumar <tarun1.kumar@samsung.com>
Thu, 4 Jan 2024 05:13:52 +0000 (10:43 +0530)
committershobhit verma <shobhit.v@samsung.com>
Thu, 18 Jan 2024 05:57:06 +0000 (05:57 +0000)
Change-Id: I112dff4a1561bc890b58e5daa0690b050782049d
Signed-off-by: Tarun Kumar <tarun1.kumar@samsung.com>
19 files changed:
packaging/itc/native-metadata-editor-itc.spec [deleted file]
packaging/itc/native-metadata-editor-itc.xml [deleted file]
scripts_tpk/spec.sh
src/itc/metadata-editor/CMakeLists.txt [deleted file]
src/itc/metadata-editor/ITs-metadata-editor-common.c [deleted file]
src/itc/metadata-editor/ITs-metadata-editor-common.h [deleted file]
src/itc/metadata-editor/ITs-metadata-editor.c [deleted file]
src/itc/metadata-editor/metadata_editor_audio.MP3 [deleted file]
src/itc/metadata-editor/metadata_editor_audio.flac [deleted file]
src/itc/metadata-editor/metadata_editor_audio.ogg [deleted file]
src/itc/metadata-editor/metadata_editor_audio.wav [deleted file]
src/itc/metadata-editor/metadata_editor_picture.JPG [deleted file]
src/itc/metadata-editor/metadata_editor_video.MP4 [deleted file]
src/itc/metadata-editor/metadata_editor_video2.MP4 [deleted file]
src/itc/metadata-editor/tct-metadata-editor-native.c [deleted file]
src/itc/metadata-editor/tct-metadata-editor-native_mobile.h [deleted file]
src/itc/metadata-editor/tct-metadata-editor-native_tizeniot.h [deleted file]
src/itc/metadata-editor/tct-metadata-editor-native_tv.h [deleted file]
src/itc/metadata-editor/tct-metadata-editor-native_wearable.h [deleted file]

diff --git a/packaging/itc/native-metadata-editor-itc.spec b/packaging/itc/native-metadata-editor-itc.spec
deleted file mode 100755 (executable)
index c721021..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%define MODULE_NAME metadata-editor
-%define MODULE_LIBNAME capi-media-metadata-editor
-Name:       native-%{MODULE_NAME}-itc
-Summary:    Native API Integration TC (%{name})
-Version:    0.1
-Release:    0
-Group:      Development/Tools
-License:    Apache-2.0
-Source0:    %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(%{MODULE_LIBNAME})
-BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: cmake
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(capi-base-common)
-BuildRequires: pkgconfig(taglib)
-BuildRequires: pkgconfig(aul)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(libcurl)
-
-%description
-Native API Integration TC (%{name})
-
-p%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="itc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TV:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-%else
-       %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TV:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
-       %endif
-       %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
-       cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -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}%{APP_PATH}%{name}/data
-cp src/itc/metadata-editor/metadata_editor_video.MP4 %{buildroot}%{APP_PATH}%{name}/data/metadata_editor_video.MP4
-cp src/itc/metadata-editor/metadata_editor_video2.MP4 %{buildroot}%{APP_PATH}%{name}/data/metadata_editor_video2.MP4
-cp src/itc/metadata-editor/metadata_editor_audio.MP3 %{buildroot}%{APP_PATH}%{name}/data/metadata_editor_audio.MP3
-cp src/itc/metadata-editor/metadata_editor_picture.JPG %{buildroot}%{APP_PATH}%{name}/data/metadata_editor_picture.JPG
-
-
-mkdir -p %{buildroot}/usr/share/packages/
-cp packaging/itc/native-%{MODULE_NAME}-itc.xml %{buildroot}/usr/share/packages/        
-mkdir -p %{buildroot}%{APP_PATH}%{name}/bin
-#cp templates/external_wrapper.sh %{buildroot}%{APP_PATH}%{name}/bin
-%post
-chown -R 5000:5000 %{APP_PATH}%{name}/data
-chsmack -a %{name} %{APP_PATH}%{name}/data
-chmod -R 777 %{APP_PATH}%{name}/data/
-%postun
-
-
-%files
-%{APP_PATH}%{name}/*
-/usr/share/packages/%{name}.xml
-/usr/share/license/%{name}
diff --git a/packaging/itc/native-metadata-editor-itc.xml b/packaging/itc/native-metadata-editor-itc.xml
deleted file mode 100755 (executable)
index a6a5226..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="native-metadata-editor-itc" version="0.1.0" api-version="6.0">
-    <label>CoreMetadataEditorTest</label>
-    <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
-    <description>Native API test Application</description>
-    <ui-application appid="native.metadata-editor-itc" exec="/usr/apps/native-metadata-editor-itc/bin/tct-metadata-editor-native" 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>
-       <privilege>http://tizen.org/privilege/externalstorage</privilege>
-    </privileges>
-</manifest>
index bb347adb19536e069b361f93f417281e48da2e29..2f3f2b3f113ffdcc82d46d9389248b84c320e1d6 100644 (file)
@@ -250,23 +250,6 @@ case "$1" in
                        chsmack -a "User::App::Shared" $APP_DATA_DIR/*
                        chsmack -e "User::App::Shared" $APP_DATA_DIR/*
                        ;;
-       "org.tizen.metadata-editor-native-itc")
-                       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 metadata_editor_video.MP4 $APP_DATA_DIR/metadata_editor_video.MP4
-                       cp metadata_editor_video2.MP4 $APP_DATA_DIR/metadata_editor_video2.MP4
-                       cp metadata_editor_audio.MP3 $APP_DATA_DIR/metadata_editor_audio.MP3
-                       cp metadata_editor_picture.JPG $APP_DATA_DIR/metadata_editor_picture.JPG
-                       cp metadata_editor_audio.wav $APP_DATA_DIR/metadata_editor_audio.wav
-                       cp metadata_editor_audio.flac $APP_DATA_DIR/metadata_editor_audio.flac
-                       cp metadata_editor_audio.ogg $APP_DATA_DIR/metadata_editor_audio.ogg
-                       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.metadata-extractor-native-itc")
                        echo "Installing pre-requisites for the package $1"
                        mkdir -p $APP_DATA_DIR
diff --git a/src/itc/metadata-editor/CMakeLists.txt b/src/itc/metadata-editor/CMakeLists.txt
deleted file mode 100755 (executable)
index a93a647..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-SET(PKG_NAME "metadata-editor")
-
-SET(EXEC_NAME "tct-${PKG_NAME}-native")
-SET(RPM_NAME "native-${PKG_NAME}-itc")
-
-SET(CAPI_LIB "capi-media-metadata-editor")
-SET(TC_SOURCES
-    ITs-metadata-editor-common.c
-       ITs-metadata-editor.c
-)
-
-PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
-    ${CAPI_LIB}
-       capi-appfw-application
-    bundle
-       libcurl
-       glib-2.0
-       gobject-2.0
-       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}
-    bundle
-)
-
-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/itc/metadata-editor/ITs-metadata-editor-common.c b/src/itc/metadata-editor/ITs-metadata-editor-common.c
deleted file mode 100755 (executable)
index f06caf8..0000000
+++ /dev/null
@@ -1,108 +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 "ITs-metadata-editor-common.h"
-
-/** @addtogroup itc-metadata-editor
-* @ingroup             itc
-* @{
-*/
-
-//Add helper function definitions here
-
-/**
-* @function            MetadataEditorAppendToAppDataPath
-* @description         Appends the input string to application data path
-* @parameter           pInputPath: path to append to data path; pFinalPath: final resultant path
-* @return                      true if succeed else false
-*/
-bool MetadataEditorAppendToAppDataPath(char* pInputPath, char* pFinalPath)
-{
-       if ( NULL == pInputPath || NULL == pFinalPath )
-       {
-               FPRINTF("[Line: %d][%s] Null Path provided; Check the input string\\n", __LINE__, API_NAMESPACE);
-               return false;
-       }
-
-       char pAppDataPath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorGetDataPath(pAppDataPath) )
-       {
-               return false;
-       }
-
-       memset(pFinalPath, 0, PATH_LEN);
-       strncpy(pFinalPath, pAppDataPath, PATH_LEN-1);
-       strncat(pFinalPath, pInputPath, strlen(pInputPath)+1);
-
-       FPRINTF("[Line: %d][%s] result path returned = %s\\n", __LINE__, API_NAMESPACE, pFinalPath);
-       return true;
-}
-
-/**
-* @function            MetadataEditorGetDataPath
-* @description         Returns the application data path
-* @parameter           pAppDataPath: application data path
-* @return                      true if succeed else false
-*/
-bool MetadataEditorGetDataPath(char* pAppDataPath)
-{
-       if ( NULL == pAppDataPath )
-       {
-               FPRINTF("[Line: %d][%s] Null Path provided; Check the input string\\n", __LINE__, API_NAMESPACE);
-               return false;
-       }
-
-       memset(pAppDataPath, 0, PATH_LEN);
-
-       char* pPath = NULL;
-       pPath = app_get_data_path();
-       if ( NULL == pPath )
-       {
-               FPRINTF("[Line: %d][%s] Unable to get application data path; app_get_data_path returned null value\\n", __LINE__, API_NAMESPACE);
-               return false;
-       }
-
-       strncpy(pAppDataPath, pPath, PATH_LEN-1);
-
-       FPRINTF("[Line: %d][%s] application data path returned = %s\\n", __LINE__, API_NAMESPACE, pAppDataPath);
-
-       return true;
-}
-
-/**
-* @function            Metadata_EditorGetError
-* @description         Maps error enums to string values
-* @parameter           nRet: error code returned
-* @return                      error string
-*/
-char* Metadata_EditorGetError(int nRet)
-{
-       char *szErrorVal = NULL;
-       switch ( nRet )
-       {
-       case METADATA_EDITOR_ERROR_NONE:                                szErrorVal = "TIZEN_ERROR_NONE";                                                                break;
-       case METADATA_EDITOR_ERROR_INVALID_PARAMETER:   szErrorVal = "METADATA_EDITOR_ERROR_INVALID_PARAMETER";                 break;
-       case METADATA_EDITOR_ERROR_OUT_OF_MEMORY:               szErrorVal = "METADATA_EDITOR_ERROR_OUT_OF_MEMORY";                             break;
-       case METADATA_EDITOR_ERROR_OPERATION_FAILED:    szErrorVal = "METADATA_EDITOR_ERROR_OPERATION_FAILED";                  break;
-       case METADATA_EDITOR_ERROR_FILE_EXISTS:                 szErrorVal = "METADATA_EDITOR_ERROR_FILE_EXISTS";                               break;
-       case METADATA_EDITOR_ERROR_PERMISSION_DENIED:   szErrorVal = "TIZEN_ERROR_PERMISSION_DENIED";                                   break;
-       case METADATA_EDITOR_ERROR_NOT_SUPPORTED:               szErrorVal = "TIZEN_ERROR_NOT_SUPPORTED";                                               break;
-       case METADATA_EDITOR_ERROR_METADATA_UPDATE_NOT_POSSIBLE:        szErrorVal = "TIZEN_ERROR_METADATA_UPDATE_NOT_POSSIBLE";        break;
-       default:                                                                                szErrorVal = "Unknown Error";                                                                   break;
-       }
-       return szErrorVal;
-}
-
-/** @} */ //end of itc-metadata-editor
diff --git a/src/itc/metadata-editor/ITs-metadata-editor-common.h b/src/itc/metadata-editor/ITs-metadata-editor-common.h
deleted file mode 100755 (executable)
index 154a3ca..0000000
+++ /dev/null
@@ -1,55 +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 _ITS_METADATA_EDITOR_COMMON_H_
-#define _ITS_METADATA_EDITOR_COMMON_H_
-
-//Add test package related includes here
-
-#include "tct_common.h"
-#include <metadata_editor.h>
-#include <app.h>
-
-/** @addtogroup itc-metadata-editor
-* @ingroup             itc
-* @{
-*/
-
-metadata_editor_h      g_hMetadataEditorHandle;
-bool                           g_bMetadataEditorCreation;
-
-#define API_NAMESPACE                                                  "METADATA_EDITOR_ITC"
-#define PATH_LEN                                                               1024
-#define MEDIA_VIDEO_PATH_2                                             "metadata_editor_video2.MP4"
-#define MEDIA_VIDEO_PATH                                               "metadata_editor_video.MP4"
-#define MEDIA_AUDIO_PATH                                               "metadata_editor_audio.MP3"
-#define MEDIA_PICTURE_PATH                                             "metadata_editor_picture.JPG"
-#define MEDIA_WAV_PATH                                                 "metadata_editor_audio.wav"
-#define MEDIA_FLAC_PATH                                                        "metadata_editor_audio.flac"
-#define MEDIA_OGG_PATH                                                 "metadata_editor_audio.ogg"
-
-#define START_TEST {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-}
-
-//Add helper function declarations here
-
-char* Metadata_EditorGetError(int nRet);
-bool MetadataEditorGetDataPath(char* pAppDataPath);
-bool MetadataEditorAppendToAppDataPath(char* pInputPath, char* pFinalPath);
-
-/** @} */ //end of itc-metadata-editor
-
-#endif  //_ITS_METADATA_EDITOR_COMMON_H_
diff --git a/src/itc/metadata-editor/ITs-metadata-editor.c b/src/itc/metadata-editor/ITs-metadata-editor.c
deleted file mode 100755 (executable)
index 9919495..0000000
+++ /dev/null
@@ -1,452 +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 "ITs-metadata-editor-common.h"
-
-/** @addtogroup itc-metadata-editor
-* @ingroup             itc
-* @{
-*/
-
-//& set: MetadataEditor
-
- metadata_editor_attr_e g_attribute[] = {
-    METADATA_EDITOR_ATTR_ARTIST,
-       METADATA_EDITOR_ATTR_TITLE,
-       METADATA_EDITOR_ATTR_ALBUM,
-       METADATA_EDITOR_ATTR_GENRE,
-       METADATA_EDITOR_ATTR_AUTHOR,
-       METADATA_EDITOR_ATTR_COPYRIGHT,
-       METADATA_EDITOR_ATTR_DATE,
-       METADATA_EDITOR_ATTR_DESCRIPTION,
-       METADATA_EDITOR_ATTR_COMMENT,
-       METADATA_EDITOR_ATTR_TRACK_NUM,
-       METADATA_EDITOR_ATTR_CONDUCTOR,
-       METADATA_EDITOR_ATTR_UNSYNCLYRICS
-};
-
-/**
- * @function           ITs_metadata_editor_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */
-void ITs_metadata_editor_startup(void)
-{
-       struct stat stBuff;
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       char szAudioFilePath[PATH_LEN] = {0,};
-
-       int nRet = metadata_editor_create(&g_hMetadataEditorHandle );
-
-       if ( nRet != METADATA_EDITOR_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] metadata_editor_create failed\\n", __LINE__, API_NAMESPACE);
-               Metadata_EditorGetError(nRet);
-               return;
-       }
-
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_AUDIO_PATH, szAudioFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return;
-       }
-
-       nRet = metadata_editor_set_path(g_hMetadataEditorHandle, szAudioFilePath);
-
-       if ( nRet != METADATA_EDITOR_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] metadata_editor_set_path failed\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               Metadata_EditorGetError(nRet);
-               return;
-       }
-
-       return;
-}
-
-
-/**
- * @function           ITs_metadata_editor_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */
-void ITs_metadata_editor_cleanup(void)
-{
-       int nRet = metadata_editor_destroy(g_hMetadataEditorHandle);
-
-       if ( nRet != METADATA_EDITOR_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] metadata_editor_destroy failed\\n", __LINE__, API_NAMESPACE);
-               Metadata_EditorGetError(nRet);
-               return;
-       }
-       return;
-}
-
-/** @addtogroup        itc-metadata-editor-testcases
-* @brief               Integration testcases for module metadata-editor
-* @ingroup             itc-metadata-editor
-* @{
-*/
-
-//& type: auto
-//& purpose: create and destroy meta-data editor handle
-/**
- * @testcase                           ITc_metadata_editor_create_destroy_p
- * @since_tizen                                2.4
- * @author                     SRID(a.ankush)
- * @reviewer                   SRID(gupta.sanjay)
- * @type                                       auto
- * @description                                create and destroy meta-data editor handle
- * @scenario                           NA
- * @apicovered                         metadata_editor_create ,metadata_editor_destroy
- * @passcase                           When metadata_editor_create and metadata_editor_destroy is successful
- * @failcase                           If metadata_editor_create or metadata_editor_destroy fails.
- * @precondition                       create a meta-data editor valid handle using metadata_editor_create API
- * @postcondition                      NA
- */
-int ITc_metadata_editor_create_destroy_p(void)
-{
-       START_TEST;
-       metadata_editor_h hMetadata;
-
-       int nRet = metadata_editor_create(&hMetadata);
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_create", Metadata_EditorGetError(nRet));
-
-       char szAudioFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_AUDIO_PATH, szAudioFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(hMetadata);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(hMetadata, szAudioFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(hMetadata));
-
-       char szWavFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_WAV_PATH, szWavFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(hMetadata, szWavFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(hMetadata));
-
-       char szFlacFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_FLAC_PATH, szFlacFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(hMetadata, szFlacFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(hMetadata));
-
-       char szOggFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_OGG_PATH, szOggFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(hMetadata, szOggFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(hMetadata));
-
-       nRet = metadata_editor_destroy(hMetadata);
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_destroy", Metadata_EditorGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose: Sets a file path for meta-data editor.
-/**
- * @testcase                           ITc_metadata_editor_set_path_p
- * @since_tizen                                2.4
- * @author                     SRID(a.ankush)
- * @reviewer                   SRID(gupta.sanjay)
- * @type                                       auto
- * @description                                Sets a file path for meta-data extraction.
- * @scenario                           Before getting artwork of file need to set file path.
- * @apicovered                         metadata_editor_set_path
- * @passcase                           When metadata_editor_set_path is successful
- * @failcase                           If metadata_editor_set_path fails.
- * @precondition                       create a meta-data editor valid handle using metadata_editor_create API
- * @postcondition                      NA
- */
-int ITc_metadata_editor_set_path_p(void)
-{
-       START_TEST;
-
-       char szAudioFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_AUDIO_PATH, szAudioFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       int nRet = metadata_editor_set_path(g_hMetadataEditorHandle,szAudioFilePath );
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet));
-
-       char szWavFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_WAV_PATH, szWavFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(g_hMetadataEditorHandle,szWavFilePath );
-        PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet));
-
-       char szFlacFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_FLAC_PATH, szFlacFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(g_hMetadataEditorHandle, szFlacFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(g_hMetadataEditorHandle));
-
-       char szOggFilePath[PATH_LEN] = {0,};
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_OGG_PATH, szOggFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               metadata_editor_destroy(g_hMetadataEditorHandle);
-               return 1;
-       }
-
-       nRet = metadata_editor_set_path(g_hMetadataEditorHandle, szOggFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(g_hMetadataEditorHandle));
-
-       return 0;
-
-}
-
-//& purpose: Gets meta-data and sets meta-data of multimedia file.
-//& type: auto
-/**
- * @testcase                   ITc_metadata_editor_set_get_metadata_p
- * @since_tizen                        2.4
- * @author             SRID(a.ankush)
- * @reviewer           SRID(gupta.sanjay)
- * @type                               auto
- * @description                        Gets meta-data and sets meta-data of multimedia file.
- * @scenario                   Before getting artwork of file need to set file path.
- * @apicovered                 metadata_editor_get_metadata ,metadata_editor_set_metadata.
- * @passcase                   When metadata_editor_set_metadata & metadata_editor_get_metadata is successful
- * @failcase                   If metadata_editor_set_metadata or metadata_editor_get_metadata fails
- * @precondition               Set path to extract by calling metadata_extractor_set_path
- * @postcondition              return buffer on success
- */
-int ITc_metadata_editor_set_get_metadata_p(void)
-{
-       START_TEST;
-
-       char input_data[] = "Metadata_editor_attributes_info";
-       int nRet = 0;
-       char * pMetadataInfo = NULL;
-       int i = 0;
-       for( i = 0; i < (sizeof(g_attribute)/sizeof(int)); ++i)
-       {
-               nRet = metadata_editor_set_metadata(g_hMetadataEditorHandle, g_attribute[i], input_data );
-               PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_metadata", Metadata_EditorGetError(nRet));
-
-               nRet = metadata_editor_get_metadata(g_hMetadataEditorHandle, g_attribute[i], &pMetadataInfo );
-
-               //check for value mis-match
-               if ( 0 != strcmp(input_data, pMetadataInfo) )
-               {
-                       FPRINTF("[Line : %d][%s] set and get mis-match occurs, set value = %s, get value = %s\\n", __LINE__, API_NAMESPACE, input_data, pMetadataInfo);
-                       FREE_MEMORY(pMetadataInfo);
-                       return 1;
-               }
-
-               FREE_MEMORY(pMetadataInfo);
-               PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_get_metadata", Metadata_EditorGetError(nRet));
-       }
-       return 0;
-}
-
-//& purpose: Updates meta-data of multimedia file.
-//& type: auto
-/**
- * @testcase                   ITc_metadata_editor_update_metadata_p
- * @since_tizen                2.4
- * @author             SRID(a.ankush)
- * @reviewer           SRID(gupta.sanjay)
- * @type                               auto
- * @description                        Updates meta-data of multimedia file.
- * @scenario                   Before getting artwork of file need to set file path\n
- *                                             Set or change meta-data attribute of multimedia file.
- * @apicovered                 metadata_editor_set_metadata,metadata_editor_update_metadata.
- * @passcase                   When metadata_editor_set_metadata and metadata_editor_update_metadata is successful.
- * @failcase                   If metadata_editor_set_metadata and metadata_editor_update_metadata fails.
- * @precondition               Set path to extract by calling metadata_extractor_set_path.
- * @postcondition              NA.
- */
-int ITc_metadata_editor_update_metadata_p(void)
-{
-       START_TEST;
-
-       int nRet = metadata_editor_set_metadata(g_hMetadataEditorHandle, METADATA_EDITOR_ATTR_ARTIST, "metadata_editor");
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet));
-
-       nRet = metadata_editor_update_metadata(g_hMetadataEditorHandle);
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_update_metadata", Metadata_EditorGetError(nRet));
-
-       return 0;
-}
-
-//& purpose: Append the picture to the media file.
-//& type: auto
-/**
- * @testcase                   ITc_metadata_editor_get_picture_p
- * @since_tizen                2.4
- * @author             SRID(a.ankush)
- * @reviewer           SRID(gupta.sanjay)
- * @type                               auto
- * @description                        Append the picture to the media file.
- * @scenario                   Before getting artwork of file need to set file path.
- * @apicovered                 metadata_editor_append_picture.
- * @passcase                   When metadata_editor_append_picture is successful.
- * @failcase                   If metadata_editor_append_picture fails.
- * @precondition               Set path to extract by calling metadata_extractor_set_path.
- * @postcondition              NA.
- */
-int ITc_metadata_editor_append_picture_p(void)
-{
-       START_TEST;
-       char szVideoFilePath[PATH_LEN] = {0,};
-       char szPicturePath[PATH_LEN] = {0,};
-
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_VIDEO_PATH, szVideoFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_PICTURE_PATH, szPicturePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       int nRet = metadata_editor_append_picture(g_hMetadataEditorHandle,szPicturePath );
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_append_picture", Metadata_EditorGetError(nRet));
-
-       return 0;
-}
-
-//& purpose: Get the picture in the multimedia file.
-//& type: auto
-/**
- * @testcase                   ITc_metadata_editor_get_picture_p
- * @since_tizen                2.3
- * @author             SRID(a.ankush)
- * @reviewer           SRID(gupta.sanjay)
- * @type                               auto
- * @description                        Get the picture in the multimedia file.
- * @scenario                   Before getting artwork of file need to set file path\n
- *                                             Get the picture index attribute from the multimedia file.
- * @apicovered                 metadata_editor_get_metadata,metadata_editor_get_picture.
- * @passcase                   When metadata_editor_get_metadata and metadata_editor_get_picture is successful.
- * @failcase                   If metadata_editor_get_metadata and metadata_editor_get_picture fails.
- * @precondition               Set path to extract by calling metadata_extractor_set_path.
- * @postcondition              NA.
- */
-int ITc_metadata_editor_get_picture_p(void)
-{
-       START_TEST;
-
-       char *szMimeType_handle = NULL;//"JPG";
-       int size =0;
-       char szAudioFilePath[PATH_LEN] = {0,};
-       metadata_editor_attr_e attribute = METADATA_EDITOR_ATTR_PICTURE_NUM;
-       char* picture_index = NULL;
-       metadata_editor_h g_hMetadata_local;
-
-       int nRet = metadata_editor_create(&g_hMetadata_local );
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_create", Metadata_EditorGetError(nRet));
-
-       if ( false == MetadataEditorAppendToAppDataPath(MEDIA_AUDIO_PATH, szAudioFilePath) )
-       {
-               FPRINTF("[Line : %d][%s] unable to get the app data path\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       void *picture_val = NULL;
-       nRet = metadata_editor_set_path(g_hMetadata_local, szAudioFilePath);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_set_path", Metadata_EditorGetError(nRet), metadata_editor_destroy(g_hMetadata_local));
-
-       nRet = metadata_editor_get_metadata(g_hMetadata_local, attribute, &picture_index);
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_get_metadata", Metadata_EditorGetError(nRet),metadata_editor_destroy(g_hMetadata_local));
-
-       uint num = 0;
-       num = atoi(picture_index);
-       FPRINTF("[Line : %d][%s] Number value is %d \\n", __LINE__, API_NAMESPACE,num);
-       nRet = metadata_editor_get_picture(g_hMetadata_local,num-1 ,&picture_val ,&size,&szMimeType_handle );
-       PRINT_RESULT_CLEANUP(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_get_picture", Metadata_EditorGetError(nRet),metadata_editor_destroy(g_hMetadata_local));
-
-       FREE_MEMORY(picture_val);
-       FREE_MEMORY(picture_index);
-
-       nRet = metadata_editor_destroy(g_hMetadata_local);
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_destroy", Metadata_EditorGetError(nRet));
-
-       return 0;
-}
-
-//& purpose: Remove artwork image from media file.
-//& type: auto
-/**
- * @testcase                   ITc_metadata_editor_remove_picture_p
- * @since_tizen                2.3
- * @author             SRID(a.ankush)
- * @reviewer           SRID(gupta.sanjay)
- * @type                               auto
- * @description                        Remove artwork image from media file.
- * @scenario                   Before getting artwork of file need to set file path.
- * @apicovered                 metadata_editor_remove_picture.
- * @passcase                   When metadata_editor_remove_picture is successful.
- * @failcase                   If metadata_editor_remove_picture fails.
- * @precondition               Set path to extract by calling metadata_extractor_set_path.
- * @postcondition              NA
- */
-int ITc_metadata_editor_remove_picture_p(void)
-{
-       START_TEST;
-       int index = 0;
-
-       int nRet = metadata_editor_remove_picture(g_hMetadataEditorHandle,index);
-       PRINT_RESULT(METADATA_EDITOR_ERROR_NONE, nRet, "metadata_editor_remove_picture", Metadata_EditorGetError(nRet));
-
-       return 0;
-}
-
-/** @} */ //end of itc-metadata-editor
-/** @} */ //end of itc-metadata-editor-testcases
diff --git a/src/itc/metadata-editor/metadata_editor_audio.MP3 b/src/itc/metadata-editor/metadata_editor_audio.MP3
deleted file mode 100755 (executable)
index 7419651..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_audio.MP3 and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_audio.flac b/src/itc/metadata-editor/metadata_editor_audio.flac
deleted file mode 100755 (executable)
index b574de2..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_audio.flac and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_audio.ogg b/src/itc/metadata-editor/metadata_editor_audio.ogg
deleted file mode 100644 (file)
index 563985d..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_audio.ogg and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_audio.wav b/src/itc/metadata-editor/metadata_editor_audio.wav
deleted file mode 100755 (executable)
index 99fc1c2..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_audio.wav and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_picture.JPG b/src/itc/metadata-editor/metadata_editor_picture.JPG
deleted file mode 100755 (executable)
index 7a15f14..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_picture.JPG and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_video.MP4 b/src/itc/metadata-editor/metadata_editor_video.MP4
deleted file mode 100755 (executable)
index ecf3f9f..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_video.MP4 and /dev/null differ
diff --git a/src/itc/metadata-editor/metadata_editor_video2.MP4 b/src/itc/metadata-editor/metadata_editor_video2.MP4
deleted file mode 100755 (executable)
index ecf3f9f..0000000
Binary files a/src/itc/metadata-editor/metadata_editor_video2.MP4 and /dev/null differ
diff --git a/src/itc/metadata-editor/tct-metadata-editor-native.c b/src/itc/metadata-editor/tct-metadata-editor-native.c
deleted file mode 100755 (executable)
index da64aab..0000000
+++ /dev/null
@@ -1,138 +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  //Starts MOBILE
-#include "tct-metadata-editor-native_mobile.h"
-#endif  //MOBILE       //End MOBILE
-
-#ifdef WEARABLE        //Starts WEARABLE
-#include "tct-metadata-editor-native_wearable.h"
-#endif  //WEARABLE     //End WEARABLE
-
-#ifdef TV      //Starts TV
-#include "tct-metadata-editor-native_tv.h"
-#endif  //TV   //End TV
-
-#ifdef TIZENIOT        //Starts TIZENIOT
-#include "tct-metadata-editor-native_tizeniot.h"
-#endif  //TIZENIOT     //End 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>
-
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <errno.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)) )
-               {
-                       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);
-                       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/itc/metadata-editor/tct-metadata-editor-native_mobile.h b/src/itc/metadata-editor/tct-metadata-editor-native_mobile.h
deleted file mode 100755 (executable)
index 7be00cf..0000000
+++ /dev/null
@@ -1,44 +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 ITs_metadata_editor_startup(void);
-extern void ITs_metadata_editor_cleanup(void);
-
-extern int ITc_metadata_editor_create_destroy_p(void);
-extern int ITc_metadata_editor_set_path_p(void);
-extern int ITc_metadata_editor_set_get_metadata_p(void);
-extern int ITc_metadata_editor_update_metadata_p(void);
-extern int ITc_metadata_editor_append_picture_p(void);
-extern int ITc_metadata_editor_get_picture_p(void);
-extern int ITc_metadata_editor_remove_picture_p(void);
-
-testcase tc_array[] = {
-       {"ITc_metadata_editor_create_destroy_p",ITc_metadata_editor_create_destroy_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_path_p",ITc_metadata_editor_set_path_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_get_metadata_p",ITc_metadata_editor_set_get_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_update_metadata_p",ITc_metadata_editor_update_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_append_picture_p",ITc_metadata_editor_append_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_get_picture_p",ITc_metadata_editor_get_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_remove_picture_p",ITc_metadata_editor_remove_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/itc/metadata-editor/tct-metadata-editor-native_tizeniot.h b/src/itc/metadata-editor/tct-metadata-editor-native_tizeniot.h
deleted file mode 100755 (executable)
index 7be00cf..0000000
+++ /dev/null
@@ -1,44 +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 ITs_metadata_editor_startup(void);
-extern void ITs_metadata_editor_cleanup(void);
-
-extern int ITc_metadata_editor_create_destroy_p(void);
-extern int ITc_metadata_editor_set_path_p(void);
-extern int ITc_metadata_editor_set_get_metadata_p(void);
-extern int ITc_metadata_editor_update_metadata_p(void);
-extern int ITc_metadata_editor_append_picture_p(void);
-extern int ITc_metadata_editor_get_picture_p(void);
-extern int ITc_metadata_editor_remove_picture_p(void);
-
-testcase tc_array[] = {
-       {"ITc_metadata_editor_create_destroy_p",ITc_metadata_editor_create_destroy_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_path_p",ITc_metadata_editor_set_path_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_get_metadata_p",ITc_metadata_editor_set_get_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_update_metadata_p",ITc_metadata_editor_update_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_append_picture_p",ITc_metadata_editor_append_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_get_picture_p",ITc_metadata_editor_get_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_remove_picture_p",ITc_metadata_editor_remove_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/itc/metadata-editor/tct-metadata-editor-native_tv.h b/src/itc/metadata-editor/tct-metadata-editor-native_tv.h
deleted file mode 100755 (executable)
index 7be00cf..0000000
+++ /dev/null
@@ -1,44 +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 ITs_metadata_editor_startup(void);
-extern void ITs_metadata_editor_cleanup(void);
-
-extern int ITc_metadata_editor_create_destroy_p(void);
-extern int ITc_metadata_editor_set_path_p(void);
-extern int ITc_metadata_editor_set_get_metadata_p(void);
-extern int ITc_metadata_editor_update_metadata_p(void);
-extern int ITc_metadata_editor_append_picture_p(void);
-extern int ITc_metadata_editor_get_picture_p(void);
-extern int ITc_metadata_editor_remove_picture_p(void);
-
-testcase tc_array[] = {
-       {"ITc_metadata_editor_create_destroy_p",ITc_metadata_editor_create_destroy_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_path_p",ITc_metadata_editor_set_path_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_get_metadata_p",ITc_metadata_editor_set_get_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_update_metadata_p",ITc_metadata_editor_update_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_append_picture_p",ITc_metadata_editor_append_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_get_picture_p",ITc_metadata_editor_get_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_remove_picture_p",ITc_metadata_editor_remove_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__
diff --git a/src/itc/metadata-editor/tct-metadata-editor-native_wearable.h b/src/itc/metadata-editor/tct-metadata-editor-native_wearable.h
deleted file mode 100755 (executable)
index 7be00cf..0000000
+++ /dev/null
@@ -1,44 +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 ITs_metadata_editor_startup(void);
-extern void ITs_metadata_editor_cleanup(void);
-
-extern int ITc_metadata_editor_create_destroy_p(void);
-extern int ITc_metadata_editor_set_path_p(void);
-extern int ITc_metadata_editor_set_get_metadata_p(void);
-extern int ITc_metadata_editor_update_metadata_p(void);
-extern int ITc_metadata_editor_append_picture_p(void);
-extern int ITc_metadata_editor_get_picture_p(void);
-extern int ITc_metadata_editor_remove_picture_p(void);
-
-testcase tc_array[] = {
-       {"ITc_metadata_editor_create_destroy_p",ITc_metadata_editor_create_destroy_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_path_p",ITc_metadata_editor_set_path_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_set_get_metadata_p",ITc_metadata_editor_set_get_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_update_metadata_p",ITc_metadata_editor_update_metadata_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_append_picture_p",ITc_metadata_editor_append_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_get_picture_p",ITc_metadata_editor_get_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {"ITc_metadata_editor_remove_picture_p",ITc_metadata_editor_remove_picture_p,ITs_metadata_editor_startup,ITs_metadata_editor_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_METADATA-EDITOR-NATIVE_H__