[ITC/UTC][capi-maps-service][NON-ACR][remove TCs for MAPZEN because of service termin...
authorjomui <jongmun.woo@samsung.com>
Tue, 19 Dec 2017 04:20:27 +0000 (13:20 +0900)
committerjomui <jongmun.woo@samsung.com>
Tue, 19 Dec 2017 04:20:27 +0000 (13:20 +0900)
Change-Id: Icac7f53c8085a90de11ee846d05d24440e73a6d8
Signed-off-by: jomui <jongmun.woo@samsung.com>
18 files changed:
src/itc/capi-maps-service/CMakeLists.txt
src/itc/capi-maps-service/ITs-capi-maps-place-contact-mapzen.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-image-link-object-mapzen.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-mapzen.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-place-review-mapzen.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-service-common.c
src/itc/capi-maps-service/ITs-capi-maps-service-common.h
src/itc/capi-maps-service/ITs-capi-maps-service-mapzen.c [deleted file]
src/itc/capi-maps-service/ITs-capi-maps-view-mapzen.c [deleted file]
src/itc/capi-maps-service/tct-capi-maps-service-native_mobile.h
src/itc/capi-maps-service/tct-capi-maps-service-native_wearable.h
src/utc/capi-maps-service/CMakeLists.txt
src/utc/capi-maps-service/tct-capi-maps-service-core_mobile.h
src/utc/capi-maps-service/tct-capi-maps-service-core_wearable.h
src/utc/capi-maps-service/utc_maps_service_mapzen.c [deleted file]
src/utc/capi-maps-service/utc_maps_utils.c
src/utc/capi-maps-service/utc_maps_utils.h
src/utc/capi-maps-service/utc_maps_view_mapzen.c [deleted file]

index 817daf7423482bd82a6cce2c6d8392cde90a4d15..8dacecf3d99ffca6d1b2a8562fe5974e5ef39496 100755 (executable)
@@ -6,7 +6,6 @@ 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-mapzen.c
        ITs-capi-maps-service-address.c
        ITs-capi-maps-service-area.c
        ITs-capi-maps-service-common.c
@@ -16,15 +15,10 @@ SET(TC_SOURCES
        ITs-capi-maps-place-category.c
        ITs-capi-maps-view-object.c
        ITs-capi-maps-view-here.c
-       ITs-capi-maps-view-mapzen.c
        ITs-capi-maps-place-here.c
-       ITs-capi-maps-place-mapzen.c
        ITs-capi-maps-place-contact-here.c
-       ITs-capi-maps-place-contact-mapzen.c
        ITs-capi-maps-place-image-link-object-here.c
-       ITs-capi-maps-place-image-link-object-mapzen.c
        ITs-capi-maps-place-review-here.c
-       ITs-capi-maps-place-review-mapzen.c
        ITs-capi-maps-route.c
        ITs-capi-maps-route-maneuver.c
 )
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-contact-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-place-contact-mapzen.c
deleted file mode 100755 (executable)
index cfdf86b..0000000
+++ /dev/null
@@ -1,340 +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_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_contact_startup2(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceHandleHelperMAPZEN();
-       
-       return;
-}
-
-
-/**
- * @function           ITs_maps_place_contact_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_contact_cleanup2(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all contacts for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_foreach_contact_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(void)
-{
-       START_TEST_PLACE;
-       
-       int nRet;
-       g_nCheckCb = 0;
-       g_nClone = 0;
-       
-       nRet = maps_place_foreach_contact(g_maps_place, MapsPlaceContactsCb, NULL);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_contact", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }  
-       //RUN_POLLING_LOOP;
-
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_contact", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       }       
-       //RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_contact", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       } 
-       //RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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(g_nCheckRet),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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_contact", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       } 
-       //RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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(g_nCheckRet),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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_foreach_contact", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               maps_place_contact_destroy(g_place_contact);
-               return 1;
-       } 
-       
-       //RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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(g_nCheckRet),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-image-link-object-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-place-image-link-object-mapzen.c
deleted file mode 100755 (executable)
index 65722ac..0000000
+++ /dev/null
@@ -1,581 +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_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_image_linkobj_startup2(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceLocationHandleHelperMAPZEN();
-       return;
-}
-/**
- * @function           ITs_maps_place_image_linkobj_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_image_linkobj_cleanup2(void)
-{
-       return;
-}
-//& type: auto
-//& purpose:  scenario to retrieve all place images.
-/**
-* @testcase                    ITc_maps_place_foreach_image_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] MapsPlaceContactsCb1 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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_NOT_FOUND)
-       {
-               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;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-place-mapzen.c
deleted file mode 100755 (executable)
index d7e2db6..0000000
+++ /dev/null
@@ -1,309 +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;
-}
-// Callback Function to get list of service providers
-bool MapsServiceProviderForeachCb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       if(maps_provider != NULL)
-       {
-               strcpy(g_szMapsProvider, "MAPZEN");
-               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;
-}
-
-/**
- * @function           ITs_maps_place_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_startup2(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceHandleHelperMAPZEN();
-       return;
-}
-
-
-/**
- * @function           ITs_maps_place_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_cleanup2(void)
-{
-       return;
-}
-
-//& type: auto
-//& purpose:  scenario to obtains the rating for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_rating_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       int nRet;
-       
-       nRet = maps_place_get_rating(g_maps_place,&rating);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_get_rating", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_get_rating", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_NORETURN(MAPS_ERROR_NONE, nRet, "maps_place_rating_destroy", MapServiceGetError(nRet));
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_get_rating", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(void)
-{
-       START_TEST_PLACE;
-       
-       maps_place_rating_h rating = NULL;
-       int count = 0;
-       int nRet;
-
-       nRet = maps_place_get_rating(g_maps_place,&rating);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_place_get_rating", MapServiceGetError(nRet), nRet);
-               maps_place_destroy(g_maps_place);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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 get the place related link for a specified coordinates boundary.
-/**
-* @testcase                    ITc_maps_place_get_related_link_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED))
-       {
-               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_NOT_SUPPORTED)
-               CHECK_HANDLE_CLEANUP(related, "maps_place_get_related_link", maps_place_destroy(g_maps_place));
-       
-       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;
-}
-/** @} */
-/** @} */
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-place-review-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-place-review-mapzen.c
deleted file mode 100755 (executable)
index 6548705..0000000
+++ /dev/null
@@ -1,566 +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_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_review_startup2(void)
-{
-       struct stat stBuff;   
-       if ( stat(ERR_LOG, &stBuff) == 0 )
-       {
-               remove(ERR_LOG);
-       }
-       MapsPlaceLocationHandleHelperMAPZEN();
-       
-       return;
-}
-/**
- * @function           ITs_maps_place_review_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_place_review_cleanup2(void)
-{
-       return;
-}
-
-//& type: auto
-//& purpose:  scenario to retrieve all reviews.
-/**
-* @testcase                    ITc_maps_place_foreach_review_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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(g_nCheckRet),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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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;
-               }
-               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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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_p2
-* @author              SRID(manu.tiwari)
-* @reviewer            SRID(amritanshu.p1)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_SUPPORTED)&&(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;
-}
-/** @} */
-/** @} */
index 615779ff98e4265e3864494ff03aae481aacf565..2ba458e5ae8d0075231d090f69d7d0308c9a8d8c 100755 (executable)
@@ -20,8 +20,6 @@
 *  @{
 */
 static bool bMapsRemovedProviders = false;
-static bool bMAPZENRemoved = true;
-static char *MAPS_PROVIDER_NAME_MAPZEN = "MAPZEN";
 /**
 * @function            MapsCallbackTimeout
 * @description         callback function to terminate g_main loop
@@ -103,22 +101,6 @@ bool MapsServiceProviderForeachHERECb(char* maps_provider, void* user_data)
        g_nCheckCb = true;
        return true;
 }
-// Callback Function to get list of service providers
-bool MapsServiceProviderForeachMAPZENCb(char* maps_provider, void* user_data)
-{
-       memset( g_szMapsProvider, '\0', sizeof(char)*BUFFER);
-       if(maps_provider != NULL)
-       {
-               strcpy(g_szMapsProvider, "MAPZEN");
-               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)
 {
@@ -188,28 +170,6 @@ static bool MapsServiceSearchPlaceHereCb(maps_error_e error, int request_id , in
        }
        return true;
 }    
-static bool MapsServiceSearchPlaceMapzenCb(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;
@@ -480,23 +440,25 @@ void MapsPlaceLocationHandleHelperHERE(void)
 
        return;
 }
-void MapsPlaceLocationHandleHelperMAPZEN(void)
+void MapsPlaceHandleHelperHERE(void)
 {
-       int nRequestId = 0;
+       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;
        
-       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(MapsServiceProviderForeachMAPZENCb, NULL);
+       g_nCheckCb = 0;
+       g_nCheckRet = 0;
+       
+       nRet = maps_service_foreach_provider(MapsServiceProviderForeachHERECb, NULL);
        if ( false == bMapsFeatureSupported)
        {
                if ( nRet != TIZEN_ERROR_NOT_SUPPORTED )
@@ -512,13 +474,6 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                        return;
                }
        }
-       if ( false == MapsCheckMapzenPlugin())
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\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));
@@ -526,14 +481,12 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                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)
        {
@@ -547,10 +500,9 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                g_bStartupPre = false;
                return;
        }
-
        char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
 
-       if ( true == GetValueFromConfigFile("MAPZEN_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
+       if ( true == GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", pstrValue, API_NAMESPACE) )
        {
 #if DEBUG
                FPRINTF("[Line : %d][%s] Values Received = %s\\n", __LINE__, API_NAMESPACE, pstrValue);
@@ -562,12 +514,13 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                g_bStartupPre = false;
                return;
        }
-    if(pstrValue == NULL)
+       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)
        {
@@ -591,7 +544,6 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                maps_service_destroy(g_hMapService);
                return;
        }
-       
        nRet = maps_preference_set_max_results(g_hMapsPref, RESULT);
        if(nRet != MAPS_ERROR_NONE)
        {
@@ -601,35 +553,33 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                maps_service_destroy(g_hMapService);
                return;
        }
-       nRet = maps_preference_set_property(g_hMapsPref, MAPS_PLACE_FILTER_SORT_BY, "distance");
+       nRet = maps_place_filter_create(&hPlaceFilter);
        if(nRet != MAPS_ERROR_NONE)
        {
-               FPRINTF("[Line : %d][%s] maps_preference_set_property API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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;
        }
-       nRet = maps_place_filter_create(&hPlaceFilter);
-       if(nRet != MAPS_ERROR_NONE)
+       if(hPlaceFilter == NULL)
        {
-               FPRINTF("[Line : %d][%s] maps_place_filter_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+           FPRINTF("[Line : %d][%s] hPlaceFilter NULL\\n", __LINE__, API_NAMESPACE);
                g_bStartupPre = false;
                maps_preference_destroy(g_hMapsPref);
                maps_service_destroy(g_hMapService);
                return;
        }
-       if(hPlaceFilter == NULL)
+       nRet = maps_place_filter_set_keyword(hPlaceFilter, pszKeyword);
+       if(nRet != MAPS_ERROR_NONE)
        {
-           FPRINTF("[Line : %d][%s] hPlaceFilter NULL\\n", __LINE__, API_NAMESPACE);
+               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_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)
        {
@@ -640,7 +590,7 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                maps_service_destroy(g_hMapService);
                return;
        }
-       nRet = maps_coordinates_create(LATITUTE_LOCATION, LONGITUDE_LOCATION, &hMapCoords);
+       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));
@@ -659,857 +609,200 @@ void MapsPlaceLocationHandleHelperMAPZEN(void)
                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;
-       g_nCheckRet = 0;
        
-       nRet = maps_service_search_place(g_hMapService, hMapCoords, DISTANCELOC, hPlaceFilter, g_hMapsPref, MapsServiceSearchPlaceMapzenCb, NULL, &nRequestId);
+       //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 API call returned mismatch %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+                       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 API call correctly returned %s error for unsupported maps feature\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+                       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 API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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 \\n", __LINE__, API_NAMESPACE);
+               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);
+               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));
+           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);
+               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);
+               maps_service_destroy(g_hMapService); 
                return;
        }
-       nRet = maps_coordinates_destroy(hMapCoords);
-       if(nRet != MAPS_ERROR_NONE)
+       if(g_szPlaceURI != NULL)
        {
-               FPRINTF("[Line : %d][%s] maps_coordinates_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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);
+               maps_service_destroy(g_hMapService); 
                return;
        }
-       nRet = maps_place_filter_destroy(hPlaceFilter);
+
+       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_place_filter_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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;
        }
-       nRet = maps_preference_destroy(g_hMapsPref);
-       if(nRet != MAPS_ERROR_NONE)
+       RUN_POLLING_LOOP;
+
+       if(g_nCheckCb != true)
        {
-               FPRINTF("[Line : %d][%s] maps_preference_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               FPRINTF("[Line : %d][%s] Place is not received from maps_service_get_place_details \\n", __LINE__, API_NAMESPACE);
                g_bStartupPre = false;
-               maps_service_destroy(g_hMapService);
+               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_service_destroy(g_hMapService);
-       if(nRet != MAPS_ERROR_NONE)
+       if(g_nCheckRet != MAPS_ERROR_NONE)
        {
-               FPRINTF("[Line : %d][%s] maps_service_destroy API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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;
        }
-
-       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(g_maps_place == NULL)
        {
-               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;
-               }
+           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_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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;
        }
-
-       if(g_szMapsProvider == NULL)
+       nRet = maps_coordinates_destroy(hMapCoords);
+       if(nRet != MAPS_ERROR_NONE)
        {
-                FPRINTF("[Line : %d][%s] g_szMapsProvider NULL\\n", __LINE__, API_NAMESPACE);
-                g_bStartupPre = false;
-                return;
+               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_service_create(g_szMapsProvider, &g_hMapService);
+       nRet = maps_place_filter_destroy(hPlaceFilter);
        if(nRet != MAPS_ERROR_NONE)
        {
-               FPRINTF("[Line : %d][%s] maps_service_create API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
+               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;
        }
-       if(g_hMapService == NULL)
+       nRet = maps_preference_destroy(g_hMapsPref);
+       if(nRet != MAPS_ERROR_NONE)
        {
-           FPRINTF("[Line : %d][%s] g_hMapService NULL\\n", __LINE__, API_NAMESPACE);
+               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;
        }
-       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;
-}
-void MapsPlaceHandleHelperMAPZEN(void)
-{
-       int nRequestId = 0, nRet;
-       char *pszKeyword = "eat";
-       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(MapsServiceProviderForeachMAPZENCb, 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 ( false == MapsCheckMapzenPlugin())
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\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("MAPZEN_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;
-       }
-       nRet = maps_place_get_uri(g_maps_place, &g_szPlaceURI);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_FOUND))
-       {
-               FPRINTF("[Line : %d][%s] maps_place_get_uri API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-               maps_area_destroy(hArea);
-               maps_coordinates_destroy(hMapCoords);
-               maps_place_filter_destroy(hPlaceFilter);
-               maps_preference_destroy(g_hMapsPref);
-               maps_service_destroy(g_hMapService); 
-               return;
-               \r
-       }
-       if(nRet != MAPS_ERROR_NOT_FOUND)
-       {
-               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)
+       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;
@@ -1520,33 +813,9 @@ void MapsPlaceHandleHelperMAPZEN(void)
 
 bool MapsProviderCb(char *maps_provider, void *user_data)
 {
-       if(strcmp(MAPS_PROVIDER_NAME_MAPZEN, maps_provider) == 0)
-       {
-               bMAPZENRemoved = false;
-       }
        free(maps_provider);
        return true;
 }
 
-bool MapsCheckMapzenPlugin(void)
-{
-       int nRet;
-       if(bMapsRemovedProviders == false)
-       {
-               nRet = maps_service_foreach_provider( MapsProviderCb, NULL);
-               bMapsRemovedProviders = true;
-               if(nRet != MAPS_ERROR_NONE)
-               {
-                       FPRINTF("[Line : %d][%s] maps_service_foreach_provider API failed %s\\n", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-                       return false;;
-               }
-       }
-       if(bMAPZENRemoved)
-       {
-               return false;
-       }
-       return true;
-}
-
 /** @} */
 //Add helper function definitions here
index 510b365b5ccb552878cbf5462afdcc7ca13ede67..ac220a4d375c9259553ee05ea22537ffcc0a46d4 100755 (executable)
@@ -205,9 +205,6 @@ char *MapServiceGetError(int nRet);
 gboolean MapsCallbackTimeout(gpointer data);
 bool GetResourceDataPath(void);
 void MapsPlaceHandleHelperHERE(void);
-void MapsPlaceHandleHelperMAPZEN(void);
 void MapsPlaceLocationHandleHelperHERE(void);
-void MapsPlaceLocationHandleHelperMAPZEN(void);
-bool MapsCheckMapzenPlugin(void);
 /** @} */
 #endif  //_ITS_MAPS_SERVICE_COMMON_H_
diff --git a/src/itc/capi-maps-service/ITs-capi-maps-service-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-service-mapzen.c
deleted file mode 100755 (executable)
index 54004a7..0000000
+++ /dev/null
@@ -1,1649 +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;
-}
-
-//& 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);
-       strcpy(g_szMapsProvider, "MAPZEN");
-       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_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_startup2(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);
-               strcpy(g_szMapsProvider, "MAPZEN");
-               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 ( false == MapsCheckMapzenPlugin())
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\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_hMapService = NULL;
-               return;
-       }
-
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("MAPZEN_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_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_service_cleanup2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(void)
-{
-       START_TEST(g_hMapService, "maps_service");
-       char *pszGetKey = NULL;
-       char pstrValue[CONFIG_VALUE_LEN_MAX] = {0,};
-
-       if ( true == GetValueFromConfigFile("MAPZEN_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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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_p2
-* @author              SRID(a.pandia1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto
-* @since_tizen                         3.0
-* @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_p2(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));
-                       maps_coordinates_destroy(p_wayPoints[0]);
-                       maps_coordinates_destroy(p_wayPoints[1]);
-                       maps_coordinates_destroy(p_wayPoints[2]);
-                       g_free(p_wayPoints);
-                       //g_bFeatureMismatch = true;
-                       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_p2
-* @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_p2(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;
-                       maps_coordinates_list_destroy(hMapCoordinateList);
-                       g_free(hMapCoordinate);
-                       return 0;
-               }
-       }
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_service_multi_reverse_geocode", MapServiceGetError(nRet), nRet);
-               maps_coordinates_list_destroy(hMapCoordinateList);
-               g_free(hMapCoordinate);
-               return 1;
-       }  
-       RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               if(g_nCheckCb != true)
-               {
-                       FPRINTF("[Line : %d][%s] Coordinates are not received from maps_service_reverse_geocode \\n", __LINE__, API_NAMESPACE);
-                       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_p2
-* @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_p2(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_p2
-* @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_p2(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);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_service_get_place_details", MapServiceGetError(nRet), nRet);
-               maps_place_filter_destroy(hPlaceFilter); 
-               maps_coordinates_destroy(hMapCoords); 
-               maps_area_destroy(hArea);
-               return 1;
-       }  
-       RUN_POLLING_LOOP;
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @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_p2(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-view-mapzen.c b/src/itc/capi-maps-service/ITs-capi-maps-view-mapzen.c
deleted file mode 100755 (executable)
index 2bdb497..0000000
+++ /dev/null
@@ -1,1422 +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_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_view_startup2(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);
-       elm_run();
-       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);
-       strcpy(g_szMapsProvider, "MAPZEN");
-       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 ( false == MapsCheckMapzenPlugin())
-       {
-               FPRINTF("[Line : %d][%s] maps_service_create API call correctly returned %s error for unsupported mapzen plugin\\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("MAPZEN_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_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */ 
-void ITs_maps_view_cleanup2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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] ITc_maps_view_set_get_buildings_enabled_p API not supported", __LINE__, API_NAMESPACE, MapServiceGetError(nRet));
-       }
-
-       return 0;
-}
-
-//& type: auto
-//& purpose:  scenario to set and get View language.
-/**
-* @testcase                    ITc_maps_view_set_get_language_p2
-* @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_p2(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_p2
-* @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_p2(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;
-               }
-       }
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_set_scalebar_enabled", MapServiceGetError(nRet), nRet);
-               return 1;
-       }
-
-       nRet = maps_view_get_scalebar_enabled(g_HandleMapView, &getEnabled);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_get_scalebar_enabled", MapServiceGetError(nRet), nRet);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @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_p2(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;
-               }
-       }
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_set_traffic_enabled", MapServiceGetError(nRet), nRet);
-               return 1;
-       }
-       nRet = maps_view_get_traffic_enabled(g_HandleMapView, &getEnabled);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_get_traffic_enabled", MapServiceGetError(nRet), nRet);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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_p2
-* @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_p2(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;
-               }
-       }
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_set_public_transit_enabled", MapServiceGetError(nRet), nRet);
-               return 1;\r
-       }
-       nRet = maps_view_get_public_transit_enabled(g_HandleMapView, &getEnabled);
-       if((nRet != MAPS_ERROR_NONE)&&(nRet != MAPS_ERROR_NOT_SUPPORTED))
-       {
-               FPRINTF("[Line : %d][%s] %s failed, error returned = %s [%d]\\n", __LINE__, API_NAMESPACE, "maps_view_get_public_transit_enabled", MapServiceGetError(nRet), nRet);
-               return 1;
-       }
-       if(nRet != MAPS_ERROR_NOT_SUPPORTED)
-       {
-               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_p2
-* @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_p2(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;
-}
-/** @} */
-/** @} */
index b3a7f04c0c8529a62327f42361c6ea333cda6c35..00d4cb89439a8387c134cfa3b8a8dddd013a2609 100755 (executable)
@@ -21,8 +21,6 @@
 
 extern void ITs_maps_service_startup(void);
 extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_startup2(void);
-extern void ITs_maps_service_cleanup2(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);
@@ -39,24 +37,14 @@ 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_view_startup2(void);
-extern void ITs_maps_view_cleanup2(void);
 extern void ITs_maps_place_startup(void);
 extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_startup2(void);
-extern void ITs_maps_place_cleanup2(void);
 extern void ITs_maps_place_contact_startup(void);
 extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_contact_startup2(void);
-extern void ITs_maps_place_contact_cleanup2(void);
 extern void ITs_maps_place_image_linkobj_startup(void);
 extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup2(void);
-extern void ITs_maps_place_image_linkobj_cleanup2(void);
 extern void ITs_maps_place_review_startup(void);
 extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_place_review_startup2(void);
-extern void ITs_maps_place_review_cleanup2(void);
 extern void ITs_maps_route_startup(void);
 extern void ITs_maps_route_cleanup(void);
 extern void ITs_maps_route_maneuver_startup(void);
@@ -81,25 +69,6 @@ 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_service_create_destroy_p2(void);
-extern int ITc_maps_service_set_get_preference_p2(void);
-extern int ITc_maps_service_set_get_provider_key_p2(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p2(void);
-extern int ITc_maps_service_foreach_provider_p2(void);
-extern int ITc_maps_service_geocode_p2(void);
-extern int ITc_maps_service_cancel_request_p2(void);
-extern int ITc_maps_service_geocode_by_structured_address_p2(void);
-extern int ITc_maps_service_geocode_inside_area_p2(void);
-extern int ITc_maps_service_reverse_geocode_p2(void);
-extern int ITc_maps_service_search_place_p2(void);
-extern int ITc_maps_service_search_place_by_address_p2(void);
-extern int ITc_maps_service_search_place_by_area_p2(void);
-extern int ITc_maps_service_search_route_p2(void);
-extern int ITc_maps_service_search_route_waypoints_p2(void);
-extern int ITc_maps_service_multi_reverse_geocode_p2(void);
-extern int ITc_maps_service_search_place_list_p2(void);
-extern int ITc_maps_service_get_place_details_p2(void);
-extern int ITc_maps_service_request_user_consent_p2(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);
@@ -201,30 +170,6 @@ 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_view_create_destroy_p2(void);
-extern int ITc_maps_view_set_get_center_p2(void);
-extern int ITc_maps_view_set_get_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_orientation_p2(void);
-extern int ITc_maps_view_screen_to_geolocation_p2(void);
-extern int ITc_maps_view_geolocation_to_screen_p2(void);
-extern int ITc_maps_view_set_get_type_p2(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p2(void);
-extern int ITc_maps_view_set_get_language_p2(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p2(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p2(void);
-extern int ITc_maps_view_get_viewport_p2(void);
-extern int ITc_maps_view_set_get_screen_location_p2(void);
-extern int ITc_maps_view_set_get_visibility_p2(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p2(void);
-extern int ITc_maps_view_add_remove_object_p2(void);
-extern int ITc_maps_view_remove_all_objects_p2(void);
-extern int ITc_maps_view_foreach_object_p2(void);
-extern int ITc_maps_view_move_p2(void);
-extern int ITc_maps_view_resize_p2(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p2(void);
-extern int ITc_maps_view_set_unset_event_cb_p2(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);
@@ -237,21 +182,11 @@ 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_get_rating_p2(void);
-extern int ITc_maps_place_rating_clone_destroy_p2(void);
-extern int ITc_maps_place_rating_get_average_p2(void);
-extern int ITc_maps_place_rating_get_count_p2(void);
-extern int ITc_maps_place_get_related_link_p2(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_contact_p2(void);
-extern int ITc_maps_place_contact_clone_destroy_p2(void);
-extern int ITc_maps_place_contact_get_label_p2(void);
-extern int ITc_maps_place_contact_get_type_p2(void);
-extern int ITc_maps_place_contact_get_value_p2(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);
@@ -261,15 +196,6 @@ 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_image_p2(void);
-extern int ITc_maps_place_image_clone_destroy_p2(void);
-extern int ITc_maps_place_image_get_ids_p2(void);
-extern int ITc_maps_place_image_get_media_p2(void);
-extern int ITc_maps_place_image_get_url_p2(void);
-extern int ITc_maps_place_image_get_user_link_p2(void);
-extern int ITc_maps_place_link_object_clone_destroy_p2(void);
-extern int ITc_maps_place_link_object_get_id_p2(void);
-extern int ITc_maps_place_link_object_get_name_p2(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);
@@ -279,15 +205,6 @@ 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_place_foreach_review_p2(void);
-extern int ITc_maps_place_review_clone_destroy_p2(void);
-extern int ITc_maps_place_review_get_date_p2(void);
-extern int ITc_maps_place_review_get_description_p2(void);
-extern int ITc_maps_place_review_get_language_p2(void);
-extern int ITc_maps_place_review_get_media_p2(void);
-extern int ITc_maps_place_review_get_rating_p2(void);
-extern int ITc_maps_place_review_get_title_p2(void);
-extern int ITc_maps_place_review_get_user_link_p2(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);
@@ -333,25 +250,6 @@ testcase tc_array[] = {
        {"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_service_create_destroy_p2",ITc_maps_service_create_destroy_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_set_get_preference_p2",ITc_maps_service_set_get_preference_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_set_get_provider_key_p2",ITc_maps_service_set_get_provider_key_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_provider_is_service_data_supported_p2",ITc_maps_service_provider_is_service_data_supported_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_foreach_provider_p2",ITc_maps_service_foreach_provider_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_p2",ITc_maps_service_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_cancel_request_p2",ITc_maps_service_cancel_request_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_by_structured_address_p2",ITc_maps_service_geocode_by_structured_address_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_inside_area_p2",ITc_maps_service_geocode_inside_area_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_reverse_geocode_p2",ITc_maps_service_reverse_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_p2",ITc_maps_service_search_place_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_by_address_p2",ITc_maps_service_search_place_by_address_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_by_area_p2",ITc_maps_service_search_place_by_area_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_route_p2",ITc_maps_service_search_route_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_route_waypoints_p2",ITc_maps_service_search_route_waypoints_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_multi_reverse_geocode_p2",ITc_maps_service_multi_reverse_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_list_p2",ITc_maps_service_search_place_list_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_get_place_details_p2",ITc_maps_service_get_place_details_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_request_user_consent_p2",ITc_maps_service_request_user_consent_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
        {"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},
@@ -453,30 +351,6 @@ testcase tc_array[] = {
        {"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_view_create_destroy_p2",ITc_maps_view_create_destroy_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_center_p2",ITc_maps_view_set_get_center_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_zoom_level_p2",ITc_maps_view_set_get_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_min_zoom_level_p2",ITc_maps_view_set_get_min_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_max_zoom_level_p2",ITc_maps_view_set_get_max_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_orientation_p2",ITc_maps_view_set_get_orientation_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_screen_to_geolocation_p2",ITc_maps_view_screen_to_geolocation_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_geolocation_to_screen_p2",ITc_maps_view_geolocation_to_screen_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_type_p2",ITc_maps_view_set_get_type_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_buildings_enabled_p2",ITc_maps_view_set_get_buildings_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_language_p2",ITc_maps_view_set_get_language_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_scalebar_enabled_p2",ITc_maps_view_set_get_scalebar_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_traffic_enabled_p2",ITc_maps_view_set_get_traffic_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_get_viewport_p2",ITc_maps_view_get_viewport_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_screen_location_p2",ITc_maps_view_set_get_screen_location_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_visibility_p2",ITc_maps_view_set_get_visibility_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_gesture_enabled_p2",ITc_maps_view_set_get_gesture_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_add_remove_object_p2",ITc_maps_view_add_remove_object_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_remove_all_objects_p2",ITc_maps_view_remove_all_objects_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_foreach_object_p2",ITc_maps_view_foreach_object_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_move_p2",ITc_maps_view_move_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_resize_p2",ITc_maps_view_resize_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_public_transit_enabled_p2",ITc_maps_view_set_get_public_transit_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_unset_event_cb_p2",ITc_maps_view_set_unset_event_cb_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
        {"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},
@@ -489,21 +363,11 @@ testcase tc_array[] = {
        {"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_get_rating_p2",ITc_maps_place_get_rating_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_clone_destroy_p2",ITc_maps_place_rating_clone_destroy_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_get_average_p2",ITc_maps_place_rating_get_average_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_get_count_p2",ITc_maps_place_rating_get_count_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_get_related_link_p2",ITc_maps_place_get_related_link_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
        {"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_contact_p2",ITc_maps_place_foreach_contact_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_clone_destroy_p2",ITc_maps_place_contact_clone_destroy_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_label_p2",ITc_maps_place_contact_get_label_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_type_p2",ITc_maps_place_contact_get_type_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_value_p2",ITc_maps_place_contact_get_value_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
        {"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},
@@ -513,15 +377,6 @@ testcase tc_array[] = {
        {"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_image_p2",ITc_maps_place_foreach_image_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_clone_destroy_p2",ITc_maps_place_image_clone_destroy_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_ids_p2",ITc_maps_place_image_get_ids_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_media_p2",ITc_maps_place_image_get_media_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_url_p2",ITc_maps_place_image_get_url_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_user_link_p2",ITc_maps_place_image_get_user_link_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_clone_destroy_p2",ITc_maps_place_link_object_clone_destroy_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_get_id_p2",ITc_maps_place_link_object_get_id_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_get_name_p2",ITc_maps_place_link_object_get_name_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
        {"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},
@@ -531,15 +386,6 @@ testcase tc_array[] = {
        {"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_place_foreach_review_p2",ITc_maps_place_foreach_review_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_clone_destroy_p2",ITc_maps_place_review_clone_destroy_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_date_p2",ITc_maps_place_review_get_date_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_description_p2",ITc_maps_place_review_get_description_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_language_p2",ITc_maps_place_review_get_language_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_media_p2",ITc_maps_place_review_get_media_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_rating_p2",ITc_maps_place_review_get_rating_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_title_p2",ITc_maps_place_review_get_title_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_user_link_p2",ITc_maps_place_review_get_user_link_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
        {"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},
index b3a7f04c0c8529a62327f42361c6ea333cda6c35..00d4cb89439a8387c134cfa3b8a8dddd013a2609 100755 (executable)
@@ -21,8 +21,6 @@
 
 extern void ITs_maps_service_startup(void);
 extern void ITs_maps_service_cleanup(void);
-extern void ITs_maps_service_startup2(void);
-extern void ITs_maps_service_cleanup2(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);
@@ -39,24 +37,14 @@ 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_view_startup2(void);
-extern void ITs_maps_view_cleanup2(void);
 extern void ITs_maps_place_startup(void);
 extern void ITs_maps_place_cleanup(void);
-extern void ITs_maps_place_startup2(void);
-extern void ITs_maps_place_cleanup2(void);
 extern void ITs_maps_place_contact_startup(void);
 extern void ITs_maps_place_contact_cleanup(void);
-extern void ITs_maps_place_contact_startup2(void);
-extern void ITs_maps_place_contact_cleanup2(void);
 extern void ITs_maps_place_image_linkobj_startup(void);
 extern void ITs_maps_place_image_linkobj_cleanup(void);
-extern void ITs_maps_place_image_linkobj_startup2(void);
-extern void ITs_maps_place_image_linkobj_cleanup2(void);
 extern void ITs_maps_place_review_startup(void);
 extern void ITs_maps_place_review_cleanup(void);
-extern void ITs_maps_place_review_startup2(void);
-extern void ITs_maps_place_review_cleanup2(void);
 extern void ITs_maps_route_startup(void);
 extern void ITs_maps_route_cleanup(void);
 extern void ITs_maps_route_maneuver_startup(void);
@@ -81,25 +69,6 @@ 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_service_create_destroy_p2(void);
-extern int ITc_maps_service_set_get_preference_p2(void);
-extern int ITc_maps_service_set_get_provider_key_p2(void);
-extern int ITc_maps_service_provider_is_service_data_supported_p2(void);
-extern int ITc_maps_service_foreach_provider_p2(void);
-extern int ITc_maps_service_geocode_p2(void);
-extern int ITc_maps_service_cancel_request_p2(void);
-extern int ITc_maps_service_geocode_by_structured_address_p2(void);
-extern int ITc_maps_service_geocode_inside_area_p2(void);
-extern int ITc_maps_service_reverse_geocode_p2(void);
-extern int ITc_maps_service_search_place_p2(void);
-extern int ITc_maps_service_search_place_by_address_p2(void);
-extern int ITc_maps_service_search_place_by_area_p2(void);
-extern int ITc_maps_service_search_route_p2(void);
-extern int ITc_maps_service_search_route_waypoints_p2(void);
-extern int ITc_maps_service_multi_reverse_geocode_p2(void);
-extern int ITc_maps_service_search_place_list_p2(void);
-extern int ITc_maps_service_get_place_details_p2(void);
-extern int ITc_maps_service_request_user_consent_p2(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);
@@ -201,30 +170,6 @@ 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_view_create_destroy_p2(void);
-extern int ITc_maps_view_set_get_center_p2(void);
-extern int ITc_maps_view_set_get_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_min_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_max_zoom_level_p2(void);
-extern int ITc_maps_view_set_get_orientation_p2(void);
-extern int ITc_maps_view_screen_to_geolocation_p2(void);
-extern int ITc_maps_view_geolocation_to_screen_p2(void);
-extern int ITc_maps_view_set_get_type_p2(void);
-extern int ITc_maps_view_set_get_buildings_enabled_p2(void);
-extern int ITc_maps_view_set_get_language_p2(void);
-extern int ITc_maps_view_set_get_scalebar_enabled_p2(void);
-extern int ITc_maps_view_set_get_traffic_enabled_p2(void);
-extern int ITc_maps_view_get_viewport_p2(void);
-extern int ITc_maps_view_set_get_screen_location_p2(void);
-extern int ITc_maps_view_set_get_visibility_p2(void);
-extern int ITc_maps_view_set_get_gesture_enabled_p2(void);
-extern int ITc_maps_view_add_remove_object_p2(void);
-extern int ITc_maps_view_remove_all_objects_p2(void);
-extern int ITc_maps_view_foreach_object_p2(void);
-extern int ITc_maps_view_move_p2(void);
-extern int ITc_maps_view_resize_p2(void);
-extern int ITc_maps_view_set_get_public_transit_enabled_p2(void);
-extern int ITc_maps_view_set_unset_event_cb_p2(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);
@@ -237,21 +182,11 @@ 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_get_rating_p2(void);
-extern int ITc_maps_place_rating_clone_destroy_p2(void);
-extern int ITc_maps_place_rating_get_average_p2(void);
-extern int ITc_maps_place_rating_get_count_p2(void);
-extern int ITc_maps_place_get_related_link_p2(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_contact_p2(void);
-extern int ITc_maps_place_contact_clone_destroy_p2(void);
-extern int ITc_maps_place_contact_get_label_p2(void);
-extern int ITc_maps_place_contact_get_type_p2(void);
-extern int ITc_maps_place_contact_get_value_p2(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);
@@ -261,15 +196,6 @@ 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_image_p2(void);
-extern int ITc_maps_place_image_clone_destroy_p2(void);
-extern int ITc_maps_place_image_get_ids_p2(void);
-extern int ITc_maps_place_image_get_media_p2(void);
-extern int ITc_maps_place_image_get_url_p2(void);
-extern int ITc_maps_place_image_get_user_link_p2(void);
-extern int ITc_maps_place_link_object_clone_destroy_p2(void);
-extern int ITc_maps_place_link_object_get_id_p2(void);
-extern int ITc_maps_place_link_object_get_name_p2(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);
@@ -279,15 +205,6 @@ 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_place_foreach_review_p2(void);
-extern int ITc_maps_place_review_clone_destroy_p2(void);
-extern int ITc_maps_place_review_get_date_p2(void);
-extern int ITc_maps_place_review_get_description_p2(void);
-extern int ITc_maps_place_review_get_language_p2(void);
-extern int ITc_maps_place_review_get_media_p2(void);
-extern int ITc_maps_place_review_get_rating_p2(void);
-extern int ITc_maps_place_review_get_title_p2(void);
-extern int ITc_maps_place_review_get_user_link_p2(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);
@@ -333,25 +250,6 @@ testcase tc_array[] = {
        {"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_service_create_destroy_p2",ITc_maps_service_create_destroy_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_set_get_preference_p2",ITc_maps_service_set_get_preference_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_set_get_provider_key_p2",ITc_maps_service_set_get_provider_key_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_provider_is_service_data_supported_p2",ITc_maps_service_provider_is_service_data_supported_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_foreach_provider_p2",ITc_maps_service_foreach_provider_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_p2",ITc_maps_service_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_cancel_request_p2",ITc_maps_service_cancel_request_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_by_structured_address_p2",ITc_maps_service_geocode_by_structured_address_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_geocode_inside_area_p2",ITc_maps_service_geocode_inside_area_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_reverse_geocode_p2",ITc_maps_service_reverse_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_p2",ITc_maps_service_search_place_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_by_address_p2",ITc_maps_service_search_place_by_address_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_by_area_p2",ITc_maps_service_search_place_by_area_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_route_p2",ITc_maps_service_search_route_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_route_waypoints_p2",ITc_maps_service_search_route_waypoints_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_multi_reverse_geocode_p2",ITc_maps_service_multi_reverse_geocode_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_search_place_list_p2",ITc_maps_service_search_place_list_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_get_place_details_p2",ITc_maps_service_get_place_details_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
-       {"ITc_maps_service_request_user_consent_p2",ITc_maps_service_request_user_consent_p2,ITs_maps_service_startup2,ITs_maps_service_cleanup2},
        {"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},
@@ -453,30 +351,6 @@ testcase tc_array[] = {
        {"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_view_create_destroy_p2",ITc_maps_view_create_destroy_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_center_p2",ITc_maps_view_set_get_center_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_zoom_level_p2",ITc_maps_view_set_get_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_min_zoom_level_p2",ITc_maps_view_set_get_min_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_max_zoom_level_p2",ITc_maps_view_set_get_max_zoom_level_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_orientation_p2",ITc_maps_view_set_get_orientation_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_screen_to_geolocation_p2",ITc_maps_view_screen_to_geolocation_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_geolocation_to_screen_p2",ITc_maps_view_geolocation_to_screen_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_type_p2",ITc_maps_view_set_get_type_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_buildings_enabled_p2",ITc_maps_view_set_get_buildings_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_language_p2",ITc_maps_view_set_get_language_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_scalebar_enabled_p2",ITc_maps_view_set_get_scalebar_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_traffic_enabled_p2",ITc_maps_view_set_get_traffic_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_get_viewport_p2",ITc_maps_view_get_viewport_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_screen_location_p2",ITc_maps_view_set_get_screen_location_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_visibility_p2",ITc_maps_view_set_get_visibility_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_gesture_enabled_p2",ITc_maps_view_set_get_gesture_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_add_remove_object_p2",ITc_maps_view_add_remove_object_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_remove_all_objects_p2",ITc_maps_view_remove_all_objects_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_foreach_object_p2",ITc_maps_view_foreach_object_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_move_p2",ITc_maps_view_move_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_resize_p2",ITc_maps_view_resize_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_get_public_transit_enabled_p2",ITc_maps_view_set_get_public_transit_enabled_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
-       {"ITc_maps_view_set_unset_event_cb_p2",ITc_maps_view_set_unset_event_cb_p2,ITs_maps_view_startup2,ITs_maps_view_cleanup2},
        {"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},
@@ -489,21 +363,11 @@ testcase tc_array[] = {
        {"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_get_rating_p2",ITc_maps_place_get_rating_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_clone_destroy_p2",ITc_maps_place_rating_clone_destroy_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_get_average_p2",ITc_maps_place_rating_get_average_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_rating_get_count_p2",ITc_maps_place_rating_get_count_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
-       {"ITc_maps_place_get_related_link_p2",ITc_maps_place_get_related_link_p2,ITs_maps_place_startup2,ITs_maps_place_cleanup2},
        {"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_contact_p2",ITc_maps_place_foreach_contact_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_clone_destroy_p2",ITc_maps_place_contact_clone_destroy_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_label_p2",ITc_maps_place_contact_get_label_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_type_p2",ITc_maps_place_contact_get_type_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
-       {"ITc_maps_place_contact_get_value_p2",ITc_maps_place_contact_get_value_p2,ITs_maps_place_contact_startup2,ITs_maps_place_contact_cleanup2},
        {"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},
@@ -513,15 +377,6 @@ testcase tc_array[] = {
        {"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_image_p2",ITc_maps_place_foreach_image_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_clone_destroy_p2",ITc_maps_place_image_clone_destroy_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_ids_p2",ITc_maps_place_image_get_ids_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_media_p2",ITc_maps_place_image_get_media_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_url_p2",ITc_maps_place_image_get_url_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_image_get_user_link_p2",ITc_maps_place_image_get_user_link_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_clone_destroy_p2",ITc_maps_place_link_object_clone_destroy_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_get_id_p2",ITc_maps_place_link_object_get_id_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
-       {"ITc_maps_place_link_object_get_name_p2",ITc_maps_place_link_object_get_name_p2,ITs_maps_place_image_linkobj_startup2,ITs_maps_place_image_linkobj_cleanup2},
        {"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},
@@ -531,15 +386,6 @@ testcase tc_array[] = {
        {"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_place_foreach_review_p2",ITc_maps_place_foreach_review_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_clone_destroy_p2",ITc_maps_place_review_clone_destroy_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_date_p2",ITc_maps_place_review_get_date_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_description_p2",ITc_maps_place_review_get_description_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_language_p2",ITc_maps_place_review_get_language_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_media_p2",ITc_maps_place_review_get_media_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_rating_p2",ITc_maps_place_review_get_rating_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_title_p2",ITc_maps_place_review_get_title_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
-       {"ITc_maps_place_review_get_user_link_p2",ITc_maps_place_review_get_user_link_p2,ITs_maps_place_review_startup2,ITs_maps_place_review_cleanup2},
        {"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},
index 084266d7ad03d2222190c13b180b0c14f53aad66..80376f84463a4c4860153fe059767053a9eacb2e 100755 (executable)
@@ -30,8 +30,6 @@ SET(TC_SOURCES
 
     utc_maps_service_here.c
     utc_maps_view_here.c
-    utc_maps_service_mapzen.c
-    utc_maps_view_mapzen.c
 )
 
 PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
index 490ee117c90cbe7de8a88247c54369b1b3cb3866..63663c5d1b7c2e1bda0d729d9263e9143da5819b 100755 (executable)
@@ -67,10 +67,6 @@ extern void utc_maps_service_startup(void);
 extern void utc_maps_service_cleanup(void);
 extern void utc_maps_view_startup(void);
 extern void utc_maps_view_cleanup(void);
-extern void utc_maps_service_startup2(void);
-extern void utc_maps_service_cleanup2(void);
-extern void utc_maps_view_startup2(void);
-extern void utc_maps_view_cleanup2(void);
 
 extern int utc_maps_address_create_p(void);
 extern int utc_maps_address_create_n(void);
@@ -575,136 +571,6 @@ extern int utc_maps_view_capture_snapshot_p(void);
 extern int utc_maps_view_capture_snapshot_n(void);
 extern int utc_maps_view_destroy_p(void);
 extern int utc_maps_view_destroy_n(void);
-extern int utc_maps_service_foreach_provider_p2(void);
-extern int utc_maps_service_foreach_provider_n2(void);
-extern int utc_maps_service_create_p2(void);
-extern int utc_maps_service_create_n2(void);
-extern int utc_maps_service_destroy_p2(void);
-extern int utc_maps_service_destroy_n2(void);
-extern int utc_maps_service_set_provider_key_p2(void);
-extern int utc_maps_service_set_provider_key_n2(void);
-extern int utc_maps_service_get_provider_key_p2(void);
-extern int utc_maps_service_get_provider_key_n2(void);
-extern int utc_maps_service_set_preference_p2(void);
-extern int utc_maps_service_set_preference_n2(void);
-extern int utc_maps_service_get_preference_p2(void);
-extern int utc_maps_service_get_preference_n2(void);
-extern int utc_maps_service_provider_is_service_supported_p2(void);
-extern int utc_maps_service_provider_is_service_supported_n2(void);
-extern int utc_maps_service_provider_is_data_supported_p2(void);
-extern int utc_maps_service_provider_is_data_supported_n2(void);
-extern int utc_maps_service_geocode_p2(void);
-extern int utc_maps_service_geocode_n2(void);
-extern int utc_maps_service_geocode_inside_area_p2(void);
-extern int utc_maps_service_geocode_inside_area_n2(void);
-extern int utc_maps_service_geocode_by_structured_address_p2(void);
-extern int utc_maps_service_geocode_by_structured_address_n2(void);
-extern int utc_maps_service_reverse_geocode_p2(void);
-extern int utc_maps_service_reverse_geocode_n2(void);
-extern int utc_maps_service_cancel_request_p2(void);
-extern int utc_maps_service_cancel_request_n2(void);
-extern int utc_maps_service_search_route_p2(void);
-extern int utc_maps_service_search_route_n2(void);
-extern int utc_maps_service_search_route_waypoints_p2(void);
-extern int utc_maps_service_search_route_waypoints_n2(void);
-extern int utc_maps_service_search_place_p2(void);
-extern int utc_maps_service_search_place_n2(void);
-extern int utc_maps_service_search_place_by_area_p2(void);
-extern int utc_maps_service_search_place_by_area_n2(void);
-extern int utc_maps_service_search_place_by_address_p2(void);
-extern int utc_maps_service_search_place_by_address_n2(void);
-extern int utc_maps_service_multi_reverse_geocode_p2(void);
-extern int utc_maps_service_multi_reverse_geocode_n2(void);
-extern int utc_maps_service_search_place_list_p2(void);
-extern int utc_maps_service_search_place_list_n2(void);
-extern int utc_maps_service_get_place_details_p2(void);
-extern int utc_maps_service_get_place_details_n2(void);
-extern int utc_maps_service_request_user_consent_p2(void);
-extern int utc_maps_service_request_user_consent_n2(void);
-extern int utc_maps_view_create_p2(void);
-extern int utc_maps_view_create_n2(void);
-extern int utc_maps_view_get_center_p2(void);
-extern int utc_maps_view_get_center_n2(void);
-extern int utc_maps_view_set_center_p2(void);
-extern int utc_maps_view_set_center_n2(void);
-extern int utc_maps_view_get_zoom_level_p2(void);
-extern int utc_maps_view_get_zoom_level_n2(void);
-extern int utc_maps_view_set_zoom_level_p2(void);
-extern int utc_maps_view_set_zoom_level_n2(void);
-extern int utc_maps_view_get_min_zoom_level_p2(void);
-extern int utc_maps_view_get_min_zoom_level_n2(void);
-extern int utc_maps_view_get_max_zoom_level_p2(void);
-extern int utc_maps_view_get_max_zoom_level_n2(void);
-extern int utc_maps_view_set_orientation_p2(void);
-extern int utc_maps_view_set_orientation_n2(void);
-extern int utc_maps_view_get_orientation_p2(void);
-extern int utc_maps_view_get_orientation_n2(void);
-extern int utc_maps_view_screen_to_geolocation_p2(void);
-extern int utc_maps_view_screen_to_geolocation_n2(void);
-extern int utc_maps_view_geolocation_to_screen_p2(void);
-extern int utc_maps_view_geolocation_to_screen_n2(void);
-extern int utc_maps_view_set_type_p2(void);
-extern int utc_maps_view_set_type_n2(void);
-extern int utc_maps_view_get_type_p2(void);
-extern int utc_maps_view_get_type_n2(void);
-extern int utc_maps_view_set_buildings_enabled_p2(void);
-extern int utc_maps_view_set_buildings_enabled_n2(void);
-extern int utc_maps_view_get_buildings_enabled_p2(void);
-extern int utc_maps_view_get_buildings_enabled_n2(void);
-extern int utc_maps_view_set_traffic_enabled_p2(void);
-extern int utc_maps_view_set_traffic_enabled_n2(void);
-extern int utc_maps_view_get_traffic_enabled_p2(void);
-extern int utc_maps_view_get_traffic_enabled_n2(void);
-extern int utc_maps_view_set_public_transit_enabled_p2(void);
-extern int utc_maps_view_set_public_transit_enabled_n2(void);
-extern int utc_maps_view_get_public_transit_enabled_p2(void);
-extern int utc_maps_view_get_public_transit_enabled_n2(void);
-extern int utc_maps_view_set_language_p2(void);
-extern int utc_maps_view_set_language_n2(void);
-extern int utc_maps_view_get_language_p2(void);
-extern int utc_maps_view_get_language_n2(void);
-extern int utc_maps_view_get_viewport_p2(void);
-extern int utc_maps_view_get_viewport_n2(void);
-extern int utc_maps_view_set_screen_location_p2(void);
-extern int utc_maps_view_set_screen_location_n2(void);
-extern int utc_maps_view_get_screen_location_p2(void);
-extern int utc_maps_view_get_screen_location_n2(void);
-extern int utc_maps_view_move_p2(void);
-extern int utc_maps_view_move_n2(void);
-extern int utc_maps_view_resize_p2(void);
-extern int utc_maps_view_resize_n2(void);
-extern int utc_maps_view_set_visibility_p2(void);
-extern int utc_maps_view_set_visibility_n2(void);
-extern int utc_maps_view_get_visibility_p2(void);
-extern int utc_maps_view_get_visibility_n2(void);
-extern int utc_maps_view_set_event_cb_p2(void);
-extern int utc_maps_view_set_event_cb_n2(void);
-extern int utc_maps_view_unset_event_cb_p2(void);
-extern int utc_maps_view_unset_event_cb_n2(void);
-extern int utc_maps_view_set_gesture_enabled_p2(void);
-extern int utc_maps_view_set_gesture_enabled_n2(void);
-extern int utc_maps_view_get_gesture_enabled_p2(void);
-extern int utc_maps_view_get_gesture_enabled_n2(void);
-extern int utc_maps_view_set_scalebar_enabled_p2(void);
-extern int utc_maps_view_set_scalebar_enabled_n2(void);
-extern int utc_maps_view_get_scalebar_enabled_p2(void);
-extern int utc_maps_view_get_scalebar_enabled_n2(void);
-extern int utc_maps_view_add_object_p2(void);
-extern int utc_maps_view_add_object_n2(void);
-extern int utc_maps_view_remove_object_p2(void);
-extern int utc_maps_view_remove_object_n2(void);
-extern int utc_maps_view_remove_all_objects_p2(void);
-extern int utc_maps_view_remove_all_objects_n2(void);
-extern int utc_maps_view_foreach_object_p2(void);
-extern int utc_maps_view_foreach_object_n2(void);
-extern int utc_maps_view_set_min_zoom_level_p2(void);
-extern int utc_maps_view_set_min_zoom_level_n2(void);
-extern int utc_maps_view_set_max_zoom_level_p2(void);
-extern int utc_maps_view_set_max_zoom_level_n2(void);
-extern int utc_maps_view_capture_snapshot_p2(void);
-extern int utc_maps_view_capture_snapshot_n2(void);
-extern int utc_maps_view_destroy_p2(void);
-extern int utc_maps_view_destroy_n2(void);
 
 testcase tc_array[] = {
        {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
@@ -1210,136 +1076,6 @@ testcase tc_array[] = {
        {"utc_maps_view_capture_snapshot_n",utc_maps_view_capture_snapshot_n,utc_maps_view_startup,utc_maps_view_cleanup},
        {"utc_maps_view_destroy_p",utc_maps_view_destroy_p,utc_maps_view_startup,utc_maps_view_cleanup},
        {"utc_maps_view_destroy_n",utc_maps_view_destroy_n,utc_maps_view_startup,utc_maps_view_cleanup},
-       {"utc_maps_service_foreach_provider_p2",utc_maps_service_foreach_provider_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_foreach_provider_n2",utc_maps_service_foreach_provider_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_create_p2",utc_maps_service_create_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_create_n2",utc_maps_service_create_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_destroy_p2",utc_maps_service_destroy_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_destroy_n2",utc_maps_service_destroy_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_provider_key_p2",utc_maps_service_set_provider_key_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_provider_key_n2",utc_maps_service_set_provider_key_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_provider_key_p2",utc_maps_service_get_provider_key_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_provider_key_n2",utc_maps_service_get_provider_key_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_preference_p2",utc_maps_service_set_preference_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_preference_n2",utc_maps_service_set_preference_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_preference_p2",utc_maps_service_get_preference_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_preference_n2",utc_maps_service_get_preference_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_service_supported_p2",utc_maps_service_provider_is_service_supported_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_service_supported_n2",utc_maps_service_provider_is_service_supported_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_data_supported_p2",utc_maps_service_provider_is_data_supported_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_data_supported_n2",utc_maps_service_provider_is_data_supported_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_p2",utc_maps_service_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_n2",utc_maps_service_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_inside_area_p2",utc_maps_service_geocode_inside_area_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_inside_area_n2",utc_maps_service_geocode_inside_area_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_by_structured_address_p2",utc_maps_service_geocode_by_structured_address_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_by_structured_address_n2",utc_maps_service_geocode_by_structured_address_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_reverse_geocode_p2",utc_maps_service_reverse_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_reverse_geocode_n2",utc_maps_service_reverse_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_cancel_request_p2",utc_maps_service_cancel_request_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_cancel_request_n2",utc_maps_service_cancel_request_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_p2",utc_maps_service_search_route_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_n2",utc_maps_service_search_route_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_waypoints_p2",utc_maps_service_search_route_waypoints_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_waypoints_n2",utc_maps_service_search_route_waypoints_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_p2",utc_maps_service_search_place_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_n2",utc_maps_service_search_place_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_area_p2",utc_maps_service_search_place_by_area_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_area_n2",utc_maps_service_search_place_by_area_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_address_p2",utc_maps_service_search_place_by_address_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_address_n2",utc_maps_service_search_place_by_address_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_multi_reverse_geocode_p2",utc_maps_service_multi_reverse_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_multi_reverse_geocode_n2",utc_maps_service_multi_reverse_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_list_p2",utc_maps_service_search_place_list_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_list_n2",utc_maps_service_search_place_list_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_place_details_p2",utc_maps_service_get_place_details_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_place_details_n2",utc_maps_service_get_place_details_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_request_user_consent_p2",utc_maps_service_request_user_consent_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_request_user_consent_n2",utc_maps_service_request_user_consent_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_view_create_p2",utc_maps_view_create_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_create_n2",utc_maps_view_create_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_center_p2",utc_maps_view_get_center_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_center_n2",utc_maps_view_get_center_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_center_p2",utc_maps_view_set_center_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_center_n2",utc_maps_view_set_center_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_zoom_level_p2",utc_maps_view_get_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_zoom_level_n2",utc_maps_view_get_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_zoom_level_p2",utc_maps_view_set_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_zoom_level_n2",utc_maps_view_set_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_min_zoom_level_p2",utc_maps_view_get_min_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_min_zoom_level_n2",utc_maps_view_get_min_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_max_zoom_level_p2",utc_maps_view_get_max_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_max_zoom_level_n2",utc_maps_view_get_max_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_orientation_p2",utc_maps_view_set_orientation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_orientation_n2",utc_maps_view_set_orientation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_orientation_p2",utc_maps_view_get_orientation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_orientation_n2",utc_maps_view_get_orientation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_screen_to_geolocation_p2",utc_maps_view_screen_to_geolocation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_screen_to_geolocation_n2",utc_maps_view_screen_to_geolocation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_geolocation_to_screen_p2",utc_maps_view_geolocation_to_screen_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_geolocation_to_screen_n2",utc_maps_view_geolocation_to_screen_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_type_p2",utc_maps_view_set_type_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_type_n2",utc_maps_view_set_type_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_type_p2",utc_maps_view_get_type_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_type_n2",utc_maps_view_get_type_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_buildings_enabled_p2",utc_maps_view_set_buildings_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_buildings_enabled_n2",utc_maps_view_set_buildings_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_buildings_enabled_p2",utc_maps_view_get_buildings_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_buildings_enabled_n2",utc_maps_view_get_buildings_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_traffic_enabled_p2",utc_maps_view_set_traffic_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_traffic_enabled_n2",utc_maps_view_set_traffic_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_traffic_enabled_p2",utc_maps_view_get_traffic_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_traffic_enabled_n2",utc_maps_view_get_traffic_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_public_transit_enabled_p2",utc_maps_view_set_public_transit_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_public_transit_enabled_n2",utc_maps_view_set_public_transit_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_public_transit_enabled_p2",utc_maps_view_get_public_transit_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_public_transit_enabled_n2",utc_maps_view_get_public_transit_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_language_p2",utc_maps_view_set_language_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_language_n2",utc_maps_view_set_language_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_language_p2",utc_maps_view_get_language_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_language_n2",utc_maps_view_get_language_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_viewport_p2",utc_maps_view_get_viewport_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_viewport_n2",utc_maps_view_get_viewport_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_screen_location_p2",utc_maps_view_set_screen_location_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_screen_location_n2",utc_maps_view_set_screen_location_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_screen_location_p2",utc_maps_view_get_screen_location_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_screen_location_n2",utc_maps_view_get_screen_location_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_move_p2",utc_maps_view_move_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_move_n2",utc_maps_view_move_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_resize_p2",utc_maps_view_resize_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_resize_n2",utc_maps_view_resize_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_visibility_p2",utc_maps_view_set_visibility_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_visibility_n2",utc_maps_view_set_visibility_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_visibility_p2",utc_maps_view_get_visibility_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_visibility_n2",utc_maps_view_get_visibility_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_event_cb_p2",utc_maps_view_set_event_cb_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_event_cb_n2",utc_maps_view_set_event_cb_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_unset_event_cb_p2",utc_maps_view_unset_event_cb_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_unset_event_cb_n2",utc_maps_view_unset_event_cb_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_gesture_enabled_p2",utc_maps_view_set_gesture_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_gesture_enabled_n2",utc_maps_view_set_gesture_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_gesture_enabled_p2",utc_maps_view_get_gesture_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_gesture_enabled_n2",utc_maps_view_get_gesture_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_scalebar_enabled_p2",utc_maps_view_set_scalebar_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_scalebar_enabled_n2",utc_maps_view_set_scalebar_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_scalebar_enabled_p2",utc_maps_view_get_scalebar_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_scalebar_enabled_n2",utc_maps_view_get_scalebar_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_add_object_p2",utc_maps_view_add_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_add_object_n2",utc_maps_view_add_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_object_p2",utc_maps_view_remove_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_object_n2",utc_maps_view_remove_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_all_objects_p2",utc_maps_view_remove_all_objects_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_all_objects_n2",utc_maps_view_remove_all_objects_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_foreach_object_p2",utc_maps_view_foreach_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_foreach_object_n2",utc_maps_view_foreach_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_min_zoom_level_p2",utc_maps_view_set_min_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_min_zoom_level_n2",utc_maps_view_set_min_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_max_zoom_level_p2",utc_maps_view_set_max_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_max_zoom_level_n2",utc_maps_view_set_max_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_capture_snapshot_p2",utc_maps_view_capture_snapshot_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_capture_snapshot_n2",utc_maps_view_capture_snapshot_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_destroy_p2",utc_maps_view_destroy_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_destroy_n2",utc_maps_view_destroy_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
        {NULL, NULL}
 };
 
index 490ee117c90cbe7de8a88247c54369b1b3cb3866..63663c5d1b7c2e1bda0d729d9263e9143da5819b 100755 (executable)
@@ -67,10 +67,6 @@ extern void utc_maps_service_startup(void);
 extern void utc_maps_service_cleanup(void);
 extern void utc_maps_view_startup(void);
 extern void utc_maps_view_cleanup(void);
-extern void utc_maps_service_startup2(void);
-extern void utc_maps_service_cleanup2(void);
-extern void utc_maps_view_startup2(void);
-extern void utc_maps_view_cleanup2(void);
 
 extern int utc_maps_address_create_p(void);
 extern int utc_maps_address_create_n(void);
@@ -575,136 +571,6 @@ extern int utc_maps_view_capture_snapshot_p(void);
 extern int utc_maps_view_capture_snapshot_n(void);
 extern int utc_maps_view_destroy_p(void);
 extern int utc_maps_view_destroy_n(void);
-extern int utc_maps_service_foreach_provider_p2(void);
-extern int utc_maps_service_foreach_provider_n2(void);
-extern int utc_maps_service_create_p2(void);
-extern int utc_maps_service_create_n2(void);
-extern int utc_maps_service_destroy_p2(void);
-extern int utc_maps_service_destroy_n2(void);
-extern int utc_maps_service_set_provider_key_p2(void);
-extern int utc_maps_service_set_provider_key_n2(void);
-extern int utc_maps_service_get_provider_key_p2(void);
-extern int utc_maps_service_get_provider_key_n2(void);
-extern int utc_maps_service_set_preference_p2(void);
-extern int utc_maps_service_set_preference_n2(void);
-extern int utc_maps_service_get_preference_p2(void);
-extern int utc_maps_service_get_preference_n2(void);
-extern int utc_maps_service_provider_is_service_supported_p2(void);
-extern int utc_maps_service_provider_is_service_supported_n2(void);
-extern int utc_maps_service_provider_is_data_supported_p2(void);
-extern int utc_maps_service_provider_is_data_supported_n2(void);
-extern int utc_maps_service_geocode_p2(void);
-extern int utc_maps_service_geocode_n2(void);
-extern int utc_maps_service_geocode_inside_area_p2(void);
-extern int utc_maps_service_geocode_inside_area_n2(void);
-extern int utc_maps_service_geocode_by_structured_address_p2(void);
-extern int utc_maps_service_geocode_by_structured_address_n2(void);
-extern int utc_maps_service_reverse_geocode_p2(void);
-extern int utc_maps_service_reverse_geocode_n2(void);
-extern int utc_maps_service_cancel_request_p2(void);
-extern int utc_maps_service_cancel_request_n2(void);
-extern int utc_maps_service_search_route_p2(void);
-extern int utc_maps_service_search_route_n2(void);
-extern int utc_maps_service_search_route_waypoints_p2(void);
-extern int utc_maps_service_search_route_waypoints_n2(void);
-extern int utc_maps_service_search_place_p2(void);
-extern int utc_maps_service_search_place_n2(void);
-extern int utc_maps_service_search_place_by_area_p2(void);
-extern int utc_maps_service_search_place_by_area_n2(void);
-extern int utc_maps_service_search_place_by_address_p2(void);
-extern int utc_maps_service_search_place_by_address_n2(void);
-extern int utc_maps_service_multi_reverse_geocode_p2(void);
-extern int utc_maps_service_multi_reverse_geocode_n2(void);
-extern int utc_maps_service_search_place_list_p2(void);
-extern int utc_maps_service_search_place_list_n2(void);
-extern int utc_maps_service_get_place_details_p2(void);
-extern int utc_maps_service_get_place_details_n2(void);
-extern int utc_maps_service_request_user_consent_p2(void);
-extern int utc_maps_service_request_user_consent_n2(void);
-extern int utc_maps_view_create_p2(void);
-extern int utc_maps_view_create_n2(void);
-extern int utc_maps_view_get_center_p2(void);
-extern int utc_maps_view_get_center_n2(void);
-extern int utc_maps_view_set_center_p2(void);
-extern int utc_maps_view_set_center_n2(void);
-extern int utc_maps_view_get_zoom_level_p2(void);
-extern int utc_maps_view_get_zoom_level_n2(void);
-extern int utc_maps_view_set_zoom_level_p2(void);
-extern int utc_maps_view_set_zoom_level_n2(void);
-extern int utc_maps_view_get_min_zoom_level_p2(void);
-extern int utc_maps_view_get_min_zoom_level_n2(void);
-extern int utc_maps_view_get_max_zoom_level_p2(void);
-extern int utc_maps_view_get_max_zoom_level_n2(void);
-extern int utc_maps_view_set_orientation_p2(void);
-extern int utc_maps_view_set_orientation_n2(void);
-extern int utc_maps_view_get_orientation_p2(void);
-extern int utc_maps_view_get_orientation_n2(void);
-extern int utc_maps_view_screen_to_geolocation_p2(void);
-extern int utc_maps_view_screen_to_geolocation_n2(void);
-extern int utc_maps_view_geolocation_to_screen_p2(void);
-extern int utc_maps_view_geolocation_to_screen_n2(void);
-extern int utc_maps_view_set_type_p2(void);
-extern int utc_maps_view_set_type_n2(void);
-extern int utc_maps_view_get_type_p2(void);
-extern int utc_maps_view_get_type_n2(void);
-extern int utc_maps_view_set_buildings_enabled_p2(void);
-extern int utc_maps_view_set_buildings_enabled_n2(void);
-extern int utc_maps_view_get_buildings_enabled_p2(void);
-extern int utc_maps_view_get_buildings_enabled_n2(void);
-extern int utc_maps_view_set_traffic_enabled_p2(void);
-extern int utc_maps_view_set_traffic_enabled_n2(void);
-extern int utc_maps_view_get_traffic_enabled_p2(void);
-extern int utc_maps_view_get_traffic_enabled_n2(void);
-extern int utc_maps_view_set_public_transit_enabled_p2(void);
-extern int utc_maps_view_set_public_transit_enabled_n2(void);
-extern int utc_maps_view_get_public_transit_enabled_p2(void);
-extern int utc_maps_view_get_public_transit_enabled_n2(void);
-extern int utc_maps_view_set_language_p2(void);
-extern int utc_maps_view_set_language_n2(void);
-extern int utc_maps_view_get_language_p2(void);
-extern int utc_maps_view_get_language_n2(void);
-extern int utc_maps_view_get_viewport_p2(void);
-extern int utc_maps_view_get_viewport_n2(void);
-extern int utc_maps_view_set_screen_location_p2(void);
-extern int utc_maps_view_set_screen_location_n2(void);
-extern int utc_maps_view_get_screen_location_p2(void);
-extern int utc_maps_view_get_screen_location_n2(void);
-extern int utc_maps_view_move_p2(void);
-extern int utc_maps_view_move_n2(void);
-extern int utc_maps_view_resize_p2(void);
-extern int utc_maps_view_resize_n2(void);
-extern int utc_maps_view_set_visibility_p2(void);
-extern int utc_maps_view_set_visibility_n2(void);
-extern int utc_maps_view_get_visibility_p2(void);
-extern int utc_maps_view_get_visibility_n2(void);
-extern int utc_maps_view_set_event_cb_p2(void);
-extern int utc_maps_view_set_event_cb_n2(void);
-extern int utc_maps_view_unset_event_cb_p2(void);
-extern int utc_maps_view_unset_event_cb_n2(void);
-extern int utc_maps_view_set_gesture_enabled_p2(void);
-extern int utc_maps_view_set_gesture_enabled_n2(void);
-extern int utc_maps_view_get_gesture_enabled_p2(void);
-extern int utc_maps_view_get_gesture_enabled_n2(void);
-extern int utc_maps_view_set_scalebar_enabled_p2(void);
-extern int utc_maps_view_set_scalebar_enabled_n2(void);
-extern int utc_maps_view_get_scalebar_enabled_p2(void);
-extern int utc_maps_view_get_scalebar_enabled_n2(void);
-extern int utc_maps_view_add_object_p2(void);
-extern int utc_maps_view_add_object_n2(void);
-extern int utc_maps_view_remove_object_p2(void);
-extern int utc_maps_view_remove_object_n2(void);
-extern int utc_maps_view_remove_all_objects_p2(void);
-extern int utc_maps_view_remove_all_objects_n2(void);
-extern int utc_maps_view_foreach_object_p2(void);
-extern int utc_maps_view_foreach_object_n2(void);
-extern int utc_maps_view_set_min_zoom_level_p2(void);
-extern int utc_maps_view_set_min_zoom_level_n2(void);
-extern int utc_maps_view_set_max_zoom_level_p2(void);
-extern int utc_maps_view_set_max_zoom_level_n2(void);
-extern int utc_maps_view_capture_snapshot_p2(void);
-extern int utc_maps_view_capture_snapshot_n2(void);
-extern int utc_maps_view_destroy_p2(void);
-extern int utc_maps_view_destroy_n2(void);
 
 testcase tc_array[] = {
        {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
@@ -1210,136 +1076,6 @@ testcase tc_array[] = {
        {"utc_maps_view_capture_snapshot_n",utc_maps_view_capture_snapshot_n,utc_maps_view_startup,utc_maps_view_cleanup},
        {"utc_maps_view_destroy_p",utc_maps_view_destroy_p,utc_maps_view_startup,utc_maps_view_cleanup},
        {"utc_maps_view_destroy_n",utc_maps_view_destroy_n,utc_maps_view_startup,utc_maps_view_cleanup},
-       {"utc_maps_service_foreach_provider_p2",utc_maps_service_foreach_provider_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_foreach_provider_n2",utc_maps_service_foreach_provider_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_create_p2",utc_maps_service_create_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_create_n2",utc_maps_service_create_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_destroy_p2",utc_maps_service_destroy_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_destroy_n2",utc_maps_service_destroy_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_provider_key_p2",utc_maps_service_set_provider_key_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_provider_key_n2",utc_maps_service_set_provider_key_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_provider_key_p2",utc_maps_service_get_provider_key_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_provider_key_n2",utc_maps_service_get_provider_key_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_preference_p2",utc_maps_service_set_preference_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_set_preference_n2",utc_maps_service_set_preference_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_preference_p2",utc_maps_service_get_preference_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_preference_n2",utc_maps_service_get_preference_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_service_supported_p2",utc_maps_service_provider_is_service_supported_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_service_supported_n2",utc_maps_service_provider_is_service_supported_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_data_supported_p2",utc_maps_service_provider_is_data_supported_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_provider_is_data_supported_n2",utc_maps_service_provider_is_data_supported_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_p2",utc_maps_service_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_n2",utc_maps_service_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_inside_area_p2",utc_maps_service_geocode_inside_area_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_inside_area_n2",utc_maps_service_geocode_inside_area_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_by_structured_address_p2",utc_maps_service_geocode_by_structured_address_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_geocode_by_structured_address_n2",utc_maps_service_geocode_by_structured_address_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_reverse_geocode_p2",utc_maps_service_reverse_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_reverse_geocode_n2",utc_maps_service_reverse_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_cancel_request_p2",utc_maps_service_cancel_request_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_cancel_request_n2",utc_maps_service_cancel_request_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_p2",utc_maps_service_search_route_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_n2",utc_maps_service_search_route_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_waypoints_p2",utc_maps_service_search_route_waypoints_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_route_waypoints_n2",utc_maps_service_search_route_waypoints_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_p2",utc_maps_service_search_place_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_n2",utc_maps_service_search_place_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_area_p2",utc_maps_service_search_place_by_area_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_area_n2",utc_maps_service_search_place_by_area_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_address_p2",utc_maps_service_search_place_by_address_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_by_address_n2",utc_maps_service_search_place_by_address_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_multi_reverse_geocode_p2",utc_maps_service_multi_reverse_geocode_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_multi_reverse_geocode_n2",utc_maps_service_multi_reverse_geocode_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_list_p2",utc_maps_service_search_place_list_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_search_place_list_n2",utc_maps_service_search_place_list_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_place_details_p2",utc_maps_service_get_place_details_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_get_place_details_n2",utc_maps_service_get_place_details_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_request_user_consent_p2",utc_maps_service_request_user_consent_p2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_service_request_user_consent_n2",utc_maps_service_request_user_consent_n2,utc_maps_service_startup2,utc_maps_service_cleanup2},
-       {"utc_maps_view_create_p2",utc_maps_view_create_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_create_n2",utc_maps_view_create_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_center_p2",utc_maps_view_get_center_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_center_n2",utc_maps_view_get_center_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_center_p2",utc_maps_view_set_center_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_center_n2",utc_maps_view_set_center_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_zoom_level_p2",utc_maps_view_get_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_zoom_level_n2",utc_maps_view_get_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_zoom_level_p2",utc_maps_view_set_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_zoom_level_n2",utc_maps_view_set_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_min_zoom_level_p2",utc_maps_view_get_min_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_min_zoom_level_n2",utc_maps_view_get_min_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_max_zoom_level_p2",utc_maps_view_get_max_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_max_zoom_level_n2",utc_maps_view_get_max_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_orientation_p2",utc_maps_view_set_orientation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_orientation_n2",utc_maps_view_set_orientation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_orientation_p2",utc_maps_view_get_orientation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_orientation_n2",utc_maps_view_get_orientation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_screen_to_geolocation_p2",utc_maps_view_screen_to_geolocation_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_screen_to_geolocation_n2",utc_maps_view_screen_to_geolocation_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_geolocation_to_screen_p2",utc_maps_view_geolocation_to_screen_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_geolocation_to_screen_n2",utc_maps_view_geolocation_to_screen_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_type_p2",utc_maps_view_set_type_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_type_n2",utc_maps_view_set_type_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_type_p2",utc_maps_view_get_type_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_type_n2",utc_maps_view_get_type_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_buildings_enabled_p2",utc_maps_view_set_buildings_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_buildings_enabled_n2",utc_maps_view_set_buildings_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_buildings_enabled_p2",utc_maps_view_get_buildings_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_buildings_enabled_n2",utc_maps_view_get_buildings_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_traffic_enabled_p2",utc_maps_view_set_traffic_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_traffic_enabled_n2",utc_maps_view_set_traffic_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_traffic_enabled_p2",utc_maps_view_get_traffic_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_traffic_enabled_n2",utc_maps_view_get_traffic_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_public_transit_enabled_p2",utc_maps_view_set_public_transit_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_public_transit_enabled_n2",utc_maps_view_set_public_transit_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_public_transit_enabled_p2",utc_maps_view_get_public_transit_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_public_transit_enabled_n2",utc_maps_view_get_public_transit_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_language_p2",utc_maps_view_set_language_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_language_n2",utc_maps_view_set_language_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_language_p2",utc_maps_view_get_language_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_language_n2",utc_maps_view_get_language_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_viewport_p2",utc_maps_view_get_viewport_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_viewport_n2",utc_maps_view_get_viewport_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_screen_location_p2",utc_maps_view_set_screen_location_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_screen_location_n2",utc_maps_view_set_screen_location_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_screen_location_p2",utc_maps_view_get_screen_location_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_screen_location_n2",utc_maps_view_get_screen_location_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_move_p2",utc_maps_view_move_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_move_n2",utc_maps_view_move_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_resize_p2",utc_maps_view_resize_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_resize_n2",utc_maps_view_resize_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_visibility_p2",utc_maps_view_set_visibility_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_visibility_n2",utc_maps_view_set_visibility_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_visibility_p2",utc_maps_view_get_visibility_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_visibility_n2",utc_maps_view_get_visibility_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_event_cb_p2",utc_maps_view_set_event_cb_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_event_cb_n2",utc_maps_view_set_event_cb_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_unset_event_cb_p2",utc_maps_view_unset_event_cb_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_unset_event_cb_n2",utc_maps_view_unset_event_cb_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_gesture_enabled_p2",utc_maps_view_set_gesture_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_gesture_enabled_n2",utc_maps_view_set_gesture_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_gesture_enabled_p2",utc_maps_view_get_gesture_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_gesture_enabled_n2",utc_maps_view_get_gesture_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_scalebar_enabled_p2",utc_maps_view_set_scalebar_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_scalebar_enabled_n2",utc_maps_view_set_scalebar_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_scalebar_enabled_p2",utc_maps_view_get_scalebar_enabled_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_get_scalebar_enabled_n2",utc_maps_view_get_scalebar_enabled_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_add_object_p2",utc_maps_view_add_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_add_object_n2",utc_maps_view_add_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_object_p2",utc_maps_view_remove_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_object_n2",utc_maps_view_remove_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_all_objects_p2",utc_maps_view_remove_all_objects_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_remove_all_objects_n2",utc_maps_view_remove_all_objects_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_foreach_object_p2",utc_maps_view_foreach_object_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_foreach_object_n2",utc_maps_view_foreach_object_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_min_zoom_level_p2",utc_maps_view_set_min_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_min_zoom_level_n2",utc_maps_view_set_min_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_max_zoom_level_p2",utc_maps_view_set_max_zoom_level_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_set_max_zoom_level_n2",utc_maps_view_set_max_zoom_level_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_capture_snapshot_p2",utc_maps_view_capture_snapshot_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_capture_snapshot_n2",utc_maps_view_capture_snapshot_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_destroy_p2",utc_maps_view_destroy_p2,utc_maps_view_startup2,utc_maps_view_cleanup2},
-       {"utc_maps_view_destroy_n2",utc_maps_view_destroy_n2,utc_maps_view_startup2,utc_maps_view_cleanup2},
        {NULL, NULL}
 };
 
diff --git a/src/utc/capi-maps-service/utc_maps_service_mapzen.c b/src/utc/capi-maps-service/utc_maps_service_mapzen.c
deleted file mode 100755 (executable)
index d559134..0000000
+++ /dev/null
@@ -1,2430 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <string.h>
-#include "assert.h"
-#include <maps_error.h>
-#include <maps_service.h>
-#include <unistd.h>
-#include <glib.h>
-#include "utc_maps_utils.h"
-
-
-static int ret = 0;
-static maps_service_h __pMaps = NULL;
-static bool service_available = false;
-static GMainLoop *mainloop = NULL;
-static maps_preference_h __preference = NULL;
-static char *__place_uri = NULL;
-static char maps_provider_key[CONFIG_VALUE_LEN_MAX] = {0,};
-static const int INVALID_REQUEST_ID = -1;
-static bool is_internet_supported = false;
-static bool is_maps_supported = false;
-static bool is_mapzen_included = false;
-
-/**
- * @function           utc_maps_service_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return                     NA
- */
-void utc_maps_service_startup2(void)
-{
-       if (__pMaps) return;
-
-       is_internet_supported = _is_internet_feature_supported();
-       is_maps_supported = _is_maps_feature_supported();
-       is_mapzen_included = _is_included_mapzen_plugin();
-
-       GetValueFromConfigFile("MAPZEN_MAPS_PROVIDER_KEY", maps_provider_key, API_NAMESPACE);
-
-       maps_service_create(__utc_get_maps_provider_name_mapzen(), &__pMaps);
-       maps_service_set_provider_key(__pMaps, maps_provider_key);
-
-       maps_preference_create(&__preference);
-       maps_preference_set_max_results(__preference, 10);
-       maps_service_set_preference(__pMaps, __preference);
-}
-
-/**
- * @function           utc_maps_service_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return                     NA
- */
-void utc_maps_service_cleanup2(void)
-{
-       maps_preference_destroy(__preference);
-       maps_service_destroy(__pMaps);
-
-       __preference = NULL;
-       __pMaps = NULL;
-
-       ret = 0;
-       mainloop = NULL;
-}
-
-static gboolean timeout_func(gpointer data)
-{
-       g_main_loop_quit((GMainLoop *) data);
-       g_main_loop_unref((GMainLoop *) data);
-       return FALSE;
-}
-
-static void wait_for_service(void)
-{
-       int timeout_id = 0;
-       mainloop = g_main_loop_new(NULL, FALSE);
-
-       timeout_id = g_timeout_add(30000, timeout_func, mainloop);
-       g_main_loop_run(mainloop);
-       g_source_remove(timeout_id);
-}
-
-static void quit_for_service(void)
-{
-       if (mainloop) {
-               g_main_loop_quit(mainloop);
-               g_main_loop_unref(mainloop);
-               mainloop = NULL;
-       }
-}
-
-static bool __utc_maps_service_provider_info_cb(char *maps_provider, void *user_data)
-{
-       if (strcmp("MAPZEN", maps_provider) == 0)
-               service_available = true;
-       free(maps_provider);
-       return true;
-}
-
-/**
- * @testcase           utc_maps_service_foreach_provider_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_foreach_provider()
- */
-int utc_maps_service_foreach_provider_p2(void)
-{
-       ret = maps_service_foreach_provider(__utc_maps_service_provider_info_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-       if (is_maps_supported && is_mapzen_included)
-               assert(service_available);
-       service_available = false;
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_foreach_provider_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_foreach_provider()
- */
-int utc_maps_service_foreach_provider_n2(void)
-{
-       ret = maps_service_foreach_provider(NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_create_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_create()
- */
-int utc_maps_service_create_p2(void)
-{
-       maps_service_h service = NULL;
-
-       ret = maps_service_create(__utc_get_maps_provider_name_mapzen(), &service);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-       if (is_maps_supported && is_mapzen_included)
-               assert(service);
-
-       ret = maps_service_destroy(service);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_create_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_create()
- */
-int utc_maps_service_create_n2(void)
-{
-       maps_service_h maps = NULL;
-
-       ret = maps_service_create(__utc_get_maps_provider_name_mapzen(), NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_create(NULL, &maps);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_create(NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_create("test", &maps);
-       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_destroy_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_destroy()
- */
-int utc_maps_service_destroy_p2(void)
-{
-       /* tested in utc_maps_service_create_p2 */
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_destroy_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_destroy()
- */
-int utc_maps_service_destroy_n2(void)
-{
-       ret = maps_service_destroy(NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_set_provider_key_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_set_provider_key()
- */
-int utc_maps_service_set_provider_key_p2(void)
-{
-       ret = maps_service_set_provider_key(__pMaps, maps_provider_key);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_set_provider_key_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_set_provider_key()
- */
-int utc_maps_service_set_provider_key_n2(void)
-{
-       ret = maps_service_set_provider_key(__pMaps, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_set_provider_key(NULL, maps_provider_key);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_set_provider_key(NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_get_provider_key_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_get_provider_key()
- */
-int utc_maps_service_get_provider_key_p2(void)
-{
-       char *maps_key = NULL;
-
-       ret = maps_service_get_provider_key(__pMaps, &maps_key);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       if (is_maps_supported && is_mapzen_included)
-               assert(maps_key);
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_get_provider_key_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_get_provider_key()
- */
-int utc_maps_service_get_provider_key_n2(void)
-{
-       char *maps_key = NULL;
-
-       ret = maps_service_get_provider_key(NULL, &maps_key);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_get_provider_key(__pMaps, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_set_preference_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_set_preference()
- */
-int utc_maps_service_set_preference_p2(void)
-{
-       maps_preference_h preference;
-
-       ret = maps_preference_create(&preference);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_preference_set_max_results(preference, 10);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_set_preference(__pMaps, preference);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_preference_destroy(preference);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_set_preference_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_set_preference()
- */
-int utc_maps_service_set_preference_n2(void)
-{
-       ret = maps_service_set_preference(__pMaps, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_set_preference(NULL, __preference);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_set_preference(NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_get_preference_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_get_preference()
- */
-int utc_maps_service_get_preference_p2(void)
-{
-       maps_preference_h preference = NULL;
-
-       ret = maps_service_get_preference(__pMaps, &preference);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_get_preference_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_get_preference()
- */
-int utc_maps_service_get_preference_n2(void)
-{
-       maps_preference_h pref = NULL;
-
-       ret = maps_service_get_preference(__pMaps, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_get_preference(NULL, &pref);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_get_preference(NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_provider_is_service_supported_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_provider_is_service_supported()
- */
-int utc_maps_service_provider_is_service_supported_p2(void)
-{
-       bool test = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_INSIDE_AREA, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_BY_STRUCTURED_ADDRESS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_REVERSE_GEOCODE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_AREA, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_ADDRESS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE_WAYPOINTS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_CANCEL_REQUEST, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_MULTI_REVERSE_GEOCODE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_LIST, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW_SNAPSHOT, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_provider_is_service_supported_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_provider_is_service_supported()
- */
-int utc_maps_service_provider_is_service_supported_n2(void)
-{
-       bool test = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, 100, &test);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_service_supported(NULL, MAPS_SERVICE_GEOCODE, &test);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_service_supported(__pMaps, -1, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_provider_is_data_supported_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_provider_is_data_supported()
- */
-int utc_maps_service_provider_is_data_supported_p2(void)
-{
-       bool test = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_ADDRESS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_RATING, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_CATEGORIES, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_ATTRIBUTES, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_CONTACTS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_EDITORIALS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_REVIEWS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_IMAGE, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_SUPPLIER, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_RELATED, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_PATH, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_SEGMENTS_PATH, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_SEGMENTS_MANEUVERS, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &test);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_provider_is_data_supported_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_provider_is_data_supported()
- */
-int utc_maps_service_provider_is_data_supported_n2(void)
-{
-       bool test = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, 100, &test);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_data_supported(NULL, MAPS_PLACE_ADDRESS, &test);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_data_supported(__pMaps, -1, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_ADDRESS, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-static bool __utc_maps_location_foreach_cb(maps_error_e result, int request_id, int index, int total, maps_coordinates_h coord, void *user_data)
-{
-       maps_coordinates_destroy(coord);
-
-       if (result == MAPS_ERROR_NONE) {
-               if (index + 1 < total) return true;
-               service_available = true;
-       }
-
-       quit_for_service();
-       return false;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_geocode()
- */
-int utc_maps_service_geocode_p2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE, &is_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode(__pMaps, "Berlin", __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_geocode_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       if (is_internet_supported && is_maps_supported && is_geocode_supported) {
-               wait_for_service();
-               assert(service_available);
-               service_available = false;
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_geocode()
- */
-int utc_maps_service_geocode_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE, &is_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode(NULL, "Bangalore, India", __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_geocode(__pMaps, NULL, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, __utc_maps_location_foreach_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode(NULL, NULL, NULL, NULL, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_inside_area_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_geocode_inside_area()
- */
-int utc_maps_service_geocode_inside_area_p2(void)
-{
-       maps_area_h boundary = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_inside_area_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_INSIDE_AREA, &is_geocode_inside_area_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &boundary);
-
-               maps_coordinates_destroy(top_left);
-               maps_coordinates_destroy(bottom_right);
-
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(boundary);
-
-               ret = maps_service_geocode_inside_area(__pMaps, "Bengaluru", boundary, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-               if (is_geocode_inside_area_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_area_destroy(boundary);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else {
-                       maps_area_destroy(boundary);
-
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               }
-       } else {
-               ret = maps_service_geocode_inside_area(__pMaps, "Bengaluru", boundary, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_inside_area_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_geocode_inside_area()
- */
-int utc_maps_service_geocode_inside_area_n2(void)
-{
-       maps_area_h boundary = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_inside_area_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_INSIDE_AREA, &is_geocode_inside_area_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported) {
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &boundary);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(boundary);
-       }
-
-       ret = maps_service_geocode_inside_area(NULL, "Berlin", boundary, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_geocode_inside_area(__pMaps, NULL, boundary, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_inside_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_inside_area(__pMaps, "Berlin", NULL, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_inside_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_inside_area(__pMaps, "Berlin", boundary, __preference, NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_inside_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_inside_area(__pMaps, "Berlin", boundary, __preference, __utc_maps_location_foreach_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_inside_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_inside_area(NULL, NULL, NULL, NULL, NULL, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(top_left);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(bottom_right);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_area_destroy(boundary);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_by_structured_address_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_geocode_by_structured_address()
- */
-int utc_maps_service_geocode_by_structured_address_p2(void)
-{
-       maps_address_h address = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_by_structured_address_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_BY_STRUCTURED_ADDRESS, &is_geocode_by_structured_address_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_address_create(&address);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(address);
-
-               ret = maps_address_set_city(address, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-               /* maps_address_set_street(address, "Rosa-Luxemburg"); */
-               /* assert_eq(ret, MAPS_ERROR_NONE); */
-               /* maps_address_set_building_number(address, "13"); */
-               /* assert_eq(ret, MAPS_ERROR_NONE); */
-
-               ret = maps_service_geocode_by_structured_address(__pMaps, address, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-               if (is_geocode_by_structured_address_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_address_destroy(address);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else {
-                       maps_address_destroy(address);
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               }
-       } else {
-               ret = maps_service_geocode_by_structured_address(__pMaps, address, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_geocode_by_structured_address_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_geocode_by_structured_address()
- */
-int utc_maps_service_geocode_by_structured_address_n2(void)
-{
-       maps_address_h address = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_geocode_by_structured_address_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_BY_STRUCTURED_ADDRESS, &is_geocode_by_structured_address_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported) {
-               ret = maps_address_create(&address);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(address);
-       }
-
-       ret = maps_address_set_city(address, "Seoul");
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_geocode_by_structured_address(NULL, address, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_geocode_by_structured_address(__pMaps, NULL, __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_by_structured_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_by_structured_address(__pMaps, address, __preference, NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_by_structured_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_by_structured_address(__pMaps, address, __preference, __utc_maps_location_foreach_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_geocode_by_structured_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_geocode_by_structured_address(NULL, NULL, NULL, NULL, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_address_destroy(address);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-static void __utc_maps_address_foreach_cb(maps_error_e result, int request_id, int index, int total, maps_address_h address, void *user_data)
-{
-       maps_address_destroy(address);
-
-       if (result == MAPS_ERROR_NONE) {
-               if (index + 1 < total) return;
-               service_available = true;
-       }
-
-       quit_for_service();
-}
-
-/**
- * @testcase           utc_maps_service_reverse_geocode_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_reverse_geocode()
- */
-int utc_maps_service_reverse_geocode_p2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_reverse_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_REVERSE_GEOCODE, &is_reverse_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(__pMaps, 12.944594, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_reverse_geocode_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-               wait_for_service();
-               assert(service_available);
-               service_available = false;
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_reverse_geocode_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_reverse_geocode()
- */
-int utc_maps_service_reverse_geocode_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_reverse_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_REVERSE_GEOCODE, &is_reverse_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(NULL, 12.944594, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_reverse_geocode(__pMaps,  12.944594, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(__pMaps,  -91.00, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(__pMaps,  12.944594, 181.4546, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(__pMaps,  12.944594, 77.554303, __preference, NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_reverse_geocode(NULL,  12.944594, 77.554303, NULL, NULL, NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_cancel_request_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_cancel_request()
- */
-int utc_maps_service_cancel_request_p2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_cancel_request_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_CANCEL_REQUEST, &is_cancel_request_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_service_cancel_request(__pMaps, request_id);
-               ASSERT_IF_VAL_REF2(ret, is_cancel_request_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ret = maps_service_cancel_request(__pMaps, request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_cancel_request_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_cancel_request()
- */
-int utc_maps_service_cancel_request_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_cancel_request_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_CANCEL_REQUEST, &is_cancel_request_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_cancel_request(NULL, request_id);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_cancel_request(__pMaps, -1);
-       if (is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_cancel_request_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_cancel_request(NULL, -1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-static bool __utc_maps_route_service_found_cb(maps_error_e result, int request_id, int index, int total, maps_route_h route, void *user_data)
-{
-       maps_route_destroy(route);
-
-       if (result == MAPS_ERROR_NONE) {
-               if (index + 1 < total) return true;
-               service_available = true;
-       }
-
-       quit_for_service();
-       return false;
-}
-
-/**
- * @testcase           utc_maps_service_search_route_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_route()
- */
-int utc_maps_service_search_route_p2(void)
-{
-       maps_coordinates_h origin = NULL;
-       maps_coordinates_h dest = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_route_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE, &is_search_route_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               maps_coordinates_create(37.564263, 126.974676, &origin);
-               maps_coordinates_create(37.557120, 126.992410, &dest);
-               assert(origin);
-               assert(dest);
-
-               ret = maps_service_search_route(__pMaps, origin, dest, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               if (is_search_route_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_coordinates_destroy(origin);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-                       ret = maps_coordinates_destroy(dest);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               }
-       } else {
-               ret = maps_service_search_route(__pMaps, origin, dest, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_route_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_route()
- */
-int utc_maps_service_search_route_n2(void)
-{
-       maps_coordinates_h origin = NULL;
-       maps_coordinates_h dest = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_route_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE, &is_search_route_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported) {
-               ret = maps_coordinates_create(37.564263, 126.974676, &origin);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(origin);
-
-               ret = maps_coordinates_create(37.557120, 126.992410, &dest);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(dest);
-       }
-       ret = maps_service_search_route(NULL, origin, dest, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_search_route(__pMaps, NULL, dest, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_search_route_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_search_route(__pMaps, origin, NULL, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_search_route_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_search_route(__pMaps, origin, dest, __preference,  NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_search_route_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_search_route(__pMaps, origin, dest, __preference, __utc_maps_route_service_found_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_search_route_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_search_route(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(origin);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(dest);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_route_waypoints_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_route_waypoints()
- */
-int utc_maps_service_search_route_waypoints_p2(void)
-{
-       maps_coordinates_h *waypoints = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_route_waypoint_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE_WAYPOINTS, &is_search_route_waypoint_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               waypoints = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*3);
-               maps_coordinates_create(37.564263, 126.974676, &waypoints[0]);
-               maps_coordinates_create(37.557120, 126.992410, &waypoints[1]);
-               maps_coordinates_create(37.550120, 126.982410, &waypoints[2]);
-               assert(waypoints[0]);
-               assert(waypoints[1]);
-               assert(waypoints[2]);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               if (is_search_route_waypoint_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_coordinates_destroy(waypoints[0]);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-                       ret = maps_coordinates_destroy(waypoints[1]);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-                       ret = maps_coordinates_destroy(waypoints[2]);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               }
-               g_free(waypoints);
-       } else {
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_route_waypoints_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_route_waypoints()
- */
-int utc_maps_service_search_route_waypoints_n2(void)
-{
-       maps_coordinates_h *waypoints = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_route_waypoint_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE_WAYPOINTS, &is_search_route_waypoint_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               waypoints = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*3);
-               maps_coordinates_create(37.564263, 126.974676, &waypoints[0]);
-               maps_coordinates_create(37.557120, 126.992410, &waypoints[1]);
-               maps_coordinates_create(37.550120, 126.982410, &waypoints[2]);
-               assert(waypoints[0]);
-               assert(waypoints[1]);
-               assert(waypoints[2]);
-
-               ret = maps_service_search_route_waypoints(NULL, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, NULL, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_route_waypoint_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_route_waypoint_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_route_waypoint_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, -1, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_route_waypoint_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(NULL, NULL, 0, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               assert(!service_available);
-               service_available = false;
-
-               ret = maps_coordinates_destroy(waypoints[0]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               ret = maps_coordinates_destroy(waypoints[1]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               ret = maps_coordinates_destroy(waypoints[2]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               g_free(waypoints);
-       } else {
-               ret = maps_service_search_route_waypoints(NULL, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, NULL, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(__pMaps, waypoints, -1, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_route_waypoints(NULL, NULL, 0, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-static bool __utc_maps_service_search_place_cb(maps_error_e result, int request_id , int index, int total, maps_place_h place, void *user_data)
-{
-       maps_place_destroy(place);
-
-       if (result == MAPS_ERROR_NONE) {
-               if (index + 1 < total) return true;
-               service_available = true;
-       }
-
-       quit_for_service();
-       return false;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_place()
- */
-int utc_maps_service_search_place_p2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       maps_coordinates_h coords = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE, &is_search_place_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_create(52.5167, 13.383, &coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(coords);
-
-               ret = maps_service_search_place(__pMaps, coords, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               if (is_search_place_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_coordinates_destroy(coords);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_place_filter_destroy(places_fil);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               }
-       } else {
-               ret = maps_service_search_place(__pMaps, coords, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_place()
- */
-int utc_maps_service_search_place_n2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       maps_coordinates_h coords = NULL;
-       bool is_search_place_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE, &is_search_place_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_create(52.5167, 13.383, &coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(coords);
-
-               ret = maps_service_search_place(NULL, coords, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, NULL, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 100, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 0,  places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 0,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(NULL, NULL, 0,  NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, -1, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               assert(!service_available);
-               service_available = false;
-
-               ret = maps_coordinates_destroy(coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_destroy(places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-       } else {
-               ret = maps_service_search_place(NULL, coords, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, NULL, 100, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 100, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 0,  places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, 0,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(NULL, NULL, 0,  NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place(__pMaps, coords, -1, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_by_area_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_place_by_area()
- */
-int utc_maps_service_search_place_by_area_p2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       maps_area_h area = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_by_area_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_AREA, &is_search_place_by_area_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &area);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(area);
-
-               ret = maps_service_search_place_by_area(__pMaps, area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               if (is_search_place_by_area_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_coordinates_destroy(top_left);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_coordinates_destroy(bottom_right);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_area_destroy(area);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_place_filter_destroy(places_fil);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ret = maps_service_search_place_by_area(__pMaps, area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_by_area_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_place_by_area()
- */
-int utc_maps_service_search_place_by_area_n2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       maps_area_h area = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_by_area_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_AREA, &is_search_place_by_area_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &area);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(area);
-
-               ret = maps_service_search_place_by_area(NULL, area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, NULL,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               assert(!service_available);
-               service_available = false;
-
-               ret = maps_coordinates_destroy(top_left);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_destroy(bottom_right);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_area_destroy(area);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_destroy(places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-       } else {
-               ret = maps_service_search_place_by_area(NULL, area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, NULL,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(__pMaps, area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_area(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_by_address_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_place_by_address()
- */
-int utc_maps_service_search_place_by_address_p2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       maps_area_h area = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_by_address_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_ADDRESS, &is_search_place_by_address_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &area);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(area);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Bengaluru", area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               if (is_search_place_by_address_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_place_filter_destroy(places_fil);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ret = maps_service_search_place_by_address(__pMaps, "Bengaluru", area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_by_address_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_place_by_address()
- */
-int utc_maps_service_search_place_by_address_n2(void)
-{
-       maps_place_filter_h places_fil = NULL;
-       maps_area_h area = NULL;
-       maps_coordinates_h top_left = NULL;
-       maps_coordinates_h bottom_right = NULL;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_by_address_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_ADDRESS, &is_search_place_by_address_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               maps_coordinates_create(15.665354, 74.311523, &top_left);
-               maps_coordinates_create(10.617418, 79.145508, &bottom_right);
-               assert(top_left);
-               assert(bottom_right);
-
-               ret = maps_area_create_rectangle(top_left, bottom_right, &area);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(area);
-
-               ret = maps_service_search_place_by_address(NULL, "Berlin", area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, NULL, area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", NULL, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_by_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(NULL, NULL, NULL,  NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               assert(!service_available);
-               service_available = false;
-
-               ret = maps_place_filter_destroy(places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-       } else {
-               ret = maps_service_search_place_by_address(NULL, "Berlin", area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, NULL, area, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", NULL, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(__pMaps, "Berlin", area,  places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_by_address(NULL, NULL, NULL,  NULL, NULL, NULL, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-static bool __utc_maps_service_multi_reverse_geocode_cb(maps_error_e result, int request_id, int total, maps_address_list_h address_list, void *user_data)
-{
-       maps_address_list_destroy(address_list);
-
-       if (result == MAPS_ERROR_NONE)
-               service_available = true;
-
-       quit_for_service();
-       return false;
-}
-
-/**
- * @testcase           utc_maps_service_multi_reverse_geocode_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_multi_reverse_geocode()
- */
-int utc_maps_service_multi_reverse_geocode_p2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       maps_coordinates_list_h coordinates_list = NULL;
-       maps_coordinates_h *coord = NULL;
-       bool is_multi_reverse_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_MULTI_REVERSE_GEOCODE, &is_multi_reverse_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_coordinates_list_create(&coordinates_list);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               coord = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*3);
-               maps_coordinates_create(52.5309, 13.3845, &coord[0]);
-               maps_coordinates_create(50.1618996, 8.5334997, &coord[1]);
-               maps_coordinates_create(40.72962607104243, -73.98685008095087, &coord[2]);
-               assert(coord[0]);
-               assert(coord[1]);
-               assert(coord[2]);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[0]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[1]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[2]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               if (is_multi_reverse_geocode_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_coordinates_list_destroy(coordinates_list);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               g_free(coord);
-       } else {
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_multi_reverse_geocode_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_multi_reverse_geocode()
- */
-int utc_maps_service_multi_reverse_geocode_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       maps_coordinates_list_h coordinates_list = NULL;
-       maps_coordinates_h *coord = NULL;
-       bool is_multi_reverse_geocode_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_MULTI_REVERSE_GEOCODE, &is_multi_reverse_geocode_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               ret = maps_coordinates_list_create(&coordinates_list);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               coord = (maps_coordinates_h *)g_malloc(sizeof(maps_coordinates_h)*3);
-               maps_coordinates_create(52.5309, 13.3845, &coord[0]);
-               maps_coordinates_create(50.1618996, 8.5334997, &coord[1]);
-               maps_coordinates_create(40.72962607104243, -73.98685008095087, &coord[2]);
-               assert(coord[0]);
-               assert(coord[1]);
-               assert(coord[2]);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[0]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[1]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_list_append(coordinates_list, coord[2]);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_service_multi_reverse_geocode(NULL, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, NULL, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_multi_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_multi_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_multi_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               assert(!service_available);
-               service_available = false;
-
-               ret = maps_coordinates_list_destroy(coordinates_list);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               g_free(coord);
-       } else {
-               ret = maps_service_multi_reverse_geocode(NULL, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, NULL, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-static bool __utc_maps_place_cb(int index, maps_place_h place, void *user_data)
-{
-       if (index == 0) {
-               maps_place_get_uri(place, &__place_uri);
-       }
-
-       return true;
-}
-
-static void __utc_maps_service_search_place_list_cb(maps_error_e result, int request_id, int total, maps_place_list_h place_list, void *user_data)
-{
-       if (result == MAPS_ERROR_NONE) {
-               maps_place_list_foreach(place_list, __utc_maps_place_cb, NULL);
-               service_available = true;
-       }
-       maps_place_list_destroy(place_list);
-
-       quit_for_service();
-}
-
-/**
- * @testcase           utc_maps_service_search_place_list_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_search_place_list()
- */
-int utc_maps_service_search_place_list_p2(void)
-{
-       if (__place_uri != NULL) {
-               free(__place_uri);
-               __place_uri = NULL;
-       }
-
-       maps_place_filter_h places_fil = NULL;
-       maps_coordinates_h coords = NULL;
-       maps_area_h boundary = NULL;
-       int distance = 504295;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_list_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_LIST, &is_search_place_list_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_create(52.5167, 13.383, &coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(coords);
-
-               ret = maps_area_create_circle(coords, distance, &boundary);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(boundary);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               if (is_search_place_list_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_area_destroy(boundary);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_coordinates_destroy(coords);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       ret = maps_place_filter_destroy(places_fil);
-                       assert_eq(ret, MAPS_ERROR_NONE);
-               } else
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_search_place_list_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_search_place_list()
- */
-int utc_maps_service_search_place_list_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       maps_place_filter_h places_fil = NULL;
-       maps_coordinates_h coords = NULL;
-       maps_area_h boundary = NULL;
-       bool is_search_place_list_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_LIST, &is_search_place_list_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_coordinates_create(52.5167, 13.383, &coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(coords);
-
-               ret = maps_area_create_circle(coords, 5234, &boundary);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(boundary);
-
-               ret = maps_service_search_place_list(NULL, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, NULL, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_list_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, NULL, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_list_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_list_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_search_place_list_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_area_destroy(boundary);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_destroy(coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_place_filter_destroy(places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-       } else {
-               ret = maps_service_search_place_list(NULL, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, NULL, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, NULL, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, NULL, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, NULL);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-static void __utc_maps_service_get_place_details_cb(maps_error_e result, int request_id, maps_place_h place, void *user_data)
-{
-       maps_place_destroy(place);
-
-       if (result == MAPS_ERROR_NONE)
-               service_available = true;
-
-       quit_for_service();
-}
-
-/**
- * @testcase           utc_maps_service_get_place_details_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_get_place_details()
- */
-int utc_maps_service_get_place_details_p2(void)
-{
-       if (__place_uri != NULL) {
-               free(__place_uri);
-               __place_uri = NULL;
-       }
-
-       maps_place_filter_h places_fil = NULL;
-       maps_coordinates_h coords = NULL;
-       maps_area_h boundary = NULL;
-       int distance = 504295;
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_place_list_supported = false;
-       bool is_search_get_place_details_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_LIST, &is_search_place_list_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS, &is_search_get_place_details_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       if (is_maps_supported && is_internet_supported && is_mapzen_included) {
-               ret = maps_place_filter_create(&places_fil);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(places_fil);
-
-               ret = maps_place_filter_set_keyword(places_fil, "eat");
-               assert_eq(ret, MAPS_ERROR_NONE);
-               ret = maps_place_filter_set_place_name(places_fil, "Berlin");
-               assert_eq(ret, MAPS_ERROR_NONE);
-
-               ret = maps_coordinates_create(52.5167, 13.383, &coords);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(coords);
-
-               ret = maps_area_create_circle(coords, distance, &boundary);
-               assert_eq(ret, MAPS_ERROR_NONE);
-               assert(boundary);
-
-               ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, __utc_maps_service_search_place_list_cb, NULL, &request_id);
-               if (is_search_place_list_supported) {
-                       assert_eq(ret, MAPS_ERROR_NONE);
-
-                       if (!service_available)
-                               wait_for_service();
-                       assert(service_available);
-                       service_available = false;
-
-                       ret = maps_service_get_place_details(__pMaps, __place_uri, __utc_maps_service_get_place_details_cb, NULL, &request_id);
-                       if (is_search_get_place_details_supported) {
-                               assert_eq(ret, MAPS_ERROR_NONE);
-
-                               if (!service_available)
-                                       wait_for_service();
-                               assert(service_available);
-                               service_available = false;
-
-                               ret = maps_area_destroy(boundary);
-                               assert_eq(ret, MAPS_ERROR_NONE);
-
-                               ret = maps_coordinates_destroy(coords);
-                               assert_eq(ret, MAPS_ERROR_NONE);
-
-                               ret = maps_place_filter_destroy(places_fil);
-                               assert_eq(ret, MAPS_ERROR_NONE);
-                       } else
-                               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-               } else
-                       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ret = maps_service_get_place_details(__pMaps, __place_uri, __utc_maps_service_get_place_details_cb, NULL, &request_id);
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_internet_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_get_place_details_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_get_place_details()
- */
-int utc_maps_service_get_place_details_n2(void)
-{
-       int request_id = INVALID_REQUEST_ID;
-       bool is_search_get_place_details_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS, &is_search_get_place_details_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_get_place_details(NULL, __place_uri, __utc_maps_service_get_place_details_cb, NULL, &request_id);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_get_place_details(__pMaps, NULL, __utc_maps_service_get_place_details_cb, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_get_place_details(__pMaps, __place_uri, NULL, NULL, &request_id);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_service_get_place_details(__pMaps, __place_uri, __utc_maps_service_get_place_details_cb, NULL, NULL);
-       if (is_internet_supported && is_maps_supported) {
-               if (is_mapzen_included) {
-                       ASSERT_IF_VAL_REF2(ret, is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-static void __utc_maps_service_request_user_consent_cb(bool consented, const char *maps_provider, void *user_data)
-{}
-
-/**
- * @testcase           utc_maps_service_request_user_consent_p2
- * @since_tizen                3.0
- * @description                Positive test case of maps_service_request_user_consent()
- */
-int utc_maps_service_request_user_consent_p2(void)
-{
-       ret = maps_service_request_user_consent(__utc_get_maps_provider_name_mapzen(), __utc_maps_service_request_user_consent_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_service_request_user_consent_n2
- * @since_tizen                3.0
- * @description                Negative test case of maps_service_request_user_consent()
- */
-int utc_maps_service_request_user_consent_n2(void)
-{
-       ret = maps_service_request_user_consent(NULL, __utc_maps_service_request_user_consent_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_request_user_consent(__utc_get_maps_provider_name_mapzen(), NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_service_request_user_consent("XXXXXX", __utc_maps_service_request_user_consent_cb, NULL);
-       assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
index 08541a3ce786defc5d17bcea6a00fe8e56c3226b..bf7ce501fbc1b57ecca0062137bcfdc7def0f3cb 100755 (executable)
 
 static bool _is_removed_checked_providers = false;
 static bool _is_removed_HERE = false;
-static bool _is_removed_MAPZEN = true;
 
 static char *MAPS_PROVIDER_NAME_HERE = "HERE";
-static char *MAPS_PROVIDER_NAME_MAPZEN = "MAPZEN";
 
 static bool __check_removed_provider_cb(char *maps_provider, void *user_data)
 {
-       if (strcmp(MAPS_PROVIDER_NAME_MAPZEN, maps_provider) == 0)
-               _is_removed_MAPZEN = false;
        free(maps_provider);
        return true;
 }
 
-bool _is_included_mapzen_plugin()
-{
-       if (_is_removed_checked_providers == false)
-               maps_service_foreach_provider( __check_removed_provider_cb, NULL);
-       _is_removed_checked_providers = true;
-
-       if (_is_removed_MAPZEN)
-               return false;
-       return true;
-}
-
 char *__utc_get_maps_provider_name_here()
 {
        return MAPS_PROVIDER_NAME_HERE;
 }
 
-char *__utc_get_maps_provider_name_mapzen()
-{
-       return MAPS_PROVIDER_NAME_MAPZEN;
-}
-
 bool _is_internet_feature_supported(void)
 {
        bool __is_supported = true;
index aba199cbb34e66e5facd6f9418cf601a3b693c75..938c385c98590dfbfee5c65f4784d92d30f9e41a 100755 (executable)
                } \
        } \
 
-/* Returns false if maps-plugin-mapzen package is not included */
-bool _is_included_mapzen_plugin();
-
 /* Returns the name of current provider */
 char *__utc_get_maps_provider_name_here();
-char *__utc_get_maps_provider_name_mapzen();
 
 bool _is_internet_feature_supported(void);
 bool _is_maps_feature_supported(void);
diff --git a/src/utc/capi-maps-service/utc_maps_view_mapzen.c b/src/utc/capi-maps-service/utc_maps_view_mapzen.c
deleted file mode 100755 (executable)
index b213955..0000000
+++ /dev/null
@@ -1,1916 +0,0 @@
-/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <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>
-#include <Elementary.h>
-#include "utc_maps_utils.h"
-#include <dlog.h>
-
-static int ret = 0;
-static maps_service_h __pMaps = NULL;
-static char maps_provider_key[CONFIG_VALUE_LEN_MAX] = {0,};
-static maps_view_h maps_view_handle = NULL;
-static Evas_Object *win = NULL;
-static bool is_internet_supported = false;
-static bool is_maps_supported = false;
-static bool is_maps_view_supported = false;
-static bool is_mapzen_included = false;
-
-static void dummy_utc_maps_view_on_event_cb(maps_view_event_type_e type, maps_view_event_data_h event_data, void *user_data) { }
-
-static bool dummy_maps_view_object_cb(int index, int total, maps_view_object_h object, void *user_data)
-{
-       return true;
-}
-
-/**
- * @function           utc_maps_view_startup2
- * @description                Called before each test
- * @parameter          NA
- * @return             NA
- */
-void utc_maps_view_startup2(void)
-{
-    if (__pMaps) return;
-
-       is_internet_supported = _is_internet_feature_supported();
-       is_maps_supported = _is_maps_feature_supported();
-       is_mapzen_included = _is_included_mapzen_plugin();
-
-       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);
-
-       GetValueFromConfigFile("MAPZEN_MAPS_PROVIDER_KEY", maps_provider_key, API_NAMESPACE);
-       maps_service_create(__utc_get_maps_provider_name_mapzen(), &__pMaps);
-       maps_service_set_provider_key(__pMaps, maps_provider_key);
-
-       maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW, &is_maps_view_supported);
-    if (is_maps_view_supported)
-       maps_view_create(__pMaps, win, &maps_view_handle);
-}
-
-/**
- * @function           utc_maps_view_cleanup2
- * @description                Called after each test
- * @parameter          NA
- * @return             NA
- */
-void utc_maps_view_cleanup2(void)
-{
-       maps_view_destroy(maps_view_handle);
-       maps_service_destroy(__pMaps);
-
-       maps_view_handle = NULL;
-       __pMaps = NULL;
-       win = NULL;
-}
-
-/**
- * @testcase           utc_maps_view_create_p2
- * @since_tizen     3.0
- * @description                Positive test case of maps_view_create()
- */
-int utc_maps_view_create_p2(void)
-{
-       ret = maps_view_destroy(maps_view_handle);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
-       maps_view_handle = NULL;
-
-       ret = maps_view_create(__pMaps, win, &maps_view_handle);
-       if (is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_view_create_n2
- * @since_tizen     3.0
- * @description                Negative test case of maps_view_create()
- */
-int utc_maps_view_create_n2(void)
-{
-       ret = maps_view_create(NULL, win, &maps_view_handle);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_create(__pMaps, NULL, &maps_view_handle);
-       if (is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_create(__pMaps, win, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase        utc_maps_view_get_center_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_center()
- */
-int utc_maps_view_get_center_p2(void)
-{
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_view_get_center(maps_view_handle, &coord);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_center(maps_view_handle, coord);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_coordinates_destroy(coord);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_center_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_center()
-*/
-int utc_maps_view_get_center_n2(void)
-{
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_view_get_center(NULL, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_center(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase        utc_maps_view_set_center_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_center()
- */
-int utc_maps_view_set_center_p2(void)
-{
-       /* tested in utc_maps_view_get_center_p2 */
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_center_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_center()
-*/
-int utc_maps_view_set_center_n2(void)
-{
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_center(NULL, coord);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_center(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase        utc_maps_view_get_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_zoom_level()
- */
-int utc_maps_view_get_zoom_level_p2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_zoom_level(maps_view_handle, &level);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_zoom_level_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_zoom_level()
-*/
-int utc_maps_view_get_zoom_level_n2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_zoom_level(NULL, &level);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_zoom_level(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase        utc_maps_view_set_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_zoom_level()
- */
-int utc_maps_view_set_zoom_level_p2(void)
-{
-       ret = maps_view_set_zoom_level(maps_view_handle, 3);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_zoom_level_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_zoom_level()
-*/
-int utc_maps_view_set_zoom_level_n2(void)
-{
-       ret = maps_view_set_zoom_level(NULL, 3);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_min_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_min_zoom_level()
- */
-int utc_maps_view_get_min_zoom_level_p2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_min_zoom_level(maps_view_handle, &level);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_min_zoom_level_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_min_zoom_level()
-*/
-int utc_maps_view_get_min_zoom_level_n2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_min_zoom_level(NULL, &level);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_min_zoom_level(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_max_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_max_zoom_level()
- */
-int utc_maps_view_get_max_zoom_level_p2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_max_zoom_level(maps_view_handle, &level);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_max_zoom_level_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_max_zoom_level()
-*/
-int utc_maps_view_get_max_zoom_level_n2(void)
-{
-       int level = 0;
-
-       ret = maps_view_get_max_zoom_level(NULL, &level);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_max_zoom_level(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_orientation_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_orientation()
- */
-int utc_maps_view_set_orientation_p2(void)
-{
-       ret = maps_view_set_orientation(maps_view_handle, 0.0);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_orientation_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_orientation()
-*/
-int utc_maps_view_set_orientation_n2(void)
-{
-       ret = maps_view_set_orientation(NULL, 0.0);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_orientation_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_orientation()
- */
-int utc_maps_view_get_orientation_p2(void)
-{
-       double orientation = 0.0;
-
-       ret = maps_view_get_orientation(maps_view_handle, &orientation);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_orientation_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_orientation()
-*/
-int utc_maps_view_get_orientation_n2(void)
-{
-       double orientation = 0.0;
-
-       ret = maps_view_get_orientation(NULL, &orientation);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_orientation(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_screen_to_geolocation_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_screen_to_geolocation()
- */
-int utc_maps_view_screen_to_geolocation_p2(void)
-{
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_view_screen_to_geolocation(maps_view_handle, 0, 0, &coord);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       maps_coordinates_destroy(coord);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_screen_to_geolocation_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_screen_to_geolocation()
-*/
-int utc_maps_view_screen_to_geolocation_n2(void)
-{
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_view_screen_to_geolocation(NULL, 0, 0, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_screen_to_geolocation(maps_view_handle, 0, 0, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_geolocation_to_screen_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_geolocation_to_screen()
- */
-int utc_maps_view_geolocation_to_screen_p2(void)
-{
-       int x = 0, y = 0;
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_geolocation_to_screen(maps_view_handle, coord, &x, &y);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_coordinates_destroy(coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_geolocation_to_screen_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_geolocation_to_screen()
-*/
-int utc_maps_view_geolocation_to_screen_n2(void)
-{
-       int x = 0, y = 0;
-       maps_coordinates_h coord = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_geolocation_to_screen(NULL, coord, &x, &y);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_geolocation_to_screen(maps_view_handle, NULL, &x, &y);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_geolocation_to_screen(maps_view_handle, coord, NULL, &y);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_geolocation_to_screen(maps_view_handle, coord, &x, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_destroy(coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_type_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_type()
- */
-int utc_maps_view_set_type_p2(void)
-{
-       ret = maps_view_set_type(maps_view_handle, MAPS_VIEW_TYPE_NORMAL);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_type_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_type()
-*/
-int utc_maps_view_set_type_n2(void)
-{
-       ret = maps_view_set_type(NULL, MAPS_VIEW_TYPE_NORMAL);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_type(maps_view_handle, -1000);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_type_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_type()
- */
-int utc_maps_view_get_type_p2(void)
-{
-       maps_view_type_e type;
-
-       ret = maps_view_get_type(maps_view_handle, &type);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_type_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_type()
-*/
-int utc_maps_view_get_type_n2(void)
-{
-       maps_view_type_e type;
-
-       ret = maps_view_get_type(NULL, &type);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_type(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_buildings_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_buildings_enabled()
- */
-int utc_maps_view_set_buildings_enabled_p2(void)
-{
-       bool is_building_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_buildings_enabled(maps_view_handle, false);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_building_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_buildings_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_buildings_enabled()
-*/
-int utc_maps_view_set_buildings_enabled_n2(void)
-{
-       ret = maps_view_set_buildings_enabled(NULL, false);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_buildings_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_buildings_enabled()
- */
-int utc_maps_view_get_buildings_enabled_p2(void)
-{
-       bool is_building_supported = false;
-       bool enabled = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_buildings_enabled(maps_view_handle, &enabled);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_building_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_buildings_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_buildings_enabled()
-*/
-int utc_maps_view_get_buildings_enabled_n2(void)
-{
-       bool enabled = false;
-       bool is_building_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_buildings_enabled(NULL, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_buildings_enabled(maps_view_handle, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_building_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_traffic_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_traffic_enabled()
- */
-int utc_maps_view_set_traffic_enabled_p2(void)
-{
-       bool is_traffic_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_traffic_enabled(maps_view_handle, false);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_traffic_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_traffic_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_traffic_enabled()
-*/
-int utc_maps_view_set_traffic_enabled_n2(void)
-{
-       ret = maps_view_set_traffic_enabled(NULL, false);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_traffic_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_traffic_enabled()
- */
-int utc_maps_view_get_traffic_enabled_p2(void)
-{
-       bool is_traffic_supported = false;
-       bool enabled = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_traffic_enabled(maps_view_handle, &enabled);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_traffic_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_traffic_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_traffic_enabled()
-*/
-int utc_maps_view_get_traffic_enabled_n2(void)
-{
-       bool enabled = false;
-       bool is_traffic_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_traffic_enabled(NULL, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_traffic_enabled(maps_view_handle, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_traffic_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_public_transit_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_public_transit_enabled()
- */
-int utc_maps_view_set_public_transit_enabled_p2(void)
-{
-       bool is_public_transit_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &is_public_transit_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_public_transit_enabled(maps_view_handle, false);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_public_transit_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_public_transit_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_public_transit_enabled()
-*/
-int utc_maps_view_set_public_transit_enabled_n2(void)
-{
-       ret = maps_view_set_public_transit_enabled(NULL, false);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_public_transit_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_public_transit_enabled()
- */
-int utc_maps_view_get_public_transit_enabled_p2(void)
-{
-       bool is_public_transit_supported = false;
-       bool enabled = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &is_public_transit_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_public_transit_enabled(maps_view_handle, &enabled);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_public_transit_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_public_transit_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_public_transit_enabled()
-*/
-int utc_maps_view_get_public_transit_enabled_n2(void)
-{
-       bool enabled = false;
-       bool is_public_transit_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &is_public_transit_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_public_transit_enabled(NULL, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_public_transit_enabled(maps_view_handle, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_public_transit_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_language_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_language()
- */
-int utc_maps_view_set_language_p2(void)
-{
-       ret = maps_view_set_language(maps_view_handle, "eng");
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_language_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_language()
-*/
-int utc_maps_view_set_language_n2(void)
-{
-       ret = maps_view_set_language(NULL, "eng");
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_language(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_language_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_language()
- */
-int utc_maps_view_get_language_p2(void)
-{
-       char *language = NULL;
-
-       dlog_print(DLOG_ERROR, "Maps", "[%s:%d] %p %p %s", __FUNCTION__, __LINE__, maps_view_handle, language, language);
-       ret = maps_view_get_language(maps_view_handle, &language);
-       dlog_print(DLOG_ERROR, "Maps", "[%s:%d] %p maps_view_get_language result = %s", __FUNCTION__, __LINE__, maps_view_handle, language);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       free(language);
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_language_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_language()
-*/
-int utc_maps_view_get_language_n2(void)
-{
-       char *language = NULL;
-
-       ret = maps_view_get_language(NULL, &language);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_language(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_viewport_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_viewport()
- */
-int utc_maps_view_get_viewport_p2(void)
-{
-       Evas_Object *viewport = NULL;
-
-       ret = maps_view_get_viewport(maps_view_handle, &viewport);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_viewport_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_viewport()
-*/
-int utc_maps_view_get_viewport_n2(void)
-{
-       Evas_Object *viewport = NULL;
-
-       ret = maps_view_get_viewport(NULL, &viewport);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_viewport(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_screen_location_p
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_screen_location()
- */
-int utc_maps_view_set_screen_location_p2(void)
-{
-       ret = maps_view_set_screen_location(maps_view_handle, 10, 10, 10, 10);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_screen_location_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_screen_location()
-*/
-int utc_maps_view_set_screen_location_n2(void)
-{
-       ret = maps_view_set_screen_location(NULL, 10, 10, 10, 10);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_screen_location_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_screen_location()
- */
-int utc_maps_view_get_screen_location_p2(void)
-{
-       int x = 0, y = 0, width = 0, height = 0;
-
-       ret = maps_view_get_screen_location(maps_view_handle, &x, &y, &width, &height);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_screen_location_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_screen_location()
-*/
-int utc_maps_view_get_screen_location_n2(void)
-{
-       int x = 0, y = 0, width = 0, height = 0;
-
-       ret = maps_view_get_screen_location(NULL, &x, &y, &width, &height);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_screen_location(maps_view_handle, NULL, NULL, NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_move_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_move()
- */
-int utc_maps_view_move_p2(void)
-{
-       ret = maps_view_move(maps_view_handle, 10, 10);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_move_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_move()
-*/
-int utc_maps_view_move_n2(void)
-{
-       ret = maps_view_move(NULL, 10, 10);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_resize_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_resize()
- */
-int utc_maps_view_resize_p2(void)
-{
-       ret = maps_view_resize(maps_view_handle, 10, 10);
-       if (is_internet_supported && is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_resize_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_resize()
-*/
-int utc_maps_view_resize_n2(void)
-{
-       ret = maps_view_resize(NULL, 10, 10);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_resize(maps_view_handle, -1, 10);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_resize(maps_view_handle, 10, -1);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_visibility_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_visibility()
- */
-int utc_maps_view_set_visibility_p2(void)
-{
-       ret = maps_view_set_visibility(maps_view_handle, false);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_visibility(maps_view_handle, true);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_visibility_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_visibility()
-*/
-int utc_maps_view_set_visibility_n2(void)
-{
-       ret = maps_view_set_visibility(NULL, false);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_visibility_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_visibility()
- */
-int utc_maps_view_get_visibility_p2(void)
-{
-       bool visible = false;
-
-       ret = maps_view_get_visibility(maps_view_handle, &visible);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_visibility_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_visibility()
-*/
-int utc_maps_view_get_visibility_n2(void)
-{
-       bool visible = false;
-
-       ret = maps_view_get_visibility(NULL, &visible);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_visibility(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_event_cb_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_event_cb()
- */
-int utc_maps_view_set_event_cb_p2(void)
-{
-       ret = maps_view_set_event_cb(maps_view_handle, MAPS_VIEW_EVENT_GESTURE, dummy_utc_maps_view_on_event_cb, NULL);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_event_cb_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_event_cb()
-*/
-int utc_maps_view_set_event_cb_n2(void)
-{
-       ret = maps_view_set_event_cb(NULL, MAPS_VIEW_EVENT_GESTURE, dummy_utc_maps_view_on_event_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_event_cb(maps_view_handle, MAPS_VIEW_EVENT_GESTURE - 1, dummy_utc_maps_view_on_event_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_event_cb(maps_view_handle, MAPS_VIEW_EVENT_GESTURE, NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_unset_event_cb_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_unset_event_cb()
- */
-int utc_maps_view_unset_event_cb_p2(void)
-{
-       ret = maps_view_unset_event_cb(maps_view_handle, MAPS_VIEW_EVENT_GESTURE);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_unset_event_cb_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_unset_event_cb()
-*/
-int utc_maps_view_unset_event_cb_n2(void)
-{
-       ret = maps_view_unset_event_cb(NULL, MAPS_VIEW_EVENT_GESTURE);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_unset_event_cb(maps_view_handle, MAPS_VIEW_EVENT_GESTURE - 1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_gesture_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_gesture_enabled()
- */
-int utc_maps_view_set_gesture_enabled_p2(void)
-{
-       ret = maps_view_set_gesture_enabled(maps_view_handle, MAPS_VIEW_GESTURE_NONE, false);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_gesture_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_gesture_enabled()
-*/
-int utc_maps_view_set_gesture_enabled_n2(void)
-{
-       ret = maps_view_set_gesture_enabled(NULL, MAPS_VIEW_GESTURE_NONE, false);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_gesture_enabled(maps_view_handle, MAPS_VIEW_GESTURE_NONE - 1, false);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_gesture_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_gesture_enabled()
- */
-int utc_maps_view_get_gesture_enabled_p2(void)
-{
-       bool enabled = false;
-
-       ret = maps_view_get_gesture_enabled(maps_view_handle, MAPS_VIEW_GESTURE_NONE, &enabled);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_gesture_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_gesture_enabled()
-*/
-int utc_maps_view_get_gesture_enabled_n2(void)
-{
-       bool enabled = false;
-
-       ret = maps_view_get_gesture_enabled(NULL, MAPS_VIEW_GESTURE_NONE, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_gesture_enabled(maps_view_handle, MAPS_VIEW_GESTURE_NONE - 1, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_gesture_enabled(maps_view_handle, MAPS_VIEW_GESTURE_NONE, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_scalebar_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_scalebar_enabled()
- */
-int utc_maps_view_set_scalebar_enabled_p2(void)
-{
-       bool is_scalebar_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_set_scalebar_enabled(maps_view_handle, false);
-       if (is_internet_supported && is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_scalebar_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_set_scalebar_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_set_scalebar_enabled()
-*/
-int utc_maps_view_set_scalebar_enabled_n2(void)
-{
-       ret = maps_view_set_scalebar_enabled(NULL, false);
-       ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_get_scalebar_enabled_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_get_scalebar_enabled()
- */
-int utc_maps_view_get_scalebar_enabled_p2(void)
-{
-       bool enabled = false;
-       bool is_scalebar_supported = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_scalebar_enabled(maps_view_handle, &enabled);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_scalebar_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
-* @testcase        utc_maps_view_get_scalebar_enabled_n2
-* @since_tizen     3.0
-* @description     Negative test case of maps_view_get_scalebar_enabled()
-*/
-int utc_maps_view_get_scalebar_enabled_n2(void)
-{
-       bool is_scalebar_supported = false;
-       bool enabled = false;
-
-       ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_get_scalebar_enabled(NULL, &enabled);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_get_scalebar_enabled(maps_view_handle, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_scalebar_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_add_object_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_add_object()
- */
-int utc_maps_view_add_object_p2(void)
-{
-       Evas_Object *eo = elm_button_add(win);
-       assert(eo);
-
-       maps_coordinates_h coord1 = NULL, coord2 = NULL;
-       maps_coordinates_list_h coord_list = NULL;
-       maps_view_object_h polyline = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_create(10.0, 10.0, &coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_create(&coord_list);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_create_polyline(coord_list, '1', '1', '1', '1', 1, &polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_add_object(maps_view_handle, polyline);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_foreach_object(maps_view_handle, dummy_maps_view_object_cb, NULL);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_remove_object(maps_view_handle, polyline);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       maps_coordinates_h coord = NULL;
-       maps_view_object_h overlay = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_create_overlay(coord, eo, MAPS_VIEW_OVERLAY_BUBBLE, &overlay);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_add_object(maps_view_handle, overlay);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_remove_object(maps_view_handle, overlay);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_add_object_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_add_object()
- */
-int utc_maps_view_add_object_n2(void)
-{
-       maps_coordinates_h coord1 = NULL, coord2 = NULL;
-       maps_coordinates_list_h coord_list = NULL;
-       maps_view_object_h polyline = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_create(10.0, 10.0, &coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_create(&coord_list);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_create_polyline(coord_list, '1', '1', '1', '1', 1, &polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_add_object(NULL, polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_add_object(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_destroy(polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/**
- * @testcase        utc_maps_view_remove_object_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_remove_object()
- */
-int utc_maps_view_remove_object_p2(void)
-{
-       /* tested in utc_maps_view_add_object_p2 */
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_remove_object_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_remove_object()
- */
-int utc_maps_view_remove_object_n2(void)
-{
-       maps_coordinates_h coord1 = NULL, coord2 = NULL;
-       maps_coordinates_list_h coord_list = NULL;
-       maps_view_object_h polyline = NULL;
-
-       ret = maps_coordinates_create(0.0, 0.0, &coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_create(10.0, 10.0, &coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_create(&coord_list);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_coordinates_list_append(coord_list, coord2);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_create_polyline(coord_list, '1', '1', '1', '1', 1, &polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_remove_object(NULL, polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_remove_object(maps_view_handle, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_object_destroy(polyline);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_remove_all_objects_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_remove_all_objects()
- */
-int utc_maps_view_remove_all_objects_p2(void)
-{
-       ret = maps_view_remove_all_objects(maps_view_handle);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_remove_all_objects_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_remove_all_objects()
- */
-int utc_maps_view_remove_all_objects_n2(void)
-{
-       ret = maps_view_remove_all_objects(NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_foreach_object_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_foreach_object()
- */
-int utc_maps_view_foreach_object_p2(void)
-{
-       /* tested in utc_maps_view_add_object_p2 */
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_foreach_object_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_foreach_object()
- */
-int utc_maps_view_foreach_object_n2(void)
-{
-       ret = maps_view_foreach_object(NULL, dummy_maps_view_object_cb, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_foreach_object(maps_view_handle, NULL, NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_min_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_min_zoom_level()
- */
-int utc_maps_view_set_min_zoom_level_p2(void)
-{
-       ret = maps_view_set_min_zoom_level(maps_view_handle, 1);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_min_zoom_level_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_set_min_zoom_level()
- */
-int utc_maps_view_set_min_zoom_level_n2(void)
-{
-       ret = maps_view_set_min_zoom_level(NULL, 1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_min_zoom_level(maps_view_handle, -1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_max_zoom_level_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_set_max_zoom_level()
- */
-int utc_maps_view_set_max_zoom_level_p2(void)
-{
-       ret = maps_view_set_max_zoom_level(maps_view_handle, 3);
-       if (is_maps_supported == true) {
-               ASSERT_IF_VAL_REF2(ret, is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_set_max_zoom_level_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_set_max_zoom_level()
- */
-int utc_maps_view_set_max_zoom_level_n2(void)
-{
-       ret = maps_view_set_max_zoom_level(NULL, 3);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_set_max_zoom_level(maps_view_handle, -1);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}
-
-/*
- * @testcase        utc_maps_view_capture_snapshot_p2
- * @since_tizen     3.0
- * @description     Positive test case of maps_view_capture_snapshot()
- */
-int utc_maps_view_capture_snapshot_p2(void)
-{
-       bool is_snapshot_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW_SNAPSHOT, &is_snapshot_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP, 90, "/tmp/maps_tmp_image.bmp");
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_snapshot_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_JPEG, 90, "/tmp/maps_tmp_image.jpg");
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_snapshot_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/*
- * @testcase        utcmaps_view_capture_snapshot_n2
- * @since_tizen     3.0
- * @description     Negative test case of maps_view_capture_snapshot()
- */
-int utc_maps_view_capture_snapshot_n2(void)
-{
-       char *path = "/tmp/maps_tmp_image.bmp";
-       bool is_snapshot_supported = false;
-
-       ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW_SNAPSHOT, &is_snapshot_supported);
-       if (is_maps_supported) {
-               ASSERT_IF_VAL_REF2(ret, is_mapzen_included, MAPS_ERROR_NONE, MAPS_ERROR_INVALID_PARAMETER);
-       } else {
-               assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_capture_snapshot(NULL, MAPS_VIEW_SNAPSHOT_BMP, 50, path);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP - 1, 50, path);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_snapshot_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP, -1, path);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_snapshot_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP, 50, NULL);
-       if (is_maps_supported && is_mapzen_included) {
-               if (is_maps_view_supported) {
-                       ASSERT_IF_VAL_REF2(ret, is_snapshot_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-               } else {
-                       assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-               }
-       } else {
-               ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-       }
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_view_destroy_p2
- * @since_tizen     3.0
- * @description                Positive test case of maps_view_destroy()
- */
-int utc_maps_view_destroy_p2(void)
-{
-       /* tested in utc_maps_view_create_p2 */
-
-       return 0;
-}
-
-/**
- * @testcase           utc_maps_view_destroy_n2
- * @since_tizen     3.0
- * @description                Negative test case of maps_view_destroy()
- */
-int utc_maps_view_destroy_n2(void)
-{
-       ret = maps_view_destroy(NULL);
-       ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-       return 0;
-}