[ITC][capi-maps-service][ACR-1775] removed module due to deprecated API's 58/295358/1
authorTarun Kumar <tarun1.kumar@samsung.com>
Thu, 6 Jul 2023 04:25:57 +0000 (09:55 +0530)
committerTarun Kumar <tarun1.kumar@samsung.com>
Thu, 6 Jul 2023 04:25:57 +0000 (09:55 +0530)
Change-Id: I68cbf41b8020bd3576677ff4e302c2e003ab6c4d
Signed-off-by: Tarun Kumar <tarun1.kumar@samsung.com>
25 files changed:
packaging/itc/native-capi-maps-service-itc.spec [deleted file]
packaging/itc/native-capi-maps-service-itc.xml [deleted file]
src/itc/capi-maps-service/CMakeLists.txt [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-category.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-contact-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-image-link-object-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-review-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-route-maneuver.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-route.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-address.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-area.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-common.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-common.h [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-coordinates.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-place-filter.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-preference.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-view-here.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-view-object.c [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native.c [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native_mobile.h [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native_tizeniot.h [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native_tv.h [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native_wearable.h [deleted file]

diff --git a/packaging/itc/native-capi-maps-service-itc.spec b/packaging/itc/native-capi-maps-service-itc.spec
deleted file mode 100755 (executable)
index 9cbea8d..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-%define MODULE_NAME capi-maps-service
-%define MODULE_LIBNAME capi-maps-service
-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(glib-2.0)
-BuildRequires: cmake
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(capi-system-info)
-
-%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/%{name}.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/%{name}.xml
-/usr/share/license/%{name}
diff --git a/packaging/itc/native-capi-maps-service-itc.xml b/packaging/itc/native-capi-maps-service-itc.xml
deleted file mode 100755 (executable)
index 6606911..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="native-capi-maps-service-itc" version="0.1.0" api-version="6.0">
-    <label>CoreCapiMapsServiceTest</label>
-    <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
-    <description>Native API test Application</description>
-    <ui-application appid="native.capi-maps-service-itc" exec="/usr/apps/native-capi-maps-service-itc/bin/tct-capi-maps-service-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/mapservice</privilege>
-               <privilege>http://tizen.org/privilege/internet</privilege>
-               <privilege>http://tizen.org/privilege/network.profile</privilege>
-           <privilege>http://tizen.org/privilege/network.get</privilege>
-           <privilege>http://tizen.org/privilege/network.set</privilege>
-    </privileges>
-</manifest>
diff --git a/src/itc/capi-maps-service/CMakeLists.txt b/src/itc/capi-maps-service/CMakeLists.txt
deleted file mode 100755 (executable)
index 1f15990..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-SET(PKG_NAME "capi-maps-service")
-
-SET(EXEC_NAME "tct-${PKG_NAME}-native")
-SET(RPM_NAME "native-${PKG_NAME}-itc")
-
-SET(CAPI_LIB "capi-maps-service")
-SET(TC_SOURCES
-       ITs-capi-maps-service-here.c
-       ITs-capi-maps-service-address.c
-       ITs-capi-maps-service-area.c
-       ITs-capi-maps-service-common.c
-       ITs-capi-maps-service-coordinates.c
-       ITs-capi-maps-service-place-filter.c
-       ITs-capi-maps-service-preference.c
-       ITs-capi-maps-place-category.c
-       ITs-capi-maps-view-object.c
-       ITs-capi-maps-view-here.c
-       ITs-capi-maps-place-here.c
-       ITs-capi-maps-place-contact-here.c
-       ITs-capi-maps-place-image-link-object-here.c
-       ITs-capi-maps-place-review-here.c
-       ITs-capi-maps-route.c
-       ITs-capi-maps-route-maneuver.c
-)
-
-PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
-    ${CAPI_LIB}
-    capi-appfw-application
-       bundle
-       capi-system-info
-       glib-2.0
-       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/capi-maps-service/ITs-capi-maps-place-category.c b/src/itc/capi-maps-service/ITs-capi-maps-place-category.c
deleted file mode 100755 (executable)
index 29dacd2..0000000
+++ /dev/null
@@ -1,280 +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-capi-maps-service-common.h"
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-static maps_place_category_h g_hPlaceCategory;
-
-//& set: MapsServicePlaceCategory
-/**
- * @function           ITs_maps_place_category_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_category_startup(void)
-{
-       struct stat stBuff;   
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       g_bCategoryCreate = false;
-       int nRet = maps_place_category_create(&g_hPlaceCategory);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_place_category_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_place_category_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_place_category_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               return;
-       }
-       else if (g_hPlaceCategory == NULL)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_category_create fail in startup error returned : place category handle is NULL \\n", __LINE__, API_NAMESPACE);
-               return;
-       }
-       
-       g_bCategoryCreate = true;
-       return;
-}
-
-
-/**
- * @function           ITs_maps_place_category_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_category_cleanup(void)
-{
-       if(g_hPlaceCategory != NULL)
-       {
-               maps_place_category_destroy(g_hPlaceCategory);
-       }
-       return;
-}
-
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-
-//& type: auto
-//& purpose:  scenario to create and destroy a new place category handle
-/**
-* @testcase                    ITc_maps_place_category_create_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to create and destroy a place category handle
-* @scenario                            creates a new place category handle \n
-*                                              destroy the place category handle\n
-* @apicovered                  maps_place_category_create, maps_place_category_destroy
-* @passcase                            if maps_place_category_create and maps_place_category_destroy passes
-* @failcase                            if maps_place_category_create or maps_place_category_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_category_create_destroy_p(void)
-{
-       START_TEST_PLACE_CATEGORY;
-       maps_place_category_h hPlaceCategory = NULL;
-       
-       int nRet = maps_place_category_create(&hPlaceCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hPlaceCategory, "maps_place_category_create");
-
-       nRet = maps_place_category_destroy(hPlaceCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to clone a new place category handle
-/**
-* @testcase                    ITc_maps_place_category_clone_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone a place category handle
-* @scenario                            clones a new place category handle \n
-* @apicovered                  maps_place_category_clone
-* @passcase                            if maps_place_category_clone passes
-* @failcase                            if maps_place_category_clone fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_category_clone_p(void)
-{
-       START_TEST_PLACE_CATEGORY;
-       
-       maps_place_category_h hClonePlaceCategory = NULL;
-
-       int nRet = maps_place_category_clone(g_hPlaceCategory, &hClonePlaceCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_clone", MapServiceGetError(nRet));
-       CHECK_HANDLE(hClonePlaceCategory, "maps_place_category_clone");
-
-       nRet = maps_place_category_destroy(hClonePlaceCategory);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_category_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get id of place category
-/**
-* @testcase                    ITc_maps_place_category_set_get_id_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to set and get id of place category
-* @scenario                            scenario to set and get id of place category \n
-* @apicovered                  maps_place_category_set_id, maps_place_category_get_id
-* @passcase                            if maps_place_category_set_id and maps_place_category_get_id passes
-* @failcase                            if maps_place_category_set_id and maps_place_category_get_id fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_category_set_get_id_p(void)
-{
-       START_TEST_PLACE_CATEGORY;
-       char *pszId = "CategoryId";
-       char *pszGetId = NULL;
-       
-       int nRet =  maps_place_category_set_id(g_hPlaceCategory, pszId);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_set_id", MapServiceGetError(nRet));
-       
-       nRet = maps_place_category_get_id(g_hPlaceCategory, &pszGetId);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_get_id", MapServiceGetError(nRet));
-       
-       if(strcmp(pszId,pszGetId) != 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_category_get_id, error = set get value are not same. set value = %s get value = %s \\n", __LINE__, API_NAMESPACE, pszId, pszGetId);
-               free(pszGetId);
-               return 1;
-       }
-       free(pszGetId);
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get name of place category
-/**
-* @testcase                    ITc_maps_place_category_set_get_name_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to set and get name of place category
-* @scenario                            scenario to set and get name of place category \n
-* @apicovered                  maps_place_category_set_name, maps_place_category_get_name
-* @passcase                            if maps_place_category_set_name and maps_place_category_get_name passes
-* @failcase                            if maps_place_category_set_name and maps_place_category_get_name fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_category_set_get_name_p(void)
-{
-       START_TEST_PLACE_CATEGORY;
-       char *pszName = "MyPlace";
-       char *pszGetName = NULL;
-       
-       int nRet =  maps_place_category_set_name(g_hPlaceCategory, pszName);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_set_name", MapServiceGetError(nRet));
-       
-       nRet = maps_place_category_get_name(g_hPlaceCategory, &pszGetName);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_get_name", MapServiceGetError(nRet));
-       
-       if(strcmp(pszName,pszGetName) != 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_category_get_name, error = set get value are not same. set value = %s get value = %s \\n", __LINE__, API_NAMESPACE, pszName, pszGetName);
-               free(pszGetName);
-               return 1;
-       }
-       free(pszGetName);
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get url of place category
-/**
-* @testcase                    ITc_maps_place_category_set_get_url_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to set and get url of place category
-* @scenario                            scenario to set and get url of place category \n
-* @apicovered                  maps_place_category_set_url, maps_place_category_get_url
-* @passcase                            if maps_place_category_set_url and maps_place_category_get_url passes
-* @failcase                            if maps_place_category_set_url and maps_place_category_get_url fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_category_set_get_url_p(void)
-{
-       START_TEST_PLACE_CATEGORY;
-       
-       char *pszUrl = "http://MyUrl.com";
-       char *pszGetUrl = NULL;
-       
-       int nRet =  maps_place_category_set_url(g_hPlaceCategory, pszUrl);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_set_url", MapServiceGetError(nRet));
-       
-       nRet = maps_place_category_get_url(g_hPlaceCategory, &pszGetUrl);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_get_url", MapServiceGetError(nRet));
-       
-       if(strcmp(pszUrl,pszGetUrl) != 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_category_get_url, error = set get value are not same. set value = %s get value = %s \\n", __LINE__, API_NAMESPACE, pszUrl, pszGetUrl);
-               free(pszGetUrl);
-               return 1;
-       }
-       free(pszGetUrl);
-       
-       return 0;
-}              
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-contact-here.c b/src/itc/capi-maps-service/ITs-capi-maps-place-contact-here.c
deleted file mode 100755 (executable)
index c945c1c..0000000
+++ /dev/null
@@ -1,313 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-static maps_place_contact_h g_place_contact = NULL;
-
-       
-static bool MapsPlaceContactsCb(int index, int total, maps_place_contact_h contact, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceContactsCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_place_contact_clone(contact, &g_place_contact);
-       }
-       
-       return true;
-}
-/**
- * @function           ITs_maps_place_contact_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_contact_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceHandleHelperHERE();
-       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_place_contact_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_contact_cleanup(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all contacts for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_foreach_contact_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all contacts
-* @scenario                            maps_place_foreach_contact
-* @apicovered                  maps_place_foreach_contact
-* @passcase                            if maps_place_foreach_contact passes
-* @failcase                            if maps_place_foreach_contact fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_foreach_contact_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_contact", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceContactsCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-    nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}                 
-//& type: auto
-//& purpose:  scenario to clone and destroy the place contact handle.
-/**
-* @testcase                    ITc_maps_place_contact_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy the place contact handle.
-* @scenario                            maps_place_contact_clone, maps_place_contact_destroy
-* @apicovered                  maps_place_contact_clone, maps_place_contact_destroy
-* @passcase                            if maps_place_contact_clone and maps_place_contact_destroy passes
-* @failcase                            if maps_place_contact_clone and maps_place_contact_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_contact_clone_destroy_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_contact", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceContactsCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_contact_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(g_place_contact, "maps_place_contact_clone",maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_contact_destroy(g_place_contact);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_contact_destroy", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       
-    nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get label of the place contact handle.
-/**
-* @testcase                    ITc_maps_place_contact_get_label_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get label of the place contact handle.
-* @scenario                            maps_place_contact_get_label
-* @apicovered                  maps_place_contact_get_label
-* @passcase                            if maps_place_contact_get_label passes
-* @failcase                            if maps_place_contact_get_label fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_contact_get_label_p(void)
-{
-       START_TEST_PLACE;
-
-       int nRet;
-       char* label = NULL;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_contact", MapServiceGetError(nRet),maps_place_destroy(g_maps_place);maps_place_contact_destroy(g_place_contact));
-       
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceContactsCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_contact_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(g_place_contact, "maps_place_contact_clone",maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_contact_get_label(g_place_contact, &label);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_contact_get_label", MapServiceGetError(nRet),maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(label, "maps_place_contact_get_label",maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-               
-       free(label);
-       nRet = maps_place_contact_destroy(g_place_contact);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_contact_destroy", MapServiceGetError(nRet));
-    nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get type of the place contact handle.
-/**
-* @testcase                    ITc_maps_place_contact_get_type_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get type of the place contact handle.
-* @scenario                            maps_place_contact_get_type
-* @apicovered                  maps_place_contact_get_type
-* @passcase                            if maps_place_contact_get_type passes
-* @failcase                            if maps_place_contact_get_type fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_contact_get_type_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       char* type = NULL;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_contact", MapServiceGetError(nRet),maps_place_destroy(g_maps_place);maps_place_contact_destroy(g_place_contact));
-       
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceContactsCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_contact_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(g_place_contact, "maps_place_contact_clone",maps_place_destroy(g_maps_place));
-
-       nRet = maps_place_contact_get_type(g_place_contact, &type);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_contact_get_type", MapServiceGetError(nRet),maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(type, "maps_place_contact_get_type",maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-               
-       free(type);
-       nRet = maps_place_contact_destroy(g_place_contact);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_contact_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get value of the place contact handle.
-/**
-* @testcase                    ITc_maps_place_contact_get_value_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get value of the place contact handle.
-* @scenario                            maps_place_contact_get_value
-* @apicovered                  maps_place_contact_get_value
-* @passcase                            if maps_place_contact_get_value passes
-* @failcase                            if maps_place_contact_get_value fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_contact_get_value_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       char* value = NULL;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_contact", MapServiceGetError(nRet),maps_place_destroy(g_maps_place);maps_place_contact_destroy(g_place_contact));
-       
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceContactsCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_contact_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(g_place_contact, "maps_place_contact_clone",maps_place_destroy(g_maps_place));
-
-       nRet = maps_place_contact_get_value(g_place_contact, &value);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_contact_get_value", MapServiceGetError(nRet),maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(value, "maps_place_contact_get_value",maps_place_contact_destroy(g_place_contact);maps_place_destroy(g_maps_place));
-               
-       free(value);
-       nRet = maps_place_contact_destroy(g_place_contact);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_contact_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-here.c b/src/itc/capi-maps-service/ITs-capi-maps-place-here.c
deleted file mode 100755 (executable)
index fc428df..0000000
+++ /dev/null
@@ -1,526 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-/*static gboolean Timeout_Function(gpointer data)
-{
-       g_main_loop_quit((GMainLoop *)data);
-       return false;
-}*/
-static bool MapsPlaceCategoriesCb(int index, int total, maps_place_category_h category, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceCategoriesCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       
-       return true;
-}
-
-/**
- * @function           ITs_maps_place_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceHandleHelperHERE();
-       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_place_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_cleanup(void)
-{
-       return;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the distance for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_distance_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the distance for a specified coordinates boundary.
-* @scenario                            maps_place_get_distance
-* @apicovered                  maps_place_get_distance
-* @passcase                            if maps_place_get_distance passes
-* @failcase                            if maps_place_get_distance fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_place_get_distance_p(void)
-{
-       START_TEST_PLACE;
-       
-       int distance = 0;
-       int nRet;
-
-       nRet = maps_place_get_distance(g_maps_place,&distance);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_distance", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       
-       if(distance < 0)
-       {
-               FPRINTF("[Line : %d][%s] Invalid distance\\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to obtains the id for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_id_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the id for a specified coordinates boundary.
-* @scenario                            maps_place_get_id
-* @apicovered                  maps_place_get_id
-* @passcase                            if maps_place_get_id passes
-* @failcase                            if maps_place_get_id fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_place_get_id_p(void)
-{
-       START_TEST_PLACE;
-       
-       char *id = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_id(g_maps_place,&id);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_id", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(id, "maps_place_get_id",maps_place_destroy(g_maps_place));
-               
-       free(id);
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the location for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_location_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the location for a specified coordinates boundary.
-* @scenario                            maps_place_get_location
-* @apicovered                  maps_place_get_location
-* @passcase                            if maps_place_get_location passes
-* @failcase                            if maps_place_get_location fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_place_get_location_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_coordinates_h location = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_location(g_maps_place,&location);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_location", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(location, "maps_place_get_location",maps_place_destroy(g_maps_place));
-       
-       nRet = maps_coordinates_destroy(location);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);        
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the name for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_name_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the name for a specified coordinates boundary.
-* @scenario                            maps_place_get_name
-* @apicovered                  maps_place_get_name
-* @passcase                            if maps_place_get_name passes
-* @failcase                            if maps_place_get_name fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_place_get_name_p(void)
-{
-       START_TEST_PLACE;
-       
-       char *name = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_name(g_maps_place,&name);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_name", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(name, "maps_place_get_name",maps_place_destroy(g_maps_place));
-       
-       free(name);     
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the rating for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_rating_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the rating for a specified coordinates boundary.
-* @scenario                            maps_place_get_rating
-* @apicovered                  maps_place_get_rating
-* @passcase                            if maps_place_get_rating passes
-* @failcase                            if maps_place_get_rating fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_get_rating_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_rating(g_maps_place,&rating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_rating", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(rating, "maps_place_get_rating", maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_destroy(rating);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to clone and destroy the rating for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_rating_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy the rating for a specified coordinates boundary.
-* @scenario                            maps_place_rating_clone, maps_place_rating_destroy
-* @apicovered                  maps_place_rating_clone, maps_place_rating_destroy
-* @passcase                            if maps_place_rating_clone and maps_place_rating_destroy passes
-* @failcase                            if maps_place_rating_clone and maps_place_rating_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_rating_clone_destroy_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       maps_place_rating_h hRating = NULL;
-       int nRet;
-
-       nRet = maps_place_get_rating(g_maps_place, &rating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_rating", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(rating, "maps_place_get_rating",maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_clone(rating, &hRating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_rating_clone", MapServiceGetError(nRet), maps_place_rating_destroy(rating);maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(hRating, "maps_place_rating_clone", maps_place_rating_destroy(rating);maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_destroy(hRating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet), maps_place_rating_destroy(rating);maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_destroy(rating);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to obtains the place rating average
-/**
-* @testcase                    ITc_maps_place_rating_get_average_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the place rating average.
-* @scenario                            maps_place_rating_get_average
-* @apicovered                  maps_place_rating_get_average
-* @passcase                            if maps_place_rating_get_average passes
-* @failcase                            if maps_place_rating_get_average fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_rating_get_average_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       double average = 0.0;
-       int nRet;
-       
-       nRet = maps_place_get_rating(g_maps_place,&rating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_rating", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(rating, "maps_place_get_rating", maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_get_average(rating, &average);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_rating_get_average", MapServiceGetError(nRet), maps_place_rating_destroy(rating);maps_place_destroy(g_maps_place));
-       
-       if(average < 0)
-       {
-               FPRINTF("[Line : %d][%s] Invalid average\\n", __LINE__, API_NAMESPACE);
-               maps_place_rating_destroy(rating);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       nRet = maps_place_rating_destroy(rating);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to obtains the place rating count
-/**
-* @testcase                    ITc_maps_place_rating_get_count_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the place rating count.
-* @scenario                            maps_place_rating_get_count
-* @apicovered                  maps_place_rating_get_count
-* @passcase                            if maps_place_rating_get_count passes
-* @failcase                            if maps_place_rating_get_count fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_rating_get_count_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       int count = 0;
-       int nRet;
-
-       nRet = maps_place_get_rating(g_maps_place,&rating);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_rating", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(rating, "maps_place_get_rating", maps_place_destroy(g_maps_place));
-       
-       nRet = maps_place_rating_get_count(rating, &count);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_rating_get_count", MapServiceGetError(nRet), maps_place_rating_destroy(rating);maps_place_destroy(g_maps_place));
-       
-       if(count < 0)
-       {
-               FPRINTF("[Line : %d][%s] Invalid count\\n", __LINE__, API_NAMESPACE);
-               maps_place_rating_destroy(rating);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       nRet = maps_place_rating_destroy(rating);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to obtains the address for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_address_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to obtains the address for a specified coordinates boundary.
-* @scenario                            maps_place_get_address
-* @apicovered                  maps_place_get_address
-* @passcase                            if maps_place_get_address passes
-* @failcase                            if maps_place_get_address fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_get_address_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_address_h address = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_address(g_maps_place,&address);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_get_address", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       CHECK_HANDLE_CLEANUP(address, "maps_place_get_address", maps_place_destroy(g_maps_place));
-       
-       nRet = maps_address_destroy(address);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_address_destroy", MapServiceGetError(nRet));
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place related link for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_related_link_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place related link for a specified coordinates boundary.
-* @scenario                            maps_place_get_related_link
-* @apicovered                  maps_place_get_related_link
-* @passcase                            if maps_place_get_related_link passes
-* @failcase                            if maps_place_get_related_link fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_get_related_link_p(void)
-{
-       START_TEST_PLACE;
-
-       maps_place_link_object_h related = NULL;
-       int nRet;
-
-       nRet = maps_place_get_related_link(g_maps_place,&related);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_get_related_link", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               nRet = maps_place_link_object_destroy(related);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-       }
-
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to clone the place handle.
-/**
-* @testcase                    ITc_maps_place_clone_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone the place handle.
-* @scenario                            maps_place_clone
-* @apicovered                  maps_place_clone
-* @passcase                            if maps_place_clone passes
-* @failcase                            if maps_place_clone fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_clone_p(void)
-{
-       START_TEST_PLACE;
-
-       int nRet;
-
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}                                      
-//& type: auto
-//& purpose:  scenario to Retrieves all categories for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_foreach_category_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to Retrieves all categories for a specified coordinates boundary.
-* @scenario                            maps_place_foreach_category
-* @apicovered                  maps_place_foreach_category
-* @passcase                            if maps_place_foreach_category passes
-* @failcase                            if maps_place_foreach_category fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_foreach_category_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       /*maps_place_category_h hPlaceCategory;
-       
-       nRet = maps_place_category_create(&hPlaceCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hPlaceCategory, "maps_place_category_create");*/
-
-       g_nCheckCb = false;
-       nRet = maps_place_foreach_category(g_maps_place, MapsPlaceCategoriesCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_foreach_category", MapServiceGetError(nRet), maps_place_destroy(g_maps_place));
-       
-   // RUN_POLLING_LOOP;
-       
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsPlaceCategoriesCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-  
-       return 0;       
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-image-link-object-here.c b/src/itc/capi-maps-service/ITs-capi-maps-place-image-link-object-here.c
deleted file mode 100755 (executable)
index 4bb29b0..0000000
+++ /dev/null
@@ -1,589 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-static maps_place_image_h g_place_image = NULL;
-
-static bool MapsPlaceImagesCb(int index, int total, maps_place_image_h image, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceImagesCb callback\\n", __LINE__, API_NAMESPACE);
-    g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_place_image_clone(image, &g_place_image);
-       }
-       return true;
-}
-/**
- * @function           ITs_maps_place_image_linkobj_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_image_linkobj_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceLocationHandleHelperHERE();
-       return;
-}
-/**
- * @function           ITs_maps_place_image_linkobj_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_image_linkobj_cleanup(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all place images.
-/**
-* @testcase                    ITc_maps_place_foreach_image_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all place images
-* @scenario                            maps_place_foreach_image
-* @apicovered                  maps_place_foreach_image
-* @passcase                            if maps_place_foreach_image passes
-* @failcase                            if maps_place_foreach_image fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_foreach_image_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}      
-          
-//& type: auto
-//& purpose:  scenario to clone and destroy the place image handle.
-/**
-* @testcase                    ITc_maps_place_image_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy the place image handle.
-* @scenario                            maps_place_image_clone, maps_place_image_destroy
-* @apicovered                  maps_place_image_clone, maps_place_image_destroy
-* @passcase                            if maps_place_image_clone and maps_place_image_destroy passes
-* @failcase                            if maps_place_image_clone and maps_place_image_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_image_clone_destroy_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get id of the place image handle.
-/**
-* @testcase                    ITc_maps_place_image_get_ids_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get id of the place image handle.
-* @scenario                            maps_place_image_get_id
-* @apicovered                  maps_place_image_get_id
-* @passcase                            if maps_place_image_get_id passes
-* @failcase                            if maps_place_image_get_id fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_image_get_ids_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       char *id = NULL;
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_id(g_place_image, &id);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_id", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(id,"maps_place_image_get_id",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               free(id);
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get media of the place image handle.
-/**
-* @testcase                    ITc_maps_place_image_get_media_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get media of the place image handle.
-* @scenario                            maps_place_image_get_media
-* @apicovered                  maps_place_image_get_media
-* @passcase                            if maps_place_image_get_media passes
-* @failcase                            if maps_place_image_get_media fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_image_get_media_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       maps_place_media_h media = NULL;
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_media(g_place_image, &media);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_media", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(media,"maps_place_image_get_media",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_media_destroy(media);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_media_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get url of the place image handle.
-/**
-* @testcase                    ITc_maps_place_image_get_url_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get url of the place image handle.
-* @scenario                            maps_place_image_get_url
-* @apicovered                  maps_place_image_get_url
-* @passcase                            if maps_place_image_get_url passes
-* @failcase                            if maps_place_image_get_url fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_image_get_url_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       char *url = NULL;
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_url(g_place_image, &url);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_url", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(url,"maps_place_image_get_url",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               free(url);
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get user link of the place image handle.
-/**
-* @testcase                    ITc_maps_place_image_get_user_link_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get user link of the place image handle.
-* @scenario                            maps_place_image_get_user_link
-* @apicovered                  maps_place_image_get_user_link
-* @passcase                            if maps_place_image_get_user_link passes
-* @failcase                            if maps_place_image_get_user_link fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_image_get_user_link_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       maps_place_link_object_h user = NULL;
-
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_user_link(g_place_image, &user);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_user_link", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(user,"maps_place_image_get_user_link",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_destroy(user);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to clone and destroy the place link object handle.
-/**
-* @testcase                    ITc_maps_place_link_object_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy the place link object handle.
-* @scenario                            maps_place_link_object_clone and maps_place_link_object_destroy
-* @apicovered                  maps_place_link_object_clone and maps_place_link_object_destroy
-* @passcase                            if maps_place_link_object_clone, maps_place_link_object_destroy passes
-* @failcase                            if maps_place_link_object_clone, maps_place_link_object_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_link_object_clone_destroy_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       
-       maps_place_link_object_h user = NULL;
-       maps_place_link_object_h hUser = NULL;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb1 not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_user_link(g_place_image, &user);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_user_link", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(user, "maps_place_image_get_user_link",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_clone(user, &hUser);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_link_object_clone", MapServiceGetError(nRet),maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(hUser, "maps_place_link_object_clone",maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_destroy(hUser);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet),maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_destroy(user);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place link object id.
-/**
-* @testcase                    ITc_maps_place_link_object_get_id_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place link object id.
-* @scenario                            maps_place_link_object_get_id
-* @apicovered                  maps_place_link_object_get_id
-* @passcase                            if maps_place_link_object_get_id passes
-* @failcase                            if maps_place_link_object_get_id fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_link_object_get_id_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       maps_place_link_object_h user = NULL;
-       char *id = NULL;
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb1 not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_user_link(g_place_image, &user);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_user_link", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(user, "maps_place_image_get_user_link",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_get_id(user, &id);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_link_object_get_id", MapServiceGetError(nRet),maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(id,"maps_place_link_object_get_id",maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               free(id);
-               nRet = maps_place_link_object_destroy(user);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place link object name.
-/**
-* @testcase                    ITc_maps_place_link_object_get_name_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place link object name.
-* @scenario                            maps_place_link_object_get_name
-* @apicovered                  maps_place_link_object_get_name
-* @passcase                            if maps_place_link_object_get_name passes
-* @failcase                            if maps_place_link_object_get_name fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_link_object_get_name_p(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       maps_place_link_object_h user = NULL;
-       char *name = NULL;
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_image(g_maps_place, MapsPlaceImagesCb, NULL);
-       if(!(nRet == MAPS_ERROR_NONE || nRet == MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_image", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceImagesCb1 not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_image_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_image, "maps_place_image_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_image_get_user_link(g_place_image, &user);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_image_get_user_link", MapServiceGetError(nRet),maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(user, "maps_place_image_get_user_link",maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_link_object_get_name(user, &name);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_link_object_get_name", MapServiceGetError(nRet),maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(name,"maps_place_link_object_get_name",maps_place_link_object_destroy(user);maps_place_image_destroy(g_place_image);maps_place_destroy(g_maps_place));
-
-               free(name);
-               nRet = maps_place_link_object_destroy(user);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_image_destroy(g_place_image);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_image_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-/** @} */
-/** @} */
\ No newline at end of file
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-review-here.c b/src/itc/capi-maps-service/ITs-capi-maps-place-review-here.c
deleted file mode 100755 (executable)
index a771b0c..0000000
+++ /dev/null
@@ -1,563 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-static maps_place_review_h g_place_review = NULL;
-
-static bool MapsPlaceReviewsCb(int index, int total, maps_place_review_h review, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceReviewsCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_place_review_clone(review, &g_place_review);
-       }
-       
-       return true;
-}
-/**
- * @function           ITs_maps_place_review_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_review_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceLocationHandleHelperHERE();
-       
-       return;
-}
-/**
- * @function           ITs_maps_place_review_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_review_cleanup(void)
-{
-       return;
-}
-
-//& type: auto
-//& purpose:  scenario to retrieve all reviews.
-/**
-* @testcase                    ITc_maps_place_foreach_review_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all reviews
-* @scenario                            maps_place_foreach_review
-* @apicovered                  maps_place_foreach_review
-* @passcase                            if maps_place_foreach_review passes
-* @failcase                            if maps_place_foreach_review fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_foreach_review_p(void)
-{
-       START_TEST_PLACE;
-
-       int nRet;
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-       }
-    nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));   
-
-       return 0;
-}  
-//& type: auto
-//& purpose:  scenario to clone and destroy the place review handle.
-/**
-* @testcase                    ITc_maps_place_review_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy the place review handle.
-* @scenario                            maps_place_review_clone, maps_place_review_destroy
-* @apicovered                  maps_place_review_clone, maps_place_review_destroy
-* @passcase                            if maps_place_review_clone and maps_place_review_destroy passes
-* @failcase                            if maps_place_review_clone and maps_place_review_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_clone_destroy_p(void)
-{
-       START_TEST_PLACE;
-
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet),maps_place_destroy(g_maps_place));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review date.
-/**
-* @testcase                    ITc_maps_place_review_get_date_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place review date.
-* @scenario                            maps_place_review_get_date
-* @apicovered                  maps_place_review_get_date
-* @passcase                            if maps_place_review_get_date passes
-* @failcase                            if maps_place_review_get_date fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_date_p(void)
-{
-       START_TEST_PLACE;
-
-       char *date = NULL;
-       int nRet;
-
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_review_get_date(g_place_review, &date);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_date", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(date, "maps_place_review_get_date",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               free(date);
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review date.
-/**
-* @testcase                    ITc_maps_place_review_get_description_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place review date.
-* @scenario                            maps_place_review_get_description
-* @apicovered                  maps_place_review_get_description
-* @passcase                            if maps_place_review_get_description passes
-* @failcase                            if maps_place_review_get_description fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_description_p(void)
-{
-       START_TEST_PLACE;
-
-       char *description = NULL;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_review_get_description(g_place_review, &description);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_description", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(description, "maps_place_review_get_description",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-
-               free(description);
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review language.
-/**
-* @testcase                    ITc_maps_place_review_get_language_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place review language.
-* @scenario                            maps_place_review_get_language
-* @apicovered                  maps_place_review_get_language
-* @passcase                            if maps_place_review_get_language passes
-* @failcase                            if maps_place_review_get_language fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_language_p(void)
-{
-       START_TEST_PLACE;
-
-       char *language = NULL;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-
-               nRet = maps_place_review_get_language(g_place_review, &language);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_language", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(language, "maps_place_review_get_language",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-
-               free(language);
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review media..
-/**
-* @testcase                    ITc_maps_place_review_get_media_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place review media..
-* @scenario                            maps_place_review_get_media
-* @apicovered                  maps_place_review_get_media
-* @passcase                            if maps_place_review_get_media passes
-* @failcase                            if maps_place_review_get_media fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_media_p(void)
-{
-       START_TEST_PLACE;
-
-       maps_place_media_h media = NULL;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-               nRet = maps_place_review_get_media(g_place_review, &media);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_media", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(media, "maps_place_review_get_media",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               nRet = maps_place_media_destroy(media);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_media_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review rating.
-/**
-* @testcase                    ITc_maps_place_review_get_rating_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the place review rating.
-* @scenario                            maps_place_review_get_rating
-* @apicovered                  maps_place_review_get_rating
-* @passcase                            if maps_place_review_get_rating passes
-* @failcase                            if maps_place_review_get_rating fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_rating_p(void)
-{
-       START_TEST_PLACE;
-
-       double rating = 0;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-               nRet = maps_place_review_get_rating(g_place_review, &rating);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_rating", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-
-               if(rating < 0)
-               {
-                       FPRINTF("[Line : %d][%s] maps_place_review_get_rating failed with invalid rating \\n", __LINE__, API_NAMESPACE);
-                       maps_place_review_destroy(g_place_review);
-                       maps_place_destroy(g_maps_place);
-                       return 1;\r
-               }
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review title.
-/**
-* @testcase                    ITc_maps_place_review_get_title_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description             scenario to get the place review title
-* @scenario                            maps_place_review_get_title
-* @apicovered                  maps_place_review_get_title
-* @passcase                            if maps_place_review_get_title passes
-* @failcase                            if maps_place_review_get_title fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_title_p(void)
-{
-       START_TEST_PLACE;
-       
-       char *title = NULL;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-               nRet = maps_place_review_get_title(g_place_review, &title);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_title", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(title, "maps_place_review_get_title",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               free(title);
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the place review user link.
-/**
-* @testcase                    ITc_maps_place_review_get_user_link_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description             scenario to get the place review user link.
-* @scenario                            maps_place_review_get_user_link
-* @apicovered                  maps_place_review_get_user_link
-* @passcase                            if maps_place_review_get_user_link passes
-* @failcase                            if maps_place_review_get_user_link fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_review_get_user_link_p(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_link_object_h user = NULL;
-       int nRet;
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       
-       nRet = maps_place_foreach_review(g_maps_place, MapsPlaceReviewsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_review", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       //RUN_POLLING_LOOP;
-       if(nRet == MAPS_ERROR_NONE)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceReviewsCb not invoked \\n", __LINE__, API_NAMESPACE);
-                       maps_place_destroy(g_maps_place);
-                       return 1;
-               }
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_place_review_clone", MapServiceGetError(g_nCheckRet),maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(g_place_review, "maps_place_review_clone",maps_place_destroy(g_maps_place));
-               nRet = maps_place_review_get_user_link(g_place_review, &user);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_review_get_user_link", MapServiceGetError(nRet),maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               CHECK_HANDLE_CLEANUP(user, "maps_place_review_get_user_link",maps_place_review_destroy(g_place_review);maps_place_destroy(g_maps_place));
-               nRet = maps_place_link_object_destroy(user);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_link_object_destroy", MapServiceGetError(nRet));
-               nRet = maps_place_review_destroy(g_place_review);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_review_destroy", MapServiceGetError(nRet));
-       }
-       nRet = maps_place_destroy(g_maps_place);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-route-maneuver.c b/src/itc/capi-maps-service/ITs-capi-maps-route-maneuver.c
deleted file mode 100755 (executable)
index 6baa4c1..0000000
+++ /dev/null
@@ -1,940 +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-capi-maps-service-common.h"
-
-static maps_route_h g_route = NULL;
-static maps_route_segment_h g_route_segment = NULL;
-static maps_route_maneuver_h g_route_maneuver = NULL;
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/                                                        
-static bool MapsRouteSegmentManeuverCb(int index, int total, maps_route_maneuver_h maneuver, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsRouteSegmentManeuverCb callback\\n", __LINE__, API_NAMESPACE); 
-       g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_route_maneuver_clone(maneuver, &g_route_maneuver);
-       }
-       
-       return true;
-}                                                 
-static bool MapsRouteSegmentCb(int index, int total, maps_route_segment_h segment, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsRouteSegmentCb callback\\n", __LINE__, API_NAMESPACE); 
-       g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_route_segment_clone(segment, &g_route_segment);
-       }
-       return true;
-}
-
-// Callback function to get search route
-static bool MapsServiceRouteFoundCb(maps_error_e error, int request_id, int index, int total, maps_route_h route, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceRouteFoundCb callback\\n", __LINE__, API_NAMESPACE);
-       
-       g_nCheckRet = maps_route_clone(route, &g_route);
-       
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-// Callback Function to get list of service providers
-static bool MapServiceProviderForeachCb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);      
-       g_nCheckCb = true;
-       return false;
-}
-
-static void MapsRouteHelper(void)
-{
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       int nRequestId = 0;
-       maps_coordinates_h hOrigin = NULL;
-       maps_coordinates_h hDestination = NULL;
-
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       g_bStartupPre = true;
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_service_foreach_provider(MapServiceProviderForeachCb, NULL);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       if(g_szMapsProvider == NULL)
-       {
-                FPRINTF("[Line : %d][%s] g_szMapsProvider NULL\\n", __LINE__, API_NAMESPACE);
-                g_bStartupPre = false;
-                return;
-       }
-       
-       nRet = maps_service_create(g_szMapsProvider, &g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       if(g_hMapService == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapService NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       if(pstrValue == NULL)
-       {
-               g_bStartupPre = false;
-               return;
-       }
-       
-       nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_create(&g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_hMapsPref == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapsPref NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       nRet = maps_preference_set_max_results(g_hMapsPref, RESULT);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_max_results API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       nRet = maps_coordinates_create(LATITUTE_ORG, LONGITUDE_ORG, &hOrigin);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hOrigin == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hOrigin NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_coordinates_create(LATITUTE_DEST, LONGITUDE_DEST, &hDestination);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hDestination == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hDestination NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       
-       nRet = maps_service_search_route(g_hMapService, hOrigin, hDestination, g_hMapsPref, MapsServiceRouteFoundCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_search_route API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Route is not received from maps_service_search_route \\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_route == NULL)
-       {
-           FPRINTF("[Line : %d][%s] maps_route_clone NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_nCheckRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_clone API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       nRet = maps_coordinates_destroy(hOrigin);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_coordinates_destroy(hDestination);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_preference_destroy(g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_service_destroy(g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }       
-       return;
-}
-/**
- * @function           ITs_maps_route_maneuver_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_route_maneuver_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsRouteHelper();
-       return;
-}
-/**
- * @function           ITs_maps_route_maneuver_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_route_maneuver_cleanup(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all maneuvers of the path.
-/**
-* @testcase                    ITc_maps_route_segment_foreach_maneuver_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all maneuvers of the path.
-* @scenario                            maps_route_segment_foreach_maneuver
-* @apicovered                  maps_route_segment_foreach_maneuver
-* @passcase                            if maps_route_segment_foreach_maneuver passes
-* @failcase                            if maps_route_segment_foreach_maneuver fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_foreach_maneuver_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       
-       g_nCheckRet = 0; 
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));   
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));   
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to clone and destroy maneuvers of the path.
-/**
-* @testcase                    ITc_maps_route_maneuver_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy maneuvers of the path.
-* @scenario                            maps_route_maneuver_clone, maps_route_maneuver_destroy
-* @apicovered                  maps_route_maneuver_clone, maps_route_maneuver_destroy
-* @passcase                            if maps_route_maneuver_clone, maps_route_maneuver_destroy passes
-* @failcase                            if maps_route_maneuver_clone, maps_route_maneuver_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_clone_destroy_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}      
-//& type: auto
-//& purpose:  scenario to get direction id of maneuvers of the path..
-/**
-* @testcase                    ITc_maps_route_maneuver_get_direction_id_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get direction id of maneuvers of the path.
-* @scenario                            maps_route_maneuver_get_direction_id
-* @apicovered                  maps_route_maneuver_get_direction_id
-* @passcase                            if maps_route_maneuver_get_direction_id passes
-* @failcase                            if maps_route_maneuver_get_direction_id fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_direction_id_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       maps_route_direction_e direction_id = -1;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_get_direction_id(g_route_maneuver, &direction_id);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_direction_id", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       if( (direction_id < MAPS_ROUTE_DIRECTION_NONE)||(direction_id > MAPS_ROUTE_DIRECTION_EAST) )
-       {
-               FPRINTF("[Line : %d][%s] maps_route_maneuver_get_direction_id failed with invalid enum \\n", __LINE__, API_NAMESPACE);
-               maps_route_maneuver_destroy(g_route_maneuver);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}      
-//& type: auto
-//& purpose:  scenario to get the distance to next instruction of the route maneuver.
-/**
-* @testcase                    ITc_maps_route_maneuver_get_distance_to_next_instruction_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 Gets the distance to next instruction of the route maneuver.
-* @scenario                            maps_route_maneuver_get_distance_to_next_instruction
-* @apicovered                  maps_route_maneuver_get_distance_to_next_instruction
-* @passcase                            if maps_route_maneuver_get_distance_to_next_instruction passes
-* @failcase                            if maps_route_maneuver_get_distance_to_next_instruction fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_distance_to_next_instruction_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       double distance_to_next_instruction = 0;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_get_distance_to_next_instruction(g_route_maneuver,&distance_to_next_instruction);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_distance_to_next_instruction", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));                                            
-       
-       if(distance_to_next_instruction < 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_maneuver_get_distance_to_next_instruction failed with invalid value \\n", __LINE__, API_NAMESPACE);
-               maps_route_maneuver_destroy(g_route_maneuver);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the instruction text (narrative) of the route maneuver.
-/**
-* @testcase                    ITc_maps_route_maneuver_get_instruction_text_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the instruction text (narrative) of the route maneuver.
-* @scenario                            maps_route_maneuver_get_instruction_text
-* @apicovered                  maps_route_maneuver_get_instruction_text
-* @passcase                            if maps_route_maneuver_get_instruction_text passes
-* @failcase                            if maps_route_maneuver_get_instruction_text fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_instruction_text_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       char *instruction_text = NULL;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_get_instruction_text(g_route_maneuver, &instruction_text);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_instruction_text", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));                                                
-       CHECK_HANDLE_CLEANUP(instruction_text, "maps_route_maneuver_get_instruction_text",maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-    free(instruction_text);
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route maneuver position..
-/**
-* @testcase                    ITc_maps_route_maneuver_get_position_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route maneuver position..
-* @scenario                            maps_route_maneuver_get_position
-* @apicovered                  maps_route_maneuver_get_position
-* @passcase                            if maps_route_maneuver_get_position passes
-* @failcase                            if maps_route_maneuver_get_position fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_position_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       maps_coordinates_h position = NULL;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_get_position(g_route_maneuver, &position);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_position", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));                                                
-       CHECK_HANDLE_CLEANUP(position, "maps_route_maneuver_get_position",maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-    nRet = maps_coordinates_destroy(position);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the time to next instruction of the route maneuver.
-/**
-* @testcase                    ITc_maps_route_maneuver_get_time_to_next_instruction_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the time to next instruction of the route maneuver.
-* @scenario                            maps_route_maneuver_get_time_to_next_instruction
-* @apicovered                  maps_route_maneuver_get_time_to_next_instruction
-* @passcase                            if maps_route_maneuver_get_time_to_next_instruction passes
-* @failcase                            if maps_route_maneuver_get_time_to_next_instruction fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_time_to_next_instruction_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       int time_to_next_instruction = 0;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_destroy(g_route);maps_route_segment_destroy(g_route_segment));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_route_maneuver_get_time_to_next_instruction(g_route_maneuver, &time_to_next_instruction);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_time_to_next_instruction", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));                                                
-       if(time_to_next_instruction < 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_maneuver_get_time_to_next_instruction failed with invalid value \\n", __LINE__, API_NAMESPACE);
-               maps_route_maneuver_destroy(g_route_maneuver);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to gets the route maneuver turn type.
-/**
-* @testcase                    ITc_maps_route_maneuver_get_turn_type_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to gets the route maneuver turn type.
-* @scenario                            maps_route_maneuver_get_turn_type
-* @apicovered                  maps_route_maneuver_get_turn_type
-* @passcase                            if maps_route_maneuver_get_turn_type passes
-* @failcase                            if maps_route_maneuver_get_turn_type fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_maneuver_get_turn_type_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       maps_route_turn_type_e turn_type = -1;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       g_nCheckCb = 0;
-       
-       g_nCheckRet = 0;
-       g_nClone = 1;
-       nRet = maps_route_segment_foreach_maneuver(g_route_segment, MapsRouteSegmentManeuverCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_maneuver", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentManeuverCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_maneuver_clone", MapServiceGetError(g_nCheckRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_maneuver, "maps_route_maneuver_clone",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-
-       nRet = maps_route_maneuver_get_turn_type(g_route_maneuver, &turn_type);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_get_turn_type", MapServiceGetError(nRet),maps_route_maneuver_destroy(g_route_maneuver);maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));                                               
-       
-       if((turn_type < MAPS_ROUTE_TURN_TYPE_NONE)||(turn_type > MAPS_ROUTE_TURN_TYPE_STRAIGHT_FORK))
-       {
-               FPRINTF("[Line : %d][%s] maps_route_maneuver_get_turn_type failed with invalid enum \\n", __LINE__, API_NAMESPACE);
-               maps_route_maneuver_destroy(g_route_maneuver);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_maneuver_destroy(g_route_maneuver);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_maneuver_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-                  
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-route.c b/src/itc/capi-maps-service/ITs-capi-maps-route.c
deleted file mode 100755 (executable)
index e02db19..0000000
+++ /dev/null
@@ -1,1040 +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-capi-maps-service-common.h"
-
-static maps_route_h g_route = NULL;
-static maps_route_segment_h g_route_segment = NULL;
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-static bool MapsRouteSegmentPathCb(int index, int total, maps_coordinates_h coordinates, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsRouteSegmentPathCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       
-       return true;
-}                                                                 
-static bool MapsRoutePathCb(int index, int total, maps_coordinates_h coordinates, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsRoutePathCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       
-       return true;
-}
-static bool MapsRouteSegmentCb(int index, int total, maps_route_segment_h segment, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsRouteSegmentCb callback\\n", __LINE__, API_NAMESPACE); 
-    g_nCheckCb = true;
-       if(g_nClone == 1)
-       {
-               g_nCheckRet = maps_route_segment_clone(segment, &g_route_segment);
-       }
-       return true;
-}
-// Callback function to get search route
-static bool MapsServiceRouteFoundCb(maps_error_e error, int request_id, int index, int total, maps_route_h route, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceRouteFoundCb callback\\n", __LINE__, API_NAMESPACE);
-       
-       g_nCheckRet = maps_route_clone(route, &g_route);
-       
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-// Callback Function to get list of service providers
-static bool MapServiceProviderForeachCb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);      
-       g_nCheckCb = true;
-       return false;
-}
-
-static void MapsRouteHelper(void)
-{
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       int nRequestId = 0;
-       maps_coordinates_h hOrigin = NULL;
-       maps_coordinates_h hDestination = NULL;
-
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       g_bStartupPre = true;
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_service_foreach_provider(MapServiceProviderForeachCb, NULL);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       if(g_szMapsProvider == NULL)
-       {
-                FPRINTF("[Line : %d][%s] g_szMapsProvider NULL\\n", __LINE__, API_NAMESPACE);
-                g_bStartupPre = false;
-                return;
-       }
-       
-       nRet = maps_service_create(g_szMapsProvider, &g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       if(g_hMapService == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapService NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       if(pstrValue == NULL)
-       {
-               g_bStartupPre = false;
-               return;
-       }
-       
-       nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_create(&g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_hMapsPref == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapsPref NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       nRet = maps_preference_set_max_results(g_hMapsPref, RESULT);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_max_results API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       nRet = maps_coordinates_create(LATITUTE_ORG, LONGITUDE_ORG, &hOrigin);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hOrigin == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hOrigin NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_coordinates_create(LATITUTE_DEST, LONGITUDE_DEST, &hDestination);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hDestination == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hDestination NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       
-       nRet = maps_service_search_route(g_hMapService, hOrigin, hDestination, g_hMapsPref, MapsServiceRouteFoundCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_search_route API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Route is not received from maps_service_search_route \\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_route == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_route NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_nCheckRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_clone API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       
-       nRet = maps_coordinates_destroy(hOrigin);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hDestination);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_coordinates_destroy(hDestination);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_preference_destroy(g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }       
-       nRet = maps_service_destroy(g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }       
-       return;
-}
-
-/**
- * @function           ITs_maps_route_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_route_startup(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsRouteHelper();
-       
-       return;
-}
-/**
- * @function           ITs_maps_route_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_route_cleanup(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to clone the route handle.
-/**
-* @testcase                    ITc_maps_route_clone_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone the route handle.
-* @scenario                            maps_route_clone
-* @apicovered                  maps_route_clone
-* @passcase                            if maps_route_clone passes
-* @failcase                            if maps_route_clone fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_route_clone_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;       
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all paths of the route handle.
-/**
-* @testcase                    ITc_maps_route_foreach_path_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all paths of the route handle.
-* @scenario                            maps_route_foreach_path
-* @apicovered                  maps_route_foreach_path
-* @passcase                            if maps_route_foreach_path passes
-* @failcase                            if maps_route_foreach_path fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_foreach_path_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       
-       g_nCheckCb = 0;
-       
-       nRet = maps_route_foreach_path(g_route, MapsRoutePathCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_path", MapServiceGetError(nRet),maps_route_destroy(g_route));              
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRoutePathCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}              
-//& type: auto
-//& purpose:  scenario to get the route bounding box.
-/**
-* @testcase                    ITc_maps_route_get_bounding_box_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route bounding box.
-* @scenario                            maps_route_get_bounding_box
-* @apicovered                  maps_route_get_bounding_box
-* @passcase                            if maps_route_get_bounding_box passes
-* @failcase                            if maps_route_get_bounding_box fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_route_get_bounding_box_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_area_h bounding_box = NULL;
-       
-       nRet = maps_route_get_bounding_box(g_route, &bounding_box);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_bounding_box", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(bounding_box, "maps_route_get_bounding_box",maps_route_destroy(g_route));
-                               
-    nRet = maps_area_destroy(bounding_box);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route destination.
-/**
-* @testcase                    ITc_maps_route_get_destination_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route destination.
-* @scenario                            maps_route_get_destination
-* @apicovered                  maps_route_get_destination
-* @passcase                            if maps_route_get_destination passes
-* @failcase                            if maps_route_get_destination fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_destination_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_coordinates_h destination = NULL;
-       
-       nRet = maps_route_get_destination(g_route, &destination);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_destination", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(destination, "maps_route_get_destination",maps_route_destroy(g_route));
-       
-    nRet = maps_coordinates_destroy(destination);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route distance unit.
-/**
-* @testcase                    ITc_maps_route_get_distance_unit_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route distance unit.
-* @scenario                            maps_route_get_distance_unit
-* @apicovered                  maps_route_get_distance_unit
-* @passcase                            if maps_route_get_distance_unit passes
-* @failcase                            if maps_route_get_distance_unit fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_distance_unit_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_distance_unit_e distance_unit = -1;
-       
-       nRet = maps_route_get_distance_unit(g_route, &distance_unit);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_distance_unit", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       
-       if((distance_unit < MAPS_DISTANCE_UNIT_M)||(distance_unit > MAPS_DISTANCE_UNIT_YD))
-       {
-               FPRINTF("[Line : %d][%s] maps_route_get_distance_unit failed with invalid enum \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route origin.
-/**
-* @testcase                    ITc_maps_route_get_origin_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route origin.
-* @scenario                            maps_route_get_origin
-* @apicovered                  maps_route_get_origin
-* @passcase                            if maps_route_get_origin passes
-* @failcase                            if maps_route_get_origin fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_origin_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_coordinates_h origin = NULL;
-       
-       nRet = maps_route_get_origin(g_route, &origin);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_origin", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(origin, "maps_route_get_origin",maps_route_destroy(g_route));
-       
-    nRet = maps_coordinates_destroy(origin);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the route total distance.
-/**
-* @testcase                    ITc_maps_route_get_total_distance_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route total distance.
-* @scenario                            maps_route_get_total_distance
-* @apicovered                  maps_route_get_total_distance
-* @passcase                            if maps_route_get_total_distance passes
-* @failcase                            if maps_route_get_total_distance fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_total_distance_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       double total_distance = 0;
-       
-       nRet = maps_route_get_total_distance(g_route, &total_distance);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_total_distance", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       
-       if(total_distance < 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_get_total_distance returning negative value \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-  
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route total duration.
-/**
-* @testcase                    ITc_maps_route_get_total_duration_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route total duration.
-* @scenario                            maps_route_get_total_duration
-* @apicovered                  maps_route_get_total_duration
-* @passcase                            if maps_route_get_total_duration passes
-* @failcase                            if maps_route_get_total_duration fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_total_duration_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       long total_duration = 0;
-       
-       nRet = maps_route_get_total_duration(g_route, &total_duration);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_total_duration", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       
-       if(total_duration < 0)
-       {
-               FPRINTF("[Line : %d][%s] maps_route_get_total_duration returning negative value \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-  
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get the route transport mode.
-/**
-* @testcase                    ITc_maps_route_get_transport_mode_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get the route transport mode.
-* @scenario                            maps_route_get_transport_mode
-* @apicovered                  maps_route_get_transport_mode
-* @passcase                            if maps_route_get_transport_mode passes
-* @failcase                            if maps_route_get_transport_mode fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_get_transport_mode_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       maps_route_transport_mode_e transport_mode = -1;
-       
-       nRet = maps_route_get_transport_mode(g_route, &transport_mode);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_get_transport_mode", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       
-       if((transport_mode < MAPS_ROUTE_TRANSPORT_MODE_CAR)||(transport_mode > MAPS_ROUTE_TRANSPORT_MODE_TRUCK))
-       {
-               FPRINTF("[Line : %d][%s] maps_route_get_transport_mode failed with invalid enum \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all segments of the route.
-/**
-* @testcase                    ITc_maps_route_foreach_segment_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all segments of the route.
-* @scenario                            maps_route_foreach_segment
-* @apicovered                  maps_route_foreach_segment
-* @passcase                            if maps_route_foreach_segment passes
-* @failcase                            if maps_route_foreach_segment fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_foreach_segment_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-       
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to clone and destroy segment of the route.
-/**
-* @testcase                    ITc_maps_route_segment_clone_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to clone and destroy segment of the route.
-* @scenario                            maps_route_segment_clone, maps_route_segment_destroy
-* @apicovered                  maps_route_segment_clone, maps_route_segment_destroy
-* @passcase                            if maps_route_segment_clone, maps_route_segment_destroy passes
-* @failcase                            if maps_route_segment_clone, maps_route_segment_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_clone_destroy_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get destination of the route.
-/**
-* @testcase                    ITc_maps_route_segment_get_destination_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get destination of the route.
-* @scenario                            maps_route_segment_get_destination
-* @apicovered                  maps_route_segment_get_destination
-* @passcase                            if maps_route_segment_get_destination passes
-* @failcase                            if maps_route_segment_get_destination fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_get_destination_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_coordinates_h destination = NULL;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_get_destination(g_route_segment, &destination);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_get_destination", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(destination, "maps_route_segment_get_destination",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_coordinates_destroy(destination);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get distance of the route.
-/**
-* @testcase                    ITc_maps_route_segment_get_distance_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get distance of the route.
-* @scenario                            maps_route_segment_get_distance
-* @apicovered                  maps_route_segment_get_distance
-* @passcase                            if maps_route_segment_get_distance passes
-* @failcase                            if maps_route_segment_get_distance fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_get_distance_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       double distance = 0;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_get_distance(g_route_segment, &distance);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_get_distance", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       if(distance < 0)
-       {
-               FPRINTF("[Line : %d][%s] distance negative value \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get duration of the route.
-/**
-* @testcase                    ITc_maps_route_segment_get_duration_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get duration of the route.
-* @scenario                            maps_route_segment_get_duration
-* @apicovered                  maps_route_segment_get_duration
-* @passcase                            if maps_route_segment_get_duration passes
-* @failcase                            if maps_route_segment_get_duration fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_get_duration_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       long duration = 0;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_get_duration(g_route_segment, &duration);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_get_duration", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       if(duration < 0)
-       {
-               FPRINTF("[Line : %d][%s] duration negative value \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to get origin of the route.
-/**
-* @testcase                    ITc_maps_route_segment_get_origin_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to get origin of the route.
-* @scenario                            maps_route_segment_get_origin
-* @apicovered                  maps_route_segment_get_origin
-* @passcase                            if maps_route_segment_get_origin passes
-* @failcase                            if maps_route_segment_get_origin fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_get_origin_p(void)
-{
-       START_TEST_ROUTE;
-       
-       int nRet;
-       maps_coordinates_h origin = NULL;
-       
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       nRet = maps_route_segment_get_origin(g_route_segment, &origin);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_get_origin", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(origin, "maps_route_segment_get_origin",maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       
-       nRet = maps_coordinates_destroy(origin);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all paths.
-/**
-* @testcase                    ITc_maps_route_segment_foreach_path_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
-* @description                 scenario to retrieve all paths.
-* @scenario                            maps_route_segment_foreach_path
-* @apicovered                  maps_route_segment_foreach_path
-* @passcase                            if maps_route_segment_foreach_path passes
-* @failcase                            if maps_route_segment_foreach_path fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_route_segment_foreach_path_p(void)
-{
-       START_TEST_ROUTE;
-
-       int nRet;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-       g_nClone = 1;
-       nRet = maps_route_foreach_segment(g_route, MapsRouteSegmentCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_foreach_segment", MapServiceGetError(nRet),maps_route_destroy(g_route));
-       //RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, g_nCheckRet, "maps_route_segment_clone", MapServiceGetError(g_nCheckRet),maps_route_destroy(g_route));
-       CHECK_HANDLE_CLEANUP(g_route_segment, "maps_route_segment_clone",maps_route_destroy(g_route));
-       
-       g_nCheckCb = 0;
-       
-       nRet = maps_route_segment_foreach_path(g_route_segment, MapsRouteSegmentPathCb, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_route_segment_foreach_path", MapServiceGetError(nRet),maps_route_segment_destroy(g_route_segment);maps_route_destroy(g_route));
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] MapsRouteSegmentPathCb not invoked \\n", __LINE__, API_NAMESPACE);
-               maps_route_segment_destroy(g_route_segment);
-               maps_route_destroy(g_route);
-               return 1;
-       }
-       
-       nRet = maps_route_segment_destroy(g_route_segment);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_segment_destroy", MapServiceGetError(nRet));
-       
-       nRet = maps_route_destroy(g_route);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_route_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}   
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-address.c b/src/itc/capi-maps-service/ITs-capi-maps-service-address.c
deleted file mode 100755 (executable)
index 1fb59f2..0000000
+++ /dev/null
@@ -1,681 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-maps_address_h g_HandleMapAddress = NULL;
-maps_address_list_h g_HandleMapAddressList = NULL;
-bool g_bCbCalledAddressList = false;
-//& set: MapsService
-
-/**
-* @function            MapsAddressListCallback
-* @description         callback function 
-* @parameter           int index, maps_address_h addr, void *user_data
-* @return                      false
-*/
-bool MapsAddressListCallback(int index, maps_address_h addr, void *user_data)
-{
-#if DEGUG
-       FPRINTF("[Line : %d][%s] Callback MapsAddressListCallback is called \\n", __LINE__, API_NAMESPACE);
-#endif
-       if (addr == NULL)
-       {
-               FPRINTF("[Line : %d][%s]Address Handle is NULL \\n", __LINE__, API_NAMESPACE);
-               return true;
-       }
-       g_bCbCalledAddressList = true;
-       return false;   
-}
-
-/**
- * @function           ITs_maps_service_address_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_address_startup(void)
-{
-       struct stat stBuff;  
-       
-       g_bFeatureSupported = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_address_create(&g_HandleMapAddress);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_address_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_address_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-               
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_address_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleMapAddress = NULL;
-               return;
-       }
-       
-       nRet = maps_address_list_create(&g_HandleMapAddressList);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_address_list_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               return;
-       }
-       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_address_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_address_cleanup(void)
-{
-       if((g_HandleMapAddress != NULL)&& (g_bFeatureSupported == true))
-       {
-               maps_address_destroy(g_HandleMapAddress);
-       }
-       if(g_HandleMapAddressList != NULL)
-       {
-               maps_address_list_destroy(g_HandleMapAddressList);
-       }
-       
-       return;
-}
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-//& type: auto
-//& purpose:  scenario to creates and destroy a new address handle
-/**
-* @testcase                    ITc_maps_address_create_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to creates and destroy a new address handle
-* @scenario                            creates a new address handle\n
-*                                              destroy the address handle\n
-* @apicovered                  maps_address_create, maps_address_destroy
-* @passcase                            if maps_address_create and maps_address_destroy passes
-* @failcase                            if maps_address_create or maps_address_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_create_destroy_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       maps_address_destroy(g_HandleMapAddress);
-       g_HandleMapAddress = NULL;
-       
-       maps_address_h LocalHandleMapAddress = NULL;
-       int nRet = maps_address_create(&LocalHandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapAddress, "maps_address_create");
-       
-       nRet = maps_address_destroy(LocalHandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to clone address handle
-/**
-* @testcase                    ITc_maps_address_clone_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to clone address handle
-* @scenario                            clone address handle\n
-*                                              destroy cloned address handle\n
-* @apicovered                  maps_address_clone, maps_address_destroy
-* @passcase                            if maps_address_clone and maps_address_destroy passes
-* @failcase                            if maps_address_clone or maps_address_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_clone_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       maps_address_h LocalHandleMapAddress = NULL;
-       int nRet = maps_address_clone(g_HandleMapAddress, &LocalHandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_clone", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapAddress, "maps_address_clone");
-       
-       nRet = maps_address_destroy(LocalHandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get building number
-/**
-* @testcase                    ITc_maps_address_set_get_building_number_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get building number
-* @scenario                            set building number\n
-*                                              get building number\n
-*                                              compare the set and get building number\n
-* @apicovered                  maps_address_set_building_number, maps_address_get_building_number
-* @passcase                            if maps_address_set_building_number and maps_address_get_building_number passes and set get values are same
-* @failcase                            if maps_address_set_building_number or maps_address_get_building_number fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_building_number_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "BUILDING";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_building_number(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_building_number", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_building_number(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_building_number", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_building_number");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_building_numbers");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get city
-/**
-* @testcase                    ITc_maps_address_set_get_city_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get city
-* @scenario                            set city\n
-*                                              get city\n
-*                                              compare the set and get city\n
-* @apicovered                  maps_address_set_city, maps_address_get_city
-* @passcase                            if maps_address_set_city and maps_address_get_city passes and set get values are same
-* @failcase                            if maps_address_set_city or maps_address_get_city fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_city_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "CITY";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_city(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_city", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_city(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_city", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_city");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_citys");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get country
-/**
-* @testcase                    ITc_maps_address_set_get_country_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get country
-* @scenario                            set country\n
-*                                              get country\n
-*                                              compare the set and get country\n
-* @apicovered                  maps_address_set_country, maps_address_get_country
-* @passcase                            if maps_address_set_country and maps_address_get_country passes  and set get values are same
-* @failcase                            if maps_address_set_country or maps_address_get_country fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_country_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "COUNTRY";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_country(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_country", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_country(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_country", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_country");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_country");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get country code
-/**
-* @testcase                    ITc_maps_address_set_get_country_code_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get country_code
-* @scenario                            set country code\n
-*                                              get country code\n
-*                                              compare the set and get country_code\n
-* @apicovered                  maps_address_set_country_code, maps_address_get_country_code
-* @passcase                            if maps_address_set_country_code and maps_address_get_country_code passes  and set get values are same
-* @failcase                            if maps_address_set_country_code or maps_address_get_country_code fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_country_code_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "COUNTRY_CODE";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_country_code(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_country_code", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_country_code(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_country_code", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_country_code");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_country_code");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get county
-/**
-* @testcase                    ITc_maps_address_set_get_county_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get county
-* @scenario                            set county\n
-*                                              get county\n
-*                                              compare the set and get county\n
-* @apicovered                  maps_address_set_county, maps_address_get_county
-* @passcase                            if maps_address_set_county and maps_address_get_county passes  and set get values are same
-* @failcase                            if maps_address_set_county or maps_address_get_county fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_county_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "COUNTY";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_county(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_county", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_county(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_county", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_county");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_county");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get district
-/**
-* @testcase                    ITc_maps_address_set_get_district_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get district
-* @scenario                            set district\n
-*                                              get district\n
-*                                              compare the set and get district\n
-* @apicovered                  maps_address_set_district, maps_address_get_district
-* @passcase                            if maps_address_set_district and maps_address_get_district passes  and set get values are same
-* @failcase                            if maps_address_set_district or maps_address_get_district fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_district_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "DISTRICT";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_district(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_district", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_district(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_district", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_district");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_district");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get freetext
-/**
-* @testcase                    ITc_maps_address_set_get_freetext_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get freetext
-* @scenario                            set freetext\n
-*                                              get freetext\n
-*                                              compare the set and get freetext\n
-* @apicovered                  maps_address_set_freetext, maps_address_get_freetext
-* @passcase                            if maps_address_set_freetext and maps_address_get_freetext passes  and set get values are same
-* @failcase                            if maps_address_set_freetext or maps_address_get_freetext fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_freetext_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "FREE TEXT";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_freetext(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_freetext", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_freetext(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_freetext", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_freetext");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_freetext");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get postal code
-/**
-* @testcase                    ITc_maps_address_set_get_postal_code_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get postal_code
-* @scenario                            set postal code\n
-*                                              get postal code\n
-*                                              compare the set and get postal_code\n
-* @apicovered                  maps_address_set_postal_code, maps_address_get_postal_code
-* @passcase                            if maps_address_set_postal_code and maps_address_get_postal_code passes  and set get values are same
-* @failcase                            if maps_address_set_postal_code or maps_address_get_postal_code fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_postal_code_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "POSTAL CODE";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_postal_code(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_postal_code", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_postal_code(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_postal_code", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_postal_code");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_postal_code");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get state
-/**
-* @testcase                    ITc_maps_address_set_get_state_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get state
-* @scenario                            set state\n
-*                                              get state\n
-*                                              compare the set and get state\n
-* @apicovered                  maps_address_set_state, maps_address_get_state
-* @passcase                            if maps_address_set_state and maps_address_get_state passes  and set get values are same
-* @failcase                            if maps_address_set_state or maps_address_get_state fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_state_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "STATE";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_state(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_state", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_state(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_state", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_state");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_state");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get street
-/**
-* @testcase                    ITc_maps_address_set_get_street_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get street
-* @scenario                            set street\n
-*                                              get street\n
-*                                              compare the set and get street\n
-* @apicovered                  maps_address_set_street, maps_address_get_street
-* @passcase                            if maps_address_set_street and maps_address_get_street passes  and set get values are same
-* @failcase                            if maps_address_set_street or maps_address_get_street fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_set_get_street_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       char *szSetValue = "STREET";
-       char *szGetValue = NULL;
-       int nRet = maps_address_set_street(g_HandleMapAddress, szSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_set_street", MapServiceGetError(nRet));
-       
-       nRet = maps_address_get_street(g_HandleMapAddress, &szGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_get_street", MapServiceGetError(nRet));
-       COMPARE_STRING(szSetValue, szGetValue, "maps_address_get_street");
-       CHECK_VALUE_STRING(szGetValue, "maps_address_get_street");
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to create and destroy  address list
-/**
-* @testcase                    ITc_maps_address_list_create_destroy_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to create and destroy  address list
-* @scenario                            create list\n
-*                                              destroy list\n
-* @apicovered                  maps_address_list_create, maps_address_list_destroy
-* @passcase                            if maps_address_list_create and maps_address_list_destroy passes  
-* @failcase                            if maps_address_list_create or maps_address_list_destroy fails 
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_list_create_destroy_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       
-       maps_address_list_h LocalHandleAddrList = NULL;
-       int nRet = maps_address_list_create(&LocalHandleAddrList);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_create", MapServiceGetError(nRet));
-       if (LocalHandleAddrList == NULL)
-       {
-               FPRINTF("[Line : %d][%s]LocalHandleAddrList is empty \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       nRet = maps_address_list_destroy(LocalHandleAddrList);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to append and remove list
-/**
-* @testcase                    ITc_maps_address_list_append_remove_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to append and remove list
-* @scenario                            append and remove list\n
-* @apicovered                  maps_address_list_append and maps_address_list_remove
-* @passcase                            if maps_address_list_append  and maps_address_list_remove passes  
-* @failcase                            if maps_address_list_append and maps_address_list_remove fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_list_append_remove_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       START_TEST(g_HandleMapAddressList, "maps_address_list");
-
-       int nRet = maps_address_list_append(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_append", MapServiceGetError(nRet));
-       
-       nRet = maps_address_list_remove(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_remove", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get length of list
-/**
-* @testcase                    ITc_maps_address_list_get_length_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to get length of list
-* @scenario                            get length of list\n
-* @apicovered                  maps_address_list_get_length
-* @passcase                            if maps_address_list_get_length passes  
-* @failcase                            if maps_address_list_get_length fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_list_get_length_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       START_TEST(g_HandleMapAddressList, "maps_address_list");
-
-       int dGetLength = 0;
-       
-       int nRet = maps_address_list_append(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_append", MapServiceGetError(nRet));
-       
-       nRet  = maps_address_list_get_length(g_HandleMapAddressList, &dGetLength);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_get_length", MapServiceGetError(nRet));
-       
-       if(dGetLength != 1)
-       {
-               FPRINTF("[Line : %d][%s] dGetLength is mismatch, failed\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_address_list_remove(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_remove", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to check list addrss
-/**
-* @testcase                    ITc_maps_address_list_foreach_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to check list addrss
-* @scenario                            check list addrss\n
-* @apicovered                  maps_address_list_foreach
-* @passcase                            if maps_address_list_foreach passes  
-* @failcase                            if maps_address_list_foreach fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_address_list_foreach_p(void)
-{
-       START_TEST(g_HandleMapAddress, "maps_address");
-       START_TEST(g_HandleMapAddressList, "maps_address_list");
-
-       int nRet = maps_address_list_append(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_append", MapServiceGetError(nRet));
-       
-       g_bCbCalledAddressList = false;
-               
-       nRet = maps_address_list_foreach(g_HandleMapAddressList, MapsAddressListCallback, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_foreach", MapServiceGetError(nRet));
-       if(!g_bCbCalledAddressList)
-       {
-               FPRINTF("[Line : %d][%s] maps_address_list_foreach failed, error = Callback function not invoked \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_address_list_remove(g_HandleMapAddressList, g_HandleMapAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_list_remove", MapServiceGetError(nRet));
-       
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-area.c b/src/itc/capi-maps-service/ITs-capi-maps-service-area.c
deleted file mode 100755 (executable)
index db6aa4c..0000000
+++ /dev/null
@@ -1,223 +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-capi-maps-service-common.h"
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-maps_coordinates_h g_HandleAreaMapCoordinate = NULL;
-maps_area_h g_HandleMapArea = NULL;
-//& set: MapsService
-
-
-/**
- * @function           ITs_maps_service_area_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_area_startup(void)
-{
-       struct stat stBuff;  
-
-       g_bFeatureSupported = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       double dLatitude = 44.4;
-       double dLongitude = 22.2;
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dLatitude, dLongitude, &g_HandleAreaMapCoordinate);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleAreaMapCoordinate = NULL;
-       }
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_area_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_area_cleanup(void)
-{
-       if((g_HandleAreaMapCoordinate != NULL)&& (g_bFeatureSupported == true))
-       {
-               maps_coordinates_destroy(g_HandleAreaMapCoordinate);
-       }
-       return;
-}
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-
-//& type: auto
-//& purpose:  scenario to creates and destroy instance of rectangular type of new Geographical Area
-/**
-* @testcase                    ITc_maps_area_create_destroy_rectangle_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to creates and destroy instance of rectangular type of new Geographical Area
-* @scenario                            creates instance of rectangular type of new Geographical Area \n
-*                                              destroy instance of rectangular type of new Geographical Area\n
-* @apicovered                  maps_area_create_rectangle, maps_area_destroy
-* @passcase                            if maps_area_create_rectangle and maps_area_destroy passes
-* @failcase                            if maps_area_create_rectangle or maps_area_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_area_create_destroy_rectangle_p(void)
-{
-       START_TEST(g_HandleAreaMapCoordinate, "maps_area");
-       
-       double dLatitude = 11.1;
-       double dLongitude = 55.5;
-       maps_coordinates_h LocalHandleMapCoordinate = NULL;
-       
-       int nRet = maps_coordinates_create(dLatitude, dLongitude, &LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapCoordinate, "maps_coordinates_create");
-       
-       nRet = maps_area_create_rectangle(g_HandleAreaMapCoordinate, LocalHandleMapCoordinate, &g_HandleMapArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_rectangle", MapServiceGetError(nRet), maps_coordinates_destroy(LocalHandleMapCoordinate));
-       if(g_HandleMapArea == NULL)
-       {
-               FPRINTF("[Line : %d][%s] maps_area_create_rectangle failed, error = Handle returned is NULL \\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_destroy(LocalHandleMapCoordinate);
-               return 1;
-       }
-       
-       nRet = maps_area_destroy(g_HandleMapArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet), maps_coordinates_destroy(LocalHandleMapCoordinate));
-       
-       nRet = maps_coordinates_destroy(LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to creates and destroy instance of circle type of new Geographical Area
-/**
-* @testcase                    ITc_maps_area_create_destroy_circle_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to creates and destroy instance of circle type of new Geographical Area
-* @scenario                            creates instance of circle type of new Geographical Area \n
-*                                              destroy instance of circle type of new Geographical Area\n
-* @apicovered                  maps_area_create_circle, maps_area_destroy
-* @passcase                            if maps_area_create_circle and maps_area_destroy passes
-* @failcase                            if maps_area_create_circle or maps_area_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_area_create_destroy_circle_p(void)
-{
-       START_TEST(g_HandleAreaMapCoordinate, "maps_area");
-       
-       double dRadius = 200;
-       int nRet = maps_area_create_circle(g_HandleAreaMapCoordinate, dRadius, &g_HandleMapArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_create_circle", MapServiceGetError(nRet));
-       CHECK_HANDLE(g_HandleMapArea,"maps_area_create_circle");
-       
-       nRet = maps_area_destroy(g_HandleMapArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to clone Geographical Area handle
-/**
-* @testcase                    ITc_maps_area_clone_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to clone Geographical Area handle
-* @scenario                            clone Geographical Area handle\n
-*                                              destroy cloned Geographical Area handle\n
-* @apicovered                  maps_coordinates_clone, maps_area_destroy
-* @passcase                            if maps_coordinates_clone and maps_area_destroy passes
-* @failcase                            if maps_coordinates_clone or maps_area_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_area_clone_p(void)
-{
-       START_TEST(g_HandleAreaMapCoordinate, "maps_coordinate");
-       
-       maps_area_h LocalHandleArea = NULL;
-       double dRadius = 200;
-       int nRet = maps_area_create_circle(g_HandleAreaMapCoordinate, dRadius, &g_HandleMapArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_create_circle", MapServiceGetError(nRet));
-       CHECK_HANDLE(g_HandleMapArea,"maps_area_create_circle");
-       
-       nRet = maps_area_clone(g_HandleMapArea, &LocalHandleArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_clone", MapServiceGetError(nRet), maps_area_destroy(g_HandleMapArea));
-       if(LocalHandleArea == NULL)
-       {
-               FPRINTF("[Line : %d][%s] maps_area_clone failed, error = Handle returned is NULL \\n", __LINE__, API_NAMESPACE);
-               maps_area_destroy(g_HandleMapArea);
-               return 1;
-       }
-       
-       nRet = maps_area_destroy(LocalHandleArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet), maps_area_destroy(g_HandleMapArea));
-       
-       nRet = maps_area_destroy(g_HandleMapArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-common.c b/src/itc/capi-maps-service/ITs-capi-maps-service-common.c
deleted file mode 100644 (file)
index d503422..0000000
+++ /dev/null
@@ -1,821 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-/**
-* @function            MapsCallbackTimeout
-* @description         callback function to terminate g_main loop
-* @parameter           data : user data sent to callback
-* @return                      NA
-*/
-gboolean MapsCallbackTimeout(gpointer data)
-{
-       GMainLoop* pMainLoop = (GMainLoop *)data;
-       if ( pMainLoop != NULL )
-       {
-               g_main_loop_quit(pMainLoop);
-               g_main_loop_unref(pMainLoop);
-               pMainLoop = NULL;
-       }
-       return false;
-}
-
-/**
-* @function            GetResourceDataPath
-* @description         Gets the resource data path
-* @parameter           void
-* @return                      bool
-*/
-bool GetResourceDataPath(void)
-{
-       char *pszResPath = app_get_resource_path();
-       if (pszResPath) {
-               snprintf(gszImagePath, BUFF_LEN, "%s%s", pszResPath, IMAGE_FILENAME);
-               FREE_MEMORY_TC(pszResPath);
-               return true;
-       }
-
-       return false;
-}
-
-/**
-* @function            MapServiceGetError
-* @description         Maps error enums to string values
-* @parameter           nRet : error code returned
-* @return                      error string
-*/
-char* MapServiceGetError(int nRet)
-{
-       char *szErrorVal = NULL;
-       switch ( nRet )
-       {
-               case MAPS_ERROR_NONE:                                   szErrorVal = "MAPS_ERROR_NONE";                                         break;
-               case MAPS_ERROR_PERMISSION_DENIED:      szErrorVal = "MAPS_ERROR_PERMISSION_DENIED";            break;
-               case MAPS_ERROR_OUT_OF_MEMORY:          szErrorVal = "MAPS_ERROR_OUT_OF_MEMORY";                        break;
-               case MAPS_ERROR_INVALID_PARAMETER:      szErrorVal = "MAPS_ERROR_INVALID_PARAMETER";            break;
-               case MAPS_ERROR_NOT_SUPPORTED:          szErrorVal = "MAPS_ERROR_NOT_SUPPORTED";                        break;
-               case MAPS_ERROR_CONNECTION_TIME_OUT:    szErrorVal = "MAPS_ERROR_CONNECTION_TIME_OUT";          break;
-               case MAPS_ERROR_NETWORK_UNREACHABLE:    szErrorVal = "MAPS_ERROR_NETWORK_UNREACHABLE";          break;
-               case MAPS_ERROR_INVALID_OPERATION:      szErrorVal = "MAPS_ERROR_INVALID_OPERATION";            break;
-               case MAPS_ERROR_KEY_NOT_AVAILABLE:      szErrorVal = "MAPS_ERROR_KEY_NOT_AVAILABLE";            break;
-               case MAPS_ERROR_RESOURCE_BUSY:          szErrorVal = "MAPS_ERROR_RESOURCE_BUSY";                        break;
-               case MAPS_ERROR_CANCELED:               szErrorVal = "MAPS_ERROR_CANCELED";                                     break;
-               case MAPS_ERROR_UNKNOWN:                                szErrorVal = "MAPS_ERROR_UNKNOWN";                                      break;
-               case MAPS_ERROR_SERVICE_NOT_AVAILABLE:  szErrorVal = "MAPS_ERROR_SERVICE_NOT_AVAILABLE";        break;
-               case MAPS_ERROR_NOT_FOUND:              szErrorVal = "MAPS_ERROR_NOT_FOUND";                            break;
-               case MAPS_ERROR_USER_NOT_CONSENTED:     szErrorVal = "MAPS_ERROR_USER_NOT_CONSENTED";           break;
-               default :                                                       szErrorVal = "Unknown Error";                                           break;
-       }
-       return szErrorVal;
-}
-// Callback Function to get list of service providers
-bool MapsServiceProviderForeachHERECb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       if(maps_provider != NULL)
-       {
-               strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-               FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       }
-       else
-               return false;
-
-       g_nCheckCb = true;
-       return true;
-}
-// Callback function to get the place view URI
-bool MapsPlaceCb(int index, maps_place_h place, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceCb callback\\n", __LINE__, API_NAMESPACE);
-       if(index ==0)
-       {
-               g_nCheckRet = maps_place_clone(place, &g_maps_place);
-       }
-
-       return true;
-}
-// Callback function to search place list by coordinates
-void MapsServiceSearchPlaceListCb(maps_error_e error, int request_id, int total, maps_place_list_h place_list, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceSearchPlaceListCb callback\\n", __LINE__, API_NAMESPACE);
-
-       g_nCheckCb = true;
-
-       if(place_list)
-               maps_place_list_foreach(place_list,MapsPlaceCb,NULL);
-
-       if(place_list)
-               maps_place_list_destroy(place_list);
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-// Callback function
-static void MapsServiceGetPlaceDetailsCb(maps_error_e error, int request_id, maps_place_h place, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceGetPlaceDetailsCb callback\\n", __LINE__, API_NAMESPACE);
-       g_nCheckCb = true;
-
-       g_nCheckRet = maps_place_clone(place, &g_maps_place);
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-// Callback function to search place by coordinates
-static bool MapsServiceSearchPlaceHereCb(maps_error_e error, int request_id , int index, int total, maps_place_h place, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceSearchPlaceCb callback\\n", __LINE__, API_NAMESPACE);
-       /*if(g_maps_place != NULL)
-       {
-               FPRINTF("[Line : %d][%s] DESTROY g_maps_place\\n", __LINE__, API_NAMESPACE);
-               maps_place_destroy(g_maps_place);
-       }*/
-       g_nCheckRet = maps_place_clone(place, &g_maps_place);
-
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-void MapsPlaceLocationHandleHelperHERE(void)
-{
-       int nRequestId = 0;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_coordinates_h hMapCoords = NULL;
-
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       g_bStartupPre = true;
-
-       g_nCheckRet = 0;
-       g_nCheckCb = 0;
-
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-
-       int nRet = maps_service_foreach_provider(MapsServiceProviderForeachHERECb, NULL);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       if(g_szMapsProvider == NULL)
-       {
-                FPRINTF("[Line : %d][%s] g_szMapsProvider NULL\\n", __LINE__, API_NAMESPACE);
-                g_bStartupPre = false;
-                return;
-       }
-
-       nRet = maps_service_create(g_szMapsProvider, &g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       if(g_hMapService == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapService NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-    if(pstrValue == NULL)
-       {
-               g_bStartupPre = false;
-               return;
-       }
-
-       nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_create(&g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_hMapsPref == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapsPref NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       nRet = maps_preference_set_max_results(g_hMapsPref, RESULT);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_max_results API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_set_property(g_hMapsPref, MAPS_PLACE_FILTER_SORT_BY, "distance");
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_property API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_place_filter_create(&hPlaceFilter);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hPlaceFilter == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hPlaceFilter NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       //nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       //PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_set_place_name API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_coordinates_create(LATITUTE_LOCATION, LONGITUDE_LOCATION, &hMapCoords);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hMapCoords == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hMapCoords NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-
-       nRet = maps_service_search_place(g_hMapService, hMapCoords, DISTANCELOC, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceHereCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_search_place API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place \\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_nCheckRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_clone API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_maps_place == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_maps_place NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_coordinates_destroy(hMapCoords);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_destroy(g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_service_destroy(g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-
-       return;
-}
-void MapsPlaceHandleHelperHERE(void)
-{
-       int nRequestId = 0, nRet;
-       char *pszKeyword = "restaurant";
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_coordinates_h hMapCoords = NULL;
-       maps_area_h hArea = NULL;
-
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       g_bStartupPre = true;
-
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-
-       nRet = maps_service_foreach_provider(MapsServiceProviderForeachHERECb, NULL);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-
-       if(g_szMapsProvider == NULL)
-       {
-                FPRINTF("[Line : %d][%s] g_szMapsProvider NULL\\n", __LINE__, API_NAMESPACE);
-                g_bStartupPre = false;
-                return;
-       }
-       nRet = maps_service_create(g_szMapsProvider, &g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       if(g_hMapService == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapService NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-       if(pstrValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] pstrValue NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               return;
-       }
-
-       nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_create(&g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(g_hMapsPref == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_hMapsPref NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_preference_set_max_results(g_hMapsPref, RESULT);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_max_results API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_place_filter_create(&hPlaceFilter);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hPlaceFilter == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hPlaceFilter NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_set_keyword API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_set_place_name API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_coordinates_create(LATITUTE, LONGITUDE, &hMapCoords);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hMapCoords == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hMapCoords NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       nRet = maps_area_create_circle(hMapCoords, DISTANCE, &hArea);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_area_create_circle API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       if(hArea == NULL)
-       {
-           FPRINTF("[Line : %d][%s] hArea NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-    g_nCheckRet = 0;
-       g_nCheckCb = 0;
-
-       //Target API
-       nRet = maps_service_search_place_list(g_hMapService, hArea, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceListCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-                       return;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-                       return;
-               }
-       }
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_search_place_list API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place_list \\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       if(g_nCheckRet != MAPS_ERROR_NONE)
-       {
-           FPRINTF("[Line : %d][%s] maps_place_clone API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       if(g_maps_place == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_maps_place NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       if(g_szPlaceURI != NULL)
-       {
-               free(g_szPlaceURI);
-               g_szPlaceURI = NULL;
-       }
-       maps_place_get_uri(g_maps_place, &g_szPlaceURI);
-       if(g_szPlaceURI == NULL)
-       {
-               FPRINTF("[Line : %d][%s] g_szPlaceURI NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-           maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-
-       g_nCheckCb = 0;
-       g_nCheckRet = 0;
-       nRet = maps_service_get_place_details(g_hMapService,g_szPlaceURI,MapsServiceGetPlaceDetailsCb, NULL, &nRequestId);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_get_place_details API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-           maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService);
-               return;
-       }
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_get_place_details \\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       if(g_nCheckRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_clone API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       if(g_maps_place == NULL)
-       {
-           FPRINTF("[Line : %d][%s] g_maps_place NULL\\n", __LINE__, API_NAMESPACE);
-               g_bStartupPre = false;
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       nRet = maps_area_destroy(hArea);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_area_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       nRet = maps_coordinates_destroy(hMapCoords);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       nRet = maps_preference_destroy(g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               maps_service_destroy(g_hMapService); 
-               return;
-       }
-       nRet = maps_service_destroy(g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               g_bStartupPre = false;
-               return;
-       }
-       return;
-}
-
-bool MapsProviderCb(char *maps_provider, void *user_data)
-{
-       free(maps_provider);
-       return true;
-}
-
-/** @} */
-//Add helper function definitions here
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-common.h b/src/itc/capi-maps-service/ITs-capi-maps-service-common.h
deleted file mode 100755 (executable)
index ac220a4..0000000
+++ /dev/null
@@ -1,210 +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_MAPS_SERVICE_COMMON_H_
-#define _ITS_MAPS_SERVICE_COMMON_H_
-
-#include "tct_common.h"
-#include "assert.h"
-#include <app.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <Evas.h>
-#include <Elementary.h>
-#include "maps_service.h"
-#include "maps_address.h"
-#include "maps_error.h"
-#include "maps_area.h"
-#include "maps_coordinates.h"
-#include "maps_place_filter.h"
-#include "maps_preference.h"
-#include "maps_view.h"
-//#include "maps_plugin_info.h"
-#include <glib-object.h>
-#include <glib-2.0/glib.h>
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-#define API_NAMESPACE                          "MAPS_SERVICE_ITC"
-#define BUFFER                                         50
-#define GMAINTIMEOUT                           30000           //30 seconds
-#define IMAGE_FILENAME                                 "location_01_ic.png"
-#define NEW_IMAGE_FILENAME                     "location_02_ic.png"
-#define BUFF_LEN                                       4096
-#define RESULT 10
-#define DISTANCE 504295
-#define DISTANCELOC 500
-#define LATITUTE_LOCATION 52.516071
-#define LONGITUDE_LOCATION 13.376980
-#define LATITUTE 52.5167
-#define LONGITUDE 13.383
-#define LATITUTE_ORG 37.564263
-#define LONGITUDE_ORG 126.974676
-#define LATITUTE_DEST 37.557120
-#define LONGITUDE_DEST 126.992410
-
-#define MAPS_FEATURE                   "http://tizen.org/feature/maps"
-#define INTERNET_FEATURE        "http://tizen.org/feature/network.internet"
-
-bool g_bFeatureSupported;
-bool g_bFeatureMismatch;
-bool g_bFeatureNotSupported;
-bool g_bStartupPre;
-bool g_bCategoryCreate;
-GMainLoop *g_pMainLoop;
-bool gCheckBool;
-char gszImagePath[BUFF_LEN];
-int g_nCheckCb;
-int g_nCheckRet;       
-int g_nClone;
-maps_place_h g_maps_place;
-char g_szMapsProvider[BUFFER];
-maps_service_h g_hMapService;
-maps_preference_h g_hMapsPref;
-char *g_szPlaceURI;
-                                                                                                                                                                                               
-#define START_TEST_PLACE {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-       if ( g_bFeatureMismatch )\
-       {\
-               return 1;\
-       }\
-       if ( g_bFeatureNotSupported )\
-       {\
-               return 0;\
-       }\
-       if ( g_bStartupPre == false )\
-       {\
-               FPRINTF("[Line : %d][%s] Precondition failed\\n", __LINE__, API_NAMESPACE);\
-               return 1;\
-       }\
-}
-
-#define START_TEST_ROUTE {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-       if ( g_bFeatureMismatch )\
-       {\
-               return 1;\
-       }\
-       if ( g_bFeatureNotSupported )\
-       {\
-               return 0;\
-       }\
-       if ( g_bStartupPre == false )\
-       {\
-               FPRINTF("[Line : %d][%s] Precondition failed\\n", __LINE__, API_NAMESPACE);\
-               return 1;\
-       }\
-}
-#define START_TEST(HANDLE, TYPE) {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-       if ( g_bFeatureMismatch )\
-       {\
-               return 1;\
-       }\
-       if ( g_bFeatureNotSupported )\
-       {\
-               return 0;\
-       }\
-       if ( HANDLE == NULL )\
-       {\
-               FPRINTF("[Line : %d][%s] Precondition of %s failed\\n", __LINE__, API_NAMESPACE, TYPE);\
-               return 1;\
-       }\
-}
-
-#define START_TEST_VIEW(BOOLTYPE, TYPE) {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-       if ( BOOLTYPE == false )\
-       {\
-       FPRINTF("[Line : %d][%s] Precondition of %s failed\\n", __LINE__, API_NAMESPACE, TYPE);\
-       return 1;\
-       }\
-       if ( g_bFeatureMismatch )\
-       {\
-               return 1;\
-       }\
-       if ( g_bFeatureNotSupported )\
-       {\
-               return 0;\
-       }\
-}
-
-#define START_TEST_PLACE_CATEGORY {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-       if ( g_bFeatureMismatch )\
-       {\
-               return 1;\
-       }\
-       if ( g_bFeatureNotSupported )\
-       {\
-               return 0;\
-       }\
-       if ( !g_bCategoryCreate )\
-       {\
-               FPRINTF("[Line : %d][%s] Precondition to create category handle failed so leaving test\\n", __LINE__, API_NAMESPACE);\
-               return 1;\
-       }\
-}
-
-#define START_TEST_OBJECT {\
-       FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
-}
-
-#define COMPARE_STRING(pszSetStr, pszGetStr, API) {\
-       if(pszGetStr != NULL) {\
-               if ( strcmp(pszSetStr, pszGetStr) != 0)\
-               {\
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetStr, pszGetStr);\
-                       CHECK_VALUE_STRING(pszGetStr, API);\
-                       return 1;\
-               }\
-       }\
-       else {\
-               FPRINTF("[Line : %d][%s] Get value is NULL\\n", __LINE__, API_NAMESPACE);\
-               return 1;\
-       }\
-}
-
-#define CHECK_HANDLE_CLEANUP(Handle, API, FreeResource) {\
-       if ( Handle == NULL )\
-       {\
-               FPRINTF("[Line : %d][%s] %s failed, error returned = Handle returned is NULL\\n", __LINE__, API_NAMESPACE, API);\
-               FreeResource;\
-               return 1;\
-       }\
-}
-
-#define RUN_POLLING_LOOP {\
-       g_pMainLoop = g_main_loop_new(NULL, false);\
-       int nTtimeoutId = g_timeout_add(GMAINTIMEOUT, MapsCallbackTimeout, g_pMainLoop);\
-       g_main_loop_run(g_pMainLoop);\
-       g_source_remove(nTtimeoutId);\
-       g_pMainLoop = NULL;\
-}
-
-
-char *MapServiceGetError(int nRet);
-gboolean MapsCallbackTimeout(gpointer data);
-bool GetResourceDataPath(void);
-void MapsPlaceHandleHelperHERE(void);
-void MapsPlaceLocationHandleHelperHERE(void);
-/** @} */
-#endif  //_ITS_MAPS_SERVICE_COMMON_H_
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-coordinates.c b/src/itc/capi-maps-service/ITs-capi-maps-service-coordinates.c
deleted file mode 100755 (executable)
index cd033af..0000000
+++ /dev/null
@@ -1,468 +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-capi-maps-service-common.h"
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-maps_coordinates_h g_HandleMapCoordinate = NULL;
-maps_coordinates_list_h g_HandleMapCoordinateList = NULL;
-bool g_bCbCalledCoordinateList = false;
-//& set: MapsService
-
-/**
-* @function            MapsCoordinatesListCallback
-* @description         callback function 
-* @parameter           int index, maps_coordinates_h coord, void *user_data
-* @return                      false
-*/
-bool MapsCoordinatesListCallback(int index, maps_coordinates_h coord, void *user_data)
-{
-#if DEGUG
-       FPRINTF("[Line : %d][%s] Callback MapsCoordinatesListCallback is called \\n", __LINE__, API_NAMESPACE);
-#endif
-       if (coord == NULL)
-       {
-               FPRINTF("[Line : %d][%s]Coordinate Handle is NULL \\n", __LINE__, API_NAMESPACE);
-               return true;
-       }
-       g_bCbCalledCoordinateList = true;
-       return false;   
-}
-
-/**
- * @function           ITs_maps_service_coordinates_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_coordinates_startup(void)
-{
-       struct stat stBuff;   
-       g_bFeatureSupported = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       double dLatitude = 44.4;
-       double dLongitude = 22.2;
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       int nRet = maps_coordinates_create(dLatitude, dLongitude, &g_HandleMapCoordinate);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleMapCoordinate = NULL;
-               return;
-       }
-       
-       nRet = maps_coordinates_list_create(&g_HandleMapCoordinateList);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_list_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleMapCoordinateList = NULL;
-               return;
-       }
-       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_coordinates_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_coordinates_cleanup(void)
-{
-       if((g_HandleMapCoordinate != NULL)&& (g_bFeatureSupported == true))
-       {
-               maps_coordinates_destroy(g_HandleMapCoordinate);
-       }
-       if(g_HandleMapCoordinateList != NULL)
-       {
-               maps_coordinates_list_destroy(g_HandleMapCoordinateList);
-       }
-       return;
-}
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-//& type: auto
-//& purpose:  scenario to creates and destroy instance of Geographical Coordinates
-/**
-* @testcase                    ITc_maps_coordinates_create_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to creates and destroy instance of Geographical Coordinates
-* @scenario                            creates instance of Geographical Coordinates \n
-*                                              destroy instance of Geographical Coordinates\n
-* @apicovered                  maps_coordinates_create, maps_coordinates_destroy
-* @passcase                            if maps_coordinates_create and maps_coordinates_destroy passes
-* @failcase                            if maps_coordinates_create or maps_coordinates_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_create_destroy_p(void)
-{
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-       maps_coordinates_destroy(g_HandleMapCoordinate);
-       g_HandleMapCoordinate = NULL;
-       
-       double dLatitude = 44.4;
-       double dLongitude = 22.2;
-       maps_coordinates_h LocalHandleMapCoordinate = NULL;
-       int nRet = maps_coordinates_create(dLatitude, dLongitude, &LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapCoordinate, "maps_coordinates_create");
-       
-       nRet = maps_coordinates_destroy(LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to clone coordinates handle
-/**
-* @testcase                    ITc_maps_coordinates_clone_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to clone coordinates handle
-* @scenario                            clone coordinates handle\n
-*                                              destroy cloned coordinates handle\n
-* @apicovered                  maps_coordinates_clone, maps_coordinates_destroy
-* @passcase                            if maps_coordinates_clone and maps_coordinates_destroy passes
-* @failcase                            if maps_coordinates_clone or maps_coordinates_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_clone_p(void)
-{
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-       
-       maps_coordinates_h LocalHandleMapCoordinate = NULL;
-       int nRet = maps_coordinates_clone(g_HandleMapCoordinate, &LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_clone", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapCoordinate, "maps_coordinates_clone");
-       
-       nRet = maps_coordinates_destroy(LocalHandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get latitude
-/**
-* @testcase                    ITc_maps_coordinates_set_get_latitude_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get latitude
-* @scenario                            set latitude\n
-*                                              get latitude\n
-*                                              compare the set and get latitude\n
-* @apicovered                  maps_coordinates_set_latitude, maps_coordinates_get_latitude
-* @passcase                            if maps_coordinates_set_latitude and maps_coordinates_get_latitude passes  and set get values are same
-* @failcase                            if maps_coordinates_set_latitude or maps_coordinates_get_latitude fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_set_get_latitude_p(void)
-{
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-       
-       double dSetLatitude = 44.4;
-       double dGetLatitude = 0;
-       int nRet = maps_coordinates_set_latitude(g_HandleMapCoordinate, dSetLatitude);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_set_latitude", MapServiceGetError(nRet));
-       
-       nRet = maps_coordinates_get_latitude(g_HandleMapCoordinate, &dGetLatitude);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_get_latitude", MapServiceGetError(nRet));
-
-       if(dSetLatitude != dGetLatitude)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %lf, get = %lf\\n", __LINE__, API_NAMESPACE, dSetLatitude, dGetLatitude);
-               return 1;
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get longitude
-/**
-* @testcase                    ITc_maps_coordinates_set_get_longitude_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get longitude
-* @scenario                            set longitude\n
-*                                              get longitude\n
-*                                              compare the set and get longitude\n
-* @apicovered                  maps_coordinates_set_longitude, maps_coordinates_get_longitude
-* @passcase                            if maps_coordinates_set_longitude and maps_coordinates_get_longitude passes  and set get values are same
-* @failcase                            if maps_coordinates_set_longitude or maps_coordinates_get_longitude fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_set_get_longitude_p(void)
-{
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-       
-       double dSetLongitude = 22.2;
-       double dGetLongitude = 0;
-       int nRet = maps_coordinates_set_longitude(g_HandleMapCoordinate, dSetLongitude);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_set_longitude", MapServiceGetError(nRet));
-       
-       nRet = maps_coordinates_get_longitude(g_HandleMapCoordinate, &dGetLongitude);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_get_longitude", MapServiceGetError(nRet));
-
-       if(dSetLongitude != dGetLongitude)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %lf, get = %lf\\n", __LINE__, API_NAMESPACE, dSetLongitude, dGetLongitude);
-               return 1;
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get latitude and longitude
-/**
-* @testcase                    ITc_maps_coordinates_set_get_latitude_longitude_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to set and get latitude and longitude
-* @scenario                            set latitude and longitude\n
-*                                              get latitude and longitude\n
-*                                              compare the set and get latitude and longitude\n
-* @apicovered                  maps_coordinates_set_latitude_longitude, maps_coordinates_get_latitude_longitude
-* @passcase                            if maps_coordinates_set_latitude_longitude and maps_coordinates_get_latitude_longitude passes  and set get values are same
-* @failcase                            if maps_coordinates_set_latitude_longitude or maps_coordinates_get_latitude_longitude fails or set get values are not same
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_set_get_latitude_longitude_p(void)
-{
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-       
-       double dSetLatitude = 44.4;
-       double dSetLongitude = 22.2;
-       double dGetLatitude = 0;
-       double dGetLongitude = 0;
-       
-       int nRet = maps_coordinates_set_latitude_longitude(g_HandleMapCoordinate, dSetLatitude, dSetLongitude );
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_set_latitude_longitude", MapServiceGetError(nRet));
-               
-       nRet = maps_coordinates_get_latitude_longitude(g_HandleMapCoordinate, &dGetLatitude, &dGetLongitude);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_get_latitude_longitude", MapServiceGetError(nRet));
-       if(dSetLatitude != dGetLatitude)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %lf, get = %lf\\n", __LINE__, API_NAMESPACE, dSetLatitude, dGetLatitude);
-               return 1;
-       }
-       if(dSetLongitude != dGetLongitude)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %lf, get = %lf\\n", __LINE__, API_NAMESPACE, dSetLongitude, dGetLongitude);
-               return 1;
-       }
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to create and destroy list
-/**
-* @testcase                    ITc_maps_coordinates_list_create_destroy_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to create and destroy list
-* @scenario                            create list\n
-*                                              destroy list\n
-*                                              create the list and destroy the list\n
-* @apicovered                  maps_coordinates_list_create, maps_coordinates_list_destroy
-* @passcase                            if maps_coordinates_list_create and maps_coordinates_list_destroy passes  
-* @failcase                            if maps_coordinates_list_create or maps_coordinates_list_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_list_create_destroy_p(void)
-{
-       START_TEST(g_HandleMapCoordinateList, "maps_coordinate_list");
-       
-       maps_coordinates_list_h LocalHandleMapCoordinateList = NULL;
-       
-       int nRet = maps_coordinates_list_create(&LocalHandleMapCoordinateList);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet));
-       if (LocalHandleMapCoordinateList == NULL)
-       {
-               FPRINTF("[Line : %d][%s]LocalHandleMapCoordinateList is empty \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_coordinates_list_destroy(LocalHandleMapCoordinateList);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to append and remove list
-/**
-* @testcase                    ITc_maps_coordinates_list_append_remove_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to append and remove list
-* @scenario                            append and remove list\n
-* @apicovered                  maps_coordinates_list_append and maps_coordinates_list_remove
-* @passcase                            if maps_coordinates_list_append and maps_coordinates_list_remove passes  
-* @failcase                            if maps_coordinates_list_append and maps_coordinates_list_remove fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_list_append_remove_p(void)
-{
-       START_TEST(g_HandleMapCoordinateList, "maps_coordinate_list");
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-
-       int nRet = maps_coordinates_list_append(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet));
-       
-       nRet = maps_coordinates_list_remove(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_remove", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get length of list
-/**
-* @testcase                    ITc_maps_coordinates_list_get_length_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to get length of list
-* @scenario                            get length of list\n
-* @apicovered                  maps_coordinates_list_get_length
-* @passcase                            if maps_coordinates_list_get_length passes  
-* @failcase                            if maps_coordinates_list_get_length fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_list_get_length_p(void)
-{
-       START_TEST(g_HandleMapCoordinateList, "maps_coordinate_list");
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-
-       int dGetLength = 0;
-       
-       int nRet = maps_coordinates_list_append(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet));
-       
-       nRet = maps_coordinates_list_get_length(g_HandleMapCoordinateList, &dGetLength);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_get_length", MapServiceGetError(nRet));
-       
-       if(dGetLength != 1)
-       {
-               FPRINTF("[Line : %d][%s] dGetLength is mismatch, failed\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_coordinates_list_remove(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_remove", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to check list cord
-/**
-* @testcase                    ITc_maps_coordinates_list_foreach_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to check list cord
-* @scenario                            check list cord\n
-* @apicovered                  maps_coordinates_list_foreach
-* @passcase                            if maps_coordinates_list_foreach passes  
-* @failcase                            if maps_coordinates_list_foreach fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_coordinates_list_foreach_p(void)
-{
-       START_TEST(g_HandleMapCoordinateList, "maps_coordinate_list");
-       START_TEST(g_HandleMapCoordinate, "maps_coordinate");
-
-       g_bCbCalledCoordinateList = false;
-       
-       int nRet = maps_coordinates_list_append(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet));
-               
-       nRet = maps_coordinates_list_foreach(g_HandleMapCoordinateList, MapsCoordinatesListCallback, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_foreach", MapServiceGetError(nRet));
-       if(!g_bCbCalledCoordinateList)
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_list_foreach failed, error = Callback function not invoked \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_coordinates_list_remove(g_HandleMapCoordinateList, g_HandleMapCoordinate);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_remove", MapServiceGetError(nRet));
-       
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-here.c b/src/itc/capi-maps-service/ITs-capi-maps-service-here.c
deleted file mode 100644 (file)
index 4d8e780..0000000
+++ /dev/null
@@ -1,1627 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-//& set: MapsService
-
-static bool MapServiceMultiRevGeocodeCb(maps_error_e result, int request_id, int total, maps_address_list_h address_list, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapServiceMultiRevGeocodeCb callback\\n", __LINE__, API_NAMESPACE);
-       maps_address_list_destroy(address_list);
-
-       g_nCheckCb = true;
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-
-// Callback Function to get list of service providers
-static bool MapsServiceProviderForeachCb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       g_nCheckCb = true;
-       return false;
-}
-
-// Callback function to get coordinates of the given address
-static bool MapsLocationCoordinatesCb(maps_error_e result, int request_id, int index, int total, maps_coordinates_h coord, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsLocationCoordinatesCb callback\\n", __LINE__, API_NAMESPACE);
-       maps_coordinates_destroy(coord);
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-
-// Callback function to get address of the given coordinates
-static void MapsCoordinatesAddressCb(maps_error_e result, int request_id, int index, int total, maps_address_h address, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsCoordinatesAddressCb callback\\n", __LINE__, API_NAMESPACE);
-       maps_address_destroy(address);
-       if (index + 1 < total) return;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-
-// Callback function to search place by coordinates
-static bool MapsServiceSearchPlaceCb(maps_error_e error, int request_id , int index, int total, maps_place_h place, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceSearchPlaceCb callback\\n", __LINE__, API_NAMESPACE);
-       maps_place_destroy(place);
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-
-// Callback function to get the place view URI
-static bool MapsPlaceCb(int index, maps_place_h place, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsPlaceCb callback\\n", __LINE__, API_NAMESPACE);
-       if(index ==0)
-       {       
-               maps_place_get_uri(place,&g_szPlaceURI);
-       }
-
-       return true;
-}
-
-// Callback function to search place list by coordinates
-static void MapsServiceSearchPlaceListCb(maps_error_e error, int request_id, int total, maps_place_list_h place_list, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceSearchPlaceListCb callback\\n", __LINE__, API_NAMESPACE);
-
-       g_nCheckCb = true;
-
-       if(place_list)
-               maps_place_list_foreach(place_list,MapsPlaceCb,NULL);
-
-       if(place_list)
-               maps_place_list_destroy(place_list);
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-
-// Callback function 
-static void MapsServiceGetPlaceDetailsCb(maps_error_e error, int request_id, maps_place_h place, void *user_data)
-{
-       g_nCheckCb = true;
-       if(place)
-               maps_place_destroy(place);
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-
-// Callback function to get search route
-static bool MapsServiceRouteFoundCb(maps_error_e error, int request_id, int index, int total, maps_route_h route, void* user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceRouteFoundCb callback\\n", __LINE__, API_NAMESPACE);
-       maps_route_destroy(route);
-       if (index + 1 < total) return true;
-
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-       return true;
-}
-
-static void MapsServiceRequestUserConsentCb(bool consented, const char *maps_provider, void *user_data)
-{
-       FPRINTF("[Line : %d][%s] Inside MapsServiceRequestUserConsentCb callback\\n", __LINE__, API_NAMESPACE);
-       g_nCheckCb = true;
-
-       if ( g_pMainLoop )
-       {
-               g_main_loop_quit(g_pMainLoop);
-               g_main_loop_unref(g_pMainLoop);
-               g_pMainLoop = NULL;
-       }
-}
-
-/**
- * @function           ITs_maps_service_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_startup(void)
-{
-       int nResults = 10;
-    g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-    bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       int nRet = maps_service_foreach_provider(MapsServiceProviderForeachCb, NULL);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_foreach_provider fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_bFeatureMismatch = true;
-               return;
-       }
-       else {
-               memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-               strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-               FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       }
-
-       nRet = maps_service_create(g_szMapsProvider, &g_hMapService);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_hMapService = NULL;
-               return;
-       }
-
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               return;
-       }
-
-       nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               maps_service_destroy(g_hMapService);
-               g_hMapService = NULL;
-               return;
-       }
-
-       nRet = maps_preference_create(&g_hMapsPref);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_hMapsPref = NULL;
-       }
-
-       nRet = maps_preference_set_max_results(g_hMapsPref, nResults);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_set_max_results fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_hMapsPref = NULL;
-       }       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_cleanup(void)
-{
-       int nRet = -1;
-       if(g_hMapService != NULL)
-       {
-               nRet = maps_service_destroy(g_hMapService);
-               if ( nRet != MAPS_ERROR_NONE )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_destroy fail in cleanup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               }
-               g_hMapService = NULL;
-       }
-
-       if(g_hMapsPref != NULL)
-       {
-               nRet = maps_preference_destroy(g_hMapsPref);
-               if ( nRet != MAPS_ERROR_NONE )
-               {
-                       FPRINTF("[Line : %d][%s] maps_preference_destroy fail in cleanup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               }
-               g_hMapsPref = NULL;
-       }
-       return;
-}
-
-//& type: auto
-//& purpose:  scenario to creates and destroy new maps service handle
-/**
-* @testcase                    ITc_maps_service_create_destroy_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to creates and destroy new maps service handle
-* @scenario                            creates new maps service handle \n
-*                                              destroy maps service handle\n
-* @apicovered                  maps_service_create, maps_service_destroy
-* @passcase                            if maps_service_create and maps_service_destroy passes
-* @failcase                            if maps_service_create or maps_service_destroy fails or handle created is NULL
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_create_destroy_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       maps_service_h hMapsService = NULL;
-
-       int nRet = maps_service_create(g_szMapsProvider, &hMapsService);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hMapsService,"maps_service_create");
-
-       nRet = maps_service_destroy(hMapsService);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the maps preference
-/**
-* @testcase                    ITc_maps_service_set_get_preference_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the maps preference
-* @scenario                            set the maps preference \n
-*                                              get the maps preference\n
-* @apicovered                  maps_service_set_preference, maps_service_get_preference
-* @passcase                            if maps_service_set_preference and maps_service_get_preference passes
-* @failcase                            if maps_service_set_preference or maps_service_get_preference fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_set_get_preference_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");    
-       maps_preference_h hMapsGetPref = NULL;
-
-       int nRet = maps_service_set_preference(g_hMapService, g_hMapsPref);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_set_preference", MapServiceGetError(nRet));
-
-       nRet = maps_service_get_preference(g_hMapService, &hMapsGetPref);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_get_preference", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the maps key for maps service request
-/**
-* @testcase                    ITc_maps_service_set_get_provider_key_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the maps key for maps service request
-* @scenario                            set the maps key for maps service request \n
-*                                              get the maps key for maps service request \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_service_set_provider_key, maps_service_get_provider_key
-* @passcase                            if maps_service_set_provider_key, maps_service_get_provider_key passes and set and get key values match
-* @failcase                            if maps_service_set_provider_key or maps_service_get_provider_key fails or set and get key values doesn't match
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_set_get_provider_key_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       char *pszGetKey = NULL;
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
-       {
-#if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
-#endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       int nRet = maps_service_set_provider_key(g_hMapService, pstrValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_set_provider_key", MapServiceGetError(nRet));
-
-       nRet = maps_service_get_provider_key(g_hMapService, &pszGetKey);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_get_provider_key", MapServiceGetError(nRet));
-       FPRINTF("[Line : %d][%s] maps_service_get_provider_key is = %s\\n", __LINE__, API_NAMESPACE, pszGetKey);
-
-       if(pszGetKey == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       if(strcmp(pstrValue, pszGetKey) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pstrValue, pszGetKey);
-               FREE_MEMORY(pszGetKey);
-               return 1;
-       }
-       FREE_MEMORY(pszGetKey);
-
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to check if the Maps Service supports a request and data feature
-/**
-* @testcase                    ITc_maps_service_provider_is_service_data_supported_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to check if the Maps Service supports a request and data feature
-* @scenario                            check if the Maps Service supports a request \n
-*                                              check if the Maps Service supports a data feature \n
-* @apicovered                  maps_service_provider_is_service_supported, maps_service_provider_is_data_supported
-* @passcase                            if maps_service_provider_is_service_supported, maps_service_provider_is_data_supported passes and set and get key values match
-* @failcase                            if maps_service_provider_is_service_supported or maps_service_provider_is_data_supported fails or set and get key values doesn't match
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_provider_is_service_data_supported_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       bool bSeviceSupported = false;
-       bool bDataSupported = false;
-
-       int nRet = maps_service_provider_is_service_supported(g_hMapService, MAPS_SERVICE_GEOCODE, &bSeviceSupported);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_provider_is_service_supported", MapServiceGetError(nRet));
-
-       nRet = maps_service_provider_is_data_supported(g_hMapService, MAPS_PLACE_ADDRESS, &bDataSupported);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_provider_is_data_supported", MapServiceGetError(nRet));
-
-       if(bSeviceSupported != true && bSeviceSupported != false)
-       {
-               FPRINTF("[Line : %d][%s] Output bool value for API maps_service_provider_is_service_supported is invalid\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       if(bDataSupported != true && bDataSupported != false)
-       {
-               FPRINTF("[Line : %d][%s] Output bool value for API maps_service_provider_is_data_supported is invalid\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the list of available Maps Providers
-/**
-* @testcase                    ITc_maps_service_foreach_provider_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the list of available Maps Providers
-* @scenario                            get the list of available Maps Providers \n
-* @apicovered                  maps_service_foreach_provider
-* @passcase                            if maps_service_foreach_provider passes and the list is not NULL
-* @failcase                            if maps_service_foreach_provider fails or the list is NULL
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_foreach_provider_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       
-       g_nCheckCb = false;
-
-       int nRet = maps_service_foreach_provider(MapsServiceProviderForeachCb, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_foreach_provider", MapServiceGetError(nRet));
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the position coordinates for a given address
-/**
-* @testcase                    ITc_maps_service_geocode_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the position coordinates for a given address
-* @scenario                            create the preference \n
-*                                              get the position coordinates for a given address \n
-* @apicovered                  maps_service_geocode
-* @passcase                            if maps_service_geocode passes and the callback function is hit
-* @failcase                            if maps_service_geocode fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_geocode_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       char *pszPlaceName = "Berlin";
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_service_geocode(g_hMapService, pszPlaceName, g_hMapsPref, MapsLocationCoordinatesCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_geocode", MapServiceGetError(nRet));
-
-       RUN_POLLING_LOOP;
-       
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_geocode \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to cancels the service request
-/**
-* @testcase                    ITc_maps_service_cancel_request_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to cancels the service request
-* @scenario                            create the preference \n
-*                                              get the position coordinates for a given address \n
-*                                              cancels the service request \n
-* @apicovered                  maps_service_cancel_request, maps_service_geocode
-* @passcase                            if maps_service_cancel_request passes and the callback function is hit
-* @failcase                            if maps_service_cancel_request fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_cancel_request_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       char *pszPlaceName = "London";
-
-       int nRet = maps_service_geocode(g_hMapService, pszPlaceName, g_hMapsPref, MapsLocationCoordinatesCb, NULL, &nRequestId);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_geocode", MapServiceGetError(nRet));
-
-       nRet = maps_service_cancel_request(g_hMapService, nRequestId);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_cancel_request", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the position coordinates for a given structured address
-/**
-* @testcase                    ITc_maps_service_geocode_by_structured_address_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the position coordinates for a given structured address
-* @scenario                            create the preference \n
-*                                              create the address for a city \n
-*                                              get the position coordinates for a given structured address \n
-* @apicovered                  maps_service_geocode_by_structured_address
-* @passcase                            if maps_service_geocode_by_structured_address passes and the callback function is hit
-* @failcase                            if maps_service_geocode_by_structured_address fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_geocode_by_structured_address_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       maps_address_h hAddress = NULL;
-       char *pszPlaceName = "Berlin";
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_address_create(&hAddress);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_address_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hAddress, "maps_preference_create");
-
-       nRet = maps_address_set_city(hAddress, pszPlaceName);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_address_set_city", MapServiceGetError(nRet), maps_address_destroy(hAddress));
-
-       nRet = maps_service_geocode_by_structured_address(g_hMapService, hAddress, g_hMapsPref, MapsLocationCoordinatesCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode_by_structured_address API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode_by_structured_address API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_geocode_by_structured_address", MapServiceGetError(nRet), maps_address_destroy(hAddress));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_geocode_by_structured_address \\n", __LINE__, API_NAMESPACE);
-               maps_address_destroy(hAddress);
-               return 1;
-       }
-
-       maps_address_destroy(hAddress);
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the position coordinates for a given address within the specified bounding box
-/**
-* @testcase                    ITc_maps_service_geocode_inside_area_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the position coordinates for a given address within the specified bounding box
-* @scenario                            create the preference \n
-*                                              create the address for a city \n
-*                                              get the position coordinates for a given address within the specified bounding box \n
-* @apicovered                  maps_service_geocode_inside_area
-* @passcase                            if maps_service_geocode_inside_area passes and the callback function is hit
-* @failcase                            if maps_service_geocode_inside_area fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_geocode_inside_area_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       maps_area_h hArea = NULL;
-       maps_coordinates_h hTopLeft = NULL;
-       maps_coordinates_h hBottomRight = NULL;
-       char *pszPlaceName = "Berlin";
-       double dTopLatitude = 53.507651, dTopLongitude = 10.068970;
-       double dBotmLatitude = 51.055207, dBotmLongitude = 17.111206;
-    bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dTopLatitude, dTopLongitude, &hTopLeft);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hTopLeft, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dBotmLatitude, dBotmLongitude, &hBottomRight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),maps_coordinates_destroy(hTopLeft));
-       CHECK_HANDLE_CLEANUP(hBottomRight, "maps_coordinates_create", maps_coordinates_destroy(hTopLeft));
-
-       nRet = maps_area_create_rectangle(hTopLeft, hBottomRight, &hArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_rectangle", MapServiceGetError(nRet), 
-                                                maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-       CHECK_HANDLE_CLEANUP(hArea, "maps_area_create_rectangle", 
-                                                maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-
-       nRet = maps_service_geocode_inside_area(g_hMapService, pszPlaceName, hArea, g_hMapsPref, MapsLocationCoordinatesCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode_inside_area API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_geocode_inside_area API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_geocode_inside_area", MapServiceGetError(nRet), 
-                                                maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight); maps_area_destroy(hArea));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_geocode_inside_area \\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_destroy(hTopLeft);
-               maps_coordinates_destroy(hBottomRight);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       maps_coordinates_destroy(hTopLeft);
-       maps_coordinates_destroy(hBottomRight);
-       maps_area_destroy(hArea);       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the address for a given position coordinates
-/**
-* @testcase                    ITc_maps_service_reverse_geocode_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the address for a given position coordinates
-* @scenario                            create the preference \n
-*                                              get the address for a given position coordinates \n
-* @apicovered                  maps_service_reverse_geocode
-* @passcase                            if maps_service_reverse_geocode passes and the callback function is hit
-* @failcase                            if maps_service_reverse_geocode fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_reverse_geocode_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       double dLatitude = 25.944594, dLongitude = 62.554303;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_service_reverse_geocode(g_hMapService, dLatitude, dLongitude, g_hMapsPref, MapsCoordinatesAddressCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_reverse_geocode API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_reverse_geocode API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_reverse_geocode", MapServiceGetError(nRet));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_reverse_geocode \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtain the place information for a specified distance around a given coordinates position
-/**
-* @testcase                    ITc_maps_service_search_place_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to obtain the place information for a specified distance around a given coordinates position
-* @scenario                            create the preference \n
-*                                              create filter handle and set keyword and place name \n
-*                                              create coordinates handle \n
-*                                              obtain the place information for a specified distance around a given coordinates position \n
-* @apicovered                  maps_service_search_place, maps_place_filter_create, maps_place_filter_set_keyword, maps_place_filter_set_place_name, maps_coordinates_create
-* @passcase                            if maps_service_search_place passes and the callback function is hit
-* @failcase                            if maps_service_search_place fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_search_place_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0, nDistance = 500;
-       char *pszKeyword = "restaurant";
-       double dLatitude = 52.5167, dLongitude = 13.383;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_coordinates_h hMapCoords = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_place_filter_create(&hPlaceFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dLatitude, dLongitude, &hMapCoords);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_service_search_place(g_hMapService, hMapCoords, nDistance, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_place", MapServiceGetError(nRet),
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords));
-
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hMapCoords);
-               return 1;
-       }
-
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet),
-                                                maps_coordinates_destroy(hMapCoords));
-       nRet = maps_coordinates_destroy(hMapCoords);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtain the place information for a specified free-formed address string
-/**
-* @testcase                    ITc_maps_service_search_place_by_address_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to obtain the place information for a specified free-formed address string
-* @scenario                            create the preference \n
-*                                              create filter handle and set keyword and place name \n
-*                                              create area handle by top left and bottom right \n
-*                                              obtain the place information for a specified free-formed address string \n
-* @apicovered                  maps_service_search_place_by_address, maps_place_filter_create, maps_place_filter_set_keyword, maps_place_filter_set_place_name, maps_coordinates_create, maps_area_create_rectangle
-* @passcase                            if maps_service_search_place_by_address passes and the callback function is hit
-* @failcase                            if maps_service_search_place_by_address fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_search_place_by_address_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       char *pszKeyword = "restaurant", *pszPlaceName = "Berlin";
-       double dTopLatitude = 15.665354, dTopLongitude = 74.311523;
-       double dBotmLatitude = 10.617418, dBotmLongitude = 79.145508;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_area_h hArea = NULL;
-       maps_coordinates_h hTopLeft = NULL;
-       maps_coordinates_h hBottomRight = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_place_filter_create(&hPlaceFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, pszPlaceName);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dTopLatitude, dTopLongitude, &hTopLeft);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-       CHECK_HANDLE_CLEANUP(hTopLeft, "maps_coordinates_create", maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dBotmLatitude, dBotmLongitude, &hBottomRight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft));
-       CHECK_HANDLE_CLEANUP(hBottomRight, "maps_coordinates_create", maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft));
-
-       nRet = maps_area_create_rectangle(hTopLeft, hBottomRight, &hArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_rectangle", MapServiceGetError(nRet), 
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-       CHECK_HANDLE_CLEANUP(hArea, "maps_area_create_rectangle", 
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-
-       nRet = maps_service_search_place_by_address(g_hMapService, pszPlaceName, hArea, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_by_address API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_by_address API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_place_by_address", MapServiceGetError(nRet),
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight); maps_area_destroy(hArea));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place_by_address \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hTopLeft);
-               maps_coordinates_destroy(hBottomRight);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       maps_place_filter_destroy(hPlaceFilter);
-       maps_coordinates_destroy(hTopLeft);
-       maps_coordinates_destroy(hBottomRight);
-       maps_area_destroy(hArea);
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtain the place information for a specified coordinates boundary
-/**
-* @testcase                    ITc_maps_service_search_place_by_area_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to obtain the place information for a specified coordinates boundary
-* @scenario                            create the preference \n
-*                                              create filter handle and set keyword and place name \n
-*                                              create area handle by top left and bottom right \n
-*                                              obtain the place information for a specified coordinates boundary \n
-* @apicovered                  maps_service_search_place_by_area, maps_place_filter_create, maps_place_filter_set_keyword, maps_place_filter_set_place_name, maps_coordinates_create, maps_area_create_rectangle
-* @passcase                            if maps_service_search_place_by_area passes and the callback function is hit
-* @failcase                            if maps_service_search_place_by_area fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_search_place_by_area_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       int nRequestId = 0;
-       char *pszKeyword = "restaurant";
-       double dTopLatitude = 15.665354, dTopLongitude = 74.311523;
-       double dBotmLatitude = 10.617418, dBotmLongitude = 79.145508;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_area_h hArea = NULL;
-       maps_coordinates_h hTopLeft = NULL;
-       maps_coordinates_h hBottomRight = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_place_filter_create(&hPlaceFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dTopLatitude, dTopLongitude, &hTopLeft);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-       CHECK_HANDLE_CLEANUP(hTopLeft, "maps_coordinates_create", maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dBotmLatitude, dBotmLongitude, &hBottomRight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft));
-       CHECK_HANDLE_CLEANUP(hBottomRight, "maps_coordinates_create", maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft));
-       
-       nRet = maps_area_create_rectangle(hTopLeft, hBottomRight, &hArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_rectangle", MapServiceGetError(nRet), 
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-       CHECK_HANDLE_CLEANUP(hArea, "maps_area_create_rectangle", 
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight));
-                                                
-       nRet = maps_service_search_place_by_area(g_hMapService, hArea, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_by_area API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_by_area API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_place_by_area", MapServiceGetError(nRet),
-                                                maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight); maps_area_destroy(hArea));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place_by_area \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hTopLeft);
-               maps_coordinates_destroy(hBottomRight);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet),
-                                                 maps_coordinates_destroy(hTopLeft); maps_coordinates_destroy(hBottomRight); maps_area_destroy(hArea));
-       nRet = maps_coordinates_destroy(hTopLeft);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet),
-                                                 maps_coordinates_destroy(hBottomRight); maps_area_destroy(hArea));
-       nRet = maps_coordinates_destroy(hBottomRight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet),
-                                                 maps_area_destroy(hArea));
-       nRet = maps_area_destroy(hArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the route information for a specified origin and destination coordinates
-/**
-* @testcase                    ITc_maps_service_search_route_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the route information for a specified origin and destination coordinates
-* @scenario                            create the preference \n
-*                                              create origin and destination coordinates \n
-*                                              get the route information for a specified origin and destination coordinates \n
-* @apicovered                  maps_service_search_route, maps_coordinates_create
-* @passcase                            if maps_service_search_route passes and the callback function is hit
-* @failcase                            if maps_service_search_route fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_search_route_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0;
-       double dOrigLatitude = 37.564263, dOrigLongitude = 126.974676;
-       double dDestLatitude = 37.557120, dDestLongitude = 126.992410;
-       maps_coordinates_h hOrigin = NULL;
-       maps_coordinates_h hDestination = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dOrigLatitude, dOrigLongitude, &hOrigin);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hOrigin, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dDestLatitude, dDestLongitude, &hDestination);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hOrigin));
-       CHECK_HANDLE_CLEANUP(hDestination, "maps_coordinates_create", maps_coordinates_destroy(hOrigin));
-
-       nRet = maps_service_search_route(g_hMapService, hOrigin, hDestination, g_hMapsPref, MapsServiceRouteFoundCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_route", MapServiceGetError(nRet),
-                                                maps_coordinates_destroy(hOrigin); maps_coordinates_destroy(hDestination));
-
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Route is not received from maps_service_search_route \\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_destroy(hOrigin);
-               maps_coordinates_destroy(hDestination);
-               return 1;
-       }
-
-       maps_coordinates_destroy(hOrigin);
-       maps_coordinates_destroy(hDestination);
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the route information for the route passing through a specified set of way points
-/**
-* @testcase                    ITc_maps_service_search_route_waypoints_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to get the route information for the route passing through a specified set of way points
-* @scenario                            create the preference \n
-*                                              create way point coordinates \n
-*                                              get the route information for the route passing through a specified set of way points \n
-* @apicovered                  maps_service_search_route_waypoints, maps_coordinates_create
-* @passcase                            if maps_service_search_route_waypoints passes and the callback function is hit
-* @failcase                            if maps_service_search_route_waypoints fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_search_route_waypoints_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       int nRequestId = 0, nWayPoints = 3;
-       double dWp1Latitude = 37.564263, dWp1Longitude = 126.974676;
-       double dWp2Latitude = 37.557120, dWp2Longitude = 126.992410;
-       double dWp3Latitude = 37.550120, dWp3Longitude = 126.982410;
-       maps_coordinates_h *p_wayPoints = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       p_wayPoints = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*nWayPoints);
-
-       int nRet = maps_coordinates_create(dWp1Latitude, dWp1Longitude, &p_wayPoints[0]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), g_free(p_wayPoints));
-       CHECK_HANDLE_CLEANUP(p_wayPoints[0], "maps_coordinates_create", g_free(p_wayPoints));
-
-       nRet = maps_coordinates_create(dWp2Latitude, dWp2Longitude, &p_wayPoints[1]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(p_wayPoints[0]);g_free(p_wayPoints));
-       CHECK_HANDLE_CLEANUP(p_wayPoints[1], "maps_coordinates_create", maps_coordinates_destroy(p_wayPoints[0]); g_free(p_wayPoints));
-
-       nRet = maps_coordinates_create(dWp3Latitude, dWp3Longitude, &p_wayPoints[2]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), 
-                                                maps_coordinates_destroy(p_wayPoints[0]); maps_coordinates_destroy(p_wayPoints[1]); g_free(p_wayPoints));
-       CHECK_HANDLE_CLEANUP(p_wayPoints[2], "maps_coordinates_create", 
-                                                maps_coordinates_destroy(p_wayPoints[0]); maps_coordinates_destroy(p_wayPoints[1]); g_free(p_wayPoints));
-
-       nRet = maps_service_search_route_waypoints(g_hMapService, p_wayPoints, nWayPoints, g_hMapsPref, MapsServiceRouteFoundCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route_waypoints API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       maps_coordinates_destroy(p_wayPoints[0]);
-                       maps_coordinates_destroy(p_wayPoints[1]);
-                       maps_coordinates_destroy(p_wayPoints[2]);
-                       g_free(p_wayPoints);
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_route_waypoints API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       maps_coordinates_destroy(p_wayPoints[0]);
-                       maps_coordinates_destroy(p_wayPoints[1]);
-                       maps_coordinates_destroy(p_wayPoints[2]);
-                       g_free(p_wayPoints);
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_route_waypoints", MapServiceGetError(nRet),
-                                                maps_coordinates_destroy(p_wayPoints[0]); maps_coordinates_destroy(p_wayPoints[1]); maps_coordinates_destroy(p_wayPoints[2]); g_free(p_wayPoints));
-
-       RUN_POLLING_LOOP;
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Route is not received from maps_service_search_route_waypoints \\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_destroy(p_wayPoints[0]); 
-               maps_coordinates_destroy(p_wayPoints[1]); 
-               maps_coordinates_destroy(p_wayPoints[2]);
-               g_free(p_wayPoints);
-               return 1;
-       }
-
-       maps_coordinates_destroy(p_wayPoints[0]); 
-       maps_coordinates_destroy(p_wayPoints[1]); 
-       maps_coordinates_destroy(p_wayPoints[2]);
-       g_free(p_wayPoints);
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the address for given multiple position coordinates
-/**
-* @testcase                    ITc_maps_service_multi_reverse_geocode_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to get the address for given multiple position coordinates
-* @scenario                            create the coordinate list \n
-*                                              get the address for multiple given position coordinates \n
-* @apicovered                  maps_service_multi_reverse_geocode
-* @passcase                            if maps_service_multi_reverse_geocode passes and the callback function is hit
-* @failcase                            if maps_service_multi_reverse_geocode fails or the callback function is not hit
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_multi_reverse_geocode_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");
-
-       g_nCheckCb = false;
-       maps_coordinates_list_h hMapCoordinateList = NULL;
-       int nRequestId = 0;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_list_create(&hMapCoordinateList);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_coordinates_list_create fail , error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               FREE_MEMORY(hMapCoordinateList);
-               return 1;
-       }
-       if (hMapCoordinateList == NULL)
-       {
-               FPRINTF("[Line : %d][%s] hMapCoordinateList handle is NULL \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       maps_coordinates_h *hMapCoordinate = NULL;
-       hMapCoordinate = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*4);
-       if (hMapCoordinate == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Memory Allocation Failed for hMapCoordinate \\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_list_destroy(hMapCoordinateList);
-               return 1;
-       }
-
-       nRet = maps_coordinates_create(.09, 1.8, &hMapCoordinate[0]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-       CHECK_HANDLE_CLEANUP(hMapCoordinate[0], "maps_coordinates_create",maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_create(0.1618996, 8.997, &hMapCoordinate[1]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[0]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-       CHECK_HANDLE_CLEANUP(hMapCoordinate[1], "maps_coordinates_create",maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_create(0.79660710, -7.986800809087, &hMapCoordinate[2]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[0]);maps_coordinates_destroy(hMapCoordinate[1]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-       CHECK_HANDLE_CLEANUP(hMapCoordinate[2], "maps_coordinates_create",maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_create(.03, 1.4, &hMapCoordinate[3]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[0]);maps_coordinates_destroy(hMapCoordinate[1]);maps_coordinates_destroy(hMapCoordinate[2]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-       CHECK_HANDLE_CLEANUP(hMapCoordinate[3], "maps_coordinates_create",maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-
-       nRet = maps_coordinates_list_append(hMapCoordinateList, hMapCoordinate[0]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[0]);maps_coordinates_destroy(hMapCoordinate[1]);maps_coordinates_destroy(hMapCoordinate[2]);maps_coordinates_destroy(hMapCoordinate[3]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_list_append(hMapCoordinateList, hMapCoordinate[1]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[1]);maps_coordinates_destroy(hMapCoordinate[2]);maps_coordinates_destroy(hMapCoordinate[3]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_list_append(hMapCoordinateList, hMapCoordinate[2]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[2]);maps_coordinates_destroy(hMapCoordinate[3]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-
-       nRet = maps_coordinates_list_append(hMapCoordinateList, hMapCoordinate[3]);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[3]);maps_coordinates_list_destroy(hMapCoordinateList);g_free(hMapCoordinate));
-                       
-       nRet = maps_service_multi_reverse_geocode(g_hMapService, hMapCoordinateList, g_hMapsPref, MapServiceMultiRevGeocodeCb, NULL, &nRequestId);      
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_multi_reverse_geocode API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       maps_coordinates_list_destroy(hMapCoordinateList);
-                       g_free(hMapCoordinate);
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_multi_reverse_geocode API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       //g_bFeatureMismatch = true;
-                       maps_coordinates_list_destroy(hMapCoordinateList);
-                       g_free(hMapCoordinate);
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_multi_reverse_geocode", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoordinate[0]);maps_coordinates_destroy(hMapCoordinate[1]);maps_coordinates_destroy(hMapCoordinate[2]);maps_coordinates_destroy(hMapCoordinate[3]);maps_coordinates_list_destroy(hMapCoordinateList);FREE_MEMORY(hMapCoordinate));
-
-       RUN_POLLING_LOOP;
-       
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_reverse_geocode \\n", __LINE__, API_NAMESPACE);
-               //g_bFeatureMismatch = true;
-               maps_coordinates_list_destroy(hMapCoordinateList);
-               g_free(hMapCoordinate);
-               return 1;
-       }
-       
-       
-       nRet = maps_coordinates_list_destroy(hMapCoordinateList);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_destroy", MapServiceGetError(nRet),g_free(hMapCoordinate));
-                       
-       g_free(hMapCoordinate);
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the brief Place information for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_service_search_place_list_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to obtains the brief Place information for a specified coordinates boundary.
-* @scenario                            maps_service_search_place_list
-* @apicovered                  maps_service_search_place_list
-* @passcase                            if maps_service_search_place_list passes
-* @failcase                            if maps_service_search_place_list fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-
-int ITc_maps_service_search_place_list_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");    
-       
-       g_nCheckCb = false;
-       int nRequestId = 0, nDistance = 504295;
-       char *pszKeyword = "restaurant";
-       double dLatitude = 52.5167, dLongitude = 13.383;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_coordinates_h hMapCoords = NULL;
-       maps_area_h hArea = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_place_filter_create(&hPlaceFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hPlaceFilter, "maps_place_filter_create");
-
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dLatitude, dLongitude, &hMapCoords);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-       CHECK_HANDLE(hMapCoords, "maps_coordinates_create");
-
-       nRet = maps_area_create_circle(hMapCoords, nDistance, &hArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_circle", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords));
-       CHECK_HANDLE_CLEANUP(hArea, "maps_area_create_circle", maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords));
-                                                
-       //Target API
-       nRet = maps_service_search_place_list(g_hMapService, hArea, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceListCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_place_list", MapServiceGetError(nRet),maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords); maps_area_destroy(hArea));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place_list \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hMapCoords);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoords); maps_area_destroy(hArea));
-       nRet = maps_coordinates_destroy(hMapCoords);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet),maps_area_destroy(hArea));
-       nRet = maps_area_destroy(hArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the Detail place information for a specified place uri
-/**
-* @testcase                    ITc_maps_service_get_place_details_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to obtains the Detail place information for a specified place uri
-* @scenario                            maps_service_get_place_details
-* @apicovered                  maps_service_get_place_details
-* @passcase                            if maps_service_get_place_details passes
-* @failcase                            if maps_service_get_place_details fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_service_get_place_details_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       CHECK_HANDLE(g_hMapsPref, "maps_preference_create");    
-       
-       g_nCheckCb = false;
-       int nRequestId = 0, nDistance = 504295;
-       char *pszKeyword = "restaurant";
-       double dLatitude = 52.5167, dLongitude = 13.383;
-       maps_place_filter_h hPlaceFilter = NULL;
-       maps_coordinates_h hMapCoords = NULL;
-       maps_area_h hArea = NULL;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_place_filter_create(&hPlaceFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hPlaceFilter, "maps_place_filter_create");
-       
-       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_place_filter_set_place_name(hPlaceFilter, "Berlin");
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-
-       nRet = maps_coordinates_create(dLatitude, dLongitude, &hMapCoords);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter));
-       CHECK_HANDLE(hMapCoords, "maps_coordinates_create");
-
-       nRet = maps_area_create_circle(hMapCoords, nDistance, &hArea);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_area_create_circle", MapServiceGetError(nRet), maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords));
-       CHECK_HANDLE_CLEANUP(hArea, "maps_area_create_circle", maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords));
-
-       if(g_szPlaceURI != NULL)
-       {
-               free(g_szPlaceURI);
-               g_szPlaceURI = NULL;
-       }
-
-       nRet = maps_service_search_place_list(g_hMapService, hArea, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceListCb, NULL, &nRequestId);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureMismatch = true;
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_search_place_list API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       //g_bFeatureNotSupported = true;
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_search_place_list", MapServiceGetError(nRet),maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords); maps_area_destroy(hArea));
-
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_search_place_list \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hMapCoords);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       //Target API
-       g_nCheckCb = false;
-       nRet = maps_service_get_place_details(g_hMapService,g_szPlaceURI,MapsServiceGetPlaceDetailsCb, NULL, &nRequestId);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_get_place_details", MapServiceGetError(nRet),maps_place_filter_destroy(hPlaceFilter); maps_coordinates_destroy(hMapCoords); maps_area_destroy(hArea));
-       
-       RUN_POLLING_LOOP;
-
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Place is not received from maps_service_get_place_details \\n", __LINE__, API_NAMESPACE);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_coordinates_destroy(hMapCoords);
-               maps_area_destroy(hArea);
-               return 1;
-       }
-
-       nRet = maps_place_filter_destroy(hPlaceFilter);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet),maps_coordinates_destroy(hMapCoords); maps_area_destroy(hArea));
-       
-       nRet = maps_coordinates_destroy(hMapCoords);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet),maps_area_destroy(hArea));
-       
-       nRet = maps_area_destroy(hArea);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_area_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to get the user's consent to use maps data
-/**
-* @testcase                    ITc_maps_service_request_user_consent_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(a.pandia1)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to get the user's consent to use maps data
-* @scenario                            scenario to get the user's consent to use maps data
-* @apicovered                  maps_service_request_user_consent
-* @passcase                            if maps_service_request_user_consent passes and the callback function is hit
-* @failcase                            if maps_service_request_user_consent fails or the callback function is not hit
-* @precondition                        Call maps_service_foreach_provider() to get a available Maps Providers.
-* @postcondition               callback called
-*/
-int ITc_maps_service_request_user_consent_p(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-
-       bool g_bFeatureSupported = false;
-       g_nCheckCb = false;
-       
-       IS_FEATURE_SUPPORTED(MAPS_FEATURE, g_bFeatureSupported, API_NAMESPACE);
-       
-       int nRet = maps_service_request_user_consent(g_szMapsProvider, MapsServiceRequestUserConsentCb, NULL); 
-       if ( !g_bFeatureSupported )
-       {
-               if ( nRet == TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                  FPRINTF("[Line : %d][%s] Feature not supported \\n", __LINE__, API_NAMESPACE);
-                  return 0;
-               }
-               else
-               {
-                  FPRINTF("[Line : %d][%s] Feature mismatch \\n", __LINE__, API_NAMESPACE);
-                  return 1;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_geocode", MapServiceGetError(nRet));
-
-       RUN_POLLING_LOOP;
-       
-       if(g_nCheckCb != true)
-       {
-               FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_geocode \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-place-filter.c b/src/itc/capi-maps-service/ITs-capi-maps-service-place-filter.c
deleted file mode 100755 (executable)
index 3c7e8a5..0000000
+++ /dev/null
@@ -1,437 +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-capi-maps-service-common.h"
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-maps_place_filter_h g_HandlePlaceFilter = NULL;
-bool g_CallbackFilterCheck = false;
-//& set: MapsService
-
-
-/**
- * @function           ITs_maps_service_item_place_filter_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_item_place_filter_startup(void)
-{
-       struct stat stBuff; 
-       g_bFeatureSupported = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       int nRet = maps_place_filter_create(&g_HandlePlaceFilter);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_place_filter_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_place_filter_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandlePlaceFilter = NULL;
-       }
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_item_place_filter_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_item_place_filter_cleanup(void)
-{
-       if((g_HandlePlaceFilter != NULL)&& (g_bFeatureSupported == true))
-       {
-               maps_place_filter_destroy(g_HandlePlaceFilter);
-       }
-       return;
-}
-
-/**
-* @function            MapsPlaceFilterPropertiesCallback
-* @description         callback function for fetching the list of Place Filter Properties
-* @parameter           index : current index of property, total : total amount of properties, key : key of property, value : value of property, user_data : user data passed to callback function
-* @return                      false
-*/
-bool MapsPlaceFilterPropertiesCallback(int index, int total, char* key, void* value, void* user_data)
-{
-#if DEGUG
-       FPRINTF("[Line : %d][%s] Callback MapsPlaceFilterPropertiesCallback is called \\n", __LINE__, API_NAMESPACE);
-#endif
-       g_CallbackFilterCheck = true;
-       return false;   
-}
-
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-
-//& type: auto
-//& purpose:  scenario to create and destroy a new filter handle
-/**
-* @testcase                    ITc_maps_place_filter_create_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to create and destroy a new filter handle
-* @scenario                            creates a new place filter handle \n
-*                                              destroy the place filter handle\n
-* @apicovered                  maps_place_filter_create, maps_place_filter_destroy
-* @passcase                            if maps_place_filter_create and maps_place_filter_destroy passes
-* @failcase                            if maps_place_filter_create or maps_place_filter_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_create_destroy_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       maps_place_filter_destroy(g_HandlePlaceFilter);
-       g_HandlePlaceFilter = NULL;
-       
-       maps_place_filter_h LocalHandleMapFilter = NULL;
-       int nRet = maps_place_filter_create(&LocalHandleMapFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapFilter, "maps_place_filter_create");
-       
-       nRet = maps_place_filter_destroy(LocalHandleMapFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to clone and destroy a new filter handle
-/**
-* @testcase                    ITc_maps_place_filter_clone_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to clone and destroy a new filter handle
-* @scenario                            clone a new place filter handle \n
-*                                              destroy the place filter handle\n
-* @apicovered                  maps_place_filter_clone, maps_place_filter_destroy
-* @passcase                            if maps_place_filter_clone and maps_place_filter_destroy passes
-* @failcase                            if maps_place_filter_clone or maps_place_filter_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_clone_destroy_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       
-       maps_place_filter_h LocalHandleMapFilter = NULL;
-       int nRet = maps_place_filter_clone(g_HandlePlaceFilter, &LocalHandleMapFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_clone", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandleMapFilter, "maps_place_filter_clone");
-       
-       nRet = maps_place_filter_destroy(LocalHandleMapFilter);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the filter value in an assignment with a specified string key
-/**
-* @testcase                    ITc_maps_place_filter_set_get_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get filter value in an assignment with a specified string key
-* @scenario                            set the filter value in an assignment with a specified string key \n
-*                                              get the filter value in an assignment with a specified string key\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_place_filter_set, maps_place_filter_get
-* @passcase                            if maps_place_filter_set and maps_place_filter_get passes
-* @failcase                            if maps_place_filter_set or maps_place_filter_get fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_set_get_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       char *pszKey = "MyFilterKey";
-       char *pszSetValue = "Value";
-       char *pszGetValue = NULL;
-       int nRet =  maps_place_filter_set(g_HandlePlaceFilter, pszKey, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_get(g_HandlePlaceFilter, pszKey, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_get", MapServiceGetError(nRet));
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue,pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the keyword filter value in an assignment with a specified string key
-/**
-* @testcase                    ITc_maps_place_filter_set_get_keyword_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get keyword filter value in an assignment with a specified string key
-* @scenario                            set the keyword filter value in an assignment with a specified string key \n
-*                                              get the keyword filter value in an assignment with a specified string key\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_place_filter_set_keyword, maps_place_filter_get_keyword
-* @passcase                            if maps_place_filter_set_keyword and maps_place_filter_get_keyword passes
-* @failcase                            if maps_place_filter_set_keyword or maps_place_filter_get_keyword fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_set_get_keyword_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       char *pszSetValue = "KEYWORD";
-       char *pszGetValue = NULL;
-       int nRet =  maps_place_filter_set_keyword(g_HandlePlaceFilter, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_get_keyword(g_HandlePlaceFilter, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_get_keyword", MapServiceGetError(nRet));
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue,pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }       
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the place name filter value in an assignment with a specified string key
-/**
-* @testcase                    ITc_maps_place_filter_set_get_place_name_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get place name filter value in an assignment with a specified string key
-* @scenario                            set the place name filter value in an assignment with a specified string key \n
-*                                              get the place name filter value in an assignment with a specified string key\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_place_filter_set_place_name, maps_place_filter_get_place_name
-* @passcase                            if maps_place_filter_set_place_name and maps_place_filter_get_place_name passes
-* @failcase                            if maps_place_filter_set_place_name or maps_place_filter_get_place_name fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_set_get_place_name_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       char *pszSetValue = "PLACE";
-       char *pszGetValue = NULL;
-       int nRet =  maps_place_filter_set_place_name(g_HandlePlaceFilter, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_get_place_name(g_HandlePlaceFilter, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_get_place_name", MapServiceGetError(nRet));
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue,pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }       
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to retrieves all place filter properties
-/**
-* @testcase                    ITc_maps_place_filter_foreach_property_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to retrieves all place filter properties
-* @scenario                            set the place name filter value in an assignment with a specified string key \n
-*                                              set the keyword filter value \n
-*                                              retrieves all place filter properties \n
-* @apicovered                  maps_place_filter_set_place_name, maps_place_filter_set_keyword, maps_place_filter_foreach_property
-* @passcase                            if maps_place_filter_set_place_name and maps_place_filter_set_keyword and maps_place_filter_foreach_property passes
-* @failcase                            if maps_place_filter_set_place_name or maps_place_filter_set_keyword or maps_place_filter_foreach_property fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_foreach_property_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       char *pszSetValue = "PLACE";
-       char *pszSetKeywordValue = "KEYWORDTEST";
-       g_CallbackFilterCheck = false ;
-       int nRet =  maps_place_filter_set_place_name(g_HandlePlaceFilter, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_name", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_set_keyword(g_HandlePlaceFilter, pszSetKeywordValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_keyword", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_foreach_property(g_HandlePlaceFilter, MapsPlaceFilterPropertiesCallback, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_foreach_property", MapServiceGetError(nRet));
-       if(!g_CallbackFilterCheck)
-       {
-               FPRINTF("[Line : %d][%s] maps_place_filter_foreach_property failed, error = Callback function not invoked \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Scenario to set and get the category
-/**
-* @testcase                    ITc_maps_place_filter_set_get_category_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 Scenario to set and get the category
-* @scenario                            Create Category \n
-*                                              Set category \n
-*                                              Get category \n
-* @apicovered                  maps_place_category_create, maps_place_filter_set_category and maps_place_filter_get_category
-* @passcase                            if maps_place_filter_set_category and maps_place_filter_get_category passes
-* @failcase                            if maps_place_filter_set_category or maps_place_filter_get_category fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_set_get_category_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       maps_place_category_h setCategory = NULL;
-       maps_place_category_h getCategory = NULL;
-       int nRet = -1;
-       
-       nRet = maps_place_category_create(&setCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_category_create", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_set_category(g_HandlePlaceFilter, setCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_category", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_get_category(g_HandlePlaceFilter, &getCategory);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_get_category", MapServiceGetError(nRet));
-       
-       maps_place_category_destroy(getCategory);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and Get the place address
-/**
-* @testcase                    ITc_maps_place_filter_set_get_place_address_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to set and Get the place address
-* @scenario                            set the place address \n
-*                                              get the place address\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_place_filter_set_place_address, maps_place_filter_get_place_address
-* @passcase                            if maps_place_filter_set_place_address and maps_place_filter_get_place_address passes
-* @failcase                            if maps_place_filter_set_place_address or maps_place_filter_get_place_address fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_place_filter_set_get_place_address_p(void)
-{
-       START_TEST(g_HandlePlaceFilter, "maps_place_filter");
-       char *pszSetAddr = "Samsung";
-       char *pszGetAddr = NULL;
-       
-       int nRet =  maps_place_filter_set_place_address(g_HandlePlaceFilter, pszSetAddr);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_set_place_address", MapServiceGetError(nRet));
-       
-       nRet = maps_place_filter_get_place_address(g_HandlePlaceFilter, &pszGetAddr);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_place_filter_get_place_address", MapServiceGetError(nRet));
-       if(pszGetAddr == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetAddr,pszGetAddr) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetAddr, pszGetAddr);
-               FREE_MEMORY(pszGetAddr);
-               return 1;
-       }       
-       FREE_MEMORY(pszGetAddr);
-       
-       return 0;
-}
-
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-preference.c b/src/itc/capi-maps-service/ITs-capi-maps-service-preference.c
deleted file mode 100755 (executable)
index daf6e4f..0000000
+++ /dev/null
@@ -1,669 +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-capi-maps-service-common.h"
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-maps_preference_h g_HandlePreference = NULL;
-bool g_bPreferenceCheck = false;
-//& set: MapsService
-
-
-/**
- * @function           ITs_maps_service_item_preference_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_item_preference_startup(void)
-{
-       struct stat stBuff;   
-       
-       g_bFeatureSupported = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       int nRet = maps_preference_create(&g_HandlePreference);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_preference_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_preference_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandlePreference = NULL;
-       }
-       return;
-}
-
-
-/**
- * @function           ITs_maps_service_item_preference_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_item_preference_cleanup(void)
-{
-       if((g_HandlePreference != NULL)&& (g_bFeatureSupported == true))
-       {
-               maps_preference_destroy(g_HandlePreference);
-       }
-       return;
-}
-
-/**
-* @function            MapsPreferencePropertiesCallback
-* @description         callback function for capturing context event callbacks
-* @parameter           index : current index of property, total : total amount of properties, key : key of property, value : value of property, user_data : user data passed to callback function
-* @return                      0 on being called
-*/
-bool MapsPreferencePropertiesCallback(int index, int total, char* key, char* value, void* user_data)
-{
-#if DEGUG
-       FPRINTF("[Line : %d][%s] Callback MapsPreferencePropertiesCallback is called \\n", __LINE__, API_NAMESPACE);
-#endif
-       g_bPreferenceCheck = true;
-       return false;   
-}
-
-
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-//& type: auto
-//& purpose:  scenario to create and destroy new maps preference handle.
-/**
-* @testcase                    ITc_maps_preference_create_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to create and destroy new maps preference handle
-* @scenario                            creates new maps preference handle \n
-*                                              destroy the maps preference handle \n
-* @apicovered                  maps_preference_create, maps_preference_destroy
-* @passcase                            if maps_preference_create and maps_preference_destroy passes
-* @failcase                            if maps_preference_create or maps_preference_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_create_destroy_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_preference_destroy(g_HandlePreference);
-       g_HandlePreference = NULL;
-       
-       maps_preference_h LocalHandle = NULL;
-       int nRet = maps_preference_create(&LocalHandle);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandle, "maps_preference_create");
-       
-       nRet = maps_preference_destroy(LocalHandle);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to clone and destroy maps preference handle
-/**
-* @testcase                    ITc_maps_preference_clone_destroy_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to clone and destroy maps preference handle
-* @scenario                            clone a maps preference handle \n
-*                                              destroy the maps preference handle \n
-* @apicovered                  maps_preference_clone, maps_preference_destroy
-* @passcase                            if maps_preference_clone and maps_preference_destroy passes
-* @failcase                            if maps_preference_clone or maps_preference_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_clone_destroy_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");      
-       maps_place_filter_h LocalHandle = NULL;
-       int nRet = maps_preference_clone(g_HandlePreference, &LocalHandle);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_clone", MapServiceGetError(nRet));
-       CHECK_HANDLE(LocalHandle, "maps_preference_clone");
-       
-       nRet = maps_preference_destroy(LocalHandle);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_destroy", MapServiceGetError(nRet));
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the maps distance unit
-/**
-* @testcase                    ITc_maps_preference_set_get_distance_unit_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the maps distance unit
-* @scenario                            set the maps distance unit \n
-*                                              get the maps distance unit\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_distance_unit, maps_preference_get_distance_unit
-* @passcase                            if maps_preference_set_distance_unit and maps_preference_get_distance_unit passes
-* @failcase                            if maps_preference_set_distance_unit or maps_preference_get_distance_unit fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_distance_unit_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_distance_unit_e eMapGetDistanceUnit;
-       maps_distance_unit_e eMapSetDistanceUnit[] = { MAPS_DISTANCE_UNIT_M,
-                                                                                               MAPS_DISTANCE_UNIT_KM,
-                                                                                               MAPS_DISTANCE_UNIT_FT,
-                                                                                               MAPS_DISTANCE_UNIT_YD };
-       int nRet =  0, nLoopCount = 0;
-       int nMapDistanceArraySize = sizeof(eMapSetDistanceUnit) / sizeof(eMapSetDistanceUnit[0]);
-       for(nLoopCount = 0; nLoopCount < nMapDistanceArraySize; nLoopCount++)
-       {
-               nRet = maps_preference_set_distance_unit(g_HandlePreference, eMapSetDistanceUnit[nLoopCount]);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_distance_unit", MapServiceGetError(nRet));
-               
-               nRet = maps_preference_get_distance_unit(g_HandlePreference, &eMapGetDistanceUnit);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_distance_unit", MapServiceGetError(nRet));
-               
-               if(eMapGetDistanceUnit != eMapSetDistanceUnit[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, eMapSetDistanceUnit[nLoopCount], eMapGetDistanceUnit);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the maps country code
-/**
-* @testcase                    ITc_maps_preference_set_get_country_code_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the maps country code
-* @scenario                            set the maps country code \n
-*                                              get the maps country code\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_country_code, maps_preference_get_country_code
-* @passcase                            if maps_preference_set_country_code and maps_preference_get_country_code passes
-* @failcase                            if maps_preference_set_country_code or maps_preference_get_country_code fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_country_code_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       char *pszSetValue = "IN";
-       char *pszGetValue = NULL;
-       int nRet = maps_preference_set_country_code(g_HandlePreference, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_country_code", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_get_country_code(g_HandlePreference, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_country_code", MapServiceGetError(nRet));
-       
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue, pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the language
-/**
-* @testcase                    ITc_maps_preference_set_get_language_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the language
-* @scenario                            set the language \n
-*                                              get the language\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_language, maps_preference_get_language
-* @passcase                            if maps_preference_set_language and maps_preference_get_language passes
-* @failcase                            if maps_preference_set_language or maps_preference_get_language fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_language_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       char *pszSetValue = "English";
-       char *pszGetValue = NULL;
-       int nRet = maps_preference_set_language(g_HandlePreference, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_language", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_get_language(g_HandlePreference, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_language", MapServiceGetError(nRet));
-       
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue, pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the language
-/**
-* @testcase                    ITc_maps_preference_set_get_max_results_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the language
-* @scenario                            set the language \n
-*                                              get the language\n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_max_results, maps_preference_get_max_results
-* @passcase                            if maps_preference_set_max_results and maps_preference_get_max_results passes
-* @failcase                            if maps_preference_set_max_results or maps_preference_get_max_results fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_max_results_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       int nSetMaxValue = 24;
-       int nGetMaxValue = 0;
-       int nRet = maps_preference_set_max_results(g_HandlePreference, nSetMaxValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_max_results", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_get_max_results(g_HandlePreference, &nGetMaxValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_max_results", MapServiceGetError(nRet));
-       
-       if(nSetMaxValue != nGetMaxValue)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, nSetMaxValue, nGetMaxValue);
-               return 1;
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the route feature
-/**
-* @testcase                    ITc_maps_preference_set_get_route_feature_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the route feature
-* @scenario                            set the route feature \n
-*                                              get the route feature \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_route_feature, maps_preference_get_route_feature
-* @passcase                            if maps_preference_set_route_feature and maps_preference_get_route_feature passes
-* @failcase                            if maps_preference_set_route_feature or maps_preference_get_route_feature fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_route_feature_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_route_feature_e eMapGetRouteFeature;
-       maps_route_feature_e eMapSetRouteFeature[] = {  MAPS_ROUTE_FEATURE_NO,                  
-                                                                                                       MAPS_ROUTE_FEATURE_TOLL,                
-                                                                                                       MAPS_ROUTE_FEATURE_MOTORWAY,    
-                                                                                                       MAPS_ROUTE_FEATURE_BOATFERRY,   
-                                                                                                       MAPS_ROUTE_FEATURE_RAILFERRY,   
-                                                                                                       MAPS_ROUTE_FEATURE_PUBLICTTRANSIT,
-                                                                                                       MAPS_ROUTE_FEATURE_TUNNEL,              
-                                                                                                       MAPS_ROUTE_FEATURE_DIRTROAD,    
-                                                                                                       MAPS_ROUTE_FEATURE_PARKS,               
-                                                                                                       MAPS_ROUTE_FEATURE_HOVLANE,             
-                                                                                                       MAPS_ROUTE_FEATURE_STAIRS               
-                                                                                               };
-       int nRet =  0, nLoopCount = 0;
-       int nMapDistanceArraySize = sizeof(eMapSetRouteFeature) / sizeof(eMapSetRouteFeature[0]);
-       for(nLoopCount = 0; nLoopCount < nMapDistanceArraySize; nLoopCount++)
-       {
-               nRet = maps_preference_set_route_feature(g_HandlePreference, eMapSetRouteFeature[nLoopCount]);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_route_feature", MapServiceGetError(nRet));
-               
-               nRet = maps_preference_get_route_feature(g_HandlePreference, &eMapGetRouteFeature);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_route_feature", MapServiceGetError(nRet));
-               
-               if(eMapGetRouteFeature != eMapSetRouteFeature[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, eMapSetRouteFeature[nLoopCount], eMapGetRouteFeature);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the route feature weight
-/**
-* @testcase                    ITc_maps_preference_set_get_route_feature_weight_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the route feature weight
-* @scenario                            set the route feature weight \n
-*                                              get the route feature weight \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_route_feature_weight, maps_preference_get_route_feature_weight
-* @passcase                            if maps_preference_set_route_feature_weight and maps_preference_get_route_feature_weight passes
-* @failcase                            if maps_preference_set_route_feature_weight or maps_preference_get_route_feature_weight fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_route_feature_weight_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_route_feature_weight_e eMapGetValue;
-       maps_route_feature_weight_e eMapSetValue[] = { MAPS_ROUTE_FEATURE_WEIGHT_NORMAL,
-                                                                                       MAPS_ROUTE_FEATURE_WEIGHT_PREFER,
-                                                                                       MAPS_ROUTE_FEATURE_WEIGHT_AVOID,
-                                                                                       MAPS_ROUTE_FEATURE_WEIGHT_SOFTEXCLUDE,
-                                                                                       MAPS_ROUTE_FEATURE_WEIGHT_STRICTEXCLUDE
-                                                                                       };
-       int nRet =  0, nLoopCount = 0;
-       int nMapDistanceArraySize = sizeof(eMapSetValue) / sizeof(eMapSetValue[0]);
-       for(nLoopCount = 0; nLoopCount < nMapDistanceArraySize; nLoopCount++)
-       {
-               nRet = maps_preference_set_route_feature_weight(g_HandlePreference, eMapSetValue[nLoopCount]);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_route_feature_weight", MapServiceGetError(nRet));
-               
-               nRet = maps_preference_get_route_feature_weight(g_HandlePreference, &eMapGetValue);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_route_feature_weight", MapServiceGetError(nRet));
-               
-               if(eMapGetValue != eMapSetValue[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, eMapSetValue[nLoopCount], eMapGetValue);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario txo set and get the route optimization
-/**
-* @testcase                    ITc_maps_preference_set_get_route_optimization_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the route optimization
-* @scenario                            set the route optimization \n
-*                                              get the route optimization \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_route_optimization, maps_preference_get_route_optimization
-* @passcase                            if maps_preference_set_route_optimization and maps_preference_get_route_optimization passes
-* @failcase                            if maps_preference_set_route_optimization or maps_preference_get_route_optimization fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_route_optimization_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_route_optimization_e eMapGetValue;
-       maps_route_optimization_e eMapSetValue[] = { MAPS_ROUTE_TYPE_FASTEST,
-                                                                                       MAPS_ROUTE_TYPE_SHORTEST,
-                                                                                       MAPS_ROUTE_TYPE_ECONOMIC,
-                                                                                       MAPS_ROUTE_TYPE_SCENIC, 
-                                                                                       MAPS_ROUTE_TYPE_FASTESTNOW,
-                                                                                       MAPS_ROUTE_TYPE_DIRECTDRIVE
-                                                                                  };
-                                                                                       
-       int nRet =  0, nLoopCount = 0;
-       int nMapDistanceArraySize = sizeof(eMapSetValue) / sizeof(eMapSetValue[0]);
-       for(nLoopCount = 0; nLoopCount < nMapDistanceArraySize; nLoopCount++)
-       {
-               nRet = maps_preference_set_route_optimization(g_HandlePreference, eMapSetValue[nLoopCount]);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_route_optimization", MapServiceGetError(nRet));
-               
-               nRet = maps_preference_get_route_optimization(g_HandlePreference, &eMapGetValue);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_route_optimization", MapServiceGetError(nRet));
-               
-               if(eMapGetValue != eMapSetValue[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, eMapSetValue[nLoopCount], eMapGetValue);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario txo set and get the route transport mode
-/**
-* @testcase                    ITc_maps_preference_set_get_route_transport_mode_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the route transport mode
-* @scenario                            set the route transport mode \n
-*                                              get the route transport mode \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_route_transport_mode, maps_preference_get_route_transport_mode
-* @passcase                            if maps_preference_set_route_transport_mode and maps_preference_get_route_transport_mode passes
-* @failcase                            if maps_preference_set_route_transport_mode or maps_preference_get_route_transport_mode fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_route_transport_mode_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       maps_route_transport_mode_e eMapGetValue;
-       maps_route_transport_mode_e eMapSetValue[] = { MAPS_ROUTE_TRANSPORT_MODE_CAR,
-                                                                                       MAPS_ROUTE_TRANSPORT_MODE_PEDESTRIAN,
-                                                                                       MAPS_ROUTE_TRANSPORT_MODE_BICYCLE,      
-                                                                                       MAPS_ROUTE_TRANSPORT_MODE_PUBLICTRANSIT,
-                                                                                       MAPS_ROUTE_TRANSPORT_MODE_TRUCK
-                                                                                 };
-                                                                                       
-       int nRet =  0, nLoopCount = 0;
-       int nMapDistanceArraySize = sizeof(eMapSetValue) / sizeof(eMapSetValue[0]);
-       for(nLoopCount = 0; nLoopCount < nMapDistanceArraySize; nLoopCount++)
-       {
-               nRet = maps_preference_set_route_transport_mode(g_HandlePreference, eMapSetValue[nLoopCount]);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_route_transport_mode", MapServiceGetError(nRet));
-               
-               nRet = maps_preference_get_route_transport_mode(g_HandlePreference, &eMapGetValue);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_route_transport_mode", MapServiceGetError(nRet));
-               
-               if(eMapGetValue != eMapSetValue[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, eMapSetValue[nLoopCount], eMapGetValue);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the property
-/**
-* @testcase                    ITc_maps_preference_set_get_property_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the property
-* @scenario                            set the property \n
-*                                              get the property \n
-*                                              compare the set and get values \n
-* @apicovered                  maps_preference_set_property, maps_preference_get
-* @passcase                            if maps_preference_set_property and maps_preference_get passes
-* @failcase                            if maps_preference_set_property or maps_preference_get fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_property_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       char *pszSetKey = "MYKEY";
-       char *pszSetValue = "MYVALUE";
-       char *pszGetValue = NULL;
-       int nRet = maps_preference_set_property(g_HandlePreference, pszSetKey, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_property", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_get(g_HandlePreference, pszSetKey, &pszGetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get", MapServiceGetError(nRet));
-       
-       if(pszGetValue == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Get value = NULL\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       if(strcmp(pszSetValue, pszGetValue) != 0)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %s, get = %s\\n", __LINE__, API_NAMESPACE, pszSetValue, pszGetValue);
-               FREE_MEMORY(pszGetValue);
-               return 1;
-       }
-       FREE_MEMORY(pszGetValue);
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the property
-/**
-* @testcase                    ITc_maps_preference_foreach_property_p
-* @author              SRID(saurabh.s9)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         2.4
-* @description                 scenario to set and get the property
-* @scenario                            set the property \n
-*                                              check foreach property \n
-* @apicovered                  maps_preference_set_property, maps_preference_get
-* @passcase                            if maps_preference_set_property and maps_preference_foreach_property passes
-* @failcase                            if maps_preference_set_property or maps_preference_foreach_property fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_foreach_property_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       char *pszSetKey = "MYKEY1";
-       char *pszSetValue = "MYVALUE1";
-       g_bPreferenceCheck = false; 
-       int nRet = maps_preference_set_property(g_HandlePreference, pszSetKey, pszSetValue);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_property", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_foreach_property(g_HandlePreference, MapsPreferencePropertiesCallback, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_foreach_property", MapServiceGetError(nRet));
-       if(!g_bPreferenceCheck)
-       {
-               FPRINTF("[Line : %d][%s] maps_preference_foreach_property failed, error = Callback function not invoked \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the enable status of alternative routes.
-/**
-* @testcase                    ITc_maps_preference_set_get_route_alternatives_enabled_p
-* @author              SRID(nibha.sharma)
-* @reviewer            SRID(parshant.v)
-* @type                                auto
-* @since_tizen                 3.0
-* @description         scenario to set and get the enable status of alternative routes.
-* @scenario                    Set the enable status of alternative routes. \n
-*                                      Get the enable status of alternative routes.\n
-*                                      compare the set and get values \n
-* @apicovered                  maps_preference_set_route_alternatives_enabled, maps_preference_get_route_alternatives_enabled
-* @passcase                    if maps_preference_set_route_alternatives_enabled and maps_preference_get_route_alternatives_enabled passes
-* @failcase                    if maps_preference_set_route_alternatives_enabled or maps_preference_get_route_alternatives_enabled fails
-* @precondition                NA
-* @postcondition               NA
-*/
-int ITc_maps_preference_set_get_route_alternatives_enabled_p(void)
-{
-       START_TEST(g_HandlePreference, "maps_preference");
-       
-       bool bSetEnable = true;
-       bool bGetEnable = false;
-       
-       int nRet = maps_preference_set_route_alternatives_enabled(g_HandlePreference, bSetEnable);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_set_route_alternatives_enabled", MapServiceGetError(nRet));
-       
-       nRet = maps_preference_get_route_alternatives_enabled(g_HandlePreference, &bGetEnable);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_preference_get_route_alternatives_enabled", MapServiceGetError(nRet));
-       
-       if(bSetEnable != bGetEnable)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in value, set = %d, get = %d\\n", __LINE__, API_NAMESPACE, bSetEnable, bGetEnable);
-               return 1;
-       }
-               
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-view-here.c b/src/itc/capi-maps-service/ITs-capi-maps-view-here.c
deleted file mode 100644 (file)
index d84162e..0000000
+++ /dev/null
@@ -1,1383 +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-capi-maps-service-common.h"
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-static Evas_Object *g_pEvasWin  = NULL;
-static maps_service_h g_HandleMapService = NULL; 
-static char gszStrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-static maps_view_h g_HandleMapView = NULL;
-static Evas_Image *g_hImage = NULL;
-
-static bool gCheckCB = false;
-static bool g_CheckInitErr = false;
-
-static bool MapsViewCoordinateCB(int index, int total, maps_view_object_h object, void *user_data)
-{
-       FPRINTF("\nEntered Callback MapsViewCoordinateCB \n");
-       gCheckCB = true;
-       return true;
-}
-
-static void MapsViewEventCb(maps_view_event_type_e type, maps_view_event_data_h event_data, void *user_data) 
-{ 
-}
-
-/**
- * @function           ITs_maps_view_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_view_startup(void)
-{
-       g_CheckInitErr = true;
-       g_bFeatureMismatch = false;
-       g_bFeatureNotSupported = false;
-       
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       elm_init(0,NULL);
-       elm_config_accel_preference_set("opengl");
-
-       elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
-       
-       g_pEvasWin  = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       if(g_pEvasWin == NULL)
-       {
-               FPRINTF("[Line : %d][%s] elm_win_add fail in startup  \\n", __LINE__, API_NAMESPACE);
-               g_CheckInitErr = false;
-               return;
-       }
-       elm_win_autodel_set(g_pEvasWin , TRUE);
-       g_hImage = evas_object_image_filled_add(evas_object_evas_get(g_pEvasWin ));
-       if(g_hImage == NULL)
-       {
-               FPRINTF("[Line : %d][%s] evas_object_image_filled_add fail in startup  \\n", __LINE__, API_NAMESPACE);
-               g_CheckInitErr = false;
-               return;
-       }
-       
-       memset(g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       strncpy(g_szMapsProvider, "HERE", sizeof(g_szMapsProvider)-1);
-       FPRINTF("[Line : %d][%s] Provider list from maps_service_foreach_provider is = %s\\n", __LINE__, API_NAMESPACE, g_szMapsProvider);
-       int nRet = maps_service_create(g_szMapsProvider, &g_HandleMapService);
-       if ( false == bMapsFeatureSupported)
-       {
-               g_bFeatureSupported = false;
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureMismatch = true;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       g_bFeatureNotSupported = true;
-               }
-               return;
-       }
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleMapService = NULL;
-               g_CheckInitErr = false;
-               return;
-       }
-       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", gszStrValue, API_NAMESPACE))
-    {
-       #if DEBUG
-               FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, gszStrValue);
-       #endif
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] GetValueFromConfigFile returned error\\n", __LINE__, API_NAMESPACE);
-               g_CheckInitErr = false;
-               return;
-       }
-       nRet = maps_service_set_provider_key(g_HandleMapService, gszStrValue);
-       if ( nRet != MAPS_ERROR_NONE )
-       {
-               FPRINTF("[Line : %d][%s] maps_service_set_provider_key fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               maps_service_destroy(g_HandleMapService);
-               g_HandleMapService = NULL;
-               g_CheckInitErr = false;
-               return;
-       }
-       nRet = maps_view_create(g_HandleMapService, g_pEvasWin, &g_HandleMapView);
-       
-       if ( nRet != MAPS_ERROR_NONE || g_HandleMapView == NULL)
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create fail in startup error returned : %s \\n", __LINE__, API_NAMESPACE , MapServiceGetError(nRet));
-               g_HandleMapService = NULL;
-               g_CheckInitErr = false;
-               return;
-       }
-
-       return;
-}
-
-/**
- * @function           ITs_maps_view_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_view_cleanup(void)
-{
-       if(g_HandleMapView != NULL)
-    {
-               maps_view_destroy(g_HandleMapView);
-       }
-       if(g_HandleMapService != NULL)
-       {
-               maps_service_destroy(g_HandleMapService);
-       }
-       elm_shutdown();
-
-       g_HandleMapView = NULL;
-       g_HandleMapService = NULL;
-       g_hImage = NULL;
-       g_pEvasWin  = NULL;
-       
-       return;
-}
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-//& type: auto
-//& purpose:  scenario to create and destroy a new maps view
-/**
-* @testcase                    ITc_maps_view_create_destroy_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to create and destroy a new maps view
-* @scenario                            creates a new map view\n
-*                                              destroy the map view\n
-* @apicovered                  maps_view_create, maps_view_destroy
-* @passcase                            if maps_view_create and maps_view_destroy passes
-* @failcase                            if maps_view_create or maps_view_destroy fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_create_destroy_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_service_h HandleMapService = NULL; 
-       maps_view_h HandleMapView = NULL;
-       Evas_Image *Image = NULL;
-       
-       Image = evas_object_image_filled_add(evas_object_evas_get(g_pEvasWin ));
-       if(Image == NULL)
-       {
-               FPRINTF("[Line : %d][%s] Evas_Image null\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       int nRet = maps_service_create(g_szMapsProvider, &HandleMapService);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(HandleMapService, "maps_service_create");
-
-       nRet = maps_service_set_provider_key(HandleMapService, gszStrValue);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_service_set_provider_key", MapServiceGetError(nRet), maps_service_destroy(HandleMapService));
-       
-       nRet = maps_view_create(HandleMapService, Image, &HandleMapView);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_create", MapServiceGetError(nRet), maps_service_destroy(HandleMapService));
-       CHECK_HANDLE_CLEANUP(HandleMapView, "maps_view_create", maps_service_destroy(HandleMapService));
-       
-       nRet = maps_view_destroy(HandleMapView);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_destroy", MapServiceGetError(nRet), maps_service_destroy(HandleMapService));
-       
-       maps_service_destroy(HandleMapService);
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get center
-/**
-* @testcase                    ITc_maps_view_set_get_center_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to set and get center
-* @scenario                            call maps_view_get_center and maps_view_set_center
-* @apicovered                  maps_view_get_center, maps_view_set_center
-* @passcase                            if maps_view_get_center and maps_view_set_center passes
-* @failcase                            if maps_view_get_center and maps_view_set_center fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_center_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_coordinates_h Setcoord = NULL;
-       maps_coordinates_h Getcoord = NULL;
-       
-       double Setlatitude = 30.0;
-       double Setlongitude = 40.0;
-       double Getlatitude = 0.0;
-       double Getlongitude = 0.0;
-
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(Setlatitude, Setlongitude, &Setcoord);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-    CHECK_HANDLE(Setcoord, "maps_coordinates_create");
-       
-       nRet = maps_view_set_center(g_HandleMapView, Setcoord);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_center API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_center API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_set_center", MapServiceGetError(nRet), maps_coordinates_destroy(Setcoord));
-       
-       nRet = maps_view_get_center(g_HandleMapView, &Getcoord);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_get_center", MapServiceGetError(nRet), maps_coordinates_destroy(Setcoord));
-       CHECK_HANDLE(Getcoord, "maps_view_get_center");
-       
-    nRet = maps_coordinates_get_latitude_longitude(Getcoord,&Getlatitude,&Getlongitude);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_get_latitude_longitude", MapServiceGetError(nRet), maps_coordinates_destroy(Setcoord));
-       
-       if(Setlatitude != Getlatitude || Setlongitude != Getlongitude)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               maps_coordinates_destroy(Setcoord);
-               return 1;
-       }
-       nRet = maps_coordinates_destroy(Setcoord);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get zoom level
-/**
-* @testcase                    ITc_maps_view_set_get_zoom_level_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 scenario to set and get zoom level
-* @scenario                            call maps_view_set_zoom_level and maps_view_get_zoom_level
-* @apicovered                  maps_view_set_zoom_level, maps_view_get_zoom_level
-* @passcase                            if maps_view_set_zoom_level and maps_view_get_zoom_level passes
-* @failcase                            if maps_view_set_zoom_level and maps_view_get_zoom_level fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_zoom_level_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       int Setlevel = 3;
-       int Getlevel = 0;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_zoom_level(g_HandleMapView, Setlevel);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_zoom_level API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_zoom_level API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_zoom_level", MapServiceGetError(nRet));
-       
-       nRet = maps_view_get_zoom_level(g_HandleMapView, &Getlevel);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_zoom_level", MapServiceGetError(nRet));
-
-       if(Setlevel != Getlevel)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get the minimal zoom level of the map
-/**
-* @testcase                    ITc_maps_view_set_get_min_zoom_level_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets the minimal zoom level of the map.
-*                                              Gets the minimal zoom level of the map.
-* @scenario                            maps_view_set_min_zoom_level, call maps_view_get_min_zoom_level
-* @apicovered                  maps_view_set_min_zoom_level, maps_view_get_min_zoom_level
-* @passcase                            if maps_view_set_min_zoom_level and maps_view_get_min_zoom_level passes
-* @failcase                            if maps_view_set_min_zoom_level or maps_view_get_min_zoom_level fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_min_zoom_level_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       int nSetZoomLevel = 1;
-       int nGetZoomLevel;
-       
-       int nRet = maps_view_set_min_zoom_level(g_HandleMapView, nSetZoomLevel);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_min_zoom_level", MapServiceGetError(nRet));
-       
-       nRet = maps_view_get_min_zoom_level(g_HandleMapView, &nGetZoomLevel);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_min_zoom_level", MapServiceGetError(nRet));
-       
-       if(nSetZoomLevel != nGetZoomLevel)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in set and get zoom level \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-       
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the maximal zoom level of the map
-/**
-* @testcase                    ITc_maps_view_set_get_max_zoom_level_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets the maximal zoom level of the map.
-*                                              Gets the maximal zoom level of the map.
-* @scenario                            call maps_view_set_max_zoom_level and maps_view_get_max_zoom_level
-* @apicovered                  maps_view_set_max_zoom_level, maps_view_get_max_zoom_level
-* @passcase                            if maps_view_set_max_zoom_level and maps_view_get_max_zoom_level pass
-* @failcase                            if maps_view_set_max_zoom_level or maps_view_get_max_zoom_level fail
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_max_zoom_level_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       int nSetZoomLevel = 7;
-       int nGetZoomLevel;
-
-       int nRet = maps_view_set_max_zoom_level(g_HandleMapView, nSetZoomLevel);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_max_zoom_level", MapServiceGetError(nRet));
-
-       nRet = maps_view_get_max_zoom_level(g_HandleMapView, &nGetZoomLevel);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_max_zoom_level", MapServiceGetError(nRet));
-       
-       if(nSetZoomLevel != nGetZoomLevel)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in set and get zoom level \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get the orientation on the View
-/**
-* @testcase                    ITc_maps_view_set_get_orientation_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and Gets the orientation on the View
-* @scenario                            call maps_view_set_orientation and maps_view_get_orientation
-* @apicovered                  maps_view_set_orientation, maps_view_get_orientation
-* @passcase                            if maps_view_set_orientation, maps_view_get_orientation passes
-* @failcase                            if maps_view_set_orientation, maps_view_get_orientation fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_orientation_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       double SetOrientation = 30.0;
-       double GetOrientation = 0.0;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_orientation(g_HandleMapView, SetOrientation);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_orientation API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_orientation API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_orientation", MapServiceGetError(nRet));
-
-       nRet = maps_view_get_orientation(g_HandleMapView, &GetOrientation);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_orientation", MapServiceGetError(nRet));
-       
-    if(SetOrientation != GetOrientation)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to converts screen coordinates to the geographical coordinates accordingly to the current map zoom and orientation.
-/**
-* @testcase                    ITc_maps_view_screen_to_geolocation_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Converts screen coordinates to the geographical coordinates
-* @scenario                            call maps_view_screen_to_geolocation
-* @apicovered                  maps_view_screen_to_geolocation
-* @passcase                            if maps_view_screen_to_geolocation passes
-* @failcase                            if maps_view_screen_to_geolocation fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_screen_to_geolocation_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_coordinates_h GeoCord = NULL;
-       int x = 3;
-       int y = 4;
-       
-       int nRet = maps_view_screen_to_geolocation(g_HandleMapView, x, y, &GeoCord);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_screen_to_geolocation", MapServiceGetError(nRet));
-       CHECK_HANDLE(GeoCord, "maps_view_screen_to_geolocation");
-
-       nRet = maps_coordinates_destroy(GeoCord);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to convert geographical coordinates to the screen coordinates
-/**
-* @testcase                    ITc_maps_view_geolocation_to_screen_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Converts geographical coordinates to the screen coordinates.
-* @scenario                            call maps_view_geolocation_to_screen
-* @apicovered                  maps_view_geolocation_to_screen
-* @passcase                            if maps_view_geolocation_to_screen passes
-* @failcase                            if maps_view_geolocation_to_screen fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_geolocation_to_screen_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_coordinates_h coord = NULL;
-       double latitude = 0.0;
-       double longitude = 0.0;
-       int screen_x = 0, screen_y = 0;
-
-       int nRet = maps_coordinates_create(latitude, longitude, &coord);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-    CHECK_HANDLE(coord, "maps_coordinates_create");
-       
-       nRet = maps_view_geolocation_to_screen(g_HandleMapView, coord, &screen_x, &screen_y);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_geolocation_to_screen", MapServiceGetError(nRet), maps_coordinates_destroy(coord));
-
-       nRet = maps_coordinates_destroy(coord);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to set and get View type
-/**
-* @testcase                    ITc_maps_view_set_get_type_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and Gets View type
-* @scenario                            call maps_view_set_type and maps_view_get_type
-* @apicovered                  maps_view_set_type and maps_view_get_type
-* @passcase                            if maps_view_set_type and maps_view_get_type passes
-* @failcase                            if maps_view_set_type or maps_view_get_type fails
-* @precondition                        a view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_type_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_view_type_e Gettype;
-       int nRet, nLoopCount = 0;
-       maps_view_type_e eMapViewTypes[] = {MAPS_VIEW_TYPE_NORMAL, MAPS_VIEW_TYPE_SATELLITE, MAPS_VIEW_TYPE_TERRAIN, MAPS_VIEW_TYPE_HYBRID};
-       
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nMapViewTypeArraySize = sizeof(eMapViewTypes) / sizeof(eMapViewTypes[0]);
-       
-       for(nLoopCount = 0; nLoopCount < nMapViewTypeArraySize; nLoopCount++)
-       {
-               nRet = maps_view_set_type(g_HandleMapView, eMapViewTypes[nLoopCount]);
-               if ( false == bInternetFeatureSupported)
-               {
-                       if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-                       {
-                               FPRINTF("[Line : %d][%s] maps_view_set_type API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 1;
-                       }
-                       else
-                       {
-                               FPRINTF("[Line : %d][%s] maps_view_set_type API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 0;
-                       }
-               }
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_type", MapServiceGetError(nRet));
-
-               nRet = maps_view_get_type(g_HandleMapView, &Gettype);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_type", MapServiceGetError(nRet));
-               
-               if(Gettype != eMapViewTypes[nLoopCount])
-               {
-                       FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-                       return 1;
-               }
-       }
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to enable or disable 3D buildings
-/**
-* @testcase                    ITc_maps_view_set_get_buildings_enabled_p
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Enables or disables 3D buildings
-* @scenario                            call maps_view_set_buildings_enabled, maps_view_get_buildings_enabled
-* @apicovered                  maps_view_set_buildings_enabled, maps_view_get_buildings_enabled
-* @passcase                            if maps_view_set_buildings_enabled, maps_view_get_buildings_enabled passes
-* @failcase                            if maps_view_set_buildings_enabled, maps_view_get_buildings_enabled fails
-* @precondition                        NA
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_buildings_enabled_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       bool supported = false;
-       bool SetEnabled = false;
-       bool GetEnabled;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-
-       int nRet = maps_service_provider_is_data_supported(g_HandleMapService, MAPS_VIEW_BUILDING, &supported);
-
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_buildings_enabled API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_buildings_enabled API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_service_provider_is_data_supported", MapServiceGetError(nRet));
-
-       if(supported == true)
-       {
-               nRet = maps_view_set_buildings_enabled(g_HandleMapView, SetEnabled);
-
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_buildings_enabled", MapServiceGetError(nRet));
-
-               nRet = maps_view_get_buildings_enabled(g_HandleMapView, &GetEnabled);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_buildings_enabled", MapServiceGetError(nRet));
-               if(GetEnabled != SetEnabled)
-               {
-                       FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-                       return 1;
-               }
-       }
-       else
-       {
-               FPRINTF("[Line : %d][%s] maps_service_provider_is_data_supported API not supported for 'MAPS_VIEW_BUILDING'", __LINE__, API_NAMESPACE);
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get View language.
-/**
-* @testcase                    ITc_maps_view_set_get_language_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function sets and gets the language to the given View.
-* @scenario                            Sets the language to the given View. Gets the language to the given View
-* @apicovered                  maps_view_set_language, maps_view_get_language
-* @passcase                            if maps_view_set_language and maps_view_get_language passes
-* @failcase                            if maps_view_set_language or maps_view_get_language fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_language_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-
-       char *setLanguage = "eng";
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_language(g_HandleMapView, setLanguage);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_language API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_language API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_language", MapServiceGetError(nRet));
-       
-       char *getLanguage = NULL;
-
-       nRet = maps_view_get_language(g_HandleMapView, &getLanguage);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_language", MapServiceGetError(nRet));
-       if(0 != strcmp(getLanguage,setLanguage))
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               FREE_MEMORY_TC(getLanguage);
-               return 1;
-       }
-               
-       FREE_MEMORY_TC(getLanguage);
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Enables or disables scalebar and Gets whether the scalebar is enabled or not.
-/**
-* @testcase                    ITc_maps_view_set_get_scalebar_enabled_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Enables or disables scalebar and Gets whether the scalebar is enabled or not
-* @scenario                            Enables or disables scalebar. Gets whether the scalebar is enabled or not
-* @apicovered                  maps_view_set_scalebar_enabled, maps_view_get_scalebar_enabled
-* @passcase                            if maps_view_set_scalebar_enabled and maps_view_get_scalebar_enabled passes
-* @failcase                            if maps_view_set_scalebar_enabled or maps_view_get_scalebar_enabled fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_scalebar_enabled_p(void)   
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       bool setEnabled = false;
-       bool getEnabled = true;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_scalebar_enabled(g_HandleMapView, setEnabled);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_scalebar_enabled API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_scalebar_enabled API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_scalebar_enabled", MapServiceGetError(nRet));
-    
-       nRet = maps_view_get_scalebar_enabled(g_HandleMapView, &getEnabled);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_scalebar_enabled", MapServiceGetError(nRet));
-       if(setEnabled != getEnabled)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get View language.
-/**
-* @testcase                    ITc_maps_view_set_get_traffic_enabled_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function turns the traffic layer on or off. Gets whether map is drawing traffic data.
-* @scenario                            turns the traffic layer on or off. Gets whether map is drawing traffic data.
-* @apicovered                  maps_view_set_traffic_enabled, maps_view_get_traffic_enabled
-* @passcase                            if maps_view_set_traffic_enabled and maps_view_get_traffic_enabled passes
-* @failcase                            if maps_view_set_traffic_enabled or maps_view_get_traffic_enabled fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_traffic_enabled_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       bool setEnabled = false;
-       bool getEnabled = true;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_traffic_enabled(g_HandleMapView, setEnabled);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_traffic_enabled API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_traffic_enabled API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_traffic_enabled", MapServiceGetError(nRet));
-       
-       nRet = maps_view_get_traffic_enabled(g_HandleMapView, &getEnabled);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_traffic_enabled", MapServiceGetError(nRet));
-       if(setEnabled != getEnabled)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the View port.
-/**
-* @testcase                    ITc_maps_view_get_viewport_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function gets the View port as a pointer on Evas_Image.
-* @scenario                            Gets the View port.
-* @apicovered                  maps_view_get_viewport
-* @passcase                            if maps_view_get_viewport passes
-* @failcase                            if maps_view_get_viewport fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_get_viewport_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       Evas_Image *viewport = NULL;
-
-       int nRet = maps_view_get_viewport(g_HandleMapView, &viewport);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_viewport", MapServiceGetError(nRet));
-       CHECK_HANDLE(viewport, "maps_view_get_viewport");
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to Sets geometry of View port.
-/**
-* @testcase                    ITc_maps_view_set_get_screen_location_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 maps_view_set_screen_location set the position and (rectangular) size of the given view. \n
-*                                              maps_view_get_screen_location retrieves the position and (rectangular) size of the given View.
-* @scenario                            set the position and (rectangular) size of the given view \n
-*                                              retrieves the position and (rectangular) size of the given View.
-* @apicovered                  maps_view_set_screen_location, maps_view_get_screen_location
-* @passcase                            if maps_view_set_screen_location and maps_view_get_screen_location passes
-* @failcase                            if maps_view_set_screen_location or maps_view_get_screen_location fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_screen_location_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       int nSetX = 10, nSetY = 10, nSetWidth = 10, nSetHeight = 10;
-       int nGetX, nGetY, nGetWidth, nGetHeight;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_screen_location(g_HandleMapView, nSetX, nSetY, nSetWidth, nSetHeight);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_screen_location API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_screen_location API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_screen_location", MapServiceGetError(nRet));
-       
-    nRet = maps_view_get_screen_location(g_HandleMapView, &nGetX, &nGetY, &nGetWidth, &nGetHeight);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_screen_location", MapServiceGetError(nRet));
-       if(nSetX != nGetX || nSetY != nGetY || nSetWidth != nGetWidth || nSetHeight != nGetHeight)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to Shows or hides the View. Gets the View visibility.
-/**
-* @testcase                    ITc_maps_view_set_get_visibility_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 maps_view_set_visibility Shows or hides the View. \n 
-*                                              maps_view_get_visibility retrieves whether or not the given View is visible.
-* @scenario                            call maps_view_screen_to_geolocation
-* @apicovered                  maps_view_set_visibility, maps_view_get_visibility
-* @passcase                            if maps_view_set_visibility and maps_view_get_visibility passes
-* @failcase                            if maps_view_set_visibility or maps_view_get_visibility fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_visibility_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       bool setVisibility = false;
-       bool getVisibility;
-       
-       int nRet = maps_view_set_visibility(g_HandleMapView, setVisibility);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_visibility", MapServiceGetError(nRet));
-    
-       nRet = maps_view_get_visibility(g_HandleMapView, &getVisibility);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_visibility", MapServiceGetError(nRet));
-       if(setVisibility != getVisibility)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-//& type: auto
-//& purpose:  scenario to Enables or disables the map gesture and then check whether the map gesture is enabled or not.
-/**
-* @testcase                    ITc_maps_view_set_get_gesture_enabled_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 maps_view_set_gesture_enabled Enables or disables the map gesture \n
-*                                              maps_view_get_gesture_enabled check whether the map gesture is enabled or not.
-* @scenario                            call maps_view_screen_to_geolocation
-* @apicovered                  maps_view_set_gesture_enabled, maps_view_get_gesture_enabled
-* @passcase                            if maps_view_set_gesture_enabled and maps_view_get_gesture_enabled passes
-* @failcase                            if maps_view_set_gesture_enabled or maps_view_get_gesture_enabled fails
-* @precondition                        view is created using maps_view_create(). \n 
-*                                              enabled status set as default or modified using maps_view_set_gesture_enabled().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_gesture_enabled_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       bool setEnabled = false;
-       bool getEnabled;
-       int nRet, nLoopCount = 0;
-       maps_view_gesture_e eMapViewGestureType[] = {MAPS_VIEW_GESTURE_NONE, MAPS_VIEW_GESTURE_SCROLL, MAPS_VIEW_GESTURE_ZOOM, MAPS_VIEW_GESTURE_TAP, MAPS_VIEW_GESTURE_DOUBLE_TAP, MAPS_VIEW_GESTURE_2_FINGER_TAP, MAPS_VIEW_GESTURE_ROTATE, MAPS_VIEW_GESTURE_LONG_PRESS};
-       int nMapViewGestureArraySize = sizeof(eMapViewGestureType) / sizeof(eMapViewGestureType[0]);
-       
-       for(nLoopCount = 0; nLoopCount < nMapViewGestureArraySize; nLoopCount++)
-       {
-               nRet = maps_view_set_gesture_enabled(g_HandleMapView, eMapViewGestureType[nLoopCount], setEnabled);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_gesture_enabled", MapServiceGetError(nRet));
-               
-               nRet = maps_view_get_gesture_enabled(g_HandleMapView, eMapViewGestureType[nLoopCount], &getEnabled);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_gesture_enabled", MapServiceGetError(nRet));
-               if(setEnabled != getEnabled)
-               {
-                       FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-                       return 1;
-               }
-       }       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Adds a visual object on the map. Then Removes a visual object from the map.
-/**
-* @testcase                    ITc_maps_view_add_remove_object_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 maps_view_add_object adds a visual object on the map. maps_view_remove_object removes a visual object from the map.
-* @scenario                            Create a visual object. Adds a visual object on the map. Then Removes a visual object from the map.
-* @apicovered                  maps_view_add_object, maps_view_remove_object
-* @passcase                            if maps_view_add_object and maps_view_remove_object passes
-* @failcase                            if maps_view_add_object or maps_view_remove_object fails
-* @precondition                        view is created using maps_view_create(). \n
-*                                              object is added using maps_view_add_object().
-* @postcondition               NA
-*/
-int ITc_maps_view_add_remove_object_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_add_object(g_HandleMapView, hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_add_object", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_view_remove_object(g_HandleMapView, hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_remove_object", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Adds a visual object on the map. Then Removes all visual objects from the map.
-/**
-* @testcase                    ITc_maps_view_remove_all_objects_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Removes all visual objects from the map.
-* @scenario                            Create a visual object. Add visual objects on the map. Then Removes all visual objects from the map.
-* @apicovered                  maps_view_remove_all_objects
-* @passcase                            if maps_view_remove_all_objects passes
-* @failcase                            if maps_view_remove_all_objects fails
-* @precondition                        view is created using maps_view_create(). \n
-*                                              object is added using maps_view_add_object().
-* @postcondition               NA
-*/
-int ITc_maps_view_remove_all_objects_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       maps_view_object_h hMarker = NULL;
-       maps_coordinates_h hCoord3 = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nRet, nWidth = 1;
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-                               
-       nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_add_object(g_HandleMapView, hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_add_object", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_coordinates_create(dX1, dY1, &hCoord3);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_view_object_destroy(hPolyline));
-
-       nRet = maps_view_object_create_marker(hCoord3, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord3); maps_view_object_destroy(hPolyline));
-
-       nRet = maps_view_add_object(g_HandleMapView, hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_add_object", MapServiceGetError(nRet), maps_view_object_destroy(hMarker); maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_view_remove_all_objects(g_HandleMapView);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_remove_all_objects", MapServiceGetError(nRet), maps_view_object_destroy(hMarker); maps_view_object_destroy(hPolyline));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to retrieve all visual objects on the map.
-/**
-* @testcase                    ITc_maps_view_foreach_object_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function retrieves all visual objects, previously added to the map.
-* @scenario                            Create a visual object. Adds a visual object on the map. Retrieves all visual objects on the map.
-* @apicovered                  maps_view_foreach_object
-* @passcase                            if maps_view_foreach_object passes
-* @failcase                            if maps_view_foreach_object fails
-* @precondition                        view is created using maps_view_create(). \n
-*                                              object is added using maps_view_add_object().
-* @postcondition               This function invokes maps_view_object_cb() repeatedly to retrieve each visual object.
-*/
-int ITc_maps_view_foreach_object_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       gCheckCB = false;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       maps_view_object_h hMarker = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nRet, nWidth = 1;
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_add_object(g_HandleMapView, hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_add_object", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_coordinates_create(dX1, dY1, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_view_object_destroy(hPolyline));
-
-       nRet = maps_view_object_create_marker(hCoord3, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_view_object_destroy(hPolyline));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord3); maps_view_object_destroy(hPolyline));
-
-       nRet = maps_view_add_object(g_HandleMapView, hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_add_object", MapServiceGetError(nRet), maps_view_object_destroy(hMarker); maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_view_foreach_object(g_HandleMapView, MapsViewCoordinateCB, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_foreach_object", MapServiceGetError(nRet), maps_view_object_destroy(hMarker); maps_view_object_destroy(hPolyline));
-       
-       if(gCheckCB == false)
-       {
-               FPRINTF("[Line : %d][%s] callback not invoked \\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_remove_object(g_HandleMapView, hPolyline);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_remove_object", MapServiceGetError(nRet));
-       
-               return 1;
-       }
-       
-       nRet = maps_view_remove_object(g_HandleMapView, hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_remove_object", MapServiceGetError(nRet));
-               
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Move the View.
-/**
-* @testcase                    ITc_maps_view_move_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function moves View.
-* @scenario                            Moves the View.
-* @apicovered                  maps_view_move
-* @passcase                            if maps_view_move passes
-* @failcase                            if maps_view_move fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_move_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       int nX = 10, nY = 10;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_move(g_HandleMapView, nX, nY);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_move API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_move API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_move", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to resize the View.
-/**
-* @testcase                    ITc_maps_view_resize_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function changes the size of the given View.
-* @scenario                            Resizes the View.
-* @apicovered                  maps_view_resize
-* @passcase                            if maps_view_resize passes
-* @failcase                            if maps_view_resize fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_resize_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       int nWidth = 10, nHeight = 10;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_resize(g_HandleMapView, nWidth, nHeight);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_resize API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_resize API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_resize", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to indicate and query whether the map should show public transit layer. 
-/**
-* @testcase                    ITc_maps_view_set_get_public_transit_enabled_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function is called to indicate or query whether public transit routes should be shown as a layer on the map
-* @scenario                            indicate whether the map should show public transit layer \n
-*                                              query whether the map has public transit layer enabled.
-* @apicovered                  maps_view_set_public_transit_enabled, maps_view_get_public_transit_enabled
-* @passcase                            if maps_view_set_public_transit_enabled and maps_view_get_public_transit_enabled passes
-* @failcase                            if maps_view_set_public_transit_enabled or maps_view_get_public_transit_enabled fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_get_public_transit_enabled_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       bool setEnabled = false;
-       bool getEnabled = true;
-       bool bInternetFeatureSupported = TCTCheckSystemInfoFeatureSupported(INTERNET_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_view_set_public_transit_enabled(g_HandleMapView, setEnabled);
-       if ( false == bInternetFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_public_transit_enabled API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_view_set_public_transit_enabled API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_public_transit_enabled", MapServiceGetError(nRet));
-       
-       nRet = maps_view_get_public_transit_enabled(g_HandleMapView, &getEnabled);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_get_public_transit_enabled", MapServiceGetError(nRet));
-       if(setEnabled != getEnabled)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Sets and unset the event callback. 
-/**
-* @testcase                    ITc_maps_view_set_unset_event_cb_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets the event callback
-* @scenario                            Sets the event callback \n
-*                                              Unset the event callback.
-* @apicovered                  maps_view_set_event_cb, maps_view_unset_event_cb
-* @passcase                            if maps_view_set_event_cb and maps_view_unset_event_cb passes
-* @failcase                            if maps_view_set_event_cb or maps_view_unset_event_cb fails
-* @precondition                        view is created using maps_view_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_set_unset_event_cb_p(void)
-{
-       START_TEST_VIEW(g_CheckInitErr,"maps_view");
-       
-       int nRet = maps_view_set_event_cb(g_HandleMapView, MAPS_VIEW_EVENT_GESTURE, MapsViewEventCb, NULL);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_set_event_cb", MapServiceGetError(nRet));
-       
-       nRet = maps_view_unset_event_cb(g_HandleMapView, MAPS_VIEW_EVENT_GESTURE);
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_unset_event_cb", MapServiceGetError(nRet));
-       
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-view-object.c b/src/itc/capi-maps-service/ITs-capi-maps-view-object.c
deleted file mode 100644 (file)
index 71a527d..0000000
+++ /dev/null
@@ -1,1900 +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-capi-maps-service-common.h"
-
-#include <app.h>
-#include <string.h>
-#include "assert.h"
-#include <maps_view.h>
-#include <maps_service.h>
-#include <maps_error.h>
-#include <unistd.h>
-#include <glib.h>
-#include <Evas.h>
-
-static bool gCheckCb = false;
-
-static bool MapsViewObjectCoordinateCB(int index, maps_coordinates_h coordinates, void *user_data)
-{
-       FPRINTF("\nEntered Callback MapsViewObjectCoordinateCB \n");
-       gCheckCb = true;
-       return true;
-}
-
-
-/** @addtogroup itc-maps-service
-*  @ingroup itc
-*  @{
-*/
-
-
-/**
- * @function           ITs_maps_view_object_startup
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-
-void ITs_maps_view_object_startup(void)
-{
-       struct stat stBuff;   
-       
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       return;
-}
-
-/**
- * @function           ITs_maps_view_object_cleanup
- * @description                Called after each test
- * @parameter          NA
- * @return             NA
- */
-void ITs_maps_view_object_cleanup(void)
-{
-       return;
-}
-
-
-/** @addtogroup itc-maps-service-testcases
-*  @brief              Integration testcases for module maps-service
-*  @ingroup    itc-maps-service
-*  @{
-*/
-
-//& type: auto
-//& purpose:  scenario to create and destroy a new maps view
-/**
-* @testcase                    ITc_maps_view_object_create_marker_destroy_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Creates a Marker visual object.
-* @scenario                            This function creates a hMarker on a given geographical coordinates.\n
-*                                              The hMarker is specified with a given image file and a type.
-* @apicovered                  maps_view_object_create_marker, maps_view_object_destroy
-* @passcase                            if maps_view_object_create_marker and maps_view_object_destroy passes
-* @failcase                            if maps_view_object_create_marker or maps_view_object_destroy fails
-* @precondition                        map_coordinates_create
-* @postcondition               NA
-*/
-int ITc_maps_view_object_create_marker_destroy_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       int  nRet, nLoopCount = 0;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       maps_view_marker_type_e eMapViewMarkerType[] = {MAPS_VIEW_MARKER_PIN, MAPS_VIEW_MARKER_STICKER};
-       int nMapViewMarkerArraySize = sizeof(eMapViewMarkerType) / sizeof(eMapViewMarkerType[0]);
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       for(nLoopCount = 0; nLoopCount < nMapViewMarkerArraySize; nLoopCount++)
-       {
-               nRet = maps_coordinates_create(dX, dY, &hCoord);
-               if ( false == bMapsFeatureSupported)
-               {
-                       if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-                       {
-                               FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 1;
-                       }
-                       else
-                       {
-                               FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 0;
-                       }
-               }
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-               CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-               nRet = maps_view_object_create_marker(hCoord, gszImagePath, eMapViewMarkerType[nLoopCount], &hMarker);
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-               CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       }       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to create Polyline object
-/**
-* @testcase                    ITc_maps_view_object_create_polyline_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Creates a Polyline visual object.
-* @scenario                            This function creates a hPolyline visual object, specified\n
-*                                              with a list of geographical coordinates, line width and color.
-* @apicovered                  maps_view_object_create_polyline
-* @passcase                            if maps_view_object_create_polyline passes
-* @failcase                            if maps_view_object_create_polyline fails
-* @precondition                        maps_coordinates_list_create
-* @postcondition               NA
-*/
-int ITc_maps_view_object_create_polyline_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_destroy(hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to create Polygon object
-/**
-* @testcase                    ITc_maps_view_object_create_polygon_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Create a hPolygon visual object.
-* @scenario                            This function creates a Polygon visual object, specified\n
-*                                              with a list of geographical coordinates and fill color.
-* @apicovered                  maps_view_object_create_polygon
-* @passcase                            if maps_view_object_create_polygon passes
-* @failcase                            if maps_view_object_create_polygon fails
-* @precondition                        maps_coordinates_list_create
-* @postcondition               NA
-*/
-int ITc_maps_view_object_create_polygon_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolygon = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX2, dY1, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polygon(hCoord_list, cRed, cGreen, cBlue, cAlpha, &hPolygon);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polygon", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hPolygon, "maps_view_object_create_polygon", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_destroy(hPolygon);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to create and Gets the object type.
-/**
-* @testcase                    ITc_maps_view_object_get_type_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Gets the object type.
-* @scenario                            This function gets the object type.
-* @apicovered                  maps_view_object_get_type
-* @passcase                            if maps_view_object_get_type passes
-* @failcase                            if maps_view_object_get_type fails
-* @precondition                        object is created using maps_view_object_create_marker(),\n
-*                                              maps_view_object_create_polyline() or maps_view_object_create_polygon().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_get_type_p(void)
-{
-       START_TEST_OBJECT;
-       maps_view_object_h hMarker = NULL;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_type_e hType = -1;
-       double dX = 0.0, dY = 0.0;
-       
-       gCheckBool = GetResourceDataPath();
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-       
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_get_type(hMarker, &hType);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_get_type", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       if(hType == -1)
-       {
-               FPRINTF("[Line : %d][%s] maps_view_object_get_type FAILS \\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the object.
-/**
-* @testcase                    ITc_maps_view_object_set_get_visible_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 This function changes the visibility of the given object on the View.
-* @scenario                            Sets and gets the object visibility.
-* @apicovered                  maps_view_object_set_visible, maps_view_object_get_visible
-* @passcase                            if maps_view_object_set_visible and maps_view_object_get_visible passes
-* @failcase                            if maps_view_object_set_visible or maps_view_object_get_visible fails
-* @precondition                        object is created using maps_view_object_create_marker(),\n
-*                                              maps_view_object_create_polyline() or maps_view_object_create_polygon().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_set_get_visible_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       bool setVisible = false, getVisible = true;
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_set_visible(hMarker, setVisible);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_set_visible", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-
-       nRet = maps_view_object_get_visible(hMarker, &getVisible);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_get_visible", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       if(setVisible != getVisible)
-       {
-               FPRINTF("maps_view_object_get_visible and maps_view_object_set_visible FAILS \n");
-               
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-       
-               return 1;
-       }
-
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Retrieves all points, added to the hPolyline.
-/**
-* @testcase                    ITc_maps_view_object_polyline_foreach_point_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Retrieves all points, added to the hPolyline.
-* @scenario                            This function retrieves all points, added to the hPolyline.
-* @apicovered                  maps_view_object_polyline_foreach_point
-* @passcase                            if maps_view_object_polyline_foreach_point passes
-* @failcase                            if maps_view_object_polyline_foreach_point fails
-* @precondition                        hPolyline is created using maps_view_object_create_polyline().
-* @postcondition               This function invokes maps_view_object_polyline_point_cb() repeatedly to\n
-*                                              retrieve each point.
-*/
-int ITc_maps_view_object_polyline_foreach_point_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       gCheckCb = false;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polyline_foreach_point(hPolyline, MapsViewObjectCoordinateCB, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_foreach_point", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));          
-       if(gCheckCb == false)
-       {
-               FPRINTF("[Line : %d][%s] callback not invoked \\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hPolyline);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-               
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-       
-       return 0;
-}
-
-
-//& type: auto
-//& purpose:  scenario to Sets points to the hPolyline.
-/**
-* @testcase                    ITc_maps_view_object_polyline_set_polyline_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets points to the Polyline.
-* @scenario                            This function sets point list to the hPolyline.
-* @apicovered                  maps_view_object_polyline_set_polyline
-* @passcase                            if maps_view_object_polyline_set_polyline passes
-* @failcase                            if maps_view_object_polyline_set_polyline fails
-* @precondition                        hPolyline is created using maps_view_object_create_polyline(),\n
-*                                              points are created using maps_coordinates_list_create().
-* @postcondition               Previous points will be destroyed automatically.
-*/
-int ITc_maps_view_object_polyline_set_polyline_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL, hCoord4 = NULL;
-       maps_coordinates_list_h hCoord_list1 = NULL, hCoord_list2 = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dX3 = 5.0, dX4 = 15.0, dY1 = 0.0, dY2 = 10.0, dY3 = 5.0, dY4 = 15.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list1, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list1, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list1, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_create(dX3, dY3, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX4, dY4, &hCoord4);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord4, "maps_coordinates_create", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list2, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_append(hCoord_list2, hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list2, hCoord4);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_create_polyline(hCoord_list1, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));  
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-               
-       nRet = maps_view_object_polyline_set_polyline(hPolyline, hCoord_list2); 
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_set_polyline", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));   
-               
-       nRet = maps_view_object_destroy(hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Set and Get the hPolyline color.
-/**
-* @testcase                    ITc_maps_view_object_polyline_set_get_color_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and Gets the Polyline color.
-* @scenario                            This function sets and gets the Polyline color on canvas.
-* @apicovered                  maps_view_object_polyline_set_color, maps_view_object_polyline_get_color
-* @passcase                            if maps_view_object_polyline_set_color and maps_view_object_polyline_get_color passes
-* @failcase                            if maps_view_object_polyline_set_color or maps_view_object_polyline_get_color fails
-* @precondition                        hPolyline is created using maps_view_object_create_polyline().\n
-*                                              color components may be previously set using maps_view_object_polyline_set_color().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_polyline_set_get_color_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       unsigned char cSetRed = '2', cSetGreen = '2', cSetBlue = '2', cSetAlpha = '2';
-       unsigned char cGetRed, cGetGreen, cGetBlue, cGetAlpha;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polyline_set_color(hPolyline, cSetRed, cSetGreen, cSetBlue, cSetAlpha);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_set_color", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-
-       nRet = maps_view_object_polyline_get_color(hPolyline, &cGetRed, &cGetGreen, &cGetBlue, &cGetAlpha);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_get_color", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));      
-       if(cGetRed != cSetRed || cGetGreen != cSetGreen || cGetBlue != cSetBlue || cGetAlpha != cSetAlpha)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               nRet = maps_view_object_destroy(hPolyline);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Set and Get the hPolyline width.
-/**
-* @testcase                    ITc_maps_view_object_polyline_set_get_width_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and Gets the Polyline width on canvas
-* @scenario                            This function sets and gets the Polyline width on canvas.
-* @apicovered                  maps_view_object_polyline_set_width, maps_view_object_polyline_get_width
-* @passcase                            if maps_view_object_polyline_set_width and maps_view_object_polyline_get_width passes
-* @failcase                            if maps_view_object_polyline_set_width or maps_view_object_polyline_get_width fails
-* @precondition                        hPolyline is created using maps_view_object_create_polyline().\n
-*                                              width may be previously set using maps_view_object_polyline_set_width().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_polyline_set_get_width_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolyline = NULL;
-       
-       int nSetWidth = 2, nGetWidth;
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       int nWidth = 1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polyline(hCoord_list, cRed, cGreen, cBlue, cAlpha, nWidth, &hPolyline);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polyline", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));        
-       CHECK_HANDLE_CLEANUP(hPolyline, "maps_view_object_create_polyline", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polyline_set_width(hPolyline, nSetWidth);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_set_width", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       
-       nRet = maps_view_object_polyline_get_width(hPolyline, &nGetWidth);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polyline_get_width", MapServiceGetError(nRet), maps_view_object_destroy(hPolyline));
-       if(nGetWidth != nSetWidth)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               nRet = maps_view_object_destroy(hPolyline);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hPolyline);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Sets points to the hPolygon.
-/**
-* @testcase                    ITc_maps_view_object_polygon_set_polygon_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets points to the Polygon.
-* @scenario                            This function sets point list to the Polygon.
-* @apicovered                  maps_view_object_polygon_set_polygon
-* @passcase                            if maps_view_object_polygon_set_polygon passes
-* @failcase                            if maps_view_object_polygon_set_polygon fails
-* @precondition                        hPolygon is created using maps_view_object_create_polygon().points are created using maps_coordinates_list_create().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_polygon_set_polygon_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL, hCoord4 = NULL, hCoord5 = NULL, hCoord6 = NULL;
-       maps_coordinates_list_h hCoord_list1 = NULL, hCoord_list2 = NULL;
-       maps_view_object_h hPolygon = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0, dY3 = 1.0, dY4 = 11.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX2, dY1, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX1, dY3, &hCoord4);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord4, "maps_coordinates_create", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_create(dX2, dY4, &hCoord5);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord5, "maps_coordinates_create", maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX2, dY3, &hCoord6);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord6, "maps_coordinates_create", maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list1, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list1, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list1, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list1, hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list2, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_append(hCoord_list2, hCoord4);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_append(hCoord_list2, hCoord5);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_append(hCoord_list2, hCoord6);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_create_polygon(hCoord_list1, cRed, cGreen, cBlue, cAlpha, &hPolygon);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polygon", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hPolygon, "maps_view_object_create_polygon", maps_coordinates_destroy(hCoord6); maps_coordinates_destroy(hCoord5); maps_coordinates_destroy(hCoord4); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polygon_set_polygon(hPolygon, hCoord_list2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polygon_set_polygon", MapServiceGetError(nRet), maps_view_object_destroy(hPolygon));
-       
-       nRet = maps_view_object_destroy(hPolygon);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Retrieves all points, added to the hPolygon.
-/**
-* @testcase                    ITc_maps_view_object_polygon_foreach_point_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Retrieves all points, added to the Polygon.
-* @scenario                            This function retrieves all points, added to the hPolygon.
-* @apicovered                  maps_view_object_polygon_foreach_point
-* @passcase                            if maps_view_object_polygon_foreach_point passes
-* @failcase                            if maps_view_object_polygon_foreach_point fails
-* @precondition                        hPolygon is created using maps_view_object_create_polygon().
-* @postcondition               This function invokes maps_view_object_polygon_point_cb() repeatedly to \n
-*                                              retrieve each point.
-*/
-int ITc_maps_view_object_polygon_foreach_point_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolygon = NULL;
-       
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       gCheckCb = false;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX2, dY1, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polygon(hCoord_list, cRed, cGreen, cBlue, cAlpha, &hPolygon);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polygon", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hPolygon, "maps_view_object_create_polygon", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polygon_foreach_point(hPolygon, MapsViewObjectCoordinateCB, NULL);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polygon_foreach_point", MapServiceGetError(nRet), maps_view_object_destroy(hPolygon));
-       if(gCheckCb == false)
-       {
-               FPRINTF("[Line : %d][%s] callback not invoked \\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hPolygon);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-               
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hPolygon);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get hPolygon fill color.
-/**
-* @testcase                    ITc_maps_view_object_polygon_set_get_fill_color_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and Gets Polygon fill color.
-* @scenario                            This function sets and gets the hPolygon fill color on canvas.
-* @apicovered                  maps_view_object_polygon_set_fill_color, maps_view_object_polygon_get_fill_color
-* @passcase                            if maps_view_object_polygon_set_fill_color and maps_view_object_polygon_get_fill_color passes
-* @failcase                            if maps_view_object_polygon_set_fill_color or maps_view_object_polygon_get_fill_color fails
-* @precondition                        hPolygon is created using maps_view_object_create_polygon().\n
-*                                              fill color components may be previously set using maps_view_object_polygon_set_fill_color().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_polygon_set_get_fill_color_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL;
-       maps_coordinates_list_h hCoord_list = NULL;
-       maps_view_object_h hPolygon = NULL;
-       unsigned char cSetRed = '2', cSetGreen = '2', cSetBlue = '2', cSetAlpha = '2';
-       unsigned char cGetRed, cGetGreen, cGetBlue, cGetAlpha;
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-       unsigned char cRed = '1';
-       unsigned char cGreen = '1';
-       unsigned char cBlue = '1';
-       unsigned char cAlpha = '1';
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_create(dX2, dY1, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_coordinates_create", maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_coordinates_list_create(&hCoord_list);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord_list, "maps_coordinates_list_create", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord1);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_coordinates_list_append(hCoord_list, hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_list_append", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_polygon(hCoord_list, cRed, cGreen, cBlue, cAlpha, &hPolygon);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_polygon", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hPolygon, "maps_view_object_create_polygon", maps_coordinates_destroy(hCoord3); maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       
-       nRet = maps_view_object_polygon_set_fill_color(hPolygon, cSetRed, cSetGreen, cSetBlue, cSetAlpha);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polygon_set_fill_color", MapServiceGetError(nRet), maps_view_object_destroy(hPolygon));
-       
-       nRet = maps_view_object_polygon_get_fill_color(hPolygon, &cGetRed, &cGetGreen, &cGetBlue, &cGetAlpha);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_polygon_get_fill_color", MapServiceGetError(nRet), maps_view_object_destroy(hPolygon));
-       if(cGetRed != cSetRed || cGetGreen != cSetGreen || cGetBlue != cSetBlue || cGetAlpha != cSetAlpha)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hPolygon);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));     
-
-               return 1;
-       }
-               
-       nRet = maps_view_object_destroy(hPolygon);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to sets and get the hMarker coordinates.
-/**
-* @testcase                    ITc_maps_view_object_marker_set_get_coordinates_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the Marker coordinates.
-* @scenario                            This function sets and gets the hMarker geographical coordinates.
-* @apicovered                  maps_view_object_marker_set_coordinates, maps_view_object_marker_get_coordinates
-* @passcase                            if maps_view_object_marker_set_coordinates and maps_view_object_marker_get_coordinates passes
-* @failcase                            if maps_view_object_marker_set_coordinates or maps_view_object_marker_get_coordinates fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().\n
-*                                              coordinates may be set previously using maps_view_object_marker_set_coordinates().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_set_get_coordinates_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord1 = NULL, hCoord2 = NULL, hCoord3 = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX1 = 0.0, dX2 = 10.0, dY1 = 0.0, dY2 = 10.0;
-               
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX1, dY1, &hCoord1);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord1, "maps_coordinates_create");
-       
-       nRet = maps_coordinates_create(dX2, dY2, &hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hCoord2, "maps_coordinates_create", maps_coordinates_destroy(hCoord1));
-
-       nRet = maps_view_object_create_marker(hCoord1, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord2); maps_coordinates_destroy(hCoord1));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord1));
-               
-       nRet = maps_view_object_marker_set_coordinates(hMarker, hCoord2);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_set_coordinates", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));    
-
-       nRet = maps_view_object_marker_get_coordinates(hMarker, &hCoord3);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_get_coordinates", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));    
-       CHECK_HANDLE_CLEANUP(hCoord3, "maps_view_object_marker_get_coordinates", maps_view_object_destroy(hMarker));
-       
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Set the Marker screen size.
-/**
-* @testcase                    ITc_maps_view_object_marker_resize_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Set the Marker screen size.
-* @scenario                            This function sets the Marker screen size.
-* @apicovered                  maps_view_object_marker_resize
-* @passcase                            if maps_view_object_marker_resize passes
-* @failcase                            if maps_view_object_marker_resize fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_resize_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       int nWidth = 10, nHeight = 10;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_marker_resize(hMarker, nWidth, nHeight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_resize", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));     
-
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to Set and get the Marker image file path.
-/**
-* @testcase                    ITc_maps_view_object_marker_set_get_image_file_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the Marker image file path.
-* @scenario                            This function sets and gets the hMarker image file path.
-* @apicovered                  maps_view_object_marker_set_image_file, maps_view_object_marker_get_image_file
-* @passcase                            if maps_view_object_marker_set_image_file and maps_view_object_marker_get_image_file passes
-* @failcase                            if maps_view_object_marker_set_image_file or maps_view_object_marker_get_image_file fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().\n
-*                                              file_path may be set previously using maps_view_object_marker_set_image_file().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_set_get_image_file_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       char *pzFilePath = NULL;
-       char szNewFilePath[BUFF_LEN] = {0, };
-       char *pszResPath = app_get_resource_path();
-       if (pszResPath) {
-               snprintf(szNewFilePath, BUFF_LEN, "%s%s", pszResPath, NEW_IMAGE_FILENAME);
-               FREE_MEMORY_TC(pszResPath);
-       }
-       else
-       {
-               FPRINTF("\nIMAGE PATH is NULL \n");
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-               
-       nRet = maps_view_object_marker_set_image_file(hMarker, szNewFilePath);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_set_image_file", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-
-       nRet = maps_view_object_marker_get_image_file(hMarker, &pzFilePath);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_get_image_file", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       CHECK_HANDLE_CLEANUP(pzFilePath, "maps_view_object_marker_get_image_file", maps_view_object_destroy(hMarker));
-       if(0 != strcmp(szNewFilePath,pzFilePath))
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the Marker screen size.
-/**
-* @testcase                    ITc_maps_view_object_marker_get_size_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Gets the hMarker screen size.
-* @scenario                            This function gets the Marker size on the screen.
-* @apicovered                  maps_view_object_marker_get_size
-* @passcase                            if maps_view_object_marker_get_size passes
-* @failcase                            if maps_view_object_marker_get_size fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().\n
-*                                              width and height may be set previously using maps_view_object_marker_resize().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_get_size_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       int nWidth = 10, nHeight = 10;
-       int nGetWidth, nGetHeight;
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_marker_resize(hMarker, nWidth, nHeight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_resize", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));     
-       
-       nRet = maps_view_object_marker_get_size(hMarker, &nGetWidth, &nGetHeight);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_get_size", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));   
-       if(nGetWidth != nWidth || nGetHeight != nHeight)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to get the Marker type.
-/**
-* @testcase                    ITc_maps_view_object_marker_get_type_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Gets the Marker type.
-* @scenario                            This function gets the Marker type.
-* @apicovered                  maps_view_object_marker_get_type
-* @passcase                            if maps_view_object_marker_get_type passes
-* @failcase                            if maps_view_object_marker_get_type fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_get_type_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       
-       maps_view_marker_type_e marker_type = -1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_marker_get_type(hMarker, &marker_type);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_get_type", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       if(marker_type == -1)
-       {
-               FPRINTF("[Line : %d][%s] maps_view_object_marker_get_type FAILS \\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-               return 1;
-       }
-               
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get the Marker z-order.
-/**
-* @testcase                    ITc_maps_view_object_marker_set_get_z_order_p
-* @author              SRID(arvin.mittal)
-* @reviewer            SRID(a.pandia)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the Marker z-order.
-* @scenario                            This function sets and gets the z-order.
-* @apicovered                  maps_view_object_marker_set_z_order, maps_view_object_marker_get_z_order
-* @passcase                            if maps_view_object_marker_set_z_order  and maps_view_object_marker_get_z_order passes
-* @failcase                            if maps_view_object_marker_set_z_order or maps_view_object_marker_get_z_order fails
-* @precondition                        hMarker is created using maps_view_object_create_marker().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_marker_set_get_z_order_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hMarker = NULL;
-       double dX = 0.0, dY = 0.0;
-       int nSetZOrder = 0, nGetZOrder = -1;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       gCheckBool = GetResourceDataPath();
-       
-       if(!gCheckBool)
-       {
-               FPRINTF("[Line : %d][%s] Resource Path is Null \\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_marker(hCoord, gszImagePath, MAPS_VIEW_MARKER_PIN, &hMarker);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_marker", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hMarker, "maps_view_object_create_marker", maps_coordinates_destroy(hCoord));
-
-       nRet = maps_view_object_marker_set_z_order(hMarker, nSetZOrder);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_set_z_order", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       
-       nRet = maps_view_object_marker_get_z_order(hMarker, &nGetZOrder);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_marker_get_z_order", MapServiceGetError(nRet), maps_view_object_destroy(hMarker));
-       if(nGetZOrder != nSetZOrder)
-       {
-               FPRINTF("[Line : %d][%s] value mismatch\\n", __LINE__, API_NAMESPACE);
-               
-               nRet = maps_view_object_destroy(hMarker);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hMarker);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Creates a overlay object.
-/**
-* @testcase                    ITc_maps_view_object_create_overlay_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Creates a overlay object.
-* @scenario                            Creates a overlay object.
-* @apicovered                  maps_coordinates_create, maps_view_object_create_overlay
-* @passcase                            if maps_view_object_create_overlay and its precondition API passes
-* @failcase                            if maps_view_object_create_overlay or its precondition API fails
-* @precondition                        NA().
-* @postcondition               NA
-*/
-int ITc_maps_view_object_create_overlay_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hOverlay = NULL;
-       int nLoopCount;
-       elm_init(0, NULL);
-       elm_config_accel_preference_set("opengl");
-       elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
-       
-       Evas_Object * win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       elm_win_autodel_set(win, TRUE);
-       
-       Evas_Object *object = elm_button_add(win);
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       
-       maps_view_overlay_type_e eMapViewOverlayType[] = {  MAPS_VIEW_OVERLAY_NORMAL,   /**< Indicates the normal type */
-                                                                                                       MAPS_VIEW_OVERLAY_BUBBLE,       /**< Indicates the bubble type */
-                                                                                                               MAPS_VIEW_OVERLAY_BOX};         /**< Indicates the box type */
-
-       int nMapViewOverlayArraySize = sizeof(eMapViewOverlayType) / sizeof(eMapViewOverlayType[0]);
-       
-       
-       
-       for(nLoopCount = 0; nLoopCount < nMapViewOverlayArraySize; nLoopCount++)
-       {
-               int nRet = maps_coordinates_create(0.0,0.0, &hCoord);
-               if ( false == bMapsFeatureSupported)
-               {
-                       if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-                       {
-                               FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 1;
-                       }
-                       else
-                       {
-                               FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                               return 0;
-                       }
-               }
-               PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-               CHECK_HANDLE(hCoord, "maps_coordinates_create");
-               
-               nRet = maps_view_object_create_overlay(hCoord, object, eMapViewOverlayType[nLoopCount], &hOverlay);
-
-               PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_overlay", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-               CHECK_HANDLE_CLEANUP(hOverlay, "maps_view_object_create_overlay", maps_coordinates_destroy(hCoord));
-                       
-               nRet = maps_view_object_destroy(hOverlay);
-               PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       }
-       elm_shutdown();
-       win = NULL;
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Gets the Evas object.
-/**
-* @testcase                    ITc_maps_view_object_overlay_get_object_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Gets the Evas object.
-* @scenario                            Creates a overlay object.
-*                                              Gets the Evas object.
-* @apicovered                  maps_coordinates_create, maps_view_object_create_overlay, maps_view_object_overlay_get_object
-* @passcase                            if maps_view_object_overlay_get_object and its precondition API passes
-* @failcase                            if maps_view_object_overlay_get_object or its precondition API fails
-* @precondition                        NA.
-* @postcondition               NA
-*/
-int ITc_maps_view_object_overlay_get_object_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hOverlay = NULL;
-       Evas_Object *win = NULL;
-       
-       Evas_Object *getObject = NULL;
-       maps_view_overlay_type_e eOverlayType = MAPS_VIEW_OVERLAY_NORMAL;
-       double dX = 0.0, dY = 0.0;
-       
-       win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       elm_win_autodel_set(win, TRUE);
-       Evas_Object *object = elm_button_add(win);
-       
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-       
-       nRet = maps_view_object_create_overlay(hCoord, object, eOverlayType, &hOverlay);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_overlay", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hOverlay, "maps_view_object_create_overlay", maps_coordinates_destroy(hCoord));
-               
-       nRet = maps_view_object_overlay_get_object(hOverlay, &getObject);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_get_object", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(getObject, "maps_view_object_overlay_get_object", maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_destroy(hOverlay);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Sets and gets the overlay coordinates.
-/**
-* @testcase                    ITc_maps_view_object_overlay_set_get_coordinates_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the overlay coordinates.
-* @scenario                            Creates a overlay object.
-*                                              Sets and gets the overlay coordinates.
-* @apicovered                  maps_coordinates_create, maps_view_object_create_overlay, maps_view_object_overlay_set_coordinates, maps_view_object_overlay_get_coordinates
-* @passcase                            if maps_view_object_overlay_set_coordinates and maps_view_object_overlay_get_coordinates and its precondition API passes
-* @failcase                            if maps_view_object_overlay_set_coordinates or maps_view_object_overlay_get_coordinates or its precondition API fails
-* @precondition                        NA.
-* @postcondition               NA
-*/
-int ITc_maps_view_object_overlay_set_get_coordinates_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_coordinates_h hGetCoord = NULL;
-       maps_view_object_h hOverlay = NULL;
-       Evas_Object *win = NULL;
-       maps_view_overlay_type_e eOverlayType = MAPS_VIEW_OVERLAY_NORMAL;
-       double dX = 0.0, dY = 0.0;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       elm_win_autodel_set(win, TRUE);
-       Evas_Object *object = elm_button_add(win);
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-       
-       nRet = maps_view_object_create_overlay(hCoord, object, eOverlayType, &hOverlay);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_overlay", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hOverlay, "maps_view_object_create_overlay", maps_coordinates_destroy(hCoord));
-               
-       nRet = maps_view_object_overlay_set_coordinates(hOverlay, hCoord);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_set_coordinates", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_overlay_get_coordinates(hOverlay, &hGetCoord);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_get_coordinates", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hGetCoord, "maps_view_object_overlay_get_coordinates", maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_destroy(hOverlay);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-       
-       nRet = maps_coordinates_destroy(hGetCoord);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_coordinates_destroy", MapServiceGetError(nRet));
-       
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Sets and gets the minimal zoom level for overlay.
-/**
-* @testcase                    ITc_maps_view_object_overlay_set_get_min_zoom_level_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the minimal zoom level for overlay.
-* @scenario                            Creates a overlay object.
-*                                              Sets and gets the minimal zoom level for overlay.
-* @apicovered                  maps_coordinates_create, maps_view_object_create_overlay, maps_view_object_overlay_set_min_zoom_level, maps_view_object_overlay_get_min_zoom_level
-* @passcase                            if maps_view_object_overlay_set_min_zoom_level and maps_view_object_overlay_get_min_zoom_level and its precondition API passes
-* @failcase                            if maps_view_object_overlay_set_min_zoom_level or maps_view_object_overlay_get_min_zoom_level or its precondition API fails
-* @precondition                        NA.
-* @postcondition               NA
-*/
-int ITc_maps_view_object_overlay_set_get_min_zoom_level_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hOverlay = NULL;
-       Evas_Object *win = NULL;
-       maps_view_overlay_type_e eOverlayType = MAPS_VIEW_OVERLAY_NORMAL;
-       double dX = 0.0, dY = 0.0;
-       int nSetZoomLevel = 2;
-       int nGetZoomLevel;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-
-       elm_init(0, NULL);
-       elm_config_accel_preference_set("opengl");
-
-       elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
-       win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       elm_win_autodel_set(win, TRUE);
-       Evas_Object *object = elm_button_add(win);
-
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-       
-       nRet = maps_view_object_create_overlay(hCoord, object, eOverlayType, &hOverlay);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_overlay", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hOverlay, "maps_view_object_create_overlay", maps_coordinates_destroy(hCoord));
-               
-       nRet = maps_view_object_overlay_set_min_zoom_level(hOverlay, nSetZoomLevel);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_set_min_zoom_level", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       
-       nRet = maps_view_object_overlay_get_min_zoom_level(hOverlay, &nGetZoomLevel);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_get_min_zoom_level", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       if(nSetZoomLevel != nGetZoomLevel)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in set and get zoom level \\n", __LINE__, API_NAMESPACE);
-               maps_view_object_destroy(hOverlay);
-               return 1;
-       }
-       
-       nRet = maps_view_object_destroy(hOverlay);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  Sets and gets the maximum zoom level for overlay.
-/**
-* @testcase                    ITc_maps_view_object_overlay_set_get_max_zoom_level_p
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(shobhit.v)
-* @type                                auto
-* @since_tizen                         3.0
-* @description                 Sets and gets the maximum zoom level for overlay.
-* @scenario                            Creates a overlay object.
-*                                              Sets and gets the maximum zoom level for overlay.
-* @apicovered                  maps_coordinates_create, maps_view_object_create_overlay, maps_view_object_overlay_set_max_zoom_level, maps_view_object_overlay_get_max_zoom_level
-* @passcase                            if maps_view_object_overlay_set_max_zoom_level and maps_view_object_overlay_get_max_zoom_level and its precondition API passes
-* @failcase                            if maps_view_object_overlay_set_max_zoom_level or maps_view_object_overlay_get_max_zoom_level or its precondition API fails
-* @precondition                        NA.
-* @postcondition               NA
-*/
-int ITc_maps_view_object_overlay_set_get_max_zoom_level_p(void)
-{
-       START_TEST_OBJECT;
-       maps_coordinates_h hCoord = NULL;
-       maps_view_object_h hOverlay = NULL;
-       Evas_Object *win = NULL;
-       maps_view_overlay_type_e eOverlayType = MAPS_VIEW_OVERLAY_NORMAL;
-       double dX = 0.0, dY = 0.0;
-       int nSetZoomLevel = 2;
-       int nGetZoomLevel;
-       bool bMapsFeatureSupported = TCTCheckSystemInfoFeatureSupported(MAPS_FEATURE, API_NAMESPACE);
-       
-       win = elm_win_add(NULL, "sample", ELM_WIN_BASIC);
-       elm_win_autodel_set(win, TRUE);
-       Evas_Object *object = elm_button_add(win);
-       
-       int nRet = maps_coordinates_create(dX, dY, &hCoord);
-       if ( false == bMapsFeatureSupported)
-       {
-               if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 1;
-               }
-               else
-               {
-                       FPRINTF("[Line : %d][%s] maps_coordinates_create API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return 0;
-               }
-       }
-       PRINT_RESULT(MAPS_ERROR_NONE, nRet, "maps_coordinates_create", MapServiceGetError(nRet));
-       CHECK_HANDLE(hCoord, "maps_coordinates_create");
-
-       nRet = maps_view_object_create_overlay(hCoord, object, eOverlayType, &hOverlay);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_create_overlay", MapServiceGetError(nRet), maps_coordinates_destroy(hCoord));
-       CHECK_HANDLE_CLEANUP(hOverlay, "maps_view_object_create_overlay", maps_coordinates_destroy(hCoord));
-               
-       nRet = maps_view_object_overlay_set_max_zoom_level(hOverlay, nSetZoomLevel);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_set_max_zoom_level", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-
-       nRet = maps_view_object_overlay_get_max_zoom_level(hOverlay, &nGetZoomLevel);
-       PRINT_RESULT_CLEANUP(MAPS_ERROR_NONE, nRet, "maps_view_object_overlay_get_max_zoom_level", MapServiceGetError(nRet), maps_view_object_destroy(hOverlay);maps_coordinates_destroy(hCoord));
-       if(nSetZoomLevel != nGetZoomLevel)
-       {
-               FPRINTF("[Line : %d][%s] Mismatch in set and get zoom level \\n", __LINE__, API_NAMESPACE);
-               maps_view_object_destroy(hOverlay);
-               return 1;
-       }
-
-       nRet = maps_view_object_destroy(hOverlay);
-       PRINT_RESULT_NORETURN(MAPS_ERROR_NONE, nRet, "maps_view_object_destroy", MapServiceGetError(nRet));
-
-       return 0;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/tct-capi-maps-service-native.c b/src/itc/capi-maps-service/tct-capi-maps-service-native.c
deleted file mode 100755 (executable)
index 805b65f..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-capi-maps-service-native_mobile.h"
-#endif  //MOBILE       //End MOBILE
-
-#ifdef WEARABLE        //Starts WEARABLE
-#include "tct-capi-maps-service-native_wearable.h"
-#endif  //WEARABLE     //End WEARABLE
-
-#ifdef TV      //Starts TV
-#include "tct-capi-maps-service-native_tv.h"
-#endif  //TV   //End TV
-
-#ifdef TIZENIOT        //Starts TIZENIOT
-#include "tct-capi-maps-service-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/capi-maps-service/tct-capi-maps-service-native_mobile.h b/src/itc/capi-maps-service/tct-capi-maps-service-native_mobile.h
deleted file mode 100755 (executable)
index 00d4cb8..0000000
+++ /dev/null
@@ -1,416 +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_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_maps_service_startup(void);
-extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_address_startup(void);
-extern void ITs_maps_service_address_cleanup(void);
-extern void ITs_maps_service_area_startup(void);
-extern void ITs_maps_service_area_cleanup(void);
-extern void ITs_maps_service_coordinates_startup(void);
-extern void ITs_maps_service_coordinates_cleanup(void);
-extern void ITs_maps_service_item_place_filter_startup(void);
-extern void ITs_maps_service_item_place_filter_cleanup(void);
-extern void ITs_maps_service_item_preference_startup(void);
-extern void ITs_maps_service_item_preference_cleanup(void);
-extern void ITs_maps_place_category_startup(void);
-extern void ITs_maps_place_category_cleanup(void);
-extern void ITs_maps_view_object_startup(void);
-extern void ITs_maps_view_object_cleanup(void);
-extern void ITs_maps_view_startup(void);
-extern void ITs_maps_view_cleanup(void);
-extern void ITs_maps_place_startup(void);
-extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_contact_startup(void);
-extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup(void);
-extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_review_startup(void);
-extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_route_startup(void);
-extern void ITs_maps_route_cleanup(void);
-extern void ITs_maps_route_maneuver_startup(void);
-extern void ITs_maps_route_maneuver_cleanup(void);
-
-extern int ITc_maps_service_create_destroy_p(void);
-extern int ITc_maps_service_set_get_preference_p(void);
-extern int ITc_maps_service_set_get_provider_key_p(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p(void);
-extern int ITc_maps_service_foreach_provider_p(void);
-extern int ITc_maps_service_geocode_p(void);
-extern int ITc_maps_service_cancel_request_p(void);
-extern int ITc_maps_service_geocode_by_structured_address_p(void);
-extern int ITc_maps_service_geocode_inside_area_p(void);
-extern int ITc_maps_service_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_p(void);
-extern int ITc_maps_service_search_place_by_address_p(void);
-extern int ITc_maps_service_search_place_by_area_p(void);
-extern int ITc_maps_service_search_route_p(void);
-extern int ITc_maps_service_search_route_waypoints_p(void);
-extern int ITc_maps_service_multi_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_list_p(void);
-extern int ITc_maps_service_get_place_details_p(void);
-extern int ITc_maps_service_request_user_consent_p(void);
-extern int ITc_maps_address_create_destroy_p(void);
-extern int ITc_maps_address_clone_p(void);
-extern int ITc_maps_address_set_get_building_number_p(void);
-extern int ITc_maps_address_set_get_city_p(void);
-extern int ITc_maps_address_set_get_country_p(void);
-extern int ITc_maps_address_set_get_country_code_p(void);
-extern int ITc_maps_address_set_get_county_p(void);
-extern int ITc_maps_address_set_get_district_p(void);
-extern int ITc_maps_address_set_get_freetext_p(void);
-extern int ITc_maps_address_set_get_postal_code_p(void);
-extern int ITc_maps_address_set_get_state_p(void);
-extern int ITc_maps_address_set_get_street_p(void);
-extern int ITc_maps_address_list_create_destroy_p(void);
-extern int ITc_maps_address_list_append_remove_p(void);
-extern int ITc_maps_address_list_get_length_p(void);
-extern int ITc_maps_address_list_foreach_p(void);
-extern int ITc_maps_area_create_destroy_rectangle_p(void);
-extern int ITc_maps_area_create_destroy_circle_p(void);
-extern int ITc_maps_area_clone_p(void);
-extern int ITc_maps_coordinates_create_destroy_p(void);
-extern int ITc_maps_coordinates_clone_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_p(void);
-extern int ITc_maps_coordinates_set_get_longitude_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_longitude_p(void);
-extern int ITc_maps_coordinates_list_create_destroy_p(void);
-extern int ITc_maps_coordinates_list_append_remove_p(void);
-extern int ITc_maps_coordinates_list_get_length_p(void);
-extern int ITc_maps_coordinates_list_foreach_p(void);
-extern int ITc_maps_place_filter_create_destroy_p(void);
-extern int ITc_maps_place_filter_clone_destroy_p(void);
-extern int ITc_maps_place_filter_set_get_p(void);
-extern int ITc_maps_place_filter_set_get_keyword_p(void);
-extern int ITc_maps_place_filter_set_get_place_name_p(void);
-extern int ITc_maps_place_filter_foreach_property_p(void);
-extern int ITc_maps_place_filter_set_get_category_p(void);
-extern int ITc_maps_place_filter_set_get_place_address_p(void);
-extern int ITc_maps_preference_create_destroy_p(void);
-extern int ITc_maps_preference_clone_destroy_p(void);
-extern int ITc_maps_preference_set_get_distance_unit_p(void);
-extern int ITc_maps_preference_set_get_country_code_p(void);
-extern int ITc_maps_preference_set_get_language_p(void);
-extern int ITc_maps_preference_set_get_max_results_p(void);
-extern int ITc_maps_preference_set_get_route_feature_p(void);
-extern int ITc_maps_preference_set_get_route_feature_weight_p(void);
-extern int ITc_maps_preference_set_get_route_optimization_p(void);
-extern int ITc_maps_preference_set_get_route_transport_mode_p(void);
-extern int ITc_maps_preference_set_get_property_p(void);
-extern int ITc_maps_preference_foreach_property_p(void);
-extern int ITc_maps_preference_set_get_route_alternatives_enabled_p(void);
-extern int ITc_maps_place_category_create_destroy_p(void);
-extern int ITc_maps_place_category_clone_p(void);
-extern int ITc_maps_place_category_set_get_id_p(void);
-extern int ITc_maps_place_category_set_get_name_p(void);
-extern int ITc_maps_place_category_set_get_url_p(void);
-extern int ITc_maps_view_object_create_marker_destroy_p(void);
-extern int ITc_maps_view_object_create_polyline_p(void);
-extern int ITc_maps_view_object_create_polygon_p(void);
-extern int ITc_maps_view_object_get_type_p(void);
-extern int ITc_maps_view_object_set_get_visible_p(void);
-extern int ITc_maps_view_object_polyline_foreach_point_p(void);
-extern int ITc_maps_view_object_polyline_set_polyline_p(void);
-extern int ITc_maps_view_object_polyline_set_get_color_p(void);
-extern int ITc_maps_view_object_polyline_set_get_width_p(void);
-extern int ITc_maps_view_object_polygon_set_polygon_p(void);
-extern int ITc_maps_view_object_polygon_foreach_point_p(void);
-extern int ITc_maps_view_object_polygon_set_get_fill_color_p(void);
-extern int ITc_maps_view_object_marker_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_marker_resize_p(void);
-extern int ITc_maps_view_object_marker_set_get_image_file_p(void);
-extern int ITc_maps_view_object_marker_get_size_p(void);
-extern int ITc_maps_view_object_marker_get_type_p(void);
-extern int ITc_maps_view_object_marker_set_get_z_order_p(void);
-extern int ITc_maps_view_object_create_overlay_p(void);
-extern int ITc_maps_view_object_overlay_get_object_p(void);
-extern int ITc_maps_view_object_overlay_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_overlay_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_object_overlay_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_create_destroy_p(void);
-extern int ITc_maps_view_set_get_center_p(void);
-extern int ITc_maps_view_set_get_zoom_level_p(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_set_get_orientation_p(void);
-extern int ITc_maps_view_screen_to_geolocation_p(void);
-extern int ITc_maps_view_geolocation_to_screen_p(void);
-extern int ITc_maps_view_set_get_type_p(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p(void);
-extern int ITc_maps_view_set_get_language_p(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p(void);
-extern int ITc_maps_view_get_viewport_p(void);
-extern int ITc_maps_view_set_get_screen_location_p(void);
-extern int ITc_maps_view_set_get_visibility_p(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p(void);
-extern int ITc_maps_view_add_remove_object_p(void);
-extern int ITc_maps_view_remove_all_objects_p(void);
-extern int ITc_maps_view_foreach_object_p(void);
-extern int ITc_maps_view_move_p(void);
-extern int ITc_maps_view_resize_p(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p(void);
-extern int ITc_maps_view_set_unset_event_cb_p(void);
-extern int ITc_maps_place_get_distance_p(void);
-extern int ITc_maps_place_get_id_p(void);
-extern int ITc_maps_place_get_location_p(void);
-extern int ITc_maps_place_get_name_p(void);
-extern int ITc_maps_place_get_rating_p(void);
-extern int ITc_maps_place_rating_clone_destroy_p(void);
-extern int ITc_maps_place_rating_get_average_p(void);
-extern int ITc_maps_place_rating_get_count_p(void);
-extern int ITc_maps_place_get_address_p(void);
-extern int ITc_maps_place_get_related_link_p(void);
-extern int ITc_maps_place_clone_p(void);
-extern int ITc_maps_place_foreach_category_p(void);
-extern int ITc_maps_place_foreach_contact_p(void);
-extern int ITc_maps_place_contact_clone_destroy_p(void);
-extern int ITc_maps_place_contact_get_label_p(void);
-extern int ITc_maps_place_contact_get_type_p(void);
-extern int ITc_maps_place_contact_get_value_p(void);
-extern int ITc_maps_place_foreach_image_p(void);
-extern int ITc_maps_place_image_clone_destroy_p(void);
-extern int ITc_maps_place_image_get_ids_p(void);
-extern int ITc_maps_place_image_get_media_p(void);
-extern int ITc_maps_place_image_get_url_p(void);
-extern int ITc_maps_place_image_get_user_link_p(void);
-extern int ITc_maps_place_link_object_clone_destroy_p(void);
-extern int ITc_maps_place_link_object_get_id_p(void);
-extern int ITc_maps_place_link_object_get_name_p(void);
-extern int ITc_maps_place_foreach_review_p(void);
-extern int ITc_maps_place_review_clone_destroy_p(void);
-extern int ITc_maps_place_review_get_date_p(void);
-extern int ITc_maps_place_review_get_description_p(void);
-extern int ITc_maps_place_review_get_language_p(void);
-extern int ITc_maps_place_review_get_media_p(void);
-extern int ITc_maps_place_review_get_rating_p(void);
-extern int ITc_maps_place_review_get_title_p(void);
-extern int ITc_maps_place_review_get_user_link_p(void);
-extern int ITc_maps_route_clone_p(void);
-extern int ITc_maps_route_foreach_path_p(void);
-extern int ITc_maps_route_get_bounding_box_p(void);
-extern int ITc_maps_route_get_destination_p(void);
-extern int ITc_maps_route_get_distance_unit_p(void);
-extern int ITc_maps_route_get_origin_p(void);
-extern int ITc_maps_route_get_total_distance_p(void);
-extern int ITc_maps_route_get_total_duration_p(void);
-extern int ITc_maps_route_get_transport_mode_p(void);
-extern int ITc_maps_route_foreach_segment_p(void);
-extern int ITc_maps_route_segment_clone_destroy_p(void);
-extern int ITc_maps_route_segment_get_destination_p(void);
-extern int ITc_maps_route_segment_get_distance_p(void);
-extern int ITc_maps_route_segment_get_duration_p(void);
-extern int ITc_maps_route_segment_get_origin_p(void);
-extern int ITc_maps_route_segment_foreach_path_p(void);
-extern int ITc_maps_route_segment_foreach_maneuver_p(void);
-extern int ITc_maps_route_maneuver_clone_destroy_p(void);
-extern int ITc_maps_route_maneuver_get_direction_id_p(void);
-extern int ITc_maps_route_maneuver_get_distance_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_instruction_text_p(void);
-extern int ITc_maps_route_maneuver_get_position_p(void);
-extern int ITc_maps_route_maneuver_get_time_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_turn_type_p(void);
-
-testcase tc_array[] = {
-       {"ITc_maps_service_create_destroy_p",ITc_maps_service_create_destroy_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_preference_p",ITc_maps_service_set_get_preference_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_provider_key_p",ITc_maps_service_set_get_provider_key_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_provider_is_service_data_supported_p",ITc_maps_service_provider_is_service_data_supported_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_foreach_provider_p",ITc_maps_service_foreach_provider_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_p",ITc_maps_service_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_cancel_request_p",ITc_maps_service_cancel_request_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_by_structured_address_p",ITc_maps_service_geocode_by_structured_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_inside_area_p",ITc_maps_service_geocode_inside_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_reverse_geocode_p",ITc_maps_service_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_p",ITc_maps_service_search_place_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_address_p",ITc_maps_service_search_place_by_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_area_p",ITc_maps_service_search_place_by_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_p",ITc_maps_service_search_route_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_waypoints_p",ITc_maps_service_search_route_waypoints_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_multi_reverse_geocode_p",ITc_maps_service_multi_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_list_p",ITc_maps_service_search_place_list_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_get_place_details_p",ITc_maps_service_get_place_details_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_request_user_consent_p",ITc_maps_service_request_user_consent_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_address_create_destroy_p",ITc_maps_address_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_clone_p",ITc_maps_address_clone_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_building_number_p",ITc_maps_address_set_get_building_number_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_city_p",ITc_maps_address_set_get_city_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_p",ITc_maps_address_set_get_country_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_code_p",ITc_maps_address_set_get_country_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_county_p",ITc_maps_address_set_get_county_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_district_p",ITc_maps_address_set_get_district_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_freetext_p",ITc_maps_address_set_get_freetext_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_postal_code_p",ITc_maps_address_set_get_postal_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_state_p",ITc_maps_address_set_get_state_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_street_p",ITc_maps_address_set_get_street_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_create_destroy_p",ITc_maps_address_list_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_append_remove_p",ITc_maps_address_list_append_remove_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_get_length_p",ITc_maps_address_list_get_length_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_foreach_p",ITc_maps_address_list_foreach_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_area_create_destroy_rectangle_p",ITc_maps_area_create_destroy_rectangle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_create_destroy_circle_p",ITc_maps_area_create_destroy_circle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_clone_p",ITc_maps_area_clone_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_coordinates_create_destroy_p",ITc_maps_coordinates_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_clone_p",ITc_maps_coordinates_clone_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_p",ITc_maps_coordinates_set_get_latitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_longitude_p",ITc_maps_coordinates_set_get_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_longitude_p",ITc_maps_coordinates_set_get_latitude_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_create_destroy_p",ITc_maps_coordinates_list_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_append_remove_p",ITc_maps_coordinates_list_append_remove_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_get_length_p",ITc_maps_coordinates_list_get_length_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_foreach_p",ITc_maps_coordinates_list_foreach_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_place_filter_create_destroy_p",ITc_maps_place_filter_create_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_clone_destroy_p",ITc_maps_place_filter_clone_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_p",ITc_maps_place_filter_set_get_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_keyword_p",ITc_maps_place_filter_set_get_keyword_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_name_p",ITc_maps_place_filter_set_get_place_name_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_foreach_property_p",ITc_maps_place_filter_foreach_property_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_category_p",ITc_maps_place_filter_set_get_category_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_address_p",ITc_maps_place_filter_set_get_place_address_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_preference_create_destroy_p",ITc_maps_preference_create_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_clone_destroy_p",ITc_maps_preference_clone_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_distance_unit_p",ITc_maps_preference_set_get_distance_unit_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_country_code_p",ITc_maps_preference_set_get_country_code_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_language_p",ITc_maps_preference_set_get_language_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_max_results_p",ITc_maps_preference_set_get_max_results_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_p",ITc_maps_preference_set_get_route_feature_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_weight_p",ITc_maps_preference_set_get_route_feature_weight_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_optimization_p",ITc_maps_preference_set_get_route_optimization_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_transport_mode_p",ITc_maps_preference_set_get_route_transport_mode_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_property_p",ITc_maps_preference_set_get_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_foreach_property_p",ITc_maps_preference_foreach_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_alternatives_enabled_p",ITc_maps_preference_set_get_route_alternatives_enabled_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_place_category_create_destroy_p",ITc_maps_place_category_create_destroy_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_clone_p",ITc_maps_place_category_clone_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_id_p",ITc_maps_place_category_set_get_id_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_name_p",ITc_maps_place_category_set_get_name_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_url_p",ITc_maps_place_category_set_get_url_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_view_object_create_marker_destroy_p",ITc_maps_view_object_create_marker_destroy_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polyline_p",ITc_maps_view_object_create_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polygon_p",ITc_maps_view_object_create_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_get_type_p",ITc_maps_view_object_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_set_get_visible_p",ITc_maps_view_object_set_get_visible_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_foreach_point_p",ITc_maps_view_object_polyline_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_polyline_p",ITc_maps_view_object_polyline_set_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_color_p",ITc_maps_view_object_polyline_set_get_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_width_p",ITc_maps_view_object_polyline_set_get_width_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_polygon_p",ITc_maps_view_object_polygon_set_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_foreach_point_p",ITc_maps_view_object_polygon_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_get_fill_color_p",ITc_maps_view_object_polygon_set_get_fill_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_coordinates_p",ITc_maps_view_object_marker_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_resize_p",ITc_maps_view_object_marker_resize_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_image_file_p",ITc_maps_view_object_marker_set_get_image_file_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_size_p",ITc_maps_view_object_marker_get_size_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_type_p",ITc_maps_view_object_marker_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_z_order_p",ITc_maps_view_object_marker_set_get_z_order_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_overlay_p",ITc_maps_view_object_create_overlay_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_get_object_p",ITc_maps_view_object_overlay_get_object_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_coordinates_p",ITc_maps_view_object_overlay_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_min_zoom_level_p",ITc_maps_view_object_overlay_set_get_min_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_max_zoom_level_p",ITc_maps_view_object_overlay_set_get_max_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_create_destroy_p",ITc_maps_view_create_destroy_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_center_p",ITc_maps_view_set_get_center_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_zoom_level_p",ITc_maps_view_set_get_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_min_zoom_level_p",ITc_maps_view_set_get_min_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_max_zoom_level_p",ITc_maps_view_set_get_max_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_orientation_p",ITc_maps_view_set_get_orientation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_screen_to_geolocation_p",ITc_maps_view_screen_to_geolocation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_geolocation_to_screen_p",ITc_maps_view_geolocation_to_screen_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_type_p",ITc_maps_view_set_get_type_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_buildings_enabled_p",ITc_maps_view_set_get_buildings_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_language_p",ITc_maps_view_set_get_language_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_scalebar_enabled_p",ITc_maps_view_set_get_scalebar_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_traffic_enabled_p",ITc_maps_view_set_get_traffic_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_get_viewport_p",ITc_maps_view_get_viewport_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_screen_location_p",ITc_maps_view_set_get_screen_location_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_visibility_p",ITc_maps_view_set_get_visibility_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_gesture_enabled_p",ITc_maps_view_set_get_gesture_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_add_remove_object_p",ITc_maps_view_add_remove_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_remove_all_objects_p",ITc_maps_view_remove_all_objects_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_foreach_object_p",ITc_maps_view_foreach_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_move_p",ITc_maps_view_move_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_resize_p",ITc_maps_view_resize_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_public_transit_enabled_p",ITc_maps_view_set_get_public_transit_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_unset_event_cb_p",ITc_maps_view_set_unset_event_cb_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_place_get_distance_p",ITc_maps_place_get_distance_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_id_p",ITc_maps_place_get_id_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_location_p",ITc_maps_place_get_location_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_name_p",ITc_maps_place_get_name_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_rating_p",ITc_maps_place_get_rating_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_clone_destroy_p",ITc_maps_place_rating_clone_destroy_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_average_p",ITc_maps_place_rating_get_average_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_count_p",ITc_maps_place_rating_get_count_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_address_p",ITc_maps_place_get_address_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_related_link_p",ITc_maps_place_get_related_link_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_clone_p",ITc_maps_place_clone_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_category_p",ITc_maps_place_foreach_category_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_contact_p",ITc_maps_place_foreach_contact_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_clone_destroy_p",ITc_maps_place_contact_clone_destroy_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_label_p",ITc_maps_place_contact_get_label_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_type_p",ITc_maps_place_contact_get_type_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_value_p",ITc_maps_place_contact_get_value_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_foreach_image_p",ITc_maps_place_foreach_image_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_clone_destroy_p",ITc_maps_place_image_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_ids_p",ITc_maps_place_image_get_ids_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_media_p",ITc_maps_place_image_get_media_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_url_p",ITc_maps_place_image_get_url_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_user_link_p",ITc_maps_place_image_get_user_link_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_clone_destroy_p",ITc_maps_place_link_object_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_id_p",ITc_maps_place_link_object_get_id_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_name_p",ITc_maps_place_link_object_get_name_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_foreach_review_p",ITc_maps_place_foreach_review_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_clone_destroy_p",ITc_maps_place_review_clone_destroy_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_date_p",ITc_maps_place_review_get_date_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_description_p",ITc_maps_place_review_get_description_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_language_p",ITc_maps_place_review_get_language_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_media_p",ITc_maps_place_review_get_media_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_rating_p",ITc_maps_place_review_get_rating_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_title_p",ITc_maps_place_review_get_title_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_user_link_p",ITc_maps_place_review_get_user_link_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_route_clone_p",ITc_maps_route_clone_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_path_p",ITc_maps_route_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_bounding_box_p",ITc_maps_route_get_bounding_box_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_destination_p",ITc_maps_route_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_distance_unit_p",ITc_maps_route_get_distance_unit_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_origin_p",ITc_maps_route_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_distance_p",ITc_maps_route_get_total_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_duration_p",ITc_maps_route_get_total_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_transport_mode_p",ITc_maps_route_get_transport_mode_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_segment_p",ITc_maps_route_foreach_segment_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_clone_destroy_p",ITc_maps_route_segment_clone_destroy_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_destination_p",ITc_maps_route_segment_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_distance_p",ITc_maps_route_segment_get_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_duration_p",ITc_maps_route_segment_get_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_origin_p",ITc_maps_route_segment_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_path_p",ITc_maps_route_segment_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_maneuver_p",ITc_maps_route_segment_foreach_maneuver_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_clone_destroy_p",ITc_maps_route_maneuver_clone_destroy_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_direction_id_p",ITc_maps_route_maneuver_get_direction_id_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_distance_to_next_instruction_p",ITc_maps_route_maneuver_get_distance_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_instruction_text_p",ITc_maps_route_maneuver_get_instruction_text_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_position_p",ITc_maps_route_maneuver_get_position_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_time_to_next_instruction_p",ITc_maps_route_maneuver_get_time_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_turn_type_p",ITc_maps_route_maneuver_get_turn_type_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
diff --git a/src/itc/capi-maps-service/tct-capi-maps-service-native_tizeniot.h b/src/itc/capi-maps-service/tct-capi-maps-service-native_tizeniot.h
deleted file mode 100755 (executable)
index 00d4cb8..0000000
+++ /dev/null
@@ -1,416 +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_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_maps_service_startup(void);
-extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_address_startup(void);
-extern void ITs_maps_service_address_cleanup(void);
-extern void ITs_maps_service_area_startup(void);
-extern void ITs_maps_service_area_cleanup(void);
-extern void ITs_maps_service_coordinates_startup(void);
-extern void ITs_maps_service_coordinates_cleanup(void);
-extern void ITs_maps_service_item_place_filter_startup(void);
-extern void ITs_maps_service_item_place_filter_cleanup(void);
-extern void ITs_maps_service_item_preference_startup(void);
-extern void ITs_maps_service_item_preference_cleanup(void);
-extern void ITs_maps_place_category_startup(void);
-extern void ITs_maps_place_category_cleanup(void);
-extern void ITs_maps_view_object_startup(void);
-extern void ITs_maps_view_object_cleanup(void);
-extern void ITs_maps_view_startup(void);
-extern void ITs_maps_view_cleanup(void);
-extern void ITs_maps_place_startup(void);
-extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_contact_startup(void);
-extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup(void);
-extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_review_startup(void);
-extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_route_startup(void);
-extern void ITs_maps_route_cleanup(void);
-extern void ITs_maps_route_maneuver_startup(void);
-extern void ITs_maps_route_maneuver_cleanup(void);
-
-extern int ITc_maps_service_create_destroy_p(void);
-extern int ITc_maps_service_set_get_preference_p(void);
-extern int ITc_maps_service_set_get_provider_key_p(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p(void);
-extern int ITc_maps_service_foreach_provider_p(void);
-extern int ITc_maps_service_geocode_p(void);
-extern int ITc_maps_service_cancel_request_p(void);
-extern int ITc_maps_service_geocode_by_structured_address_p(void);
-extern int ITc_maps_service_geocode_inside_area_p(void);
-extern int ITc_maps_service_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_p(void);
-extern int ITc_maps_service_search_place_by_address_p(void);
-extern int ITc_maps_service_search_place_by_area_p(void);
-extern int ITc_maps_service_search_route_p(void);
-extern int ITc_maps_service_search_route_waypoints_p(void);
-extern int ITc_maps_service_multi_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_list_p(void);
-extern int ITc_maps_service_get_place_details_p(void);
-extern int ITc_maps_service_request_user_consent_p(void);
-extern int ITc_maps_address_create_destroy_p(void);
-extern int ITc_maps_address_clone_p(void);
-extern int ITc_maps_address_set_get_building_number_p(void);
-extern int ITc_maps_address_set_get_city_p(void);
-extern int ITc_maps_address_set_get_country_p(void);
-extern int ITc_maps_address_set_get_country_code_p(void);
-extern int ITc_maps_address_set_get_county_p(void);
-extern int ITc_maps_address_set_get_district_p(void);
-extern int ITc_maps_address_set_get_freetext_p(void);
-extern int ITc_maps_address_set_get_postal_code_p(void);
-extern int ITc_maps_address_set_get_state_p(void);
-extern int ITc_maps_address_set_get_street_p(void);
-extern int ITc_maps_address_list_create_destroy_p(void);
-extern int ITc_maps_address_list_append_remove_p(void);
-extern int ITc_maps_address_list_get_length_p(void);
-extern int ITc_maps_address_list_foreach_p(void);
-extern int ITc_maps_area_create_destroy_rectangle_p(void);
-extern int ITc_maps_area_create_destroy_circle_p(void);
-extern int ITc_maps_area_clone_p(void);
-extern int ITc_maps_coordinates_create_destroy_p(void);
-extern int ITc_maps_coordinates_clone_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_p(void);
-extern int ITc_maps_coordinates_set_get_longitude_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_longitude_p(void);
-extern int ITc_maps_coordinates_list_create_destroy_p(void);
-extern int ITc_maps_coordinates_list_append_remove_p(void);
-extern int ITc_maps_coordinates_list_get_length_p(void);
-extern int ITc_maps_coordinates_list_foreach_p(void);
-extern int ITc_maps_place_filter_create_destroy_p(void);
-extern int ITc_maps_place_filter_clone_destroy_p(void);
-extern int ITc_maps_place_filter_set_get_p(void);
-extern int ITc_maps_place_filter_set_get_keyword_p(void);
-extern int ITc_maps_place_filter_set_get_place_name_p(void);
-extern int ITc_maps_place_filter_foreach_property_p(void);
-extern int ITc_maps_place_filter_set_get_category_p(void);
-extern int ITc_maps_place_filter_set_get_place_address_p(void);
-extern int ITc_maps_preference_create_destroy_p(void);
-extern int ITc_maps_preference_clone_destroy_p(void);
-extern int ITc_maps_preference_set_get_distance_unit_p(void);
-extern int ITc_maps_preference_set_get_country_code_p(void);
-extern int ITc_maps_preference_set_get_language_p(void);
-extern int ITc_maps_preference_set_get_max_results_p(void);
-extern int ITc_maps_preference_set_get_route_feature_p(void);
-extern int ITc_maps_preference_set_get_route_feature_weight_p(void);
-extern int ITc_maps_preference_set_get_route_optimization_p(void);
-extern int ITc_maps_preference_set_get_route_transport_mode_p(void);
-extern int ITc_maps_preference_set_get_property_p(void);
-extern int ITc_maps_preference_foreach_property_p(void);
-extern int ITc_maps_preference_set_get_route_alternatives_enabled_p(void);
-extern int ITc_maps_place_category_create_destroy_p(void);
-extern int ITc_maps_place_category_clone_p(void);
-extern int ITc_maps_place_category_set_get_id_p(void);
-extern int ITc_maps_place_category_set_get_name_p(void);
-extern int ITc_maps_place_category_set_get_url_p(void);
-extern int ITc_maps_view_object_create_marker_destroy_p(void);
-extern int ITc_maps_view_object_create_polyline_p(void);
-extern int ITc_maps_view_object_create_polygon_p(void);
-extern int ITc_maps_view_object_get_type_p(void);
-extern int ITc_maps_view_object_set_get_visible_p(void);
-extern int ITc_maps_view_object_polyline_foreach_point_p(void);
-extern int ITc_maps_view_object_polyline_set_polyline_p(void);
-extern int ITc_maps_view_object_polyline_set_get_color_p(void);
-extern int ITc_maps_view_object_polyline_set_get_width_p(void);
-extern int ITc_maps_view_object_polygon_set_polygon_p(void);
-extern int ITc_maps_view_object_polygon_foreach_point_p(void);
-extern int ITc_maps_view_object_polygon_set_get_fill_color_p(void);
-extern int ITc_maps_view_object_marker_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_marker_resize_p(void);
-extern int ITc_maps_view_object_marker_set_get_image_file_p(void);
-extern int ITc_maps_view_object_marker_get_size_p(void);
-extern int ITc_maps_view_object_marker_get_type_p(void);
-extern int ITc_maps_view_object_marker_set_get_z_order_p(void);
-extern int ITc_maps_view_object_create_overlay_p(void);
-extern int ITc_maps_view_object_overlay_get_object_p(void);
-extern int ITc_maps_view_object_overlay_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_overlay_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_object_overlay_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_create_destroy_p(void);
-extern int ITc_maps_view_set_get_center_p(void);
-extern int ITc_maps_view_set_get_zoom_level_p(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_set_get_orientation_p(void);
-extern int ITc_maps_view_screen_to_geolocation_p(void);
-extern int ITc_maps_view_geolocation_to_screen_p(void);
-extern int ITc_maps_view_set_get_type_p(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p(void);
-extern int ITc_maps_view_set_get_language_p(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p(void);
-extern int ITc_maps_view_get_viewport_p(void);
-extern int ITc_maps_view_set_get_screen_location_p(void);
-extern int ITc_maps_view_set_get_visibility_p(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p(void);
-extern int ITc_maps_view_add_remove_object_p(void);
-extern int ITc_maps_view_remove_all_objects_p(void);
-extern int ITc_maps_view_foreach_object_p(void);
-extern int ITc_maps_view_move_p(void);
-extern int ITc_maps_view_resize_p(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p(void);
-extern int ITc_maps_view_set_unset_event_cb_p(void);
-extern int ITc_maps_place_get_distance_p(void);
-extern int ITc_maps_place_get_id_p(void);
-extern int ITc_maps_place_get_location_p(void);
-extern int ITc_maps_place_get_name_p(void);
-extern int ITc_maps_place_get_rating_p(void);
-extern int ITc_maps_place_rating_clone_destroy_p(void);
-extern int ITc_maps_place_rating_get_average_p(void);
-extern int ITc_maps_place_rating_get_count_p(void);
-extern int ITc_maps_place_get_address_p(void);
-extern int ITc_maps_place_get_related_link_p(void);
-extern int ITc_maps_place_clone_p(void);
-extern int ITc_maps_place_foreach_category_p(void);
-extern int ITc_maps_place_foreach_contact_p(void);
-extern int ITc_maps_place_contact_clone_destroy_p(void);
-extern int ITc_maps_place_contact_get_label_p(void);
-extern int ITc_maps_place_contact_get_type_p(void);
-extern int ITc_maps_place_contact_get_value_p(void);
-extern int ITc_maps_place_foreach_image_p(void);
-extern int ITc_maps_place_image_clone_destroy_p(void);
-extern int ITc_maps_place_image_get_ids_p(void);
-extern int ITc_maps_place_image_get_media_p(void);
-extern int ITc_maps_place_image_get_url_p(void);
-extern int ITc_maps_place_image_get_user_link_p(void);
-extern int ITc_maps_place_link_object_clone_destroy_p(void);
-extern int ITc_maps_place_link_object_get_id_p(void);
-extern int ITc_maps_place_link_object_get_name_p(void);
-extern int ITc_maps_place_foreach_review_p(void);
-extern int ITc_maps_place_review_clone_destroy_p(void);
-extern int ITc_maps_place_review_get_date_p(void);
-extern int ITc_maps_place_review_get_description_p(void);
-extern int ITc_maps_place_review_get_language_p(void);
-extern int ITc_maps_place_review_get_media_p(void);
-extern int ITc_maps_place_review_get_rating_p(void);
-extern int ITc_maps_place_review_get_title_p(void);
-extern int ITc_maps_place_review_get_user_link_p(void);
-extern int ITc_maps_route_clone_p(void);
-extern int ITc_maps_route_foreach_path_p(void);
-extern int ITc_maps_route_get_bounding_box_p(void);
-extern int ITc_maps_route_get_destination_p(void);
-extern int ITc_maps_route_get_distance_unit_p(void);
-extern int ITc_maps_route_get_origin_p(void);
-extern int ITc_maps_route_get_total_distance_p(void);
-extern int ITc_maps_route_get_total_duration_p(void);
-extern int ITc_maps_route_get_transport_mode_p(void);
-extern int ITc_maps_route_foreach_segment_p(void);
-extern int ITc_maps_route_segment_clone_destroy_p(void);
-extern int ITc_maps_route_segment_get_destination_p(void);
-extern int ITc_maps_route_segment_get_distance_p(void);
-extern int ITc_maps_route_segment_get_duration_p(void);
-extern int ITc_maps_route_segment_get_origin_p(void);
-extern int ITc_maps_route_segment_foreach_path_p(void);
-extern int ITc_maps_route_segment_foreach_maneuver_p(void);
-extern int ITc_maps_route_maneuver_clone_destroy_p(void);
-extern int ITc_maps_route_maneuver_get_direction_id_p(void);
-extern int ITc_maps_route_maneuver_get_distance_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_instruction_text_p(void);
-extern int ITc_maps_route_maneuver_get_position_p(void);
-extern int ITc_maps_route_maneuver_get_time_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_turn_type_p(void);
-
-testcase tc_array[] = {
-       {"ITc_maps_service_create_destroy_p",ITc_maps_service_create_destroy_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_preference_p",ITc_maps_service_set_get_preference_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_provider_key_p",ITc_maps_service_set_get_provider_key_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_provider_is_service_data_supported_p",ITc_maps_service_provider_is_service_data_supported_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_foreach_provider_p",ITc_maps_service_foreach_provider_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_p",ITc_maps_service_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_cancel_request_p",ITc_maps_service_cancel_request_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_by_structured_address_p",ITc_maps_service_geocode_by_structured_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_inside_area_p",ITc_maps_service_geocode_inside_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_reverse_geocode_p",ITc_maps_service_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_p",ITc_maps_service_search_place_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_address_p",ITc_maps_service_search_place_by_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_area_p",ITc_maps_service_search_place_by_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_p",ITc_maps_service_search_route_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_waypoints_p",ITc_maps_service_search_route_waypoints_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_multi_reverse_geocode_p",ITc_maps_service_multi_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_list_p",ITc_maps_service_search_place_list_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_get_place_details_p",ITc_maps_service_get_place_details_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_request_user_consent_p",ITc_maps_service_request_user_consent_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_address_create_destroy_p",ITc_maps_address_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_clone_p",ITc_maps_address_clone_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_building_number_p",ITc_maps_address_set_get_building_number_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_city_p",ITc_maps_address_set_get_city_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_p",ITc_maps_address_set_get_country_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_code_p",ITc_maps_address_set_get_country_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_county_p",ITc_maps_address_set_get_county_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_district_p",ITc_maps_address_set_get_district_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_freetext_p",ITc_maps_address_set_get_freetext_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_postal_code_p",ITc_maps_address_set_get_postal_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_state_p",ITc_maps_address_set_get_state_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_street_p",ITc_maps_address_set_get_street_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_create_destroy_p",ITc_maps_address_list_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_append_remove_p",ITc_maps_address_list_append_remove_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_get_length_p",ITc_maps_address_list_get_length_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_foreach_p",ITc_maps_address_list_foreach_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_area_create_destroy_rectangle_p",ITc_maps_area_create_destroy_rectangle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_create_destroy_circle_p",ITc_maps_area_create_destroy_circle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_clone_p",ITc_maps_area_clone_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_coordinates_create_destroy_p",ITc_maps_coordinates_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_clone_p",ITc_maps_coordinates_clone_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_p",ITc_maps_coordinates_set_get_latitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_longitude_p",ITc_maps_coordinates_set_get_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_longitude_p",ITc_maps_coordinates_set_get_latitude_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_create_destroy_p",ITc_maps_coordinates_list_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_append_remove_p",ITc_maps_coordinates_list_append_remove_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_get_length_p",ITc_maps_coordinates_list_get_length_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_foreach_p",ITc_maps_coordinates_list_foreach_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_place_filter_create_destroy_p",ITc_maps_place_filter_create_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_clone_destroy_p",ITc_maps_place_filter_clone_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_p",ITc_maps_place_filter_set_get_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_keyword_p",ITc_maps_place_filter_set_get_keyword_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_name_p",ITc_maps_place_filter_set_get_place_name_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_foreach_property_p",ITc_maps_place_filter_foreach_property_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_category_p",ITc_maps_place_filter_set_get_category_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_address_p",ITc_maps_place_filter_set_get_place_address_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_preference_create_destroy_p",ITc_maps_preference_create_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_clone_destroy_p",ITc_maps_preference_clone_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_distance_unit_p",ITc_maps_preference_set_get_distance_unit_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_country_code_p",ITc_maps_preference_set_get_country_code_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_language_p",ITc_maps_preference_set_get_language_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_max_results_p",ITc_maps_preference_set_get_max_results_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_p",ITc_maps_preference_set_get_route_feature_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_weight_p",ITc_maps_preference_set_get_route_feature_weight_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_optimization_p",ITc_maps_preference_set_get_route_optimization_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_transport_mode_p",ITc_maps_preference_set_get_route_transport_mode_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_property_p",ITc_maps_preference_set_get_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_foreach_property_p",ITc_maps_preference_foreach_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_alternatives_enabled_p",ITc_maps_preference_set_get_route_alternatives_enabled_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_place_category_create_destroy_p",ITc_maps_place_category_create_destroy_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_clone_p",ITc_maps_place_category_clone_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_id_p",ITc_maps_place_category_set_get_id_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_name_p",ITc_maps_place_category_set_get_name_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_url_p",ITc_maps_place_category_set_get_url_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_view_object_create_marker_destroy_p",ITc_maps_view_object_create_marker_destroy_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polyline_p",ITc_maps_view_object_create_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polygon_p",ITc_maps_view_object_create_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_get_type_p",ITc_maps_view_object_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_set_get_visible_p",ITc_maps_view_object_set_get_visible_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_foreach_point_p",ITc_maps_view_object_polyline_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_polyline_p",ITc_maps_view_object_polyline_set_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_color_p",ITc_maps_view_object_polyline_set_get_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_width_p",ITc_maps_view_object_polyline_set_get_width_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_polygon_p",ITc_maps_view_object_polygon_set_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_foreach_point_p",ITc_maps_view_object_polygon_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_get_fill_color_p",ITc_maps_view_object_polygon_set_get_fill_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_coordinates_p",ITc_maps_view_object_marker_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_resize_p",ITc_maps_view_object_marker_resize_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_image_file_p",ITc_maps_view_object_marker_set_get_image_file_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_size_p",ITc_maps_view_object_marker_get_size_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_type_p",ITc_maps_view_object_marker_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_z_order_p",ITc_maps_view_object_marker_set_get_z_order_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_overlay_p",ITc_maps_view_object_create_overlay_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_get_object_p",ITc_maps_view_object_overlay_get_object_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_coordinates_p",ITc_maps_view_object_overlay_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_min_zoom_level_p",ITc_maps_view_object_overlay_set_get_min_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_max_zoom_level_p",ITc_maps_view_object_overlay_set_get_max_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_create_destroy_p",ITc_maps_view_create_destroy_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_center_p",ITc_maps_view_set_get_center_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_zoom_level_p",ITc_maps_view_set_get_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_min_zoom_level_p",ITc_maps_view_set_get_min_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_max_zoom_level_p",ITc_maps_view_set_get_max_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_orientation_p",ITc_maps_view_set_get_orientation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_screen_to_geolocation_p",ITc_maps_view_screen_to_geolocation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_geolocation_to_screen_p",ITc_maps_view_geolocation_to_screen_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_type_p",ITc_maps_view_set_get_type_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_buildings_enabled_p",ITc_maps_view_set_get_buildings_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_language_p",ITc_maps_view_set_get_language_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_scalebar_enabled_p",ITc_maps_view_set_get_scalebar_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_traffic_enabled_p",ITc_maps_view_set_get_traffic_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_get_viewport_p",ITc_maps_view_get_viewport_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_screen_location_p",ITc_maps_view_set_get_screen_location_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_visibility_p",ITc_maps_view_set_get_visibility_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_gesture_enabled_p",ITc_maps_view_set_get_gesture_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_add_remove_object_p",ITc_maps_view_add_remove_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_remove_all_objects_p",ITc_maps_view_remove_all_objects_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_foreach_object_p",ITc_maps_view_foreach_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_move_p",ITc_maps_view_move_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_resize_p",ITc_maps_view_resize_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_public_transit_enabled_p",ITc_maps_view_set_get_public_transit_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_unset_event_cb_p",ITc_maps_view_set_unset_event_cb_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_place_get_distance_p",ITc_maps_place_get_distance_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_id_p",ITc_maps_place_get_id_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_location_p",ITc_maps_place_get_location_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_name_p",ITc_maps_place_get_name_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_rating_p",ITc_maps_place_get_rating_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_clone_destroy_p",ITc_maps_place_rating_clone_destroy_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_average_p",ITc_maps_place_rating_get_average_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_count_p",ITc_maps_place_rating_get_count_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_address_p",ITc_maps_place_get_address_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_related_link_p",ITc_maps_place_get_related_link_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_clone_p",ITc_maps_place_clone_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_category_p",ITc_maps_place_foreach_category_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_contact_p",ITc_maps_place_foreach_contact_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_clone_destroy_p",ITc_maps_place_contact_clone_destroy_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_label_p",ITc_maps_place_contact_get_label_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_type_p",ITc_maps_place_contact_get_type_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_value_p",ITc_maps_place_contact_get_value_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_foreach_image_p",ITc_maps_place_foreach_image_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_clone_destroy_p",ITc_maps_place_image_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_ids_p",ITc_maps_place_image_get_ids_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_media_p",ITc_maps_place_image_get_media_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_url_p",ITc_maps_place_image_get_url_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_user_link_p",ITc_maps_place_image_get_user_link_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_clone_destroy_p",ITc_maps_place_link_object_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_id_p",ITc_maps_place_link_object_get_id_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_name_p",ITc_maps_place_link_object_get_name_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_foreach_review_p",ITc_maps_place_foreach_review_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_clone_destroy_p",ITc_maps_place_review_clone_destroy_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_date_p",ITc_maps_place_review_get_date_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_description_p",ITc_maps_place_review_get_description_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_language_p",ITc_maps_place_review_get_language_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_media_p",ITc_maps_place_review_get_media_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_rating_p",ITc_maps_place_review_get_rating_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_title_p",ITc_maps_place_review_get_title_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_user_link_p",ITc_maps_place_review_get_user_link_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_route_clone_p",ITc_maps_route_clone_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_path_p",ITc_maps_route_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_bounding_box_p",ITc_maps_route_get_bounding_box_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_destination_p",ITc_maps_route_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_distance_unit_p",ITc_maps_route_get_distance_unit_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_origin_p",ITc_maps_route_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_distance_p",ITc_maps_route_get_total_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_duration_p",ITc_maps_route_get_total_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_transport_mode_p",ITc_maps_route_get_transport_mode_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_segment_p",ITc_maps_route_foreach_segment_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_clone_destroy_p",ITc_maps_route_segment_clone_destroy_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_destination_p",ITc_maps_route_segment_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_distance_p",ITc_maps_route_segment_get_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_duration_p",ITc_maps_route_segment_get_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_origin_p",ITc_maps_route_segment_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_path_p",ITc_maps_route_segment_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_maneuver_p",ITc_maps_route_segment_foreach_maneuver_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_clone_destroy_p",ITc_maps_route_maneuver_clone_destroy_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_direction_id_p",ITc_maps_route_maneuver_get_direction_id_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_distance_to_next_instruction_p",ITc_maps_route_maneuver_get_distance_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_instruction_text_p",ITc_maps_route_maneuver_get_instruction_text_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_position_p",ITc_maps_route_maneuver_get_position_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_time_to_next_instruction_p",ITc_maps_route_maneuver_get_time_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_turn_type_p",ITc_maps_route_maneuver_get_turn_type_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
diff --git a/src/itc/capi-maps-service/tct-capi-maps-service-native_tv.h b/src/itc/capi-maps-service/tct-capi-maps-service-native_tv.h
deleted file mode 100755 (executable)
index 00d4cb8..0000000
+++ /dev/null
@@ -1,416 +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_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_maps_service_startup(void);
-extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_address_startup(void);
-extern void ITs_maps_service_address_cleanup(void);
-extern void ITs_maps_service_area_startup(void);
-extern void ITs_maps_service_area_cleanup(void);
-extern void ITs_maps_service_coordinates_startup(void);
-extern void ITs_maps_service_coordinates_cleanup(void);
-extern void ITs_maps_service_item_place_filter_startup(void);
-extern void ITs_maps_service_item_place_filter_cleanup(void);
-extern void ITs_maps_service_item_preference_startup(void);
-extern void ITs_maps_service_item_preference_cleanup(void);
-extern void ITs_maps_place_category_startup(void);
-extern void ITs_maps_place_category_cleanup(void);
-extern void ITs_maps_view_object_startup(void);
-extern void ITs_maps_view_object_cleanup(void);
-extern void ITs_maps_view_startup(void);
-extern void ITs_maps_view_cleanup(void);
-extern void ITs_maps_place_startup(void);
-extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_contact_startup(void);
-extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup(void);
-extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_review_startup(void);
-extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_route_startup(void);
-extern void ITs_maps_route_cleanup(void);
-extern void ITs_maps_route_maneuver_startup(void);
-extern void ITs_maps_route_maneuver_cleanup(void);
-
-extern int ITc_maps_service_create_destroy_p(void);
-extern int ITc_maps_service_set_get_preference_p(void);
-extern int ITc_maps_service_set_get_provider_key_p(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p(void);
-extern int ITc_maps_service_foreach_provider_p(void);
-extern int ITc_maps_service_geocode_p(void);
-extern int ITc_maps_service_cancel_request_p(void);
-extern int ITc_maps_service_geocode_by_structured_address_p(void);
-extern int ITc_maps_service_geocode_inside_area_p(void);
-extern int ITc_maps_service_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_p(void);
-extern int ITc_maps_service_search_place_by_address_p(void);
-extern int ITc_maps_service_search_place_by_area_p(void);
-extern int ITc_maps_service_search_route_p(void);
-extern int ITc_maps_service_search_route_waypoints_p(void);
-extern int ITc_maps_service_multi_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_list_p(void);
-extern int ITc_maps_service_get_place_details_p(void);
-extern int ITc_maps_service_request_user_consent_p(void);
-extern int ITc_maps_address_create_destroy_p(void);
-extern int ITc_maps_address_clone_p(void);
-extern int ITc_maps_address_set_get_building_number_p(void);
-extern int ITc_maps_address_set_get_city_p(void);
-extern int ITc_maps_address_set_get_country_p(void);
-extern int ITc_maps_address_set_get_country_code_p(void);
-extern int ITc_maps_address_set_get_county_p(void);
-extern int ITc_maps_address_set_get_district_p(void);
-extern int ITc_maps_address_set_get_freetext_p(void);
-extern int ITc_maps_address_set_get_postal_code_p(void);
-extern int ITc_maps_address_set_get_state_p(void);
-extern int ITc_maps_address_set_get_street_p(void);
-extern int ITc_maps_address_list_create_destroy_p(void);
-extern int ITc_maps_address_list_append_remove_p(void);
-extern int ITc_maps_address_list_get_length_p(void);
-extern int ITc_maps_address_list_foreach_p(void);
-extern int ITc_maps_area_create_destroy_rectangle_p(void);
-extern int ITc_maps_area_create_destroy_circle_p(void);
-extern int ITc_maps_area_clone_p(void);
-extern int ITc_maps_coordinates_create_destroy_p(void);
-extern int ITc_maps_coordinates_clone_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_p(void);
-extern int ITc_maps_coordinates_set_get_longitude_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_longitude_p(void);
-extern int ITc_maps_coordinates_list_create_destroy_p(void);
-extern int ITc_maps_coordinates_list_append_remove_p(void);
-extern int ITc_maps_coordinates_list_get_length_p(void);
-extern int ITc_maps_coordinates_list_foreach_p(void);
-extern int ITc_maps_place_filter_create_destroy_p(void);
-extern int ITc_maps_place_filter_clone_destroy_p(void);
-extern int ITc_maps_place_filter_set_get_p(void);
-extern int ITc_maps_place_filter_set_get_keyword_p(void);
-extern int ITc_maps_place_filter_set_get_place_name_p(void);
-extern int ITc_maps_place_filter_foreach_property_p(void);
-extern int ITc_maps_place_filter_set_get_category_p(void);
-extern int ITc_maps_place_filter_set_get_place_address_p(void);
-extern int ITc_maps_preference_create_destroy_p(void);
-extern int ITc_maps_preference_clone_destroy_p(void);
-extern int ITc_maps_preference_set_get_distance_unit_p(void);
-extern int ITc_maps_preference_set_get_country_code_p(void);
-extern int ITc_maps_preference_set_get_language_p(void);
-extern int ITc_maps_preference_set_get_max_results_p(void);
-extern int ITc_maps_preference_set_get_route_feature_p(void);
-extern int ITc_maps_preference_set_get_route_feature_weight_p(void);
-extern int ITc_maps_preference_set_get_route_optimization_p(void);
-extern int ITc_maps_preference_set_get_route_transport_mode_p(void);
-extern int ITc_maps_preference_set_get_property_p(void);
-extern int ITc_maps_preference_foreach_property_p(void);
-extern int ITc_maps_preference_set_get_route_alternatives_enabled_p(void);
-extern int ITc_maps_place_category_create_destroy_p(void);
-extern int ITc_maps_place_category_clone_p(void);
-extern int ITc_maps_place_category_set_get_id_p(void);
-extern int ITc_maps_place_category_set_get_name_p(void);
-extern int ITc_maps_place_category_set_get_url_p(void);
-extern int ITc_maps_view_object_create_marker_destroy_p(void);
-extern int ITc_maps_view_object_create_polyline_p(void);
-extern int ITc_maps_view_object_create_polygon_p(void);
-extern int ITc_maps_view_object_get_type_p(void);
-extern int ITc_maps_view_object_set_get_visible_p(void);
-extern int ITc_maps_view_object_polyline_foreach_point_p(void);
-extern int ITc_maps_view_object_polyline_set_polyline_p(void);
-extern int ITc_maps_view_object_polyline_set_get_color_p(void);
-extern int ITc_maps_view_object_polyline_set_get_width_p(void);
-extern int ITc_maps_view_object_polygon_set_polygon_p(void);
-extern int ITc_maps_view_object_polygon_foreach_point_p(void);
-extern int ITc_maps_view_object_polygon_set_get_fill_color_p(void);
-extern int ITc_maps_view_object_marker_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_marker_resize_p(void);
-extern int ITc_maps_view_object_marker_set_get_image_file_p(void);
-extern int ITc_maps_view_object_marker_get_size_p(void);
-extern int ITc_maps_view_object_marker_get_type_p(void);
-extern int ITc_maps_view_object_marker_set_get_z_order_p(void);
-extern int ITc_maps_view_object_create_overlay_p(void);
-extern int ITc_maps_view_object_overlay_get_object_p(void);
-extern int ITc_maps_view_object_overlay_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_overlay_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_object_overlay_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_create_destroy_p(void);
-extern int ITc_maps_view_set_get_center_p(void);
-extern int ITc_maps_view_set_get_zoom_level_p(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_set_get_orientation_p(void);
-extern int ITc_maps_view_screen_to_geolocation_p(void);
-extern int ITc_maps_view_geolocation_to_screen_p(void);
-extern int ITc_maps_view_set_get_type_p(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p(void);
-extern int ITc_maps_view_set_get_language_p(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p(void);
-extern int ITc_maps_view_get_viewport_p(void);
-extern int ITc_maps_view_set_get_screen_location_p(void);
-extern int ITc_maps_view_set_get_visibility_p(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p(void);
-extern int ITc_maps_view_add_remove_object_p(void);
-extern int ITc_maps_view_remove_all_objects_p(void);
-extern int ITc_maps_view_foreach_object_p(void);
-extern int ITc_maps_view_move_p(void);
-extern int ITc_maps_view_resize_p(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p(void);
-extern int ITc_maps_view_set_unset_event_cb_p(void);
-extern int ITc_maps_place_get_distance_p(void);
-extern int ITc_maps_place_get_id_p(void);
-extern int ITc_maps_place_get_location_p(void);
-extern int ITc_maps_place_get_name_p(void);
-extern int ITc_maps_place_get_rating_p(void);
-extern int ITc_maps_place_rating_clone_destroy_p(void);
-extern int ITc_maps_place_rating_get_average_p(void);
-extern int ITc_maps_place_rating_get_count_p(void);
-extern int ITc_maps_place_get_address_p(void);
-extern int ITc_maps_place_get_related_link_p(void);
-extern int ITc_maps_place_clone_p(void);
-extern int ITc_maps_place_foreach_category_p(void);
-extern int ITc_maps_place_foreach_contact_p(void);
-extern int ITc_maps_place_contact_clone_destroy_p(void);
-extern int ITc_maps_place_contact_get_label_p(void);
-extern int ITc_maps_place_contact_get_type_p(void);
-extern int ITc_maps_place_contact_get_value_p(void);
-extern int ITc_maps_place_foreach_image_p(void);
-extern int ITc_maps_place_image_clone_destroy_p(void);
-extern int ITc_maps_place_image_get_ids_p(void);
-extern int ITc_maps_place_image_get_media_p(void);
-extern int ITc_maps_place_image_get_url_p(void);
-extern int ITc_maps_place_image_get_user_link_p(void);
-extern int ITc_maps_place_link_object_clone_destroy_p(void);
-extern int ITc_maps_place_link_object_get_id_p(void);
-extern int ITc_maps_place_link_object_get_name_p(void);
-extern int ITc_maps_place_foreach_review_p(void);
-extern int ITc_maps_place_review_clone_destroy_p(void);
-extern int ITc_maps_place_review_get_date_p(void);
-extern int ITc_maps_place_review_get_description_p(void);
-extern int ITc_maps_place_review_get_language_p(void);
-extern int ITc_maps_place_review_get_media_p(void);
-extern int ITc_maps_place_review_get_rating_p(void);
-extern int ITc_maps_place_review_get_title_p(void);
-extern int ITc_maps_place_review_get_user_link_p(void);
-extern int ITc_maps_route_clone_p(void);
-extern int ITc_maps_route_foreach_path_p(void);
-extern int ITc_maps_route_get_bounding_box_p(void);
-extern int ITc_maps_route_get_destination_p(void);
-extern int ITc_maps_route_get_distance_unit_p(void);
-extern int ITc_maps_route_get_origin_p(void);
-extern int ITc_maps_route_get_total_distance_p(void);
-extern int ITc_maps_route_get_total_duration_p(void);
-extern int ITc_maps_route_get_transport_mode_p(void);
-extern int ITc_maps_route_foreach_segment_p(void);
-extern int ITc_maps_route_segment_clone_destroy_p(void);
-extern int ITc_maps_route_segment_get_destination_p(void);
-extern int ITc_maps_route_segment_get_distance_p(void);
-extern int ITc_maps_route_segment_get_duration_p(void);
-extern int ITc_maps_route_segment_get_origin_p(void);
-extern int ITc_maps_route_segment_foreach_path_p(void);
-extern int ITc_maps_route_segment_foreach_maneuver_p(void);
-extern int ITc_maps_route_maneuver_clone_destroy_p(void);
-extern int ITc_maps_route_maneuver_get_direction_id_p(void);
-extern int ITc_maps_route_maneuver_get_distance_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_instruction_text_p(void);
-extern int ITc_maps_route_maneuver_get_position_p(void);
-extern int ITc_maps_route_maneuver_get_time_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_turn_type_p(void);
-
-testcase tc_array[] = {
-       {"ITc_maps_service_create_destroy_p",ITc_maps_service_create_destroy_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_preference_p",ITc_maps_service_set_get_preference_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_provider_key_p",ITc_maps_service_set_get_provider_key_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_provider_is_service_data_supported_p",ITc_maps_service_provider_is_service_data_supported_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_foreach_provider_p",ITc_maps_service_foreach_provider_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_p",ITc_maps_service_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_cancel_request_p",ITc_maps_service_cancel_request_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_by_structured_address_p",ITc_maps_service_geocode_by_structured_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_inside_area_p",ITc_maps_service_geocode_inside_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_reverse_geocode_p",ITc_maps_service_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_p",ITc_maps_service_search_place_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_address_p",ITc_maps_service_search_place_by_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_area_p",ITc_maps_service_search_place_by_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_p",ITc_maps_service_search_route_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_waypoints_p",ITc_maps_service_search_route_waypoints_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_multi_reverse_geocode_p",ITc_maps_service_multi_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_list_p",ITc_maps_service_search_place_list_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_get_place_details_p",ITc_maps_service_get_place_details_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_request_user_consent_p",ITc_maps_service_request_user_consent_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_address_create_destroy_p",ITc_maps_address_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_clone_p",ITc_maps_address_clone_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_building_number_p",ITc_maps_address_set_get_building_number_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_city_p",ITc_maps_address_set_get_city_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_p",ITc_maps_address_set_get_country_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_code_p",ITc_maps_address_set_get_country_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_county_p",ITc_maps_address_set_get_county_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_district_p",ITc_maps_address_set_get_district_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_freetext_p",ITc_maps_address_set_get_freetext_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_postal_code_p",ITc_maps_address_set_get_postal_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_state_p",ITc_maps_address_set_get_state_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_street_p",ITc_maps_address_set_get_street_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_create_destroy_p",ITc_maps_address_list_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_append_remove_p",ITc_maps_address_list_append_remove_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_get_length_p",ITc_maps_address_list_get_length_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_foreach_p",ITc_maps_address_list_foreach_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_area_create_destroy_rectangle_p",ITc_maps_area_create_destroy_rectangle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_create_destroy_circle_p",ITc_maps_area_create_destroy_circle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_clone_p",ITc_maps_area_clone_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_coordinates_create_destroy_p",ITc_maps_coordinates_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_clone_p",ITc_maps_coordinates_clone_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_p",ITc_maps_coordinates_set_get_latitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_longitude_p",ITc_maps_coordinates_set_get_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_longitude_p",ITc_maps_coordinates_set_get_latitude_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_create_destroy_p",ITc_maps_coordinates_list_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_append_remove_p",ITc_maps_coordinates_list_append_remove_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_get_length_p",ITc_maps_coordinates_list_get_length_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_foreach_p",ITc_maps_coordinates_list_foreach_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_place_filter_create_destroy_p",ITc_maps_place_filter_create_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_clone_destroy_p",ITc_maps_place_filter_clone_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_p",ITc_maps_place_filter_set_get_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_keyword_p",ITc_maps_place_filter_set_get_keyword_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_name_p",ITc_maps_place_filter_set_get_place_name_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_foreach_property_p",ITc_maps_place_filter_foreach_property_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_category_p",ITc_maps_place_filter_set_get_category_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_address_p",ITc_maps_place_filter_set_get_place_address_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_preference_create_destroy_p",ITc_maps_preference_create_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_clone_destroy_p",ITc_maps_preference_clone_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_distance_unit_p",ITc_maps_preference_set_get_distance_unit_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_country_code_p",ITc_maps_preference_set_get_country_code_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_language_p",ITc_maps_preference_set_get_language_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_max_results_p",ITc_maps_preference_set_get_max_results_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_p",ITc_maps_preference_set_get_route_feature_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_weight_p",ITc_maps_preference_set_get_route_feature_weight_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_optimization_p",ITc_maps_preference_set_get_route_optimization_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_transport_mode_p",ITc_maps_preference_set_get_route_transport_mode_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_property_p",ITc_maps_preference_set_get_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_foreach_property_p",ITc_maps_preference_foreach_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_alternatives_enabled_p",ITc_maps_preference_set_get_route_alternatives_enabled_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_place_category_create_destroy_p",ITc_maps_place_category_create_destroy_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_clone_p",ITc_maps_place_category_clone_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_id_p",ITc_maps_place_category_set_get_id_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_name_p",ITc_maps_place_category_set_get_name_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_url_p",ITc_maps_place_category_set_get_url_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_view_object_create_marker_destroy_p",ITc_maps_view_object_create_marker_destroy_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polyline_p",ITc_maps_view_object_create_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polygon_p",ITc_maps_view_object_create_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_get_type_p",ITc_maps_view_object_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_set_get_visible_p",ITc_maps_view_object_set_get_visible_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_foreach_point_p",ITc_maps_view_object_polyline_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_polyline_p",ITc_maps_view_object_polyline_set_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_color_p",ITc_maps_view_object_polyline_set_get_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_width_p",ITc_maps_view_object_polyline_set_get_width_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_polygon_p",ITc_maps_view_object_polygon_set_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_foreach_point_p",ITc_maps_view_object_polygon_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_get_fill_color_p",ITc_maps_view_object_polygon_set_get_fill_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_coordinates_p",ITc_maps_view_object_marker_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_resize_p",ITc_maps_view_object_marker_resize_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_image_file_p",ITc_maps_view_object_marker_set_get_image_file_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_size_p",ITc_maps_view_object_marker_get_size_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_type_p",ITc_maps_view_object_marker_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_z_order_p",ITc_maps_view_object_marker_set_get_z_order_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_overlay_p",ITc_maps_view_object_create_overlay_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_get_object_p",ITc_maps_view_object_overlay_get_object_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_coordinates_p",ITc_maps_view_object_overlay_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_min_zoom_level_p",ITc_maps_view_object_overlay_set_get_min_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_max_zoom_level_p",ITc_maps_view_object_overlay_set_get_max_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_create_destroy_p",ITc_maps_view_create_destroy_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_center_p",ITc_maps_view_set_get_center_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_zoom_level_p",ITc_maps_view_set_get_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_min_zoom_level_p",ITc_maps_view_set_get_min_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_max_zoom_level_p",ITc_maps_view_set_get_max_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_orientation_p",ITc_maps_view_set_get_orientation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_screen_to_geolocation_p",ITc_maps_view_screen_to_geolocation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_geolocation_to_screen_p",ITc_maps_view_geolocation_to_screen_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_type_p",ITc_maps_view_set_get_type_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_buildings_enabled_p",ITc_maps_view_set_get_buildings_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_language_p",ITc_maps_view_set_get_language_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_scalebar_enabled_p",ITc_maps_view_set_get_scalebar_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_traffic_enabled_p",ITc_maps_view_set_get_traffic_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_get_viewport_p",ITc_maps_view_get_viewport_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_screen_location_p",ITc_maps_view_set_get_screen_location_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_visibility_p",ITc_maps_view_set_get_visibility_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_gesture_enabled_p",ITc_maps_view_set_get_gesture_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_add_remove_object_p",ITc_maps_view_add_remove_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_remove_all_objects_p",ITc_maps_view_remove_all_objects_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_foreach_object_p",ITc_maps_view_foreach_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_move_p",ITc_maps_view_move_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_resize_p",ITc_maps_view_resize_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_public_transit_enabled_p",ITc_maps_view_set_get_public_transit_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_unset_event_cb_p",ITc_maps_view_set_unset_event_cb_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_place_get_distance_p",ITc_maps_place_get_distance_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_id_p",ITc_maps_place_get_id_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_location_p",ITc_maps_place_get_location_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_name_p",ITc_maps_place_get_name_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_rating_p",ITc_maps_place_get_rating_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_clone_destroy_p",ITc_maps_place_rating_clone_destroy_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_average_p",ITc_maps_place_rating_get_average_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_count_p",ITc_maps_place_rating_get_count_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_address_p",ITc_maps_place_get_address_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_related_link_p",ITc_maps_place_get_related_link_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_clone_p",ITc_maps_place_clone_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_category_p",ITc_maps_place_foreach_category_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_contact_p",ITc_maps_place_foreach_contact_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_clone_destroy_p",ITc_maps_place_contact_clone_destroy_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_label_p",ITc_maps_place_contact_get_label_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_type_p",ITc_maps_place_contact_get_type_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_value_p",ITc_maps_place_contact_get_value_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_foreach_image_p",ITc_maps_place_foreach_image_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_clone_destroy_p",ITc_maps_place_image_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_ids_p",ITc_maps_place_image_get_ids_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_media_p",ITc_maps_place_image_get_media_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_url_p",ITc_maps_place_image_get_url_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_user_link_p",ITc_maps_place_image_get_user_link_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_clone_destroy_p",ITc_maps_place_link_object_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_id_p",ITc_maps_place_link_object_get_id_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_name_p",ITc_maps_place_link_object_get_name_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_foreach_review_p",ITc_maps_place_foreach_review_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_clone_destroy_p",ITc_maps_place_review_clone_destroy_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_date_p",ITc_maps_place_review_get_date_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_description_p",ITc_maps_place_review_get_description_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_language_p",ITc_maps_place_review_get_language_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_media_p",ITc_maps_place_review_get_media_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_rating_p",ITc_maps_place_review_get_rating_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_title_p",ITc_maps_place_review_get_title_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_user_link_p",ITc_maps_place_review_get_user_link_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_route_clone_p",ITc_maps_route_clone_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_path_p",ITc_maps_route_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_bounding_box_p",ITc_maps_route_get_bounding_box_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_destination_p",ITc_maps_route_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_distance_unit_p",ITc_maps_route_get_distance_unit_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_origin_p",ITc_maps_route_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_distance_p",ITc_maps_route_get_total_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_duration_p",ITc_maps_route_get_total_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_transport_mode_p",ITc_maps_route_get_transport_mode_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_segment_p",ITc_maps_route_foreach_segment_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_clone_destroy_p",ITc_maps_route_segment_clone_destroy_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_destination_p",ITc_maps_route_segment_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_distance_p",ITc_maps_route_segment_get_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_duration_p",ITc_maps_route_segment_get_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_origin_p",ITc_maps_route_segment_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_path_p",ITc_maps_route_segment_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_maneuver_p",ITc_maps_route_segment_foreach_maneuver_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_clone_destroy_p",ITc_maps_route_maneuver_clone_destroy_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_direction_id_p",ITc_maps_route_maneuver_get_direction_id_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_distance_to_next_instruction_p",ITc_maps_route_maneuver_get_distance_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_instruction_text_p",ITc_maps_route_maneuver_get_instruction_text_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_position_p",ITc_maps_route_maneuver_get_position_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_time_to_next_instruction_p",ITc_maps_route_maneuver_get_time_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_turn_type_p",ITc_maps_route_maneuver_get_turn_type_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
diff --git a/src/itc/capi-maps-service/tct-capi-maps-service-native_wearable.h b/src/itc/capi-maps-service/tct-capi-maps-service-native_wearable.h
deleted file mode 100755 (executable)
index 00d4cb8..0000000
+++ /dev/null
@@ -1,416 +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_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void ITs_maps_service_startup(void);
-extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_address_startup(void);
-extern void ITs_maps_service_address_cleanup(void);
-extern void ITs_maps_service_area_startup(void);
-extern void ITs_maps_service_area_cleanup(void);
-extern void ITs_maps_service_coordinates_startup(void);
-extern void ITs_maps_service_coordinates_cleanup(void);
-extern void ITs_maps_service_item_place_filter_startup(void);
-extern void ITs_maps_service_item_place_filter_cleanup(void);
-extern void ITs_maps_service_item_preference_startup(void);
-extern void ITs_maps_service_item_preference_cleanup(void);
-extern void ITs_maps_place_category_startup(void);
-extern void ITs_maps_place_category_cleanup(void);
-extern void ITs_maps_view_object_startup(void);
-extern void ITs_maps_view_object_cleanup(void);
-extern void ITs_maps_view_startup(void);
-extern void ITs_maps_view_cleanup(void);
-extern void ITs_maps_place_startup(void);
-extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_contact_startup(void);
-extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup(void);
-extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_review_startup(void);
-extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_route_startup(void);
-extern void ITs_maps_route_cleanup(void);
-extern void ITs_maps_route_maneuver_startup(void);
-extern void ITs_maps_route_maneuver_cleanup(void);
-
-extern int ITc_maps_service_create_destroy_p(void);
-extern int ITc_maps_service_set_get_preference_p(void);
-extern int ITc_maps_service_set_get_provider_key_p(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p(void);
-extern int ITc_maps_service_foreach_provider_p(void);
-extern int ITc_maps_service_geocode_p(void);
-extern int ITc_maps_service_cancel_request_p(void);
-extern int ITc_maps_service_geocode_by_structured_address_p(void);
-extern int ITc_maps_service_geocode_inside_area_p(void);
-extern int ITc_maps_service_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_p(void);
-extern int ITc_maps_service_search_place_by_address_p(void);
-extern int ITc_maps_service_search_place_by_area_p(void);
-extern int ITc_maps_service_search_route_p(void);
-extern int ITc_maps_service_search_route_waypoints_p(void);
-extern int ITc_maps_service_multi_reverse_geocode_p(void);
-extern int ITc_maps_service_search_place_list_p(void);
-extern int ITc_maps_service_get_place_details_p(void);
-extern int ITc_maps_service_request_user_consent_p(void);
-extern int ITc_maps_address_create_destroy_p(void);
-extern int ITc_maps_address_clone_p(void);
-extern int ITc_maps_address_set_get_building_number_p(void);
-extern int ITc_maps_address_set_get_city_p(void);
-extern int ITc_maps_address_set_get_country_p(void);
-extern int ITc_maps_address_set_get_country_code_p(void);
-extern int ITc_maps_address_set_get_county_p(void);
-extern int ITc_maps_address_set_get_district_p(void);
-extern int ITc_maps_address_set_get_freetext_p(void);
-extern int ITc_maps_address_set_get_postal_code_p(void);
-extern int ITc_maps_address_set_get_state_p(void);
-extern int ITc_maps_address_set_get_street_p(void);
-extern int ITc_maps_address_list_create_destroy_p(void);
-extern int ITc_maps_address_list_append_remove_p(void);
-extern int ITc_maps_address_list_get_length_p(void);
-extern int ITc_maps_address_list_foreach_p(void);
-extern int ITc_maps_area_create_destroy_rectangle_p(void);
-extern int ITc_maps_area_create_destroy_circle_p(void);
-extern int ITc_maps_area_clone_p(void);
-extern int ITc_maps_coordinates_create_destroy_p(void);
-extern int ITc_maps_coordinates_clone_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_p(void);
-extern int ITc_maps_coordinates_set_get_longitude_p(void);
-extern int ITc_maps_coordinates_set_get_latitude_longitude_p(void);
-extern int ITc_maps_coordinates_list_create_destroy_p(void);
-extern int ITc_maps_coordinates_list_append_remove_p(void);
-extern int ITc_maps_coordinates_list_get_length_p(void);
-extern int ITc_maps_coordinates_list_foreach_p(void);
-extern int ITc_maps_place_filter_create_destroy_p(void);
-extern int ITc_maps_place_filter_clone_destroy_p(void);
-extern int ITc_maps_place_filter_set_get_p(void);
-extern int ITc_maps_place_filter_set_get_keyword_p(void);
-extern int ITc_maps_place_filter_set_get_place_name_p(void);
-extern int ITc_maps_place_filter_foreach_property_p(void);
-extern int ITc_maps_place_filter_set_get_category_p(void);
-extern int ITc_maps_place_filter_set_get_place_address_p(void);
-extern int ITc_maps_preference_create_destroy_p(void);
-extern int ITc_maps_preference_clone_destroy_p(void);
-extern int ITc_maps_preference_set_get_distance_unit_p(void);
-extern int ITc_maps_preference_set_get_country_code_p(void);
-extern int ITc_maps_preference_set_get_language_p(void);
-extern int ITc_maps_preference_set_get_max_results_p(void);
-extern int ITc_maps_preference_set_get_route_feature_p(void);
-extern int ITc_maps_preference_set_get_route_feature_weight_p(void);
-extern int ITc_maps_preference_set_get_route_optimization_p(void);
-extern int ITc_maps_preference_set_get_route_transport_mode_p(void);
-extern int ITc_maps_preference_set_get_property_p(void);
-extern int ITc_maps_preference_foreach_property_p(void);
-extern int ITc_maps_preference_set_get_route_alternatives_enabled_p(void);
-extern int ITc_maps_place_category_create_destroy_p(void);
-extern int ITc_maps_place_category_clone_p(void);
-extern int ITc_maps_place_category_set_get_id_p(void);
-extern int ITc_maps_place_category_set_get_name_p(void);
-extern int ITc_maps_place_category_set_get_url_p(void);
-extern int ITc_maps_view_object_create_marker_destroy_p(void);
-extern int ITc_maps_view_object_create_polyline_p(void);
-extern int ITc_maps_view_object_create_polygon_p(void);
-extern int ITc_maps_view_object_get_type_p(void);
-extern int ITc_maps_view_object_set_get_visible_p(void);
-extern int ITc_maps_view_object_polyline_foreach_point_p(void);
-extern int ITc_maps_view_object_polyline_set_polyline_p(void);
-extern int ITc_maps_view_object_polyline_set_get_color_p(void);
-extern int ITc_maps_view_object_polyline_set_get_width_p(void);
-extern int ITc_maps_view_object_polygon_set_polygon_p(void);
-extern int ITc_maps_view_object_polygon_foreach_point_p(void);
-extern int ITc_maps_view_object_polygon_set_get_fill_color_p(void);
-extern int ITc_maps_view_object_marker_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_marker_resize_p(void);
-extern int ITc_maps_view_object_marker_set_get_image_file_p(void);
-extern int ITc_maps_view_object_marker_get_size_p(void);
-extern int ITc_maps_view_object_marker_get_type_p(void);
-extern int ITc_maps_view_object_marker_set_get_z_order_p(void);
-extern int ITc_maps_view_object_create_overlay_p(void);
-extern int ITc_maps_view_object_overlay_get_object_p(void);
-extern int ITc_maps_view_object_overlay_set_get_coordinates_p(void);
-extern int ITc_maps_view_object_overlay_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_object_overlay_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_create_destroy_p(void);
-extern int ITc_maps_view_set_get_center_p(void);
-extern int ITc_maps_view_set_get_zoom_level_p(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p(void);
-extern int ITc_maps_view_set_get_orientation_p(void);
-extern int ITc_maps_view_screen_to_geolocation_p(void);
-extern int ITc_maps_view_geolocation_to_screen_p(void);
-extern int ITc_maps_view_set_get_type_p(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p(void);
-extern int ITc_maps_view_set_get_language_p(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p(void);
-extern int ITc_maps_view_get_viewport_p(void);
-extern int ITc_maps_view_set_get_screen_location_p(void);
-extern int ITc_maps_view_set_get_visibility_p(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p(void);
-extern int ITc_maps_view_add_remove_object_p(void);
-extern int ITc_maps_view_remove_all_objects_p(void);
-extern int ITc_maps_view_foreach_object_p(void);
-extern int ITc_maps_view_move_p(void);
-extern int ITc_maps_view_resize_p(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p(void);
-extern int ITc_maps_view_set_unset_event_cb_p(void);
-extern int ITc_maps_place_get_distance_p(void);
-extern int ITc_maps_place_get_id_p(void);
-extern int ITc_maps_place_get_location_p(void);
-extern int ITc_maps_place_get_name_p(void);
-extern int ITc_maps_place_get_rating_p(void);
-extern int ITc_maps_place_rating_clone_destroy_p(void);
-extern int ITc_maps_place_rating_get_average_p(void);
-extern int ITc_maps_place_rating_get_count_p(void);
-extern int ITc_maps_place_get_address_p(void);
-extern int ITc_maps_place_get_related_link_p(void);
-extern int ITc_maps_place_clone_p(void);
-extern int ITc_maps_place_foreach_category_p(void);
-extern int ITc_maps_place_foreach_contact_p(void);
-extern int ITc_maps_place_contact_clone_destroy_p(void);
-extern int ITc_maps_place_contact_get_label_p(void);
-extern int ITc_maps_place_contact_get_type_p(void);
-extern int ITc_maps_place_contact_get_value_p(void);
-extern int ITc_maps_place_foreach_image_p(void);
-extern int ITc_maps_place_image_clone_destroy_p(void);
-extern int ITc_maps_place_image_get_ids_p(void);
-extern int ITc_maps_place_image_get_media_p(void);
-extern int ITc_maps_place_image_get_url_p(void);
-extern int ITc_maps_place_image_get_user_link_p(void);
-extern int ITc_maps_place_link_object_clone_destroy_p(void);
-extern int ITc_maps_place_link_object_get_id_p(void);
-extern int ITc_maps_place_link_object_get_name_p(void);
-extern int ITc_maps_place_foreach_review_p(void);
-extern int ITc_maps_place_review_clone_destroy_p(void);
-extern int ITc_maps_place_review_get_date_p(void);
-extern int ITc_maps_place_review_get_description_p(void);
-extern int ITc_maps_place_review_get_language_p(void);
-extern int ITc_maps_place_review_get_media_p(void);
-extern int ITc_maps_place_review_get_rating_p(void);
-extern int ITc_maps_place_review_get_title_p(void);
-extern int ITc_maps_place_review_get_user_link_p(void);
-extern int ITc_maps_route_clone_p(void);
-extern int ITc_maps_route_foreach_path_p(void);
-extern int ITc_maps_route_get_bounding_box_p(void);
-extern int ITc_maps_route_get_destination_p(void);
-extern int ITc_maps_route_get_distance_unit_p(void);
-extern int ITc_maps_route_get_origin_p(void);
-extern int ITc_maps_route_get_total_distance_p(void);
-extern int ITc_maps_route_get_total_duration_p(void);
-extern int ITc_maps_route_get_transport_mode_p(void);
-extern int ITc_maps_route_foreach_segment_p(void);
-extern int ITc_maps_route_segment_clone_destroy_p(void);
-extern int ITc_maps_route_segment_get_destination_p(void);
-extern int ITc_maps_route_segment_get_distance_p(void);
-extern int ITc_maps_route_segment_get_duration_p(void);
-extern int ITc_maps_route_segment_get_origin_p(void);
-extern int ITc_maps_route_segment_foreach_path_p(void);
-extern int ITc_maps_route_segment_foreach_maneuver_p(void);
-extern int ITc_maps_route_maneuver_clone_destroy_p(void);
-extern int ITc_maps_route_maneuver_get_direction_id_p(void);
-extern int ITc_maps_route_maneuver_get_distance_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_instruction_text_p(void);
-extern int ITc_maps_route_maneuver_get_position_p(void);
-extern int ITc_maps_route_maneuver_get_time_to_next_instruction_p(void);
-extern int ITc_maps_route_maneuver_get_turn_type_p(void);
-
-testcase tc_array[] = {
-       {"ITc_maps_service_create_destroy_p",ITc_maps_service_create_destroy_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_preference_p",ITc_maps_service_set_get_preference_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_set_get_provider_key_p",ITc_maps_service_set_get_provider_key_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_provider_is_service_data_supported_p",ITc_maps_service_provider_is_service_data_supported_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_foreach_provider_p",ITc_maps_service_foreach_provider_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_p",ITc_maps_service_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_cancel_request_p",ITc_maps_service_cancel_request_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_by_structured_address_p",ITc_maps_service_geocode_by_structured_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_geocode_inside_area_p",ITc_maps_service_geocode_inside_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_reverse_geocode_p",ITc_maps_service_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_p",ITc_maps_service_search_place_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_address_p",ITc_maps_service_search_place_by_address_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_by_area_p",ITc_maps_service_search_place_by_area_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_p",ITc_maps_service_search_route_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_route_waypoints_p",ITc_maps_service_search_route_waypoints_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_multi_reverse_geocode_p",ITc_maps_service_multi_reverse_geocode_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_search_place_list_p",ITc_maps_service_search_place_list_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_get_place_details_p",ITc_maps_service_get_place_details_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_service_request_user_consent_p",ITc_maps_service_request_user_consent_p,ITs_maps_service_startup,ITs_maps_service_cleanup},
-       {"ITc_maps_address_create_destroy_p",ITc_maps_address_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_clone_p",ITc_maps_address_clone_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_building_number_p",ITc_maps_address_set_get_building_number_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_city_p",ITc_maps_address_set_get_city_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_p",ITc_maps_address_set_get_country_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_country_code_p",ITc_maps_address_set_get_country_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_county_p",ITc_maps_address_set_get_county_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_district_p",ITc_maps_address_set_get_district_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_freetext_p",ITc_maps_address_set_get_freetext_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_postal_code_p",ITc_maps_address_set_get_postal_code_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_state_p",ITc_maps_address_set_get_state_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_set_get_street_p",ITc_maps_address_set_get_street_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_create_destroy_p",ITc_maps_address_list_create_destroy_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_append_remove_p",ITc_maps_address_list_append_remove_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_get_length_p",ITc_maps_address_list_get_length_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_address_list_foreach_p",ITc_maps_address_list_foreach_p,ITs_maps_service_address_startup,ITs_maps_service_address_cleanup},
-       {"ITc_maps_area_create_destroy_rectangle_p",ITc_maps_area_create_destroy_rectangle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_create_destroy_circle_p",ITc_maps_area_create_destroy_circle_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_area_clone_p",ITc_maps_area_clone_p,ITs_maps_service_area_startup,ITs_maps_service_area_cleanup},
-       {"ITc_maps_coordinates_create_destroy_p",ITc_maps_coordinates_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_clone_p",ITc_maps_coordinates_clone_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_p",ITc_maps_coordinates_set_get_latitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_longitude_p",ITc_maps_coordinates_set_get_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_set_get_latitude_longitude_p",ITc_maps_coordinates_set_get_latitude_longitude_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_create_destroy_p",ITc_maps_coordinates_list_create_destroy_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_append_remove_p",ITc_maps_coordinates_list_append_remove_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_get_length_p",ITc_maps_coordinates_list_get_length_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_coordinates_list_foreach_p",ITc_maps_coordinates_list_foreach_p,ITs_maps_service_coordinates_startup,ITs_maps_service_coordinates_cleanup},
-       {"ITc_maps_place_filter_create_destroy_p",ITc_maps_place_filter_create_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_clone_destroy_p",ITc_maps_place_filter_clone_destroy_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_p",ITc_maps_place_filter_set_get_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_keyword_p",ITc_maps_place_filter_set_get_keyword_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_name_p",ITc_maps_place_filter_set_get_place_name_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_foreach_property_p",ITc_maps_place_filter_foreach_property_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_category_p",ITc_maps_place_filter_set_get_category_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_place_filter_set_get_place_address_p",ITc_maps_place_filter_set_get_place_address_p,ITs_maps_service_item_place_filter_startup,ITs_maps_service_item_place_filter_cleanup},
-       {"ITc_maps_preference_create_destroy_p",ITc_maps_preference_create_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_clone_destroy_p",ITc_maps_preference_clone_destroy_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_distance_unit_p",ITc_maps_preference_set_get_distance_unit_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_country_code_p",ITc_maps_preference_set_get_country_code_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_language_p",ITc_maps_preference_set_get_language_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_max_results_p",ITc_maps_preference_set_get_max_results_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_p",ITc_maps_preference_set_get_route_feature_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_feature_weight_p",ITc_maps_preference_set_get_route_feature_weight_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_optimization_p",ITc_maps_preference_set_get_route_optimization_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_transport_mode_p",ITc_maps_preference_set_get_route_transport_mode_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_property_p",ITc_maps_preference_set_get_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_foreach_property_p",ITc_maps_preference_foreach_property_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_preference_set_get_route_alternatives_enabled_p",ITc_maps_preference_set_get_route_alternatives_enabled_p,ITs_maps_service_item_preference_startup,ITs_maps_service_item_preference_cleanup},
-       {"ITc_maps_place_category_create_destroy_p",ITc_maps_place_category_create_destroy_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_clone_p",ITc_maps_place_category_clone_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_id_p",ITc_maps_place_category_set_get_id_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_name_p",ITc_maps_place_category_set_get_name_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_place_category_set_get_url_p",ITc_maps_place_category_set_get_url_p,ITs_maps_place_category_startup,ITs_maps_place_category_cleanup},
-       {"ITc_maps_view_object_create_marker_destroy_p",ITc_maps_view_object_create_marker_destroy_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polyline_p",ITc_maps_view_object_create_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_polygon_p",ITc_maps_view_object_create_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_get_type_p",ITc_maps_view_object_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_set_get_visible_p",ITc_maps_view_object_set_get_visible_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_foreach_point_p",ITc_maps_view_object_polyline_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_polyline_p",ITc_maps_view_object_polyline_set_polyline_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_color_p",ITc_maps_view_object_polyline_set_get_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polyline_set_get_width_p",ITc_maps_view_object_polyline_set_get_width_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_polygon_p",ITc_maps_view_object_polygon_set_polygon_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_foreach_point_p",ITc_maps_view_object_polygon_foreach_point_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_polygon_set_get_fill_color_p",ITc_maps_view_object_polygon_set_get_fill_color_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_coordinates_p",ITc_maps_view_object_marker_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_resize_p",ITc_maps_view_object_marker_resize_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_image_file_p",ITc_maps_view_object_marker_set_get_image_file_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_size_p",ITc_maps_view_object_marker_get_size_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_get_type_p",ITc_maps_view_object_marker_get_type_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_marker_set_get_z_order_p",ITc_maps_view_object_marker_set_get_z_order_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_create_overlay_p",ITc_maps_view_object_create_overlay_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_get_object_p",ITc_maps_view_object_overlay_get_object_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_coordinates_p",ITc_maps_view_object_overlay_set_get_coordinates_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_min_zoom_level_p",ITc_maps_view_object_overlay_set_get_min_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_object_overlay_set_get_max_zoom_level_p",ITc_maps_view_object_overlay_set_get_max_zoom_level_p,ITs_maps_view_object_startup,ITs_maps_view_object_cleanup},
-       {"ITc_maps_view_create_destroy_p",ITc_maps_view_create_destroy_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_center_p",ITc_maps_view_set_get_center_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_zoom_level_p",ITc_maps_view_set_get_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_min_zoom_level_p",ITc_maps_view_set_get_min_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_max_zoom_level_p",ITc_maps_view_set_get_max_zoom_level_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_orientation_p",ITc_maps_view_set_get_orientation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_screen_to_geolocation_p",ITc_maps_view_screen_to_geolocation_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_geolocation_to_screen_p",ITc_maps_view_geolocation_to_screen_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_type_p",ITc_maps_view_set_get_type_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_buildings_enabled_p",ITc_maps_view_set_get_buildings_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_language_p",ITc_maps_view_set_get_language_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_scalebar_enabled_p",ITc_maps_view_set_get_scalebar_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_traffic_enabled_p",ITc_maps_view_set_get_traffic_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_get_viewport_p",ITc_maps_view_get_viewport_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_screen_location_p",ITc_maps_view_set_get_screen_location_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_visibility_p",ITc_maps_view_set_get_visibility_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_gesture_enabled_p",ITc_maps_view_set_get_gesture_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_add_remove_object_p",ITc_maps_view_add_remove_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_remove_all_objects_p",ITc_maps_view_remove_all_objects_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_foreach_object_p",ITc_maps_view_foreach_object_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_move_p",ITc_maps_view_move_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_resize_p",ITc_maps_view_resize_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_get_public_transit_enabled_p",ITc_maps_view_set_get_public_transit_enabled_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_view_set_unset_event_cb_p",ITc_maps_view_set_unset_event_cb_p,ITs_maps_view_startup,ITs_maps_view_cleanup},
-       {"ITc_maps_place_get_distance_p",ITc_maps_place_get_distance_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_id_p",ITc_maps_place_get_id_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_location_p",ITc_maps_place_get_location_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_name_p",ITc_maps_place_get_name_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_rating_p",ITc_maps_place_get_rating_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_clone_destroy_p",ITc_maps_place_rating_clone_destroy_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_average_p",ITc_maps_place_rating_get_average_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_rating_get_count_p",ITc_maps_place_rating_get_count_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_address_p",ITc_maps_place_get_address_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_get_related_link_p",ITc_maps_place_get_related_link_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_clone_p",ITc_maps_place_clone_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_category_p",ITc_maps_place_foreach_category_p,ITs_maps_place_startup,ITs_maps_place_cleanup},
-       {"ITc_maps_place_foreach_contact_p",ITc_maps_place_foreach_contact_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_clone_destroy_p",ITc_maps_place_contact_clone_destroy_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_label_p",ITc_maps_place_contact_get_label_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_type_p",ITc_maps_place_contact_get_type_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_contact_get_value_p",ITc_maps_place_contact_get_value_p,ITs_maps_place_contact_startup,ITs_maps_place_contact_cleanup},
-       {"ITc_maps_place_foreach_image_p",ITc_maps_place_foreach_image_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_clone_destroy_p",ITc_maps_place_image_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_ids_p",ITc_maps_place_image_get_ids_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_media_p",ITc_maps_place_image_get_media_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_url_p",ITc_maps_place_image_get_url_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_image_get_user_link_p",ITc_maps_place_image_get_user_link_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_clone_destroy_p",ITc_maps_place_link_object_clone_destroy_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_id_p",ITc_maps_place_link_object_get_id_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_link_object_get_name_p",ITc_maps_place_link_object_get_name_p,ITs_maps_place_image_linkobj_startup,ITs_maps_place_image_linkobj_cleanup},
-       {"ITc_maps_place_foreach_review_p",ITc_maps_place_foreach_review_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_clone_destroy_p",ITc_maps_place_review_clone_destroy_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_date_p",ITc_maps_place_review_get_date_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_description_p",ITc_maps_place_review_get_description_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_language_p",ITc_maps_place_review_get_language_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_media_p",ITc_maps_place_review_get_media_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_rating_p",ITc_maps_place_review_get_rating_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_title_p",ITc_maps_place_review_get_title_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_place_review_get_user_link_p",ITc_maps_place_review_get_user_link_p,ITs_maps_place_review_startup,ITs_maps_place_review_cleanup},
-       {"ITc_maps_route_clone_p",ITc_maps_route_clone_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_path_p",ITc_maps_route_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_bounding_box_p",ITc_maps_route_get_bounding_box_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_destination_p",ITc_maps_route_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_distance_unit_p",ITc_maps_route_get_distance_unit_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_origin_p",ITc_maps_route_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_distance_p",ITc_maps_route_get_total_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_total_duration_p",ITc_maps_route_get_total_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_get_transport_mode_p",ITc_maps_route_get_transport_mode_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_foreach_segment_p",ITc_maps_route_foreach_segment_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_clone_destroy_p",ITc_maps_route_segment_clone_destroy_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_destination_p",ITc_maps_route_segment_get_destination_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_distance_p",ITc_maps_route_segment_get_distance_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_duration_p",ITc_maps_route_segment_get_duration_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_get_origin_p",ITc_maps_route_segment_get_origin_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_path_p",ITc_maps_route_segment_foreach_path_p,ITs_maps_route_startup,ITs_maps_route_cleanup},
-       {"ITc_maps_route_segment_foreach_maneuver_p",ITc_maps_route_segment_foreach_maneuver_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_clone_destroy_p",ITc_maps_route_maneuver_clone_destroy_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_direction_id_p",ITc_maps_route_maneuver_get_direction_id_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_distance_to_next_instruction_p",ITc_maps_route_maneuver_get_distance_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_instruction_text_p",ITc_maps_route_maneuver_get_instruction_text_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_position_p",ITc_maps_route_maneuver_get_position_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_time_to_next_instruction_p",ITc_maps_route_maneuver_get_time_to_next_instruction_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {"ITc_maps_route_maneuver_get_turn_type_p",ITc_maps_route_maneuver_get_turn_type_p,ITs_maps_route_maneuver_startup,ITs_maps_route_maneuver_cleanup},
-       {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__