[ITC][attach-panel][ACR-1802] remove deprecated attach-panel module 36/302536/4
authorTarun Kumar <tarun1.kumar@samsung.com>
Fri, 8 Dec 2023 06:27:41 +0000 (11:57 +0530)
committerTarun Kumar <tarun1.kumar@samsung.com>
Fri, 8 Dec 2023 08:16:12 +0000 (13:46 +0530)
Change-Id: Ie7d50ba6b05d62b20bac1282a474586e494de258
Signed-off-by: Tarun Kumar <tarun1.kumar@samsung.com>
packaging/itc/native-attach-panel-itc.spec [deleted file]
packaging/itc/native-attach-panel-itc.xml [deleted file]
src/itc/attach-panel/CMakeLists.txt [deleted file]
src/itc/attach-panel/ITs-attach-panel-common.c [deleted file]
src/itc/attach-panel/ITs-attach-panel-common.h [deleted file]
src/itc/attach-panel/ITs-attach-panel.c [deleted file]
src/itc/attach-panel/tct-attach-panel-native.c [deleted file]
src/itc/attach-panel/tct-attach-panel-native_mobile.h [deleted file]
src/itc/attach-panel/tct-attach-panel-native_tizeniot.h [deleted file]
src/itc/attach-panel/tct-attach-panel-native_wearable.h [deleted file]
tct_unsupported.txt

diff --git a/packaging/itc/native-attach-panel-itc.spec b/packaging/itc/native-attach-panel-itc.spec
deleted file mode 100755 (executable)
index 0a77428..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-%define MODULE_NAME attach-panel
-%define MODULE_LIBNAME attach-panel
-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(dlog)
-BuildRequires: pkgconfig(libsystemd-journal)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: cmake
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(attach-panel)
-
-%description
-Native API Integration 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="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}/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
-
-%postun
-
-
-%files
-%{APP_PATH}%{name}/*
-/usr/share/packages/native-%{MODULE_NAME}-itc.xml
-/usr/share/license/%{name}
diff --git a/packaging/itc/native-attach-panel-itc.xml b/packaging/itc/native-attach-panel-itc.xml
deleted file mode 100755 (executable)
index 78b127a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="native-attach-panel-itc" version="0.1.0" api-version="6.0">
-    <label>NativeAttachPanelTest</label>
-    <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
-    <description>Native API test Application</description>
-    <ui-application appid="native.attach-panel-itc" exec="/usr/apps/native-attach-panel-itc/bin/tct-attach-panel-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/appmanager.launch</privilege>
-            <privilege>http://tizen.org/privilege/camera</privilege>
-            <privilege>http://tizen.org/privilege/telephony</privilege>
-       </privileges>
-</manifest>
diff --git a/src/itc/attach-panel/CMakeLists.txt b/src/itc/attach-panel/CMakeLists.txt
deleted file mode 100755 (executable)
index 876a35c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-SET(PKG_NAME "attach-panel")
-
-SET(EXEC_NAME "tct-${PKG_NAME}-native")
-SET(RPM_NAME "native-${PKG_NAME}-itc")
-
-SET(CAPI_LIB "attach-panel")
-SET(TC_SOURCES
-       ITs-attach-panel-common.c
-       ITs-attach-panel.c
-)
-
-PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
-    ${CAPI_LIB}
-       capi-appfw-application
-       libsystemd-journal
-       bundle
-       glib-2.0
-       capi-system-info
-       attach-panel
-)
-
-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/itc/attach-panel/ITs-attach-panel-common.c b/src/itc/attach-panel/ITs-attach-panel-common.c
deleted file mode 100755 (executable)
index e3a01d1..0000000
+++ /dev/null
@@ -1,48 +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-attach-panel-common.h"
-
-/** @addtogroup itc-attach-panel
-*  @ingroup itc
-*  @{
-*/
-
-/**
-* @function            AttachPanelGetError
-* @description         Maps attach_panel_error_e enums 
-* @parameter           error : error level
-* @return                      error string
-*/
-char* AttachPanelGetError(attach_panel_error_e error)
-{
-       char *szErrorVal = NULL;
-       switch ( error )
-       {
-               case ATTACH_PANEL_ERROR_NONE:                                                   szErrorVal = "ATTACH_PANEL_ERROR_NONE";                                                 break;
-               case ATTACH_PANEL_ERROR_INVALID_PARAMETER:                              szErrorVal = "ATTACH_PANEL_ERROR_INVALID_PARAMETER";                    break;
-               case ATTACH_PANEL_ERROR_OUT_OF_MEMORY:                                  szErrorVal = "ATTACH_PANEL_ERROR_OUT_OF_MEMORY";                                break;
-               case ATTACH_PANEL_ERROR_PERMISSION_DENIED:                              szErrorVal = "ATTACH_PANEL_ERROR_PERMISSION_DENIED";                    break;
-               case ATTACH_PANEL_ERROR_ALREADY_EXISTS:                                 szErrorVal = "ATTACH_PANEL_ERROR_ALREADY_EXISTS";                               break;
-               case  ATTACH_PANEL_ERROR_NOT_INITIALIZED:                               szErrorVal = " ATTACH_PANEL_ERROR_NOT_INITIALIZED";                             break;
-               case ATTACH_PANEL_ERROR_UNSUPPORTED_CONTENT_CATEGORY:   szErrorVal = "ATTACH_PANEL_ERROR_UNSUPPORTED_CONTENT_CATEGORY"; break;
-               case  ATTACH_PANEL_ERROR_ALREADY_DESTROYED:                             szErrorVal = " ATTACH_PANEL_ERROR_ALREADY_DESTROYED";                   break;
-               case  ATTACH_PANEL_ERROR_NOT_SUPPORTED:                                 szErrorVal = " ATTACH_PANEL_ERROR_NOT_SUPPORTED";                               break;
-               default:                                                                                                szErrorVal = "Unknown Error";                                                                   break;
-       }
-  
-       return szErrorVal;
-}
-/** @} */
diff --git a/src/itc/attach-panel/ITs-attach-panel-common.h b/src/itc/attach-panel/ITs-attach-panel-common.h
deleted file mode 100755 (executable)
index c25b575..0000000
+++ /dev/null
@@ -1,38 +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_ATTACH-PANEL_COMMON_H_
-#define _ITS_ATTACH-PANEL_COMMON_H_
-
-//Add test package related includes here
-#include "tct_common.h"
-#include <fcntl.h>
-#include <attach_panel.h>
-
-/** @addtogroup itc-attach_panel
-*  @ingroup itc
-*  @{
-*/
-#define FEATURE_ATTACHPANEL                    "http://tizen.org/feature/attach_panel"
-
-#define API_NAMESPACE                  "ATTACHPANEL_ITC"
-
-#define START_TEST {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-}
-
-char* AttachPanelGetError(attach_panel_error_e error);
-/** @} */
-#endif  //_ITS_ATTACH-PANEL_COMMON_H_
diff --git a/src/itc/attach-panel/ITs-attach-panel.c b/src/itc/attach-panel/ITs-attach-panel.c
deleted file mode 100755 (executable)
index c18618a..0000000
+++ /dev/null
@@ -1,142 +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-attach-panel-common.h"
-
-/** @addtogroup itc-attach_panel
-*  @ingroup itc
-*  @{
-*/
-
-//& set: attach_panel
-
-/**
-* @function            ITs_attach-panel_startup
-* @description         Called before each test, set the service boolean true
-* @parameter           NA
-* @return              NA
-*/
-void ITs_attach_panel_startup(void)
-{
-       struct stat buf;
-       if ( stat(ERR_LOG, &buf) == 0 )
-       {
-               int nRet = remove(ERR_LOG);
-               PRINT_RESULT_NORETURN(0, nRet, "ITs_attach_panel_startup -remove", "Remove failed for ERR_LOG");
-       }
-#if DEBUG
-       FPRINTF("[Line : %d][%s] TEST SUIT start-up: ITs_attach-panel_startup\\n", __LINE__, API_NAMESPACE);
-#endif
-}
-
-/**
-* @function            ITs_attach-panel_cleanup
-* @description         Called after each test
-* @parameter           NA
-* @return              NA
-*/
-void ITs_attach_panel_cleanup(void)
-{
-#if DEBUG
-       FPRINTF("[Line : %d][%s] TEST SUIT clean-up: ITs_attach-panel_cleanup\\n", __LINE__, API_NAMESPACE);
-#endif
-}
-
-
-/** @addtogroup itc-attach-panel-testcases
-*  @brief              Integration testcases for module attach-panel
-*  @ingroup    itc-attach-panel
-*  @{
-*/
-
-//& purpose: To test Show and Hide attach panel without animation
-//& type: auto
-/**
-* @testcase                    ITc_attach_panel_show_hide_without_animation_p
-* @since_tizen                 4.0
-* @author                              SRID(nibha.sharma)
-* @reviewer                            SRID(shobhit.v)
-* @type                                auto
-* @description                 To test Show and Hide attach panel without animation
-* @scenario                            attach_panel_show_without_animation,attach_panel_hide_without_animation
-* @apicovered                  attach_panel_show_without_animation,attach_panel_hide_without_animation
-* @passcase                            When target API is successful.
-* @failcase                            If target API fails or any precondition API fails
-* @precondition                        None
-* @postcondition               None
-*/
-int ITc_attach_panel_show_hide_without_animation_p(void)
-{
-       START_TEST;
-
-       attach_panel_h hAttachPanel = NULL;
-       Evas_Object *win = NULL;
-       Evas_Object *conformant = NULL;
-
-       win = elm_win_add(NULL, "Attach Panel Sample", ELM_WIN_BASIC);
-       CHECK_HANDLE(win, "elm_win_add");
-       evas_object_show(win);          // return type of evas_object_show api is void so no return type check
-
-       conformant = elm_conformant_add(win);
-       CHECK_HANDLE(conformant, "elm_conformant_add");
-
-       evas_object_size_hint_weight_set(conformant,  EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);              // return type of evas_object_size_hint_weight_set api is void so no return type check
-       elm_win_resize_object_add(win, conformant);             // return type of elm_win_resize_object_add api is void so no return type check
-       evas_object_show(conformant);           // return type of evas_object_show api is void so no return type check
-       
-       bool bAttachFeatureSupported = TCTCheckSystemInfoFeatureSupported(FEATURE_ATTACHPANEL, API_NAMESPACE);
-       
-
-       int nRet = attach_panel_create(conformant, &hAttachPanel);
-       if ( false == bAttachFeatureSupported)
-       {
-               if(nRet == TIZEN_ERROR_NOT_SUPPORTED)
-               {
-                       FPRINTF("[Line : %d][%s] attach_panel_create API call returned  %s error for unsupported attachpanel feature\\n", __LINE__, API_NAMESPACE, AttachPanelGetError(nRet));
-                       return 0;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] attach_panel_create API call returned  %s error for unsupported attachpanel feature\\n", __LINE__, API_NAMESPACE, AttachPanelGetError(nRet));
-                       return 1;
-               }
-       }
-       else
-       {
-               PRINT_RESULT_CLEANUP(ATTACH_PANEL_ERROR_NONE, nRet, "attach_panel_create", AttachPanelGetError(nRet),evas_object_del(conformant);conformant = NULL;evas_object_del(win);win = NULL);
-       }
-
-       nRet = attach_panel_add_content_category(hAttachPanel, ATTACH_PANEL_CONTENT_CATEGORY_MYFILES, NULL);
-       PRINT_RESULT_CLEANUP(ATTACH_PANEL_ERROR_NONE, nRet, "attach_panel_add_content_category", AttachPanelGetError(nRet),attach_panel_destroy(hAttachPanel);evas_object_del(conformant);conformant = NULL;evas_object_del(win);win = NULL);
-       
-       nRet = attach_panel_show_without_animation(hAttachPanel);
-       PRINT_RESULT_CLEANUP(ATTACH_PANEL_ERROR_NONE, nRet, "attach_panel_show_without_animation", AttachPanelGetError(nRet),attach_panel_destroy(hAttachPanel);evas_object_del(conformant);conformant = NULL;evas_object_del(win);win = NULL);
-
-       nRet = attach_panel_remove_content_category(hAttachPanel, ATTACH_PANEL_CONTENT_CATEGORY_MYFILES);
-       PRINT_RESULT_CLEANUP(ATTACH_PANEL_ERROR_NONE, nRet, "attach_panel_remove_content_category", AttachPanelGetError(nRet),attach_panel_destroy(hAttachPanel);evas_object_del(conformant);conformant = NULL;evas_object_del(win);win = NULL);
-
-       nRet = attach_panel_destroy(hAttachPanel);
-       PRINT_RESULT_CLEANUP(ATTACH_PANEL_ERROR_NONE, nRet, "attach_panel_destroy", AttachPanelGetError(nRet),evas_object_del(conformant);conformant = NULL;evas_object_del(win);win = NULL);
-
-       evas_object_del(conformant);    // return type of evas_object_del api is void so no return type check
-       conformant = NULL;
-
-       evas_object_del(win);   // return type of evas_object_del api is void so no return type check
-       win = NULL;
-
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/attach-panel/tct-attach-panel-native.c b/src/itc/attach-panel/tct-attach-panel-native.c
deleted file mode 100755 (executable)
index f1ffce4..0000000
+++ /dev/null
@@ -1,137 +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-attach-panel-native_mobile.h"
-#endif  //MOBILE       //End MOBILE
-
-#ifdef WEARABLE        //Starts WEARABLE
-#include "tct-attach-panel-native_wearable.h"
-#endif  //WEARABLE     //End WEARABLE
-
-#ifdef TV      //Starts TV
-#include "tct-attach-panel-native_tv.h"
-#endif  //TV   //End TV
-
-#ifdef TIZENIOT        //Starts TIZENIOT
-#include "tct-attach-panel-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/attach-panel/tct-attach-panel-native_mobile.h b/src/itc/attach-panel/tct-attach-panel-native_mobile.h
deleted file mode 100755 (executable)
index 31072c9..0000000
+++ /dev/null
@@ -1,32 +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_ATTACH-PANEL-NATIVE_H__
-#define __TCT_ATTACH-PANEL-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_attach_panel_startup(void);
-extern void ITs_attach_panel_cleanup(void);
-
-extern int ITc_attach_panel_show_hide_without_animation_p(void);
-
-testcase tc_array[] = {
-       {"ITc_attach_panel_show_hide_without_animation_p",ITc_attach_panel_show_hide_without_animation_p,ITs_attach_panel_startup,ITs_attach_panel_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_ATTACH-PANEL-NATIVE_H__
diff --git a/src/itc/attach-panel/tct-attach-panel-native_tizeniot.h b/src/itc/attach-panel/tct-attach-panel-native_tizeniot.h
deleted file mode 100755 (executable)
index 31072c9..0000000
+++ /dev/null
@@ -1,32 +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_ATTACH-PANEL-NATIVE_H__
-#define __TCT_ATTACH-PANEL-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_attach_panel_startup(void);
-extern void ITs_attach_panel_cleanup(void);
-
-extern int ITc_attach_panel_show_hide_without_animation_p(void);
-
-testcase tc_array[] = {
-       {"ITc_attach_panel_show_hide_without_animation_p",ITc_attach_panel_show_hide_without_animation_p,ITs_attach_panel_startup,ITs_attach_panel_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_ATTACH-PANEL-NATIVE_H__
diff --git a/src/itc/attach-panel/tct-attach-panel-native_wearable.h b/src/itc/attach-panel/tct-attach-panel-native_wearable.h
deleted file mode 100755 (executable)
index 2f5eea9..0000000
+++ /dev/null
@@ -1,26 +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_ATTACH-PANEL-NATIVE_H__
-#define __TCT_ATTACH-PANEL-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-testcase tc_array[] = {
-       {NULL, NULL}
-};
-
-#endif // __TCT_ATTACH-PANEL-NATIVE_H__
index 5bf061c9159a5ec602c7f96357051aa1da3586b1..87dccaae29f9f069a6e39b8aecc022df8c9fb34c 100755 (executable)
@@ -99,10 +99,6 @@ wearable:armv7l:itc:asp;
 wearable:aarch64:itc:asp;
 wearable:x86:itc:asp;
 wearable:x86_64:itc:asp;
-wearable:armv7l:itc:attach-panel;
-wearable:aarch64:itc:attach-panel;
-wearable:x86:itc:attach-panel;
-wearable:x86_64:itc:attach-panel;
 wearable:armv7l:itc:screen-mirroring;
 wearable:aarch64:itc:screen-mirroring;
 wearable:x86:itc:screen-mirroring;
@@ -302,7 +298,6 @@ tv:armv7l:itc:recorder;
 tv:armv7l:itc:screen-mirroring;
 tv:armv7l:itc:sensor;
 tv:armv7l:itc:usb-host;
-tv:armv7l:itc:attach-panel;
 tv:armv7l:itc:watchface-complication;
 tv:armv7l:itc:appcore-watch;
 tv:armv7l:itc:battery-monitor;