+++ /dev/null
-%define MODULE_NAME capi-maps-service
-%define MODULE_LIBNAME capi-maps-service
-Name: core-%{MODULE_NAME}-tests
-Summary: Core API unit TC (%{name})
-Version: 0.1
-Release: 0
-Group: Development/Tools
-License: Apache License, Version 2.0, Samsung Properietary
-Source0: %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(%{MODULE_LIBNAME})
-BuildRequires: cmake
-BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(glib-2.0)
-
-%description
-Core API unit TC (%{name})
-
-%prep
-%setup -q
-
-%build
-
-%define PREFIX "%{_libdir}/%{name}"
-
-export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
-
-%define _des_dir %{APP_PATH}%{name}/data/
-
-%if %{?ASAN_BUILD:1}0
- %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_TV:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
-%else
- %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_TV:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
- %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
- cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
- %endif
-%endif
-
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-mkdir -p %{buildroot}%{_des_dir}
-cp media/location_01_ic.png %{buildroot}%{_des_dir}
-cp media/location_02_ic.png %{buildroot}%{_des_dir}
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
-mkdir -p %{buildroot}/tmp/
-mkdir -p %{buildroot}/usr/share/packages/
-cp packaging/utc/%{name}.xml %{buildroot}/usr/share/packages/
-mkdir -p %{buildroot}/usr/apps/%{name}/bin
-#cp templates/external_wrapper.sh %{buildroot}/usr/apps/%{name}/bin
-%post
-
-%postun
-
-
-%files
-/usr/apps/%{name}/*
-/usr/share/packages/%{name}.xml
-/usr/share/license/%{name}
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="core-capi-maps-service-tests" version="0.1.0" api-version="6.0">
- <label>CoreCapiMapsServiceTest</label>
- <author email="test@samsung.com" href="www.samsung.com">test</author>
- <description>Core API test Application</description>
- <ui-application appid="core.capi-maps-service-tests" exec="/usr/apps/core-capi-maps-service-tests/bin/tct-capi-maps-service-core" nodisplay="false" multiple="false" type="capp" taskmanage="true">
- <background-category value="background-network"/>
- <background-category value="download"/>
- <background-category value="iot-communication"/>
- <background-category value="location"/>
- <background-category value="media"/>
- <background-category value="sensor"/>
- </ui-application>
-<privileges>
- <privilege>http://tizen.org/privilege/internet</privilege>
- <privilege>http://tizen.org/privilege/network.get</privilege>
- <privilege>http://tizen.org/privilege/download</privilege>
- <privilege>http://tizen.org/privilege/mediastorage</privilege>
- <privilege>http://tizen.org/privilege/mapservice</privilege>
- </privileges>
-</manifest>
+++ /dev/null
-SET(PKG_NAME "capi-maps-service")
-
-SET(EXEC_NAME "tct-${PKG_NAME}-core")
-SET(RPM_NAME "core-${PKG_NAME}-tests")
-
-SET(CAPI_LIB "capi-maps-service")
-SET(TC_SOURCES
- utc_maps_utils.c
- utc_maps_address_common.c
- utc_maps_area_common.c
- utc_maps_coordinates_common.c
- utc_maps_place_common.c
- utc_maps_place_attribute_common.c
- utc_maps_place_category_common.c
- utc_maps_place_contact_common.c
- utc_maps_place_editorial_common.c
- utc_maps_place_filter_common.c
- utc_maps_place_image_common.c
- utc_maps_place_link_object_common.c
- utc_maps_place_media_common.c
- utc_maps_place_rating_common.c
- utc_maps_place_review_common.c
- utc_maps_place_url_common.c
- utc_maps_preference_common.c
- utc_maps_route_common.c
- utc_maps_route_maneuver_common.c
- utc_maps_route_segment_common.c
- utc_maps_view_object_common.c
- utc_maps_view_event_data_common.c
-
- utc_maps_service_here.c
- utc_maps_view_here.c
-)
-
-PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
- ${CAPI_LIB}
- capi-appfw-application
- capi-system-info
- bundle
- glib-2.0
- dlog
- elementary
-)
-
-INCLUDE_DIRECTORIES(
- ${${CAPI_LIB}_INCLUDE_DIRS}
-)
-
-ADD_DEFINITIONS("-DLIBDIR=\"${LIBDIR}\"")
-ADD_EXECUTABLE(${EXEC_NAME} ${EXEC_NAME}.c ${TC_SOURCES} ${COMMON_FILE})
-TARGET_LINK_LIBRARIES(${EXEC_NAME}
- ${${CAPI_LIB}_LIBRARIES}
- bundle
-)
-
-INSTALL(PROGRAMS ${EXEC_NAME}
- DESTINATION ${BIN_DIR}/${RPM_NAME}/bin
-)
-
-IF( DEFINED ASAN )
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -Wall -pie -g -fsanitize=address -fsanitize-recover=address -U_FORTIFY_SOURCE -fno-omit-frame-pointer")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIBDIR} -Wl,-fsanitize=address")
-ELSE()
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g -fPIE -Wall")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIBDIR} -pie")
-ENDIF()
+++ /dev/null
-maps_address_create
-maps_address_destroy
-maps_address_clone
-maps_address_get_building_number
-maps_address_get_street
-maps_address_get_district
-maps_address_get_city
-maps_address_get_state
-maps_address_get_country
-maps_address_get_country_code
-maps_address_get_county
-maps_address_get_postal_code
-maps_address_get_freetext
-maps_address_set_building_number
-maps_address_set_street
-maps_address_set_district
-maps_address_set_city
-maps_address_set_state
-maps_address_set_country
-maps_address_set_country_code
-maps_address_set_county
-maps_address_set_postal_code
-maps_address_set_freetext
-maps_area_create_rectangle
-maps_area_create_circle
-maps_area_destroy
-maps_area_clone
-maps_coordinates_create
-maps_coordinates_destroy
-maps_coordinates_clone
-maps_coordinates_get_latitude
-maps_coordinates_get_longitude
-maps_coordinates_set_latitude
-maps_coordinates_set_longitude
-maps_string_hashtable_create
-maps_string_hashtable_destroy
-maps_string_hashtable_clone
-maps_string_hashtable_set
-maps_string_hashtable_get
-maps_string_hashtable_remove
-maps_string_hashtable_foreach
-maps_string_hashtable_contains
-maps_place_destroy
-maps_place_clone
-maps_place_get_id
-maps_place_get_name
-maps_place_get_uri
-maps_place_get_location
-maps_place_get_distance
-maps_place_get_address
-maps_place_get_rating
-maps_place_foreach_property
-maps_place_foreach_category
-maps_place_foreach_attribute
-maps_place_foreach_contact
-maps_place_foreach_editorial
-maps_place_foreach_image
-maps_place_foreach_review
-maps_place_get_supplier_link
-maps_place_get_related_link
-maps_place_attribute_destroy
-maps_place_attribute_clone
-maps_place_attribute_get_id
-maps_place_attribute_get_label
-maps_place_attribute_get_text
-maps_place_category_destroy
-maps_place_category_clone
-maps_place_category_get_id
-maps_place_category_get_name
-maps_place_category_get_url
-maps_place_contact_destroy
-maps_place_contact_clone
-maps_place_contact_get_label
-maps_place_contact_get_type
-maps_place_contact_get_value
-maps_place_editorial_destroy
-maps_place_editorial_clone
-maps_place_editorial_get_description
-maps_place_editorial_get_language
-maps_place_editorial_get_media
-maps_place_filter_create
-maps_place_filter_destroy
-maps_place_filter_clone
-maps_place_filter_get
-maps_place_filter_get_keyword
-maps_place_filter_get_place_name
-maps_place_filter_get_category
-maps_place_filter_foreach_property
-maps_place_filter_set
-maps_place_filter_set_keyword
-maps_place_filter_set_place_name
-maps_place_filter_set_category
-maps_place_image_destroy
-maps_place_image_clone
-maps_place_image_get_id
-maps_place_image_get_url
-maps_place_image_get_width
-maps_place_image_get_height
-maps_place_image_get_user_link
-maps_place_image_get_media
-maps_place_link_object_destroy
-maps_place_link_object_clone
-maps_place_link_object_get_id
-maps_place_link_object_get_name
-maps_place_link_object_get_string
-maps_place_link_object_get_type
-maps_place_media_destroy
-maps_place_media_clone
-maps_place_media_get_attribution
-maps_place_media_get_supplier
-maps_place_media_get_via
-maps_place_rating_destroy
-maps_place_rating_clone
-maps_place_rating_get_count
-maps_place_rating_get_average
-maps_place_review_destroy
-maps_place_review_clone
-maps_place_review_get_date
-maps_place_review_get_title
-maps_place_review_get_rating
-maps_place_review_get_description
-maps_place_review_get_language
-maps_place_review_get_media
-maps_place_review_get_user_link
-maps_place_url_destroy
-maps_place_url_clone
-maps_place_url_get_path
-maps_place_url_get_description
-maps_preference_create
-maps_preference_destroy
-maps_preference_clone
-maps_preference_get_distance_unit
-maps_preference_get_language
-maps_preference_get_max_results
-maps_preference_get_country_code
-maps_preference_get_route_optimization
-maps_preference_get_route_transport_mode
-maps_preference_get_route_feature_weight
-maps_preference_get_route_feature
-maps_preference_get
-maps_preference_foreach_property
-maps_route_destroy
-maps_route_clone
-maps_route_get_route_id
-maps_route_get_origin
-maps_route_get_destination
-maps_route_get_bounding_box
-maps_route_get_transport_mode
-maps_route_get_total_distance
-maps_route_get_total_duration
-maps_route_get_distance_unit
-maps_route_foreach_property
-maps_route_foreach_path
-maps_route_foreach_segment
-maps_route_maneuver_destroy
-maps_route_maneuver_clone
-maps_route_maneuver_get_direction_id
-maps_route_maneuver_get_turn_type
-maps_route_maneuver_get_position
-maps_route_maneuver_get_road_name
-maps_route_maneuver_get_instruction_text
-maps_route_maneuver_get_locale
-maps_route_maneuver_get_time_to_next_instruction
-maps_route_maneuver_get_distance_to_next_instruction
-maps_route_segment_destroy
-maps_route_segment_clone
-maps_route_segment_get_origin
-maps_route_segment_get_destination
-maps_route_segment_get_bounding_box
-maps_route_segment_get_distance
-maps_route_segment_get_duration
-maps_route_segment_foreach_path
-maps_route_segment_foreach_maneuver
-maps_service_foreach_provider
-maps_service_create
-maps_service_destroy
-maps_service_set_provider_key
-maps_service_get_provider_key
-maps_service_set_preference
-maps_service_get_preference
-maps_service_provider_is_service_supported
-maps_service_provider_is_data_supported
-maps_service_cancel_request
-maps_service_geocode
-maps_service_geocode_inside_area
-maps_service_geocode_by_structured_address
-maps_service_reverse_geocode
-maps_service_search_place
-maps_service_search_place_by_area
-maps_service_search_place_by_address
-maps_service_search_route
-maps_service_search_route_waypoints
-maps_service_multi_reverse_geocode
-maps_service_search_place_list
-maps_service_get_place_details
-maps_service_request_user_consent
-maps_view_create
-maps_view_get_center
-maps_view_set_center
-maps_view_get_zoom_level
-maps_view_set_zoom_level
-maps_view_get_min_zoom_level
-maps_view_get_max_zoom_level
-maps_view_set_orientation
-maps_view_get_orientation
-maps_view_screen_to_geolocation
-maps_view_geolocation_to_screen
-maps_view_set_type
-maps_view_get_type
-maps_view_set_buildings_enabled
-maps_view_get_buildings_enabled
-maps_view_set_traffic_enabled
-maps_view_set_language
-maps_view_get_language
-maps_view_get_viewport
-maps_view_set_screen_location
-maps_view_get_screen_location
-maps_view_move
-maps_view_resize
-maps_view_set_visibility
-maps_view_get_visibility
-maps_view_set_event_cb
-maps_view_unset_event_cb
-maps_view_set_gesture_enabled
-maps_view_get_gesture_enabled
-maps_view_set_scalebar_enabled
-maps_view_get_scalebar_enabled
-maps_view_add_object
-maps_view_remove_object
-maps_view_remove_all_objects
-maps_view_foreach_object
-maps_view_set_min_zoom_level
-maps_view_set_max_zoom_level
-maps_view_capture_snapshot
-maps_view_destroy
-maps_view_object_create_marker
-maps_view_object_destroy
-maps_view_object_get_type
-maps_view_object_set_visible
-maps_view_object_get_visible
-maps_view_object_marker_set_coordinates
-maps_view_object_marker_resize
-maps_view_object_marker_set_image_file
-maps_view_object_marker_get_image_file
-maps_view_object_marker_get_coordinates
-maps_view_object_marker_get_size
-maps_view_object_marker_get_type
-maps_view_object_marker_set_z_order
-maps_view_object_marker_get_z_order
-maps_view_object_create_polyline
-maps_view_object_polyline_set_polyline
-maps_view_object_polyline_foreach_point
-maps_view_object_polyline_set_color
-maps_view_object_polyline_get_color
-maps_view_object_polyline_set_width
-maps_view_object_polyline_get_width
-maps_view_object_create_polygon
-maps_view_object_polygon_set_polygon
-maps_view_object_polygon_foreach_point
-maps_view_object_polygon_set_fill_color
-maps_view_object_polygon_get_fill_color
-maps_view_object_create_overlay
-maps_view_object_overlay_get_object
-maps_view_object_overlay_set_coordinates
-maps_view_object_overlay_get_coordinates
-maps_view_object_overlay_set_min_zoom_level
-maps_view_object_overlay_get_min_zoom_level
-maps_view_object_overlay_set_max_zoom_level
-maps_view_object_overlay_get_max_zoom_level
-maps_view_event_data_destroy
-maps_view_event_data_clone
-maps_view_event_data_get_type
-maps_view_event_data_get_gesture_type
-maps_view_event_data_get_action_type
-maps_view_event_data_get_center
-maps_view_event_data_get_delta
-maps_view_event_data_get_position
-maps_view_event_data_get_fingers
-maps_view_event_data_get_zoom_factor
-maps_view_event_data_get_rotation_angle
-maps_view_event_data_get_object
-maps_view_event_data_get_coordinates
+++ /dev/null
-/*
- * 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 <stdio.h>
-#include <string.h>
-#include "tct_common.h"
-#include <bundle.h>
-
-#ifdef MOBILE
-#include "tct-capi-maps-service-core_mobile.h"
-#endif // MOBILE
-#ifdef WEARABLE
-#include "tct-capi-maps-service-core_wearable.h"
-#endif // WEARABLE
-#ifdef TIZENIOT
-#include "tct-capi-maps-service-core_tizeniot.h"
-#endif //TIZENIOT
-#ifdef TV
-#include "tct-capi-maps-service-core_tv.h"
-#endif // TV
-
-
-#include <malloc.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-#include <glib.h>
-#include <stdbool.h>
-#include <app.h>
-#include <dlog.h>
-
-#include <Elementary.h>
-
-typedef struct appdata {
- Evas_Object *win;
- Evas_Object *conform;
- Evas_Object *label;
-} appdata_s;
-
-static bool app_create(void *data)
-{
- return true;
-}
-
-static void app_control(app_control_h app_control, void *data)
-{
- char* pszGetTCName = NULL;
- int i=0, result=0, nRet=0;
- nRet = app_control_get_extra_data(app_control, "testcase_name", &pszGetTCName);
- if(nRet != APP_CONTROL_ERROR_NONE)
- {
- dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] app_control_get_extra_data returns error = %d", __FUNCTION__, __LINE__, nRet);
- PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to fetch test case name: app_control_get_extra_data API call fails\\n", __FILE__, __LINE__);
- PRINT_TC_RESULT("%d",1);
- FREE_MEMORY_TC(pszGetTCName);
- return;
- }
-
- dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Executing TC Name = %s", __FUNCTION__, __LINE__, pszGetTCName);
- for ( i = 0; tc_array[i].name; i++ )
- {
- if ( 0 == strncmp(pszGetTCName, tc_array[i].name, strlen(pszGetTCName)) )
- {
- DUMP_UTC_ERRLOG();
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup begin", pszGetTCName);
- if ( tc_array[i].startup )
- {
- tc_array[i].startup();
- }
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup end", pszGetTCName);
-
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Body begin", pszGetTCName);
- result = tc_array[i].function();
- dlog_print(DLOG_INFO, "NativeTCT", "%s returns value = %d", pszGetTCName, result);
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Body end", pszGetTCName);
-
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup begin", pszGetTCName);
- if ( tc_array[i].cleanup )
- {
- tc_array[i].cleanup();
- }
- dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup end", pszGetTCName);
-
- CLOSE_UTC_ERRLOG();
- PRINT_TC_RESULT("%d",result);
- FREE_MEMORY_TC(pszGetTCName);
- return;
- }
- }
-
- dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] Unable to execute %s : Unknown Test Case Name", __FUNCTION__, __LINE__, pszGetTCName);
- PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to execute %s : Unknown Test Case Name\\n", __FILE__, __LINE__, pszGetTCName);
- PRINT_TC_RESULT("%d",1);
- FREE_MEMORY_TC(pszGetTCName);
- return;
-}
-
-static void app_terminate(void *data)
-{
- dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is now Terminating", __FUNCTION__, __LINE__);
-}
-
-int main(int argc, char *argv[])
-{
- int ret = 0;
- appdata_s ad = {0,};
-
- ui_app_lifecycle_callback_s event_callback = {0,};
- event_callback.create = app_create;
- event_callback.terminate = app_terminate;
- event_callback.app_control = app_control;
-
- //setting gcda file location for coverage
- setenv("GCOV_PREFIX","/tmp",1);
- dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__);
-
- dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__);
- ret = ui_app_main(argc, argv, &event_callback, &ad);
- if (ret != APP_ERROR_NONE)
- {
- dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);
- PRINT_UTC_LOG("\\n[%s][Line : %d]Application ui_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret);
- PRINT_TC_RESULT("%d",1);
- return ret;
- }
-
- dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is Terminated", __FUNCTION__, __LINE__);
- return ret;
-}
+++ /dev/null
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-#ifndef __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_maps_address_startup(void);
-extern void utc_maps_address_cleanup(void);
-extern void utc_maps_area_startup(void);
-extern void utc_maps_area_cleanup(void);
-extern void utc_maps_coordinates_startup(void);
-extern void utc_maps_coordinates_cleanup(void);
-extern void utc_maps_place_startup(void);
-extern void utc_maps_place_cleanup(void);
-extern void utc_maps_place_attribute_startup(void);
-extern void utc_maps_place_attribute_cleanup(void);
-extern void utc_maps_place_category_startup(void);
-extern void utc_maps_place_category_cleanup(void);
-extern void utc_maps_place_contact_startup(void);
-extern void utc_maps_place_contact_cleanup(void);
-extern void utc_maps_place_editorial_startup(void);
-extern void utc_maps_place_editorial_cleanup(void);
-extern void utc_maps_place_filter_startup(void);
-extern void utc_maps_place_filter_cleanup(void);
-extern void utc_maps_place_image_startup(void);
-extern void utc_maps_place_image_cleanup(void);
-extern void utc_maps_place_link_object_startup(void);
-extern void utc_maps_place_link_object_cleanup(void);
-extern void utc_maps_place_media_startup(void);
-extern void utc_maps_place_media_cleanup(void);
-extern void utc_maps_place_rating_startup(void);
-extern void utc_maps_place_rating_cleanup(void);
-extern void utc_maps_place_review_startup(void);
-extern void utc_maps_place_review_cleanup(void);
-extern void utc_maps_place_url_startup(void);
-extern void utc_maps_place_url_cleanup(void);
-extern void utc_maps_preference_startup(void);
-extern void utc_maps_preference_cleanup(void);
-extern void utc_maps_route_startup(void);
-extern void utc_maps_route_cleanup(void);
-extern void utc_maps_route_maneuver_startup(void);
-extern void utc_maps_route_maneuver_cleanup(void);
-extern void utc_maps_route_segment_startup(void);
-extern void utc_maps_route_segment_cleanup(void);
-extern void utc_maps_view_object_startup(void);
-extern void utc_maps_view_object_cleanup(void);
-extern void utc_maps_view_object_overlay_startup(void);
-extern void utc_maps_view_object_overlay_cleanup(void);
-extern void utc_maps_view_event_data_startup(void);
-extern void utc_maps_view_event_data_cleanup(void);
-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 int utc_maps_address_create_p(void);
-extern int utc_maps_address_create_n(void);
-extern int utc_maps_address_destroy_p(void);
-extern int utc_maps_address_destroy_n(void);
-extern int utc_maps_address_clone_p(void);
-extern int utc_maps_address_clone_n(void);
-extern int utc_maps_address_set_building_number_p(void);
-extern int utc_maps_address_set_building_number_n(void);
-extern int utc_maps_address_set_street_p(void);
-extern int utc_maps_address_set_street_n(void);
-extern int utc_maps_address_set_district_p(void);
-extern int utc_maps_address_set_district_n(void);
-extern int utc_maps_address_set_city_p(void);
-extern int utc_maps_address_set_city_n(void);
-extern int utc_maps_address_set_state_p(void);
-extern int utc_maps_address_set_state_n(void);
-extern int utc_maps_address_set_country_p(void);
-extern int utc_maps_address_set_country_n(void);
-extern int utc_maps_address_set_country_code_p(void);
-extern int utc_maps_address_set_country_code_n(void);
-extern int utc_maps_address_set_county_p(void);
-extern int utc_maps_address_set_county_n(void);
-extern int utc_maps_address_set_postal_code_p(void);
-extern int utc_maps_address_set_postal_code_n(void);
-extern int utc_maps_address_set_freetext_p(void);
-extern int utc_maps_address_set_freetext_n(void);
-extern int utc_maps_address_get_building_number_p(void);
-extern int utc_maps_address_get_building_number_n(void);
-extern int utc_maps_address_get_street_p(void);
-extern int utc_maps_address_get_street_n(void);
-extern int utc_maps_address_get_district_p(void);
-extern int utc_maps_address_get_district_n(void);
-extern int utc_maps_address_get_city_p(void);
-extern int utc_maps_address_get_city_n(void);
-extern int utc_maps_address_get_state_p(void);
-extern int utc_maps_address_get_state_n(void);
-extern int utc_maps_address_get_country_p(void);
-extern int utc_maps_address_get_country_n(void);
-extern int utc_maps_address_get_country_code_p(void);
-extern int utc_maps_address_get_country_code_n(void);
-extern int utc_maps_address_get_county_p(void);
-extern int utc_maps_address_get_county_n(void);
-extern int utc_maps_address_get_postal_code_p(void);
-extern int utc_maps_address_get_postal_code_n(void);
-extern int utc_maps_address_get_freetext_p(void);
-extern int utc_maps_address_get_freetext_n(void);
-extern int utc_maps_address_list_create_p(void);
-extern int utc_maps_address_list_create_n(void);
-extern int utc_maps_address_list_destroy_p(void);
-extern int utc_maps_address_list_destroy_n(void);
-extern int utc_maps_address_list_append_p(void);
-extern int utc_maps_address_list_append_n(void);
-extern int utc_maps_address_list_remove_p(void);
-extern int utc_maps_address_list_remove_n(void);
-extern int utc_maps_address_list_get_length_p(void);
-extern int utc_maps_address_list_get_length_n(void);
-extern int utc_maps_address_list_foreach_p(void);
-extern int utc_maps_address_list_foreach_n(void);
-extern int utc_maps_area_create_rectangle_p(void);
-extern int utc_maps_area_create_rectangle_n(void);
-extern int utc_maps_area_create_circle_p(void);
-extern int utc_maps_area_create_circle_n(void);
-extern int utc_maps_area_destroy_p(void);
-extern int utc_maps_area_destroy_n(void);
-extern int utc_maps_area_clone_p(void);
-extern int utc_maps_area_clone_n(void);
-extern int utc_maps_coordinates_create_p(void);
-extern int utc_maps_coordinates_create_n(void);
-extern int utc_maps_coordinates_destroy_p(void);
-extern int utc_maps_coordinates_destroy_n(void);
-extern int utc_maps_coordinates_clone_p(void);
-extern int utc_maps_coordinates_clone_n(void);
-extern int utc_maps_coordinates_get_latitude_p(void);
-extern int utc_maps_coordinates_get_latitude_n(void);
-extern int utc_maps_coordinates_get_longitude_p(void);
-extern int utc_maps_coordinates_get_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_p(void);
-extern int utc_maps_coordinates_set_latitude_n(void);
-extern int utc_maps_coordinates_set_longitude_p(void);
-extern int utc_maps_coordinates_set_longitude_n(void);
-extern int utc_maps_coordinates_get_latitude_longitude_p(void);
-extern int utc_maps_coordinates_get_latitude_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_longitude_p(void);
-extern int utc_maps_coordinates_set_latitude_longitude_n(void);
-extern int utc_maps_coordinates_list_create_p(void);
-extern int utc_maps_coordinates_list_create_n(void);
-extern int utc_maps_coordinates_list_destroy_p(void);
-extern int utc_maps_coordinates_list_destroy_n(void);
-extern int utc_maps_coordinates_list_append_p(void);
-extern int utc_maps_coordinates_list_append_n(void);
-extern int utc_maps_coordinates_list_remove_p(void);
-extern int utc_maps_coordinates_list_remove_n(void);
-extern int utc_maps_coordinates_list_get_length_p(void);
-extern int utc_maps_coordinates_list_get_length_n(void);
-extern int utc_maps_coordinates_list_foreach_p(void);
-extern int utc_maps_coordinates_list_foreach_n(void);
-extern int utc_maps_place_destroy_n(void);
-extern int utc_maps_place_clone_n(void);
-extern int utc_maps_place_get_id_n(void);
-extern int utc_maps_place_get_name_n(void);
-extern int utc_maps_place_get_uri_n(void);
-extern int utc_maps_place_get_location_n(void);
-extern int utc_maps_place_get_distance_n(void);
-extern int utc_maps_place_get_address_n(void);
-extern int utc_maps_place_get_rating_n(void);
-extern int utc_maps_place_foreach_category_n(void);
-extern int utc_maps_place_foreach_attribute_n(void);
-extern int utc_maps_place_foreach_contact_n(void);
-extern int utc_maps_place_foreach_editorial_n(void);
-extern int utc_maps_place_foreach_image_n(void);
-extern int utc_maps_place_foreach_review_n(void);
-extern int utc_maps_place_get_supplier_link_n(void);
-extern int utc_maps_place_get_related_link_n(void);
-extern int utc_maps_place_foreach_property_n(void);
-extern int utc_maps_place_list_destroy_n(void);
-extern int utc_maps_place_attribute_destroy_n(void);
-extern int utc_maps_place_attribute_clone_n(void);
-extern int utc_maps_place_attribute_get_id_n(void);
-extern int utc_maps_place_attribute_get_text_n(void);
-extern int utc_maps_place_attribute_get_label_n(void);
-extern int utc_maps_place_category_create_p(void);
-extern int utc_maps_place_category_create_n(void);
-extern int utc_maps_place_category_destroy_p(void);
-extern int utc_maps_place_category_destroy_n(void);
-extern int utc_maps_place_category_clone_p(void);
-extern int utc_maps_place_category_clone_n(void);
-extern int utc_maps_place_category_set_id_p(void);
-extern int utc_maps_place_category_set_id_n(void);
-extern int utc_maps_place_category_get_id_p(void);
-extern int utc_maps_place_category_get_id_n(void);
-extern int utc_maps_place_category_set_name_p(void);
-extern int utc_maps_place_category_set_name_n(void);
-extern int utc_maps_place_category_get_name_p(void);
-extern int utc_maps_place_category_get_name_n(void);
-extern int utc_maps_place_category_set_url_p(void);
-extern int utc_maps_place_category_set_url_n(void);
-extern int utc_maps_place_category_get_url_p(void);
-extern int utc_maps_place_category_get_url_n(void);
-extern int utc_maps_place_contact_destroy_n(void);
-extern int utc_maps_place_contact_clone_n(void);
-extern int utc_maps_place_contact_get_label_n(void);
-extern int utc_maps_place_contact_get_type_n(void);
-extern int utc_maps_place_contact_get_value_n(void);
-extern int utc_maps_place_editorial_destroy_n(void);
-extern int utc_maps_place_editorial_clone_n(void);
-extern int utc_maps_place_editorial_get_description_n(void);
-extern int utc_maps_place_editorial_get_language_n(void);
-extern int utc_maps_place_editorial_get_media_n(void);
-extern int utc_maps_place_filter_create_p(void);
-extern int utc_maps_place_filter_create_n(void);
-extern int utc_maps_place_filter_destroy_p(void);
-extern int utc_maps_place_filter_destroy_n(void);
-extern int utc_maps_place_filter_clone_p(void);
-extern int utc_maps_place_filter_clone_n(void);
-extern int utc_maps_place_filter_get_p(void);
-extern int utc_maps_place_filter_get_n(void);
-extern int utc_maps_place_filter_get_keyword_p(void);
-extern int utc_maps_place_filter_get_keyword_n(void);
-extern int utc_maps_place_filter_get_category_p(void);
-extern int utc_maps_place_filter_get_category_n(void);
-extern int utc_maps_place_filter_foreach_property_p(void);
-extern int utc_maps_place_filter_foreach_property_n(void);
-extern int utc_maps_place_filter_get_place_name_p(void);
-extern int utc_maps_place_filter_get_place_name_n(void);
-extern int utc_maps_place_filter_set_p(void);
-extern int utc_maps_place_filter_set_n(void);
-extern int utc_maps_place_filter_set_category_p(void);
-extern int utc_maps_place_filter_set_category_n(void);
-extern int utc_maps_place_filter_set_keyword_p(void);
-extern int utc_maps_place_filter_set_keyword_n(void);
-extern int utc_maps_place_filter_set_place_name_p(void);
-extern int utc_maps_place_filter_set_place_name_n(void);
-extern int utc_maps_place_filter_set_place_address_p(void);
-extern int utc_maps_place_filter_set_place_address_n(void);
-extern int utc_maps_place_filter_get_place_address_p(void);
-extern int utc_maps_place_filter_get_place_address_n(void);
-extern int utc_maps_place_image_destroy_n(void);
-extern int utc_maps_place_image_clone_n(void);
-extern int utc_maps_place_image_get_url_n(void);
-extern int utc_maps_place_image_get_id_n(void);
-extern int utc_maps_place_image_get_height_n(void);
-extern int utc_maps_place_image_get_width_n(void);
-extern int utc_maps_place_image_get_media_n(void);
-extern int utc_maps_place_image_get_user_link_n(void);
-extern int utc_maps_place_link_object_destroy_n(void);
-extern int utc_maps_place_link_object_clone_n(void);
-extern int utc_maps_place_link_object_get_id_n(void);
-extern int utc_maps_place_link_object_get_name_n(void);
-extern int utc_maps_place_link_object_get_type_n(void);
-extern int utc_maps_place_link_object_get_string_n(void);
-extern int utc_maps_place_media_destroy_n(void);
-extern int utc_maps_place_media_clone_n(void);
-extern int utc_maps_place_media_get_attribution_n(void);
-extern int utc_maps_place_media_get_supplier_n(void);
-extern int utc_maps_place_media_get_via_n(void);
-extern int utc_maps_place_rating_destroy_n(void);
-extern int utc_maps_place_rating_clone_n(void);
-extern int utc_maps_place_rating_get_count_n(void);
-extern int utc_maps_place_rating_get_average_n(void);
-extern int utc_maps_place_review_destroy_n(void);
-extern int utc_maps_place_review_clone_n(void);
-extern int utc_maps_place_review_get_date_n(void);
-extern int utc_maps_place_review_get_title_n(void);
-extern int utc_maps_place_review_get_description_n(void);
-extern int utc_maps_place_review_get_language_n(void);
-extern int utc_maps_place_review_get_rating_n(void);
-extern int utc_maps_place_review_get_media_n(void);
-extern int utc_maps_place_review_get_user_link_n(void);
-extern int utc_maps_place_url_destroy_n(void);
-extern int utc_maps_place_url_clone_n(void);
-extern int utc_maps_place_url_get_path_n(void);
-extern int utc_maps_place_url_get_description_n(void);
-extern int utc_maps_preference_create_p(void);
-extern int utc_maps_preference_create_n(void);
-extern int utc_maps_preference_destroy_p(void);
-extern int utc_maps_preference_destroy_n(void);
-extern int utc_maps_preference_clone_p(void);
-extern int utc_maps_preference_clone_n(void);
-extern int utc_maps_preference_get_distance_unit_p(void);
-extern int utc_maps_preference_get_distance_unit_n(void);
-extern int utc_maps_preference_get_language_p(void);
-extern int utc_maps_preference_get_language_n(void);
-extern int utc_maps_preference_get_max_results_p(void);
-extern int utc_maps_preference_get_max_results_n(void);
-extern int utc_maps_preference_get_country_code_p(void);
-extern int utc_maps_preference_get_country_code_n(void);
-extern int utc_maps_preference_get_route_optimization_p(void);
-extern int utc_maps_preference_get_route_optimization_n(void);
-extern int utc_maps_preference_get_route_transport_mode_p(void);
-extern int utc_maps_preference_get_route_transport_mode_n(void);
-extern int utc_maps_preference_get_route_feature_weight_p(void);
-extern int utc_maps_preference_get_route_feature_weight_n(void);
-extern int utc_maps_preference_get_route_feature_p(void);
-extern int utc_maps_preference_get_route_feature_n(void);
-extern int utc_maps_preference_get_p(void);
-extern int utc_maps_preference_get_n(void);
-extern int utc_maps_preference_foreach_property_p(void);
-extern int utc_maps_preference_foreach_property_n(void);
-extern int utc_maps_preference_set_distance_unit_p(void);
-extern int utc_maps_preference_set_distance_unit_n(void);
-extern int utc_maps_preference_set_language_p(void);
-extern int utc_maps_preference_set_language_n(void);
-extern int utc_maps_preference_set_max_results_p(void);
-extern int utc_maps_preference_set_max_results_n(void);
-extern int utc_maps_preference_set_country_code_p(void);
-extern int utc_maps_preference_set_country_code_n(void);
-extern int utc_maps_preference_set_route_optimization_p(void);
-extern int utc_maps_preference_set_route_optimization_n(void);
-extern int utc_maps_preference_set_route_transport_mode_p(void);
-extern int utc_maps_preference_set_route_transport_mode_n(void);
-extern int utc_maps_preference_set_route_feature_weight_p(void);
-extern int utc_maps_preference_set_route_feature_weight_n(void);
-extern int utc_maps_preference_set_route_feature_p(void);
-extern int utc_maps_preference_set_route_feature_n(void);
-extern int utc_maps_preference_set_property_p(void);
-extern int utc_maps_preference_set_property_n(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_n(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_n(void);
-extern int utc_maps_route_destroy_n(void);
-extern int utc_maps_route_clone_n(void);
-extern int utc_maps_route_get_route_id_n(void);
-extern int utc_maps_route_get_origin_n(void);
-extern int utc_maps_route_get_destination_n(void);
-extern int utc_maps_route_get_bounding_box_n(void);
-extern int utc_maps_route_get_total_distance_n(void);
-extern int utc_maps_route_get_transport_mode_n(void);
-extern int utc_maps_route_get_total_duration_n(void);
-extern int utc_maps_route_get_distance_unit_n(void);
-extern int utc_maps_route_foreach_property_n(void);
-extern int utc_maps_route_foreach_path_n(void);
-extern int utc_maps_route_foreach_segment_n(void);
-extern int utc_maps_route_maneuver_destroy_n(void);
-extern int utc_maps_route_maneuver_clone_n(void);
-extern int utc_maps_route_maneuver_get_direction_id_n(void);
-extern int utc_maps_route_maneuver_get_turn_type_n(void);
-extern int utc_maps_route_maneuver_get_position_n(void);
-extern int utc_maps_route_maneuver_get_road_name_n(void);
-extern int utc_maps_route_maneuver_get_instruction_text_n(void);
-extern int utc_maps_route_maneuver_get_locale_n(void);
-extern int utc_maps_route_maneuver_get_time_to_next_instruction_n(void);
-extern int utc_maps_route_maneuver_get_distance_to_next_instruction_n(void);
-extern int utc_maps_route_segment_destroy_n(void);
-extern int utc_maps_route_segment_clone_n(void);
-extern int utc_maps_route_segment_get_origin_n(void);
-extern int utc_maps_route_segment_get_destination_n(void);
-extern int utc_maps_route_segment_get_bounding_box_n(void);
-extern int utc_maps_route_segment_get_distance_n(void);
-extern int utc_maps_route_segment_get_duration_n(void);
-extern int utc_maps_route_segment_foreach_path_n(void);
-extern int utc_maps_route_segment_foreach_maneuver_n(void);
-extern int utc_maps_view_object_create_marker_p(void);
-extern int utc_maps_view_object_create_marker_n(void);
-extern int utc_maps_view_object_destroy_p(void);
-extern int utc_maps_view_object_destroy_n(void);
-extern int utc_maps_view_object_get_type_p(void);
-extern int utc_maps_view_object_get_type_n(void);
-extern int utc_maps_view_object_set_visible_p(void);
-extern int utc_maps_view_object_set_visible_n(void);
-extern int utc_maps_view_object_get_visible_p(void);
-extern int utc_maps_view_object_get_visible_n(void);
-extern int utc_maps_view_object_marker_set_coordinates_p(void);
-extern int utc_maps_view_object_marker_set_coordinates_n(void);
-extern int utc_maps_view_object_marker_resize_p(void);
-extern int utc_maps_view_object_marker_resize_n(void);
-extern int utc_maps_view_object_marker_set_image_file_p(void);
-extern int utc_maps_view_object_marker_set_image_file_n(void);
-extern int utc_maps_view_object_marker_get_image_file_p(void);
-extern int utc_maps_view_object_marker_get_image_file_n(void);
-extern int utc_maps_view_object_marker_get_coordinates_p(void);
-extern int utc_maps_view_object_marker_get_coordinates_n(void);
-extern int utc_maps_view_object_marker_get_size_p(void);
-extern int utc_maps_view_object_marker_get_size_n(void);
-extern int utc_maps_view_object_marker_get_type_p(void);
-extern int utc_maps_view_object_marker_get_type_n(void);
-extern int utc_maps_view_object_marker_set_z_order_p(void);
-extern int utc_maps_view_object_marker_set_z_order_n(void);
-extern int utc_maps_view_object_marker_get_z_order_p(void);
-extern int utc_maps_view_object_marker_get_z_order_n(void);
-extern int utc_maps_view_object_create_polyline_p(void);
-extern int utc_maps_view_object_create_polyline_n(void);
-extern int utc_maps_view_object_polyline_set_polyline_p(void);
-extern int utc_maps_view_object_polyline_set_polyline_n(void);
-extern int utc_maps_view_object_polyline_foreach_point_p(void);
-extern int utc_maps_view_object_polyline_foreach_point_n(void);
-extern int utc_maps_view_object_polyline_set_color_p(void);
-extern int utc_maps_view_object_polyline_set_color_n(void);
-extern int utc_maps_view_object_polyline_get_color_p(void);
-extern int utc_maps_view_object_polyline_get_color_n(void);
-extern int utc_maps_view_object_polyline_set_width_p(void);
-extern int utc_maps_view_object_polyline_set_width_n(void);
-extern int utc_maps_view_object_polyline_get_width_p(void);
-extern int utc_maps_view_object_polyline_get_width_n(void);
-extern int utc_maps_view_object_create_polygon_p(void);
-extern int utc_maps_view_object_create_polygon_n(void);
-extern int utc_maps_view_object_polygon_set_polygon_p(void);
-extern int utc_maps_view_object_polygon_set_polygon_n(void);
-extern int utc_maps_view_object_polygon_foreach_point_p(void);
-extern int utc_maps_view_object_polygon_foreach_point_n(void);
-extern int utc_maps_view_object_polygon_set_fill_color_p(void);
-extern int utc_maps_view_object_polygon_set_fill_color_n(void);
-extern int utc_maps_view_object_polygon_get_fill_color_p(void);
-extern int utc_maps_view_object_polygon_get_fill_color_n(void);
-extern int utc_maps_view_object_create_overlay_p(void);
-extern int utc_maps_view_object_create_overlay_n(void);
-extern int utc_maps_view_object_overlay_get_object_p(void);
-extern int utc_maps_view_object_overlay_get_object_n(void);
-extern int utc_maps_view_object_overlay_set_coordinates_p(void);
-extern int utc_maps_view_object_overlay_set_coordinates_n(void);
-extern int utc_maps_view_object_overlay_get_coordinates_p(void);
-extern int utc_maps_view_object_overlay_get_coordinates_n(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_n(void);
-extern int utc_maps_view_event_data_destroy_n(void);
-extern int utc_maps_view_event_data_clone_n(void);
-extern int utc_maps_view_event_data_get_type_n(void);
-extern int utc_maps_view_event_data_get_gesture_type_n(void);
-extern int utc_maps_view_event_data_get_action_type_n(void);
-extern int utc_maps_view_event_data_get_center_n(void);
-extern int utc_maps_view_event_data_get_delta_n(void);
-extern int utc_maps_view_event_data_get_position_n(void);
-extern int utc_maps_view_event_data_get_fingers_n(void);
-extern int utc_maps_view_event_data_get_zoom_factor_n(void);
-extern int utc_maps_view_event_data_get_rotation_angle_n(void);
-extern int utc_maps_view_event_data_get_object_n(void);
-extern int utc_maps_view_event_data_get_coordinates_n(void);
-extern int utc_maps_service_foreach_provider_p(void);
-extern int utc_maps_service_foreach_provider_n(void);
-extern int utc_maps_service_create_p(void);
-extern int utc_maps_service_create_n(void);
-extern int utc_maps_service_destroy_p(void);
-extern int utc_maps_service_destroy_n(void);
-extern int utc_maps_service_set_provider_key_p(void);
-extern int utc_maps_service_set_provider_key_n(void);
-extern int utc_maps_service_get_provider_key_p(void);
-extern int utc_maps_service_get_provider_key_n(void);
-extern int utc_maps_service_set_preference_p(void);
-extern int utc_maps_service_set_preference_n(void);
-extern int utc_maps_service_get_preference_p(void);
-extern int utc_maps_service_get_preference_n(void);
-extern int utc_maps_service_provider_is_service_supported_p(void);
-extern int utc_maps_service_provider_is_service_supported_n(void);
-extern int utc_maps_service_provider_is_data_supported_p(void);
-extern int utc_maps_service_provider_is_data_supported_n(void);
-extern int utc_maps_service_geocode_p(void);
-extern int utc_maps_service_geocode_n(void);
-extern int utc_maps_service_geocode_inside_area_p(void);
-extern int utc_maps_service_geocode_inside_area_n(void);
-extern int utc_maps_service_geocode_by_structured_address_p(void);
-extern int utc_maps_service_geocode_by_structured_address_n(void);
-extern int utc_maps_service_reverse_geocode_p(void);
-extern int utc_maps_service_reverse_geocode_n(void);
-extern int utc_maps_service_cancel_request_p(void);
-extern int utc_maps_service_cancel_request_n(void);
-extern int utc_maps_service_search_route_p(void);
-extern int utc_maps_service_search_route_n(void);
-extern int utc_maps_service_search_route_waypoints_p(void);
-extern int utc_maps_service_search_route_waypoints_n(void);
-extern int utc_maps_service_search_place_p(void);
-extern int utc_maps_service_search_place_n(void);
-extern int utc_maps_service_search_place_by_area_p(void);
-extern int utc_maps_service_search_place_by_area_n(void);
-extern int utc_maps_service_search_place_by_address_p(void);
-extern int utc_maps_service_search_place_by_address_n(void);
-extern int utc_maps_service_multi_reverse_geocode_p(void);
-extern int utc_maps_service_multi_reverse_geocode_n(void);
-extern int utc_maps_service_search_place_list_p(void);
-extern int utc_maps_service_search_place_list_n(void);
-extern int utc_maps_service_get_place_details_p(void);
-extern int utc_maps_service_get_place_details_n(void);
-extern int utc_maps_service_request_user_consent_p(void);
-extern int utc_maps_service_request_user_consent_n(void);
-extern int utc_maps_view_create_p(void);
-extern int utc_maps_view_create_n(void);
-extern int utc_maps_view_get_center_p(void);
-extern int utc_maps_view_get_center_n(void);
-extern int utc_maps_view_set_center_p(void);
-extern int utc_maps_view_set_center_n(void);
-extern int utc_maps_view_get_zoom_level_p(void);
-extern int utc_maps_view_get_zoom_level_n(void);
-extern int utc_maps_view_set_zoom_level_p(void);
-extern int utc_maps_view_set_zoom_level_n(void);
-extern int utc_maps_view_get_min_zoom_level_p(void);
-extern int utc_maps_view_get_min_zoom_level_n(void);
-extern int utc_maps_view_get_max_zoom_level_p(void);
-extern int utc_maps_view_get_max_zoom_level_n(void);
-extern int utc_maps_view_set_orientation_p(void);
-extern int utc_maps_view_set_orientation_n(void);
-extern int utc_maps_view_get_orientation_p(void);
-extern int utc_maps_view_get_orientation_n(void);
-extern int utc_maps_view_screen_to_geolocation_p(void);
-extern int utc_maps_view_screen_to_geolocation_n(void);
-extern int utc_maps_view_geolocation_to_screen_p(void);
-extern int utc_maps_view_geolocation_to_screen_n(void);
-extern int utc_maps_view_set_type_p(void);
-extern int utc_maps_view_set_type_n(void);
-extern int utc_maps_view_get_type_p(void);
-extern int utc_maps_view_get_type_n(void);
-extern int utc_maps_view_set_buildings_enabled_p(void);
-extern int utc_maps_view_set_buildings_enabled_n(void);
-extern int utc_maps_view_get_buildings_enabled_p(void);
-extern int utc_maps_view_get_buildings_enabled_n(void);
-extern int utc_maps_view_set_traffic_enabled_p(void);
-extern int utc_maps_view_set_traffic_enabled_n(void);
-extern int utc_maps_view_get_traffic_enabled_p(void);
-extern int utc_maps_view_get_traffic_enabled_n(void);
-extern int utc_maps_view_set_public_transit_enabled_p(void);
-extern int utc_maps_view_set_public_transit_enabled_n(void);
-extern int utc_maps_view_get_public_transit_enabled_p(void);
-extern int utc_maps_view_get_public_transit_enabled_n(void);
-extern int utc_maps_view_set_language_p(void);
-extern int utc_maps_view_set_language_n(void);
-extern int utc_maps_view_get_language_p(void);
-extern int utc_maps_view_get_language_n(void);
-extern int utc_maps_view_get_viewport_p(void);
-extern int utc_maps_view_get_viewport_n(void);
-extern int utc_maps_view_set_screen_location_p(void);
-extern int utc_maps_view_set_screen_location_n(void);
-extern int utc_maps_view_get_screen_location_p(void);
-extern int utc_maps_view_get_screen_location_n(void);
-extern int utc_maps_view_move_p(void);
-extern int utc_maps_view_move_n(void);
-extern int utc_maps_view_resize_p(void);
-extern int utc_maps_view_resize_n(void);
-extern int utc_maps_view_set_visibility_p(void);
-extern int utc_maps_view_set_visibility_n(void);
-extern int utc_maps_view_get_visibility_p(void);
-extern int utc_maps_view_get_visibility_n(void);
-extern int utc_maps_view_set_event_cb_p(void);
-extern int utc_maps_view_set_event_cb_n(void);
-extern int utc_maps_view_unset_event_cb_p(void);
-extern int utc_maps_view_unset_event_cb_n(void);
-extern int utc_maps_view_set_gesture_enabled_p(void);
-extern int utc_maps_view_set_gesture_enabled_n(void);
-extern int utc_maps_view_get_gesture_enabled_p(void);
-extern int utc_maps_view_get_gesture_enabled_n(void);
-extern int utc_maps_view_set_scalebar_enabled_p(void);
-extern int utc_maps_view_set_scalebar_enabled_n(void);
-extern int utc_maps_view_get_scalebar_enabled_p(void);
-extern int utc_maps_view_get_scalebar_enabled_n(void);
-extern int utc_maps_view_add_object_p(void);
-extern int utc_maps_view_add_object_n(void);
-extern int utc_maps_view_remove_object_p(void);
-extern int utc_maps_view_remove_object_n(void);
-extern int utc_maps_view_remove_all_objects_p(void);
-extern int utc_maps_view_remove_all_objects_n(void);
-extern int utc_maps_view_foreach_object_p(void);
-extern int utc_maps_view_foreach_object_n(void);
-extern int utc_maps_view_set_min_zoom_level_p(void);
-extern int utc_maps_view_set_min_zoom_level_n(void);
-extern int utc_maps_view_set_max_zoom_level_p(void);
-extern int utc_maps_view_set_max_zoom_level_n(void);
-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);
-
-testcase tc_array[] = {
- {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_create_n",utc_maps_address_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_p",utc_maps_address_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_n",utc_maps_address_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_p",utc_maps_address_clone_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_n",utc_maps_address_clone_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_p",utc_maps_address_set_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_n",utc_maps_address_set_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_p",utc_maps_address_set_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_n",utc_maps_address_set_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_p",utc_maps_address_set_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_n",utc_maps_address_set_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_p",utc_maps_address_set_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_n",utc_maps_address_set_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_p",utc_maps_address_set_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_n",utc_maps_address_set_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_p",utc_maps_address_set_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_n",utc_maps_address_set_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_p",utc_maps_address_set_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_n",utc_maps_address_set_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_p",utc_maps_address_set_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_n",utc_maps_address_set_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_p",utc_maps_address_set_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_n",utc_maps_address_set_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_p",utc_maps_address_set_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_n",utc_maps_address_set_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_p",utc_maps_address_get_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_n",utc_maps_address_get_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_p",utc_maps_address_get_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_n",utc_maps_address_get_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_p",utc_maps_address_get_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_n",utc_maps_address_get_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_p",utc_maps_address_get_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_n",utc_maps_address_get_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_p",utc_maps_address_get_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_n",utc_maps_address_get_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_p",utc_maps_address_get_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_n",utc_maps_address_get_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_p",utc_maps_address_get_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_n",utc_maps_address_get_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_p",utc_maps_address_get_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_n",utc_maps_address_get_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_p",utc_maps_address_get_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_n",utc_maps_address_get_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_p",utc_maps_address_get_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_n",utc_maps_address_get_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_p",utc_maps_address_list_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_n",utc_maps_address_list_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_p",utc_maps_address_list_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_n",utc_maps_address_list_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_p",utc_maps_address_list_append_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_n",utc_maps_address_list_append_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_p",utc_maps_address_list_remove_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_n",utc_maps_address_list_remove_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_p",utc_maps_address_list_get_length_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_n",utc_maps_address_list_get_length_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_p",utc_maps_address_list_foreach_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_n",utc_maps_address_list_foreach_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_area_create_rectangle_p",utc_maps_area_create_rectangle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_rectangle_n",utc_maps_area_create_rectangle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_p",utc_maps_area_create_circle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_n",utc_maps_area_create_circle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_p",utc_maps_area_destroy_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_n",utc_maps_area_destroy_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_p",utc_maps_area_clone_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_n",utc_maps_area_clone_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_coordinates_create_p",utc_maps_coordinates_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_create_n",utc_maps_coordinates_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_p",utc_maps_coordinates_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_n",utc_maps_coordinates_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_p",utc_maps_coordinates_clone_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_n",utc_maps_coordinates_clone_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_p",utc_maps_coordinates_get_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_n",utc_maps_coordinates_get_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_p",utc_maps_coordinates_get_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_n",utc_maps_coordinates_get_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_p",utc_maps_coordinates_set_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_n",utc_maps_coordinates_set_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_p",utc_maps_coordinates_set_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_n",utc_maps_coordinates_set_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_p",utc_maps_coordinates_get_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_n",utc_maps_coordinates_get_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_p",utc_maps_coordinates_set_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_n",utc_maps_coordinates_set_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_p",utc_maps_coordinates_list_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_n",utc_maps_coordinates_list_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_p",utc_maps_coordinates_list_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_n",utc_maps_coordinates_list_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_p",utc_maps_coordinates_list_append_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_n",utc_maps_coordinates_list_append_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_p",utc_maps_coordinates_list_remove_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_n",utc_maps_coordinates_list_remove_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_p",utc_maps_coordinates_list_get_length_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_n",utc_maps_coordinates_list_get_length_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_p",utc_maps_coordinates_list_foreach_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_n",utc_maps_coordinates_list_foreach_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_place_destroy_n",utc_maps_place_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_clone_n",utc_maps_place_clone_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_id_n",utc_maps_place_get_id_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_name_n",utc_maps_place_get_name_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_uri_n",utc_maps_place_get_uri_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_location_n",utc_maps_place_get_location_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_distance_n",utc_maps_place_get_distance_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_address_n",utc_maps_place_get_address_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_rating_n",utc_maps_place_get_rating_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_category_n",utc_maps_place_foreach_category_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_attribute_n",utc_maps_place_foreach_attribute_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_contact_n",utc_maps_place_foreach_contact_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_editorial_n",utc_maps_place_foreach_editorial_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_image_n",utc_maps_place_foreach_image_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_review_n",utc_maps_place_foreach_review_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_supplier_link_n",utc_maps_place_get_supplier_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_related_link_n",utc_maps_place_get_related_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_property_n",utc_maps_place_foreach_property_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_list_destroy_n",utc_maps_place_list_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_attribute_destroy_n",utc_maps_place_attribute_destroy_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_clone_n",utc_maps_place_attribute_clone_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_id_n",utc_maps_place_attribute_get_id_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_text_n",utc_maps_place_attribute_get_text_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_label_n",utc_maps_place_attribute_get_label_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_category_create_p",utc_maps_place_category_create_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_create_n",utc_maps_place_category_create_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_p",utc_maps_place_category_destroy_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_n",utc_maps_place_category_destroy_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_p",utc_maps_place_category_clone_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_n",utc_maps_place_category_clone_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_p",utc_maps_place_category_set_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_n",utc_maps_place_category_set_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_p",utc_maps_place_category_get_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_n",utc_maps_place_category_get_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_p",utc_maps_place_category_set_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_n",utc_maps_place_category_set_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_p",utc_maps_place_category_get_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_n",utc_maps_place_category_get_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_p",utc_maps_place_category_set_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_n",utc_maps_place_category_set_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_p",utc_maps_place_category_get_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_n",utc_maps_place_category_get_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_contact_destroy_n",utc_maps_place_contact_destroy_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_clone_n",utc_maps_place_contact_clone_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_label_n",utc_maps_place_contact_get_label_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_type_n",utc_maps_place_contact_get_type_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_value_n",utc_maps_place_contact_get_value_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_editorial_destroy_n",utc_maps_place_editorial_destroy_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_clone_n",utc_maps_place_editorial_clone_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_description_n",utc_maps_place_editorial_get_description_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_language_n",utc_maps_place_editorial_get_language_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_media_n",utc_maps_place_editorial_get_media_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_filter_create_p",utc_maps_place_filter_create_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_create_n",utc_maps_place_filter_create_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_p",utc_maps_place_filter_destroy_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_n",utc_maps_place_filter_destroy_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_p",utc_maps_place_filter_clone_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_n",utc_maps_place_filter_clone_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_p",utc_maps_place_filter_get_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_n",utc_maps_place_filter_get_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_p",utc_maps_place_filter_get_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_n",utc_maps_place_filter_get_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_p",utc_maps_place_filter_get_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_n",utc_maps_place_filter_get_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_p",utc_maps_place_filter_foreach_property_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_n",utc_maps_place_filter_foreach_property_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_p",utc_maps_place_filter_get_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_n",utc_maps_place_filter_get_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_p",utc_maps_place_filter_set_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_n",utc_maps_place_filter_set_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_p",utc_maps_place_filter_set_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_n",utc_maps_place_filter_set_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_p",utc_maps_place_filter_set_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_n",utc_maps_place_filter_set_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_p",utc_maps_place_filter_set_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_n",utc_maps_place_filter_set_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_p",utc_maps_place_filter_set_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_n",utc_maps_place_filter_set_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_p",utc_maps_place_filter_get_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_n",utc_maps_place_filter_get_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_image_destroy_n",utc_maps_place_image_destroy_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_clone_n",utc_maps_place_image_clone_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_url_n",utc_maps_place_image_get_url_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_id_n",utc_maps_place_image_get_id_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_height_n",utc_maps_place_image_get_height_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_width_n",utc_maps_place_image_get_width_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_media_n",utc_maps_place_image_get_media_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_user_link_n",utc_maps_place_image_get_user_link_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_link_object_destroy_n",utc_maps_place_link_object_destroy_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_clone_n",utc_maps_place_link_object_clone_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_id_n",utc_maps_place_link_object_get_id_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_name_n",utc_maps_place_link_object_get_name_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_type_n",utc_maps_place_link_object_get_type_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_string_n",utc_maps_place_link_object_get_string_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_media_destroy_n",utc_maps_place_media_destroy_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_clone_n",utc_maps_place_media_clone_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_attribution_n",utc_maps_place_media_get_attribution_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_supplier_n",utc_maps_place_media_get_supplier_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_via_n",utc_maps_place_media_get_via_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_rating_destroy_n",utc_maps_place_rating_destroy_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_clone_n",utc_maps_place_rating_clone_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_count_n",utc_maps_place_rating_get_count_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_average_n",utc_maps_place_rating_get_average_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_review_destroy_n",utc_maps_place_review_destroy_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_clone_n",utc_maps_place_review_clone_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_date_n",utc_maps_place_review_get_date_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_title_n",utc_maps_place_review_get_title_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_description_n",utc_maps_place_review_get_description_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_language_n",utc_maps_place_review_get_language_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_rating_n",utc_maps_place_review_get_rating_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_media_n",utc_maps_place_review_get_media_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_user_link_n",utc_maps_place_review_get_user_link_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_url_destroy_n",utc_maps_place_url_destroy_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_clone_n",utc_maps_place_url_clone_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_path_n",utc_maps_place_url_get_path_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_description_n",utc_maps_place_url_get_description_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_preference_create_p",utc_maps_preference_create_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_create_n",utc_maps_preference_create_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_p",utc_maps_preference_destroy_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_n",utc_maps_preference_destroy_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_p",utc_maps_preference_clone_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_n",utc_maps_preference_clone_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_p",utc_maps_preference_get_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_n",utc_maps_preference_get_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_p",utc_maps_preference_get_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_n",utc_maps_preference_get_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_p",utc_maps_preference_get_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_n",utc_maps_preference_get_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_p",utc_maps_preference_get_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_n",utc_maps_preference_get_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_p",utc_maps_preference_get_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_n",utc_maps_preference_get_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_p",utc_maps_preference_get_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_n",utc_maps_preference_get_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_p",utc_maps_preference_get_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_n",utc_maps_preference_get_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_p",utc_maps_preference_get_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_n",utc_maps_preference_get_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_p",utc_maps_preference_get_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_n",utc_maps_preference_get_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_p",utc_maps_preference_foreach_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_n",utc_maps_preference_foreach_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_p",utc_maps_preference_set_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_n",utc_maps_preference_set_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_p",utc_maps_preference_set_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_n",utc_maps_preference_set_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_p",utc_maps_preference_set_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_n",utc_maps_preference_set_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_p",utc_maps_preference_set_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_n",utc_maps_preference_set_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_p",utc_maps_preference_set_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_n",utc_maps_preference_set_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_p",utc_maps_preference_set_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_n",utc_maps_preference_set_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_p",utc_maps_preference_set_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_n",utc_maps_preference_set_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_p",utc_maps_preference_set_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_n",utc_maps_preference_set_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_p",utc_maps_preference_set_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_n",utc_maps_preference_set_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_p",utc_maps_preference_set_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_n",utc_maps_preference_set_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_p",utc_maps_preference_get_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_n",utc_maps_preference_get_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_route_destroy_n",utc_maps_route_destroy_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_clone_n",utc_maps_route_clone_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_route_id_n",utc_maps_route_get_route_id_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_origin_n",utc_maps_route_get_origin_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_destination_n",utc_maps_route_get_destination_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_bounding_box_n",utc_maps_route_get_bounding_box_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_distance_n",utc_maps_route_get_total_distance_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_transport_mode_n",utc_maps_route_get_transport_mode_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_duration_n",utc_maps_route_get_total_duration_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_distance_unit_n",utc_maps_route_get_distance_unit_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_property_n",utc_maps_route_foreach_property_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_path_n",utc_maps_route_foreach_path_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_segment_n",utc_maps_route_foreach_segment_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_maneuver_destroy_n",utc_maps_route_maneuver_destroy_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_clone_n",utc_maps_route_maneuver_clone_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_direction_id_n",utc_maps_route_maneuver_get_direction_id_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_turn_type_n",utc_maps_route_maneuver_get_turn_type_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_position_n",utc_maps_route_maneuver_get_position_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_road_name_n",utc_maps_route_maneuver_get_road_name_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_instruction_text_n",utc_maps_route_maneuver_get_instruction_text_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_locale_n",utc_maps_route_maneuver_get_locale_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_time_to_next_instruction_n",utc_maps_route_maneuver_get_time_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_distance_to_next_instruction_n",utc_maps_route_maneuver_get_distance_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_segment_destroy_n",utc_maps_route_segment_destroy_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_clone_n",utc_maps_route_segment_clone_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_origin_n",utc_maps_route_segment_get_origin_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_destination_n",utc_maps_route_segment_get_destination_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_bounding_box_n",utc_maps_route_segment_get_bounding_box_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_distance_n",utc_maps_route_segment_get_distance_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_duration_n",utc_maps_route_segment_get_duration_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_path_n",utc_maps_route_segment_foreach_path_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_maneuver_n",utc_maps_route_segment_foreach_maneuver_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_view_object_create_marker_p",utc_maps_view_object_create_marker_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_marker_n",utc_maps_view_object_create_marker_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_p",utc_maps_view_object_destroy_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_n",utc_maps_view_object_destroy_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_p",utc_maps_view_object_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_n",utc_maps_view_object_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_p",utc_maps_view_object_set_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_n",utc_maps_view_object_set_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_p",utc_maps_view_object_get_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_n",utc_maps_view_object_get_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_p",utc_maps_view_object_marker_set_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_n",utc_maps_view_object_marker_set_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_p",utc_maps_view_object_marker_resize_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_n",utc_maps_view_object_marker_resize_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_p",utc_maps_view_object_marker_set_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_n",utc_maps_view_object_marker_set_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_p",utc_maps_view_object_marker_get_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_n",utc_maps_view_object_marker_get_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_p",utc_maps_view_object_marker_get_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_n",utc_maps_view_object_marker_get_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_p",utc_maps_view_object_marker_get_size_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_n",utc_maps_view_object_marker_get_size_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_p",utc_maps_view_object_marker_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_n",utc_maps_view_object_marker_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_p",utc_maps_view_object_marker_set_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_n",utc_maps_view_object_marker_set_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_p",utc_maps_view_object_marker_get_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_n",utc_maps_view_object_marker_get_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_p",utc_maps_view_object_create_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_n",utc_maps_view_object_create_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_p",utc_maps_view_object_polyline_set_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_n",utc_maps_view_object_polyline_set_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_p",utc_maps_view_object_polyline_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_n",utc_maps_view_object_polyline_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_p",utc_maps_view_object_polyline_set_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_n",utc_maps_view_object_polyline_set_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_p",utc_maps_view_object_polyline_get_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_n",utc_maps_view_object_polyline_get_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_p",utc_maps_view_object_polyline_set_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_n",utc_maps_view_object_polyline_set_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_p",utc_maps_view_object_polyline_get_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_n",utc_maps_view_object_polyline_get_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_p",utc_maps_view_object_create_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_n",utc_maps_view_object_create_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_p",utc_maps_view_object_polygon_set_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_n",utc_maps_view_object_polygon_set_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_p",utc_maps_view_object_polygon_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_n",utc_maps_view_object_polygon_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_p",utc_maps_view_object_polygon_set_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_n",utc_maps_view_object_polygon_set_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_p",utc_maps_view_object_polygon_get_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_n",utc_maps_view_object_polygon_get_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_overlay_p",utc_maps_view_object_create_overlay_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_create_overlay_n",utc_maps_view_object_create_overlay_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_p",utc_maps_view_object_overlay_get_object_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_n",utc_maps_view_object_overlay_get_object_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_p",utc_maps_view_object_overlay_set_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_n",utc_maps_view_object_overlay_set_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_p",utc_maps_view_object_overlay_get_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_n",utc_maps_view_object_overlay_get_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_p",utc_maps_view_object_overlay_set_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_n",utc_maps_view_object_overlay_set_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_p",utc_maps_view_object_overlay_get_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_n",utc_maps_view_object_overlay_get_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_p",utc_maps_view_object_overlay_set_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_n",utc_maps_view_object_overlay_set_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_p",utc_maps_view_object_overlay_get_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_n",utc_maps_view_object_overlay_get_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_event_data_destroy_n",utc_maps_view_event_data_destroy_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_clone_n",utc_maps_view_event_data_clone_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_type_n",utc_maps_view_event_data_get_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_gesture_type_n",utc_maps_view_event_data_get_gesture_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_action_type_n",utc_maps_view_event_data_get_action_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_center_n",utc_maps_view_event_data_get_center_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_delta_n",utc_maps_view_event_data_get_delta_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_position_n",utc_maps_view_event_data_get_position_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_fingers_n",utc_maps_view_event_data_get_fingers_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_zoom_factor_n",utc_maps_view_event_data_get_zoom_factor_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_rotation_angle_n",utc_maps_view_event_data_get_rotation_angle_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_object_n",utc_maps_view_event_data_get_object_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_coordinates_n",utc_maps_view_event_data_get_coordinates_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_service_foreach_provider_p",utc_maps_service_foreach_provider_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_foreach_provider_n",utc_maps_service_foreach_provider_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_p",utc_maps_service_create_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_n",utc_maps_service_create_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_p",utc_maps_service_destroy_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_n",utc_maps_service_destroy_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_p",utc_maps_service_set_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_n",utc_maps_service_set_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_p",utc_maps_service_get_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_n",utc_maps_service_get_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_p",utc_maps_service_set_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_n",utc_maps_service_set_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_p",utc_maps_service_get_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_n",utc_maps_service_get_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_p",utc_maps_service_provider_is_service_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_n",utc_maps_service_provider_is_service_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_p",utc_maps_service_provider_is_data_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_n",utc_maps_service_provider_is_data_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_p",utc_maps_service_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_n",utc_maps_service_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_p",utc_maps_service_geocode_inside_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_n",utc_maps_service_geocode_inside_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_p",utc_maps_service_geocode_by_structured_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_n",utc_maps_service_geocode_by_structured_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_p",utc_maps_service_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_n",utc_maps_service_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_p",utc_maps_service_cancel_request_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_n",utc_maps_service_cancel_request_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_p",utc_maps_service_search_route_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_n",utc_maps_service_search_route_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_p",utc_maps_service_search_route_waypoints_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_n",utc_maps_service_search_route_waypoints_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_p",utc_maps_service_search_place_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_n",utc_maps_service_search_place_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_p",utc_maps_service_search_place_by_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_n",utc_maps_service_search_place_by_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_p",utc_maps_service_search_place_by_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_n",utc_maps_service_search_place_by_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_p",utc_maps_service_multi_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_n",utc_maps_service_multi_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_p",utc_maps_service_search_place_list_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_n",utc_maps_service_search_place_list_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_p",utc_maps_service_get_place_details_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_n",utc_maps_service_get_place_details_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_p",utc_maps_service_request_user_consent_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_n",utc_maps_service_request_user_consent_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_view_create_p",utc_maps_view_create_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_create_n",utc_maps_view_create_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_p",utc_maps_view_get_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_n",utc_maps_view_get_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_p",utc_maps_view_set_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_n",utc_maps_view_set_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_p",utc_maps_view_get_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_n",utc_maps_view_get_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_p",utc_maps_view_set_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_n",utc_maps_view_set_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_p",utc_maps_view_get_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_n",utc_maps_view_get_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_p",utc_maps_view_get_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_n",utc_maps_view_get_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_p",utc_maps_view_set_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_n",utc_maps_view_set_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_p",utc_maps_view_get_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_n",utc_maps_view_get_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_p",utc_maps_view_screen_to_geolocation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_n",utc_maps_view_screen_to_geolocation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_p",utc_maps_view_geolocation_to_screen_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_n",utc_maps_view_geolocation_to_screen_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_p",utc_maps_view_set_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_n",utc_maps_view_set_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_p",utc_maps_view_get_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_n",utc_maps_view_get_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_p",utc_maps_view_set_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_n",utc_maps_view_set_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_p",utc_maps_view_get_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_n",utc_maps_view_get_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_p",utc_maps_view_set_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_n",utc_maps_view_set_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_p",utc_maps_view_get_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_n",utc_maps_view_get_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_p",utc_maps_view_set_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_n",utc_maps_view_set_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_p",utc_maps_view_get_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_n",utc_maps_view_get_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_p",utc_maps_view_set_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_n",utc_maps_view_set_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_p",utc_maps_view_get_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_n",utc_maps_view_get_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_p",utc_maps_view_get_viewport_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_n",utc_maps_view_get_viewport_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_p",utc_maps_view_set_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_n",utc_maps_view_set_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_p",utc_maps_view_get_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_n",utc_maps_view_get_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_p",utc_maps_view_move_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_n",utc_maps_view_move_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_p",utc_maps_view_resize_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_n",utc_maps_view_resize_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_p",utc_maps_view_set_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_n",utc_maps_view_set_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_p",utc_maps_view_get_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_n",utc_maps_view_get_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_p",utc_maps_view_set_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_n",utc_maps_view_set_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_p",utc_maps_view_unset_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_n",utc_maps_view_unset_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_p",utc_maps_view_set_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_n",utc_maps_view_set_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_p",utc_maps_view_get_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_n",utc_maps_view_get_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_p",utc_maps_view_set_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_n",utc_maps_view_set_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_p",utc_maps_view_get_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_n",utc_maps_view_get_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_p",utc_maps_view_add_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_n",utc_maps_view_add_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_p",utc_maps_view_remove_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_n",utc_maps_view_remove_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_p",utc_maps_view_remove_all_objects_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_n",utc_maps_view_remove_all_objects_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_p",utc_maps_view_foreach_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_n",utc_maps_view_foreach_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_p",utc_maps_view_set_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_n",utc_maps_view_set_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_p",utc_maps_view_set_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_n",utc_maps_view_set_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_capture_snapshot_p",utc_maps_view_capture_snapshot_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"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},
- {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
+++ /dev/null
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-#ifndef __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_maps_address_startup(void);
-extern void utc_maps_address_cleanup(void);
-extern void utc_maps_area_startup(void);
-extern void utc_maps_area_cleanup(void);
-extern void utc_maps_coordinates_startup(void);
-extern void utc_maps_coordinates_cleanup(void);
-extern void utc_maps_place_startup(void);
-extern void utc_maps_place_cleanup(void);
-extern void utc_maps_place_attribute_startup(void);
-extern void utc_maps_place_attribute_cleanup(void);
-extern void utc_maps_place_category_startup(void);
-extern void utc_maps_place_category_cleanup(void);
-extern void utc_maps_place_contact_startup(void);
-extern void utc_maps_place_contact_cleanup(void);
-extern void utc_maps_place_editorial_startup(void);
-extern void utc_maps_place_editorial_cleanup(void);
-extern void utc_maps_place_filter_startup(void);
-extern void utc_maps_place_filter_cleanup(void);
-extern void utc_maps_place_image_startup(void);
-extern void utc_maps_place_image_cleanup(void);
-extern void utc_maps_place_link_object_startup(void);
-extern void utc_maps_place_link_object_cleanup(void);
-extern void utc_maps_place_media_startup(void);
-extern void utc_maps_place_media_cleanup(void);
-extern void utc_maps_place_rating_startup(void);
-extern void utc_maps_place_rating_cleanup(void);
-extern void utc_maps_place_review_startup(void);
-extern void utc_maps_place_review_cleanup(void);
-extern void utc_maps_place_url_startup(void);
-extern void utc_maps_place_url_cleanup(void);
-extern void utc_maps_preference_startup(void);
-extern void utc_maps_preference_cleanup(void);
-extern void utc_maps_route_startup(void);
-extern void utc_maps_route_cleanup(void);
-extern void utc_maps_route_maneuver_startup(void);
-extern void utc_maps_route_maneuver_cleanup(void);
-extern void utc_maps_route_segment_startup(void);
-extern void utc_maps_route_segment_cleanup(void);
-extern void utc_maps_view_object_startup(void);
-extern void utc_maps_view_object_cleanup(void);
-extern void utc_maps_view_object_overlay_startup(void);
-extern void utc_maps_view_object_overlay_cleanup(void);
-extern void utc_maps_view_event_data_startup(void);
-extern void utc_maps_view_event_data_cleanup(void);
-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 int utc_maps_address_create_p(void);
-extern int utc_maps_address_create_n(void);
-extern int utc_maps_address_destroy_p(void);
-extern int utc_maps_address_destroy_n(void);
-extern int utc_maps_address_clone_p(void);
-extern int utc_maps_address_clone_n(void);
-extern int utc_maps_address_set_building_number_p(void);
-extern int utc_maps_address_set_building_number_n(void);
-extern int utc_maps_address_set_street_p(void);
-extern int utc_maps_address_set_street_n(void);
-extern int utc_maps_address_set_district_p(void);
-extern int utc_maps_address_set_district_n(void);
-extern int utc_maps_address_set_city_p(void);
-extern int utc_maps_address_set_city_n(void);
-extern int utc_maps_address_set_state_p(void);
-extern int utc_maps_address_set_state_n(void);
-extern int utc_maps_address_set_country_p(void);
-extern int utc_maps_address_set_country_n(void);
-extern int utc_maps_address_set_country_code_p(void);
-extern int utc_maps_address_set_country_code_n(void);
-extern int utc_maps_address_set_county_p(void);
-extern int utc_maps_address_set_county_n(void);
-extern int utc_maps_address_set_postal_code_p(void);
-extern int utc_maps_address_set_postal_code_n(void);
-extern int utc_maps_address_set_freetext_p(void);
-extern int utc_maps_address_set_freetext_n(void);
-extern int utc_maps_address_get_building_number_p(void);
-extern int utc_maps_address_get_building_number_n(void);
-extern int utc_maps_address_get_street_p(void);
-extern int utc_maps_address_get_street_n(void);
-extern int utc_maps_address_get_district_p(void);
-extern int utc_maps_address_get_district_n(void);
-extern int utc_maps_address_get_city_p(void);
-extern int utc_maps_address_get_city_n(void);
-extern int utc_maps_address_get_state_p(void);
-extern int utc_maps_address_get_state_n(void);
-extern int utc_maps_address_get_country_p(void);
-extern int utc_maps_address_get_country_n(void);
-extern int utc_maps_address_get_country_code_p(void);
-extern int utc_maps_address_get_country_code_n(void);
-extern int utc_maps_address_get_county_p(void);
-extern int utc_maps_address_get_county_n(void);
-extern int utc_maps_address_get_postal_code_p(void);
-extern int utc_maps_address_get_postal_code_n(void);
-extern int utc_maps_address_get_freetext_p(void);
-extern int utc_maps_address_get_freetext_n(void);
-extern int utc_maps_address_list_create_p(void);
-extern int utc_maps_address_list_create_n(void);
-extern int utc_maps_address_list_destroy_p(void);
-extern int utc_maps_address_list_destroy_n(void);
-extern int utc_maps_address_list_append_p(void);
-extern int utc_maps_address_list_append_n(void);
-extern int utc_maps_address_list_remove_p(void);
-extern int utc_maps_address_list_remove_n(void);
-extern int utc_maps_address_list_get_length_p(void);
-extern int utc_maps_address_list_get_length_n(void);
-extern int utc_maps_address_list_foreach_p(void);
-extern int utc_maps_address_list_foreach_n(void);
-extern int utc_maps_area_create_rectangle_p(void);
-extern int utc_maps_area_create_rectangle_n(void);
-extern int utc_maps_area_create_circle_p(void);
-extern int utc_maps_area_create_circle_n(void);
-extern int utc_maps_area_destroy_p(void);
-extern int utc_maps_area_destroy_n(void);
-extern int utc_maps_area_clone_p(void);
-extern int utc_maps_area_clone_n(void);
-extern int utc_maps_coordinates_create_p(void);
-extern int utc_maps_coordinates_create_n(void);
-extern int utc_maps_coordinates_destroy_p(void);
-extern int utc_maps_coordinates_destroy_n(void);
-extern int utc_maps_coordinates_clone_p(void);
-extern int utc_maps_coordinates_clone_n(void);
-extern int utc_maps_coordinates_get_latitude_p(void);
-extern int utc_maps_coordinates_get_latitude_n(void);
-extern int utc_maps_coordinates_get_longitude_p(void);
-extern int utc_maps_coordinates_get_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_p(void);
-extern int utc_maps_coordinates_set_latitude_n(void);
-extern int utc_maps_coordinates_set_longitude_p(void);
-extern int utc_maps_coordinates_set_longitude_n(void);
-extern int utc_maps_coordinates_get_latitude_longitude_p(void);
-extern int utc_maps_coordinates_get_latitude_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_longitude_p(void);
-extern int utc_maps_coordinates_set_latitude_longitude_n(void);
-extern int utc_maps_coordinates_list_create_p(void);
-extern int utc_maps_coordinates_list_create_n(void);
-extern int utc_maps_coordinates_list_destroy_p(void);
-extern int utc_maps_coordinates_list_destroy_n(void);
-extern int utc_maps_coordinates_list_append_p(void);
-extern int utc_maps_coordinates_list_append_n(void);
-extern int utc_maps_coordinates_list_remove_p(void);
-extern int utc_maps_coordinates_list_remove_n(void);
-extern int utc_maps_coordinates_list_get_length_p(void);
-extern int utc_maps_coordinates_list_get_length_n(void);
-extern int utc_maps_coordinates_list_foreach_p(void);
-extern int utc_maps_coordinates_list_foreach_n(void);
-extern int utc_maps_place_destroy_n(void);
-extern int utc_maps_place_clone_n(void);
-extern int utc_maps_place_get_id_n(void);
-extern int utc_maps_place_get_name_n(void);
-extern int utc_maps_place_get_uri_n(void);
-extern int utc_maps_place_get_location_n(void);
-extern int utc_maps_place_get_distance_n(void);
-extern int utc_maps_place_get_address_n(void);
-extern int utc_maps_place_get_rating_n(void);
-extern int utc_maps_place_foreach_category_n(void);
-extern int utc_maps_place_foreach_attribute_n(void);
-extern int utc_maps_place_foreach_contact_n(void);
-extern int utc_maps_place_foreach_editorial_n(void);
-extern int utc_maps_place_foreach_image_n(void);
-extern int utc_maps_place_foreach_review_n(void);
-extern int utc_maps_place_get_supplier_link_n(void);
-extern int utc_maps_place_get_related_link_n(void);
-extern int utc_maps_place_foreach_property_n(void);
-extern int utc_maps_place_list_destroy_n(void);
-extern int utc_maps_place_attribute_destroy_n(void);
-extern int utc_maps_place_attribute_clone_n(void);
-extern int utc_maps_place_attribute_get_id_n(void);
-extern int utc_maps_place_attribute_get_text_n(void);
-extern int utc_maps_place_attribute_get_label_n(void);
-extern int utc_maps_place_category_create_p(void);
-extern int utc_maps_place_category_create_n(void);
-extern int utc_maps_place_category_destroy_p(void);
-extern int utc_maps_place_category_destroy_n(void);
-extern int utc_maps_place_category_clone_p(void);
-extern int utc_maps_place_category_clone_n(void);
-extern int utc_maps_place_category_set_id_p(void);
-extern int utc_maps_place_category_set_id_n(void);
-extern int utc_maps_place_category_get_id_p(void);
-extern int utc_maps_place_category_get_id_n(void);
-extern int utc_maps_place_category_set_name_p(void);
-extern int utc_maps_place_category_set_name_n(void);
-extern int utc_maps_place_category_get_name_p(void);
-extern int utc_maps_place_category_get_name_n(void);
-extern int utc_maps_place_category_set_url_p(void);
-extern int utc_maps_place_category_set_url_n(void);
-extern int utc_maps_place_category_get_url_p(void);
-extern int utc_maps_place_category_get_url_n(void);
-extern int utc_maps_place_contact_destroy_n(void);
-extern int utc_maps_place_contact_clone_n(void);
-extern int utc_maps_place_contact_get_label_n(void);
-extern int utc_maps_place_contact_get_type_n(void);
-extern int utc_maps_place_contact_get_value_n(void);
-extern int utc_maps_place_editorial_destroy_n(void);
-extern int utc_maps_place_editorial_clone_n(void);
-extern int utc_maps_place_editorial_get_description_n(void);
-extern int utc_maps_place_editorial_get_language_n(void);
-extern int utc_maps_place_editorial_get_media_n(void);
-extern int utc_maps_place_filter_create_p(void);
-extern int utc_maps_place_filter_create_n(void);
-extern int utc_maps_place_filter_destroy_p(void);
-extern int utc_maps_place_filter_destroy_n(void);
-extern int utc_maps_place_filter_clone_p(void);
-extern int utc_maps_place_filter_clone_n(void);
-extern int utc_maps_place_filter_get_p(void);
-extern int utc_maps_place_filter_get_n(void);
-extern int utc_maps_place_filter_get_keyword_p(void);
-extern int utc_maps_place_filter_get_keyword_n(void);
-extern int utc_maps_place_filter_get_category_p(void);
-extern int utc_maps_place_filter_get_category_n(void);
-extern int utc_maps_place_filter_foreach_property_p(void);
-extern int utc_maps_place_filter_foreach_property_n(void);
-extern int utc_maps_place_filter_get_place_name_p(void);
-extern int utc_maps_place_filter_get_place_name_n(void);
-extern int utc_maps_place_filter_set_p(void);
-extern int utc_maps_place_filter_set_n(void);
-extern int utc_maps_place_filter_set_category_p(void);
-extern int utc_maps_place_filter_set_category_n(void);
-extern int utc_maps_place_filter_set_keyword_p(void);
-extern int utc_maps_place_filter_set_keyword_n(void);
-extern int utc_maps_place_filter_set_place_name_p(void);
-extern int utc_maps_place_filter_set_place_name_n(void);
-extern int utc_maps_place_filter_set_place_address_p(void);
-extern int utc_maps_place_filter_set_place_address_n(void);
-extern int utc_maps_place_filter_get_place_address_p(void);
-extern int utc_maps_place_filter_get_place_address_n(void);
-extern int utc_maps_place_image_destroy_n(void);
-extern int utc_maps_place_image_clone_n(void);
-extern int utc_maps_place_image_get_url_n(void);
-extern int utc_maps_place_image_get_id_n(void);
-extern int utc_maps_place_image_get_height_n(void);
-extern int utc_maps_place_image_get_width_n(void);
-extern int utc_maps_place_image_get_media_n(void);
-extern int utc_maps_place_image_get_user_link_n(void);
-extern int utc_maps_place_link_object_destroy_n(void);
-extern int utc_maps_place_link_object_clone_n(void);
-extern int utc_maps_place_link_object_get_id_n(void);
-extern int utc_maps_place_link_object_get_name_n(void);
-extern int utc_maps_place_link_object_get_type_n(void);
-extern int utc_maps_place_link_object_get_string_n(void);
-extern int utc_maps_place_media_destroy_n(void);
-extern int utc_maps_place_media_clone_n(void);
-extern int utc_maps_place_media_get_attribution_n(void);
-extern int utc_maps_place_media_get_supplier_n(void);
-extern int utc_maps_place_media_get_via_n(void);
-extern int utc_maps_place_rating_destroy_n(void);
-extern int utc_maps_place_rating_clone_n(void);
-extern int utc_maps_place_rating_get_count_n(void);
-extern int utc_maps_place_rating_get_average_n(void);
-extern int utc_maps_place_review_destroy_n(void);
-extern int utc_maps_place_review_clone_n(void);
-extern int utc_maps_place_review_get_date_n(void);
-extern int utc_maps_place_review_get_title_n(void);
-extern int utc_maps_place_review_get_description_n(void);
-extern int utc_maps_place_review_get_language_n(void);
-extern int utc_maps_place_review_get_rating_n(void);
-extern int utc_maps_place_review_get_media_n(void);
-extern int utc_maps_place_review_get_user_link_n(void);
-extern int utc_maps_place_url_destroy_n(void);
-extern int utc_maps_place_url_clone_n(void);
-extern int utc_maps_place_url_get_path_n(void);
-extern int utc_maps_place_url_get_description_n(void);
-extern int utc_maps_preference_create_p(void);
-extern int utc_maps_preference_create_n(void);
-extern int utc_maps_preference_destroy_p(void);
-extern int utc_maps_preference_destroy_n(void);
-extern int utc_maps_preference_clone_p(void);
-extern int utc_maps_preference_clone_n(void);
-extern int utc_maps_preference_get_distance_unit_p(void);
-extern int utc_maps_preference_get_distance_unit_n(void);
-extern int utc_maps_preference_get_language_p(void);
-extern int utc_maps_preference_get_language_n(void);
-extern int utc_maps_preference_get_max_results_p(void);
-extern int utc_maps_preference_get_max_results_n(void);
-extern int utc_maps_preference_get_country_code_p(void);
-extern int utc_maps_preference_get_country_code_n(void);
-extern int utc_maps_preference_get_route_optimization_p(void);
-extern int utc_maps_preference_get_route_optimization_n(void);
-extern int utc_maps_preference_get_route_transport_mode_p(void);
-extern int utc_maps_preference_get_route_transport_mode_n(void);
-extern int utc_maps_preference_get_route_feature_weight_p(void);
-extern int utc_maps_preference_get_route_feature_weight_n(void);
-extern int utc_maps_preference_get_route_feature_p(void);
-extern int utc_maps_preference_get_route_feature_n(void);
-extern int utc_maps_preference_get_p(void);
-extern int utc_maps_preference_get_n(void);
-extern int utc_maps_preference_foreach_property_p(void);
-extern int utc_maps_preference_foreach_property_n(void);
-extern int utc_maps_preference_set_distance_unit_p(void);
-extern int utc_maps_preference_set_distance_unit_n(void);
-extern int utc_maps_preference_set_language_p(void);
-extern int utc_maps_preference_set_language_n(void);
-extern int utc_maps_preference_set_max_results_p(void);
-extern int utc_maps_preference_set_max_results_n(void);
-extern int utc_maps_preference_set_country_code_p(void);
-extern int utc_maps_preference_set_country_code_n(void);
-extern int utc_maps_preference_set_route_optimization_p(void);
-extern int utc_maps_preference_set_route_optimization_n(void);
-extern int utc_maps_preference_set_route_transport_mode_p(void);
-extern int utc_maps_preference_set_route_transport_mode_n(void);
-extern int utc_maps_preference_set_route_feature_weight_p(void);
-extern int utc_maps_preference_set_route_feature_weight_n(void);
-extern int utc_maps_preference_set_route_feature_p(void);
-extern int utc_maps_preference_set_route_feature_n(void);
-extern int utc_maps_preference_set_property_p(void);
-extern int utc_maps_preference_set_property_n(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_n(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_n(void);
-extern int utc_maps_route_destroy_n(void);
-extern int utc_maps_route_clone_n(void);
-extern int utc_maps_route_get_route_id_n(void);
-extern int utc_maps_route_get_origin_n(void);
-extern int utc_maps_route_get_destination_n(void);
-extern int utc_maps_route_get_bounding_box_n(void);
-extern int utc_maps_route_get_total_distance_n(void);
-extern int utc_maps_route_get_transport_mode_n(void);
-extern int utc_maps_route_get_total_duration_n(void);
-extern int utc_maps_route_get_distance_unit_n(void);
-extern int utc_maps_route_foreach_property_n(void);
-extern int utc_maps_route_foreach_path_n(void);
-extern int utc_maps_route_foreach_segment_n(void);
-extern int utc_maps_route_maneuver_destroy_n(void);
-extern int utc_maps_route_maneuver_clone_n(void);
-extern int utc_maps_route_maneuver_get_direction_id_n(void);
-extern int utc_maps_route_maneuver_get_turn_type_n(void);
-extern int utc_maps_route_maneuver_get_position_n(void);
-extern int utc_maps_route_maneuver_get_road_name_n(void);
-extern int utc_maps_route_maneuver_get_instruction_text_n(void);
-extern int utc_maps_route_maneuver_get_locale_n(void);
-extern int utc_maps_route_maneuver_get_time_to_next_instruction_n(void);
-extern int utc_maps_route_maneuver_get_distance_to_next_instruction_n(void);
-extern int utc_maps_route_segment_destroy_n(void);
-extern int utc_maps_route_segment_clone_n(void);
-extern int utc_maps_route_segment_get_origin_n(void);
-extern int utc_maps_route_segment_get_destination_n(void);
-extern int utc_maps_route_segment_get_bounding_box_n(void);
-extern int utc_maps_route_segment_get_distance_n(void);
-extern int utc_maps_route_segment_get_duration_n(void);
-extern int utc_maps_route_segment_foreach_path_n(void);
-extern int utc_maps_route_segment_foreach_maneuver_n(void);
-extern int utc_maps_view_object_create_marker_p(void);
-extern int utc_maps_view_object_create_marker_n(void);
-extern int utc_maps_view_object_destroy_p(void);
-extern int utc_maps_view_object_destroy_n(void);
-extern int utc_maps_view_object_get_type_p(void);
-extern int utc_maps_view_object_get_type_n(void);
-extern int utc_maps_view_object_set_visible_p(void);
-extern int utc_maps_view_object_set_visible_n(void);
-extern int utc_maps_view_object_get_visible_p(void);
-extern int utc_maps_view_object_get_visible_n(void);
-extern int utc_maps_view_object_marker_set_coordinates_p(void);
-extern int utc_maps_view_object_marker_set_coordinates_n(void);
-extern int utc_maps_view_object_marker_resize_p(void);
-extern int utc_maps_view_object_marker_resize_n(void);
-extern int utc_maps_view_object_marker_set_image_file_p(void);
-extern int utc_maps_view_object_marker_set_image_file_n(void);
-extern int utc_maps_view_object_marker_get_image_file_p(void);
-extern int utc_maps_view_object_marker_get_image_file_n(void);
-extern int utc_maps_view_object_marker_get_coordinates_p(void);
-extern int utc_maps_view_object_marker_get_coordinates_n(void);
-extern int utc_maps_view_object_marker_get_size_p(void);
-extern int utc_maps_view_object_marker_get_size_n(void);
-extern int utc_maps_view_object_marker_get_type_p(void);
-extern int utc_maps_view_object_marker_get_type_n(void);
-extern int utc_maps_view_object_marker_set_z_order_p(void);
-extern int utc_maps_view_object_marker_set_z_order_n(void);
-extern int utc_maps_view_object_marker_get_z_order_p(void);
-extern int utc_maps_view_object_marker_get_z_order_n(void);
-extern int utc_maps_view_object_create_polyline_p(void);
-extern int utc_maps_view_object_create_polyline_n(void);
-extern int utc_maps_view_object_polyline_set_polyline_p(void);
-extern int utc_maps_view_object_polyline_set_polyline_n(void);
-extern int utc_maps_view_object_polyline_foreach_point_p(void);
-extern int utc_maps_view_object_polyline_foreach_point_n(void);
-extern int utc_maps_view_object_polyline_set_color_p(void);
-extern int utc_maps_view_object_polyline_set_color_n(void);
-extern int utc_maps_view_object_polyline_get_color_p(void);
-extern int utc_maps_view_object_polyline_get_color_n(void);
-extern int utc_maps_view_object_polyline_set_width_p(void);
-extern int utc_maps_view_object_polyline_set_width_n(void);
-extern int utc_maps_view_object_polyline_get_width_p(void);
-extern int utc_maps_view_object_polyline_get_width_n(void);
-extern int utc_maps_view_object_create_polygon_p(void);
-extern int utc_maps_view_object_create_polygon_n(void);
-extern int utc_maps_view_object_polygon_set_polygon_p(void);
-extern int utc_maps_view_object_polygon_set_polygon_n(void);
-extern int utc_maps_view_object_polygon_foreach_point_p(void);
-extern int utc_maps_view_object_polygon_foreach_point_n(void);
-extern int utc_maps_view_object_polygon_set_fill_color_p(void);
-extern int utc_maps_view_object_polygon_set_fill_color_n(void);
-extern int utc_maps_view_object_polygon_get_fill_color_p(void);
-extern int utc_maps_view_object_polygon_get_fill_color_n(void);
-extern int utc_maps_view_object_create_overlay_p(void);
-extern int utc_maps_view_object_create_overlay_n(void);
-extern int utc_maps_view_object_overlay_get_object_p(void);
-extern int utc_maps_view_object_overlay_get_object_n(void);
-extern int utc_maps_view_object_overlay_set_coordinates_p(void);
-extern int utc_maps_view_object_overlay_set_coordinates_n(void);
-extern int utc_maps_view_object_overlay_get_coordinates_p(void);
-extern int utc_maps_view_object_overlay_get_coordinates_n(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_n(void);
-extern int utc_maps_view_event_data_destroy_n(void);
-extern int utc_maps_view_event_data_clone_n(void);
-extern int utc_maps_view_event_data_get_type_n(void);
-extern int utc_maps_view_event_data_get_gesture_type_n(void);
-extern int utc_maps_view_event_data_get_action_type_n(void);
-extern int utc_maps_view_event_data_get_center_n(void);
-extern int utc_maps_view_event_data_get_delta_n(void);
-extern int utc_maps_view_event_data_get_position_n(void);
-extern int utc_maps_view_event_data_get_fingers_n(void);
-extern int utc_maps_view_event_data_get_zoom_factor_n(void);
-extern int utc_maps_view_event_data_get_rotation_angle_n(void);
-extern int utc_maps_view_event_data_get_object_n(void);
-extern int utc_maps_view_event_data_get_coordinates_n(void);
-extern int utc_maps_service_foreach_provider_p(void);
-extern int utc_maps_service_foreach_provider_n(void);
-extern int utc_maps_service_create_p(void);
-extern int utc_maps_service_create_n(void);
-extern int utc_maps_service_destroy_p(void);
-extern int utc_maps_service_destroy_n(void);
-extern int utc_maps_service_set_provider_key_p(void);
-extern int utc_maps_service_set_provider_key_n(void);
-extern int utc_maps_service_get_provider_key_p(void);
-extern int utc_maps_service_get_provider_key_n(void);
-extern int utc_maps_service_set_preference_p(void);
-extern int utc_maps_service_set_preference_n(void);
-extern int utc_maps_service_get_preference_p(void);
-extern int utc_maps_service_get_preference_n(void);
-extern int utc_maps_service_provider_is_service_supported_p(void);
-extern int utc_maps_service_provider_is_service_supported_n(void);
-extern int utc_maps_service_provider_is_data_supported_p(void);
-extern int utc_maps_service_provider_is_data_supported_n(void);
-extern int utc_maps_service_geocode_p(void);
-extern int utc_maps_service_geocode_n(void);
-extern int utc_maps_service_geocode_inside_area_p(void);
-extern int utc_maps_service_geocode_inside_area_n(void);
-extern int utc_maps_service_geocode_by_structured_address_p(void);
-extern int utc_maps_service_geocode_by_structured_address_n(void);
-extern int utc_maps_service_reverse_geocode_p(void);
-extern int utc_maps_service_reverse_geocode_n(void);
-extern int utc_maps_service_cancel_request_p(void);
-extern int utc_maps_service_cancel_request_n(void);
-extern int utc_maps_service_search_route_p(void);
-extern int utc_maps_service_search_route_n(void);
-extern int utc_maps_service_search_route_waypoints_p(void);
-extern int utc_maps_service_search_route_waypoints_n(void);
-extern int utc_maps_service_search_place_p(void);
-extern int utc_maps_service_search_place_n(void);
-extern int utc_maps_service_search_place_by_area_p(void);
-extern int utc_maps_service_search_place_by_area_n(void);
-extern int utc_maps_service_search_place_by_address_p(void);
-extern int utc_maps_service_search_place_by_address_n(void);
-extern int utc_maps_service_multi_reverse_geocode_p(void);
-extern int utc_maps_service_multi_reverse_geocode_n(void);
-extern int utc_maps_service_search_place_list_p(void);
-extern int utc_maps_service_search_place_list_n(void);
-extern int utc_maps_service_get_place_details_p(void);
-extern int utc_maps_service_get_place_details_n(void);
-extern int utc_maps_service_request_user_consent_p(void);
-extern int utc_maps_service_request_user_consent_n(void);
-extern int utc_maps_view_create_p(void);
-extern int utc_maps_view_create_n(void);
-extern int utc_maps_view_get_center_p(void);
-extern int utc_maps_view_get_center_n(void);
-extern int utc_maps_view_set_center_p(void);
-extern int utc_maps_view_set_center_n(void);
-extern int utc_maps_view_get_zoom_level_p(void);
-extern int utc_maps_view_get_zoom_level_n(void);
-extern int utc_maps_view_set_zoom_level_p(void);
-extern int utc_maps_view_set_zoom_level_n(void);
-extern int utc_maps_view_get_min_zoom_level_p(void);
-extern int utc_maps_view_get_min_zoom_level_n(void);
-extern int utc_maps_view_get_max_zoom_level_p(void);
-extern int utc_maps_view_get_max_zoom_level_n(void);
-extern int utc_maps_view_set_orientation_p(void);
-extern int utc_maps_view_set_orientation_n(void);
-extern int utc_maps_view_get_orientation_p(void);
-extern int utc_maps_view_get_orientation_n(void);
-extern int utc_maps_view_screen_to_geolocation_p(void);
-extern int utc_maps_view_screen_to_geolocation_n(void);
-extern int utc_maps_view_geolocation_to_screen_p(void);
-extern int utc_maps_view_geolocation_to_screen_n(void);
-extern int utc_maps_view_set_type_p(void);
-extern int utc_maps_view_set_type_n(void);
-extern int utc_maps_view_get_type_p(void);
-extern int utc_maps_view_get_type_n(void);
-extern int utc_maps_view_set_buildings_enabled_p(void);
-extern int utc_maps_view_set_buildings_enabled_n(void);
-extern int utc_maps_view_get_buildings_enabled_p(void);
-extern int utc_maps_view_get_buildings_enabled_n(void);
-extern int utc_maps_view_set_traffic_enabled_p(void);
-extern int utc_maps_view_set_traffic_enabled_n(void);
-extern int utc_maps_view_get_traffic_enabled_p(void);
-extern int utc_maps_view_get_traffic_enabled_n(void);
-extern int utc_maps_view_set_public_transit_enabled_p(void);
-extern int utc_maps_view_set_public_transit_enabled_n(void);
-extern int utc_maps_view_get_public_transit_enabled_p(void);
-extern int utc_maps_view_get_public_transit_enabled_n(void);
-extern int utc_maps_view_set_language_p(void);
-extern int utc_maps_view_set_language_n(void);
-extern int utc_maps_view_get_language_p(void);
-extern int utc_maps_view_get_language_n(void);
-extern int utc_maps_view_get_viewport_p(void);
-extern int utc_maps_view_get_viewport_n(void);
-extern int utc_maps_view_set_screen_location_p(void);
-extern int utc_maps_view_set_screen_location_n(void);
-extern int utc_maps_view_get_screen_location_p(void);
-extern int utc_maps_view_get_screen_location_n(void);
-extern int utc_maps_view_move_p(void);
-extern int utc_maps_view_move_n(void);
-extern int utc_maps_view_resize_p(void);
-extern int utc_maps_view_resize_n(void);
-extern int utc_maps_view_set_visibility_p(void);
-extern int utc_maps_view_set_visibility_n(void);
-extern int utc_maps_view_get_visibility_p(void);
-extern int utc_maps_view_get_visibility_n(void);
-extern int utc_maps_view_set_event_cb_p(void);
-extern int utc_maps_view_set_event_cb_n(void);
-extern int utc_maps_view_unset_event_cb_p(void);
-extern int utc_maps_view_unset_event_cb_n(void);
-extern int utc_maps_view_set_gesture_enabled_p(void);
-extern int utc_maps_view_set_gesture_enabled_n(void);
-extern int utc_maps_view_get_gesture_enabled_p(void);
-extern int utc_maps_view_get_gesture_enabled_n(void);
-extern int utc_maps_view_set_scalebar_enabled_p(void);
-extern int utc_maps_view_set_scalebar_enabled_n(void);
-extern int utc_maps_view_get_scalebar_enabled_p(void);
-extern int utc_maps_view_get_scalebar_enabled_n(void);
-extern int utc_maps_view_add_object_p(void);
-extern int utc_maps_view_add_object_n(void);
-extern int utc_maps_view_remove_object_p(void);
-extern int utc_maps_view_remove_object_n(void);
-extern int utc_maps_view_remove_all_objects_p(void);
-extern int utc_maps_view_remove_all_objects_n(void);
-extern int utc_maps_view_foreach_object_p(void);
-extern int utc_maps_view_foreach_object_n(void);
-extern int utc_maps_view_set_min_zoom_level_p(void);
-extern int utc_maps_view_set_min_zoom_level_n(void);
-extern int utc_maps_view_set_max_zoom_level_p(void);
-extern int utc_maps_view_set_max_zoom_level_n(void);
-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);
-
-testcase tc_array[] = {
- {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_create_n",utc_maps_address_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_p",utc_maps_address_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_n",utc_maps_address_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_p",utc_maps_address_clone_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_n",utc_maps_address_clone_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_p",utc_maps_address_set_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_n",utc_maps_address_set_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_p",utc_maps_address_set_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_n",utc_maps_address_set_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_p",utc_maps_address_set_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_n",utc_maps_address_set_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_p",utc_maps_address_set_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_n",utc_maps_address_set_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_p",utc_maps_address_set_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_n",utc_maps_address_set_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_p",utc_maps_address_set_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_n",utc_maps_address_set_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_p",utc_maps_address_set_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_n",utc_maps_address_set_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_p",utc_maps_address_set_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_n",utc_maps_address_set_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_p",utc_maps_address_set_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_n",utc_maps_address_set_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_p",utc_maps_address_set_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_n",utc_maps_address_set_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_p",utc_maps_address_get_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_n",utc_maps_address_get_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_p",utc_maps_address_get_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_n",utc_maps_address_get_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_p",utc_maps_address_get_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_n",utc_maps_address_get_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_p",utc_maps_address_get_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_n",utc_maps_address_get_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_p",utc_maps_address_get_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_n",utc_maps_address_get_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_p",utc_maps_address_get_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_n",utc_maps_address_get_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_p",utc_maps_address_get_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_n",utc_maps_address_get_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_p",utc_maps_address_get_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_n",utc_maps_address_get_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_p",utc_maps_address_get_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_n",utc_maps_address_get_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_p",utc_maps_address_get_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_n",utc_maps_address_get_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_p",utc_maps_address_list_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_n",utc_maps_address_list_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_p",utc_maps_address_list_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_n",utc_maps_address_list_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_p",utc_maps_address_list_append_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_n",utc_maps_address_list_append_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_p",utc_maps_address_list_remove_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_n",utc_maps_address_list_remove_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_p",utc_maps_address_list_get_length_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_n",utc_maps_address_list_get_length_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_p",utc_maps_address_list_foreach_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_n",utc_maps_address_list_foreach_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_area_create_rectangle_p",utc_maps_area_create_rectangle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_rectangle_n",utc_maps_area_create_rectangle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_p",utc_maps_area_create_circle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_n",utc_maps_area_create_circle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_p",utc_maps_area_destroy_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_n",utc_maps_area_destroy_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_p",utc_maps_area_clone_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_n",utc_maps_area_clone_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_coordinates_create_p",utc_maps_coordinates_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_create_n",utc_maps_coordinates_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_p",utc_maps_coordinates_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_n",utc_maps_coordinates_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_p",utc_maps_coordinates_clone_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_n",utc_maps_coordinates_clone_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_p",utc_maps_coordinates_get_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_n",utc_maps_coordinates_get_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_p",utc_maps_coordinates_get_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_n",utc_maps_coordinates_get_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_p",utc_maps_coordinates_set_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_n",utc_maps_coordinates_set_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_p",utc_maps_coordinates_set_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_n",utc_maps_coordinates_set_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_p",utc_maps_coordinates_get_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_n",utc_maps_coordinates_get_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_p",utc_maps_coordinates_set_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_n",utc_maps_coordinates_set_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_p",utc_maps_coordinates_list_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_n",utc_maps_coordinates_list_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_p",utc_maps_coordinates_list_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_n",utc_maps_coordinates_list_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_p",utc_maps_coordinates_list_append_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_n",utc_maps_coordinates_list_append_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_p",utc_maps_coordinates_list_remove_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_n",utc_maps_coordinates_list_remove_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_p",utc_maps_coordinates_list_get_length_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_n",utc_maps_coordinates_list_get_length_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_p",utc_maps_coordinates_list_foreach_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_n",utc_maps_coordinates_list_foreach_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_place_destroy_n",utc_maps_place_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_clone_n",utc_maps_place_clone_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_id_n",utc_maps_place_get_id_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_name_n",utc_maps_place_get_name_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_uri_n",utc_maps_place_get_uri_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_location_n",utc_maps_place_get_location_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_distance_n",utc_maps_place_get_distance_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_address_n",utc_maps_place_get_address_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_rating_n",utc_maps_place_get_rating_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_category_n",utc_maps_place_foreach_category_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_attribute_n",utc_maps_place_foreach_attribute_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_contact_n",utc_maps_place_foreach_contact_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_editorial_n",utc_maps_place_foreach_editorial_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_image_n",utc_maps_place_foreach_image_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_review_n",utc_maps_place_foreach_review_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_supplier_link_n",utc_maps_place_get_supplier_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_related_link_n",utc_maps_place_get_related_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_property_n",utc_maps_place_foreach_property_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_list_destroy_n",utc_maps_place_list_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_attribute_destroy_n",utc_maps_place_attribute_destroy_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_clone_n",utc_maps_place_attribute_clone_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_id_n",utc_maps_place_attribute_get_id_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_text_n",utc_maps_place_attribute_get_text_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_label_n",utc_maps_place_attribute_get_label_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_category_create_p",utc_maps_place_category_create_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_create_n",utc_maps_place_category_create_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_p",utc_maps_place_category_destroy_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_n",utc_maps_place_category_destroy_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_p",utc_maps_place_category_clone_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_n",utc_maps_place_category_clone_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_p",utc_maps_place_category_set_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_n",utc_maps_place_category_set_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_p",utc_maps_place_category_get_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_n",utc_maps_place_category_get_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_p",utc_maps_place_category_set_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_n",utc_maps_place_category_set_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_p",utc_maps_place_category_get_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_n",utc_maps_place_category_get_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_p",utc_maps_place_category_set_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_n",utc_maps_place_category_set_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_p",utc_maps_place_category_get_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_n",utc_maps_place_category_get_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_contact_destroy_n",utc_maps_place_contact_destroy_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_clone_n",utc_maps_place_contact_clone_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_label_n",utc_maps_place_contact_get_label_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_type_n",utc_maps_place_contact_get_type_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_value_n",utc_maps_place_contact_get_value_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_editorial_destroy_n",utc_maps_place_editorial_destroy_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_clone_n",utc_maps_place_editorial_clone_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_description_n",utc_maps_place_editorial_get_description_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_language_n",utc_maps_place_editorial_get_language_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_media_n",utc_maps_place_editorial_get_media_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_filter_create_p",utc_maps_place_filter_create_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_create_n",utc_maps_place_filter_create_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_p",utc_maps_place_filter_destroy_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_n",utc_maps_place_filter_destroy_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_p",utc_maps_place_filter_clone_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_n",utc_maps_place_filter_clone_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_p",utc_maps_place_filter_get_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_n",utc_maps_place_filter_get_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_p",utc_maps_place_filter_get_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_n",utc_maps_place_filter_get_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_p",utc_maps_place_filter_get_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_n",utc_maps_place_filter_get_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_p",utc_maps_place_filter_foreach_property_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_n",utc_maps_place_filter_foreach_property_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_p",utc_maps_place_filter_get_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_n",utc_maps_place_filter_get_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_p",utc_maps_place_filter_set_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_n",utc_maps_place_filter_set_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_p",utc_maps_place_filter_set_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_n",utc_maps_place_filter_set_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_p",utc_maps_place_filter_set_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_n",utc_maps_place_filter_set_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_p",utc_maps_place_filter_set_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_n",utc_maps_place_filter_set_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_p",utc_maps_place_filter_set_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_n",utc_maps_place_filter_set_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_p",utc_maps_place_filter_get_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_n",utc_maps_place_filter_get_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_image_destroy_n",utc_maps_place_image_destroy_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_clone_n",utc_maps_place_image_clone_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_url_n",utc_maps_place_image_get_url_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_id_n",utc_maps_place_image_get_id_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_height_n",utc_maps_place_image_get_height_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_width_n",utc_maps_place_image_get_width_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_media_n",utc_maps_place_image_get_media_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_user_link_n",utc_maps_place_image_get_user_link_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_link_object_destroy_n",utc_maps_place_link_object_destroy_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_clone_n",utc_maps_place_link_object_clone_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_id_n",utc_maps_place_link_object_get_id_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_name_n",utc_maps_place_link_object_get_name_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_type_n",utc_maps_place_link_object_get_type_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_string_n",utc_maps_place_link_object_get_string_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_media_destroy_n",utc_maps_place_media_destroy_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_clone_n",utc_maps_place_media_clone_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_attribution_n",utc_maps_place_media_get_attribution_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_supplier_n",utc_maps_place_media_get_supplier_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_via_n",utc_maps_place_media_get_via_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_rating_destroy_n",utc_maps_place_rating_destroy_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_clone_n",utc_maps_place_rating_clone_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_count_n",utc_maps_place_rating_get_count_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_average_n",utc_maps_place_rating_get_average_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_review_destroy_n",utc_maps_place_review_destroy_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_clone_n",utc_maps_place_review_clone_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_date_n",utc_maps_place_review_get_date_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_title_n",utc_maps_place_review_get_title_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_description_n",utc_maps_place_review_get_description_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_language_n",utc_maps_place_review_get_language_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_rating_n",utc_maps_place_review_get_rating_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_media_n",utc_maps_place_review_get_media_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_user_link_n",utc_maps_place_review_get_user_link_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_url_destroy_n",utc_maps_place_url_destroy_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_clone_n",utc_maps_place_url_clone_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_path_n",utc_maps_place_url_get_path_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_description_n",utc_maps_place_url_get_description_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_preference_create_p",utc_maps_preference_create_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_create_n",utc_maps_preference_create_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_p",utc_maps_preference_destroy_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_n",utc_maps_preference_destroy_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_p",utc_maps_preference_clone_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_n",utc_maps_preference_clone_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_p",utc_maps_preference_get_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_n",utc_maps_preference_get_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_p",utc_maps_preference_get_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_n",utc_maps_preference_get_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_p",utc_maps_preference_get_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_n",utc_maps_preference_get_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_p",utc_maps_preference_get_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_n",utc_maps_preference_get_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_p",utc_maps_preference_get_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_n",utc_maps_preference_get_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_p",utc_maps_preference_get_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_n",utc_maps_preference_get_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_p",utc_maps_preference_get_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_n",utc_maps_preference_get_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_p",utc_maps_preference_get_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_n",utc_maps_preference_get_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_p",utc_maps_preference_get_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_n",utc_maps_preference_get_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_p",utc_maps_preference_foreach_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_n",utc_maps_preference_foreach_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_p",utc_maps_preference_set_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_n",utc_maps_preference_set_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_p",utc_maps_preference_set_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_n",utc_maps_preference_set_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_p",utc_maps_preference_set_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_n",utc_maps_preference_set_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_p",utc_maps_preference_set_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_n",utc_maps_preference_set_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_p",utc_maps_preference_set_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_n",utc_maps_preference_set_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_p",utc_maps_preference_set_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_n",utc_maps_preference_set_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_p",utc_maps_preference_set_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_n",utc_maps_preference_set_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_p",utc_maps_preference_set_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_n",utc_maps_preference_set_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_p",utc_maps_preference_set_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_n",utc_maps_preference_set_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_p",utc_maps_preference_set_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_n",utc_maps_preference_set_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_p",utc_maps_preference_get_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_n",utc_maps_preference_get_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_route_destroy_n",utc_maps_route_destroy_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_clone_n",utc_maps_route_clone_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_route_id_n",utc_maps_route_get_route_id_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_origin_n",utc_maps_route_get_origin_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_destination_n",utc_maps_route_get_destination_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_bounding_box_n",utc_maps_route_get_bounding_box_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_distance_n",utc_maps_route_get_total_distance_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_transport_mode_n",utc_maps_route_get_transport_mode_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_duration_n",utc_maps_route_get_total_duration_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_distance_unit_n",utc_maps_route_get_distance_unit_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_property_n",utc_maps_route_foreach_property_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_path_n",utc_maps_route_foreach_path_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_segment_n",utc_maps_route_foreach_segment_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_maneuver_destroy_n",utc_maps_route_maneuver_destroy_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_clone_n",utc_maps_route_maneuver_clone_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_direction_id_n",utc_maps_route_maneuver_get_direction_id_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_turn_type_n",utc_maps_route_maneuver_get_turn_type_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_position_n",utc_maps_route_maneuver_get_position_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_road_name_n",utc_maps_route_maneuver_get_road_name_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_instruction_text_n",utc_maps_route_maneuver_get_instruction_text_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_locale_n",utc_maps_route_maneuver_get_locale_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_time_to_next_instruction_n",utc_maps_route_maneuver_get_time_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_distance_to_next_instruction_n",utc_maps_route_maneuver_get_distance_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_segment_destroy_n",utc_maps_route_segment_destroy_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_clone_n",utc_maps_route_segment_clone_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_origin_n",utc_maps_route_segment_get_origin_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_destination_n",utc_maps_route_segment_get_destination_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_bounding_box_n",utc_maps_route_segment_get_bounding_box_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_distance_n",utc_maps_route_segment_get_distance_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_duration_n",utc_maps_route_segment_get_duration_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_path_n",utc_maps_route_segment_foreach_path_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_maneuver_n",utc_maps_route_segment_foreach_maneuver_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_view_object_create_marker_p",utc_maps_view_object_create_marker_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_marker_n",utc_maps_view_object_create_marker_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_p",utc_maps_view_object_destroy_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_n",utc_maps_view_object_destroy_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_p",utc_maps_view_object_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_n",utc_maps_view_object_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_p",utc_maps_view_object_set_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_n",utc_maps_view_object_set_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_p",utc_maps_view_object_get_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_n",utc_maps_view_object_get_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_p",utc_maps_view_object_marker_set_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_n",utc_maps_view_object_marker_set_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_p",utc_maps_view_object_marker_resize_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_n",utc_maps_view_object_marker_resize_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_p",utc_maps_view_object_marker_set_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_n",utc_maps_view_object_marker_set_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_p",utc_maps_view_object_marker_get_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_n",utc_maps_view_object_marker_get_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_p",utc_maps_view_object_marker_get_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_n",utc_maps_view_object_marker_get_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_p",utc_maps_view_object_marker_get_size_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_n",utc_maps_view_object_marker_get_size_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_p",utc_maps_view_object_marker_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_n",utc_maps_view_object_marker_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_p",utc_maps_view_object_marker_set_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_n",utc_maps_view_object_marker_set_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_p",utc_maps_view_object_marker_get_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_n",utc_maps_view_object_marker_get_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_p",utc_maps_view_object_create_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_n",utc_maps_view_object_create_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_p",utc_maps_view_object_polyline_set_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_n",utc_maps_view_object_polyline_set_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_p",utc_maps_view_object_polyline_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_n",utc_maps_view_object_polyline_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_p",utc_maps_view_object_polyline_set_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_n",utc_maps_view_object_polyline_set_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_p",utc_maps_view_object_polyline_get_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_n",utc_maps_view_object_polyline_get_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_p",utc_maps_view_object_polyline_set_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_n",utc_maps_view_object_polyline_set_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_p",utc_maps_view_object_polyline_get_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_n",utc_maps_view_object_polyline_get_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_p",utc_maps_view_object_create_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_n",utc_maps_view_object_create_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_p",utc_maps_view_object_polygon_set_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_n",utc_maps_view_object_polygon_set_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_p",utc_maps_view_object_polygon_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_n",utc_maps_view_object_polygon_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_p",utc_maps_view_object_polygon_set_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_n",utc_maps_view_object_polygon_set_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_p",utc_maps_view_object_polygon_get_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_n",utc_maps_view_object_polygon_get_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_overlay_p",utc_maps_view_object_create_overlay_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_create_overlay_n",utc_maps_view_object_create_overlay_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_p",utc_maps_view_object_overlay_get_object_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_n",utc_maps_view_object_overlay_get_object_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_p",utc_maps_view_object_overlay_set_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_n",utc_maps_view_object_overlay_set_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_p",utc_maps_view_object_overlay_get_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_n",utc_maps_view_object_overlay_get_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_p",utc_maps_view_object_overlay_set_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_n",utc_maps_view_object_overlay_set_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_p",utc_maps_view_object_overlay_get_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_n",utc_maps_view_object_overlay_get_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_p",utc_maps_view_object_overlay_set_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_n",utc_maps_view_object_overlay_set_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_p",utc_maps_view_object_overlay_get_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_n",utc_maps_view_object_overlay_get_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_event_data_destroy_n",utc_maps_view_event_data_destroy_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_clone_n",utc_maps_view_event_data_clone_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_type_n",utc_maps_view_event_data_get_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_gesture_type_n",utc_maps_view_event_data_get_gesture_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_action_type_n",utc_maps_view_event_data_get_action_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_center_n",utc_maps_view_event_data_get_center_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_delta_n",utc_maps_view_event_data_get_delta_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_position_n",utc_maps_view_event_data_get_position_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_fingers_n",utc_maps_view_event_data_get_fingers_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_zoom_factor_n",utc_maps_view_event_data_get_zoom_factor_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_rotation_angle_n",utc_maps_view_event_data_get_rotation_angle_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_object_n",utc_maps_view_event_data_get_object_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_coordinates_n",utc_maps_view_event_data_get_coordinates_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_service_foreach_provider_p",utc_maps_service_foreach_provider_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_foreach_provider_n",utc_maps_service_foreach_provider_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_p",utc_maps_service_create_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_n",utc_maps_service_create_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_p",utc_maps_service_destroy_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_n",utc_maps_service_destroy_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_p",utc_maps_service_set_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_n",utc_maps_service_set_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_p",utc_maps_service_get_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_n",utc_maps_service_get_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_p",utc_maps_service_set_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_n",utc_maps_service_set_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_p",utc_maps_service_get_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_n",utc_maps_service_get_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_p",utc_maps_service_provider_is_service_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_n",utc_maps_service_provider_is_service_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_p",utc_maps_service_provider_is_data_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_n",utc_maps_service_provider_is_data_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_p",utc_maps_service_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_n",utc_maps_service_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_p",utc_maps_service_geocode_inside_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_n",utc_maps_service_geocode_inside_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_p",utc_maps_service_geocode_by_structured_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_n",utc_maps_service_geocode_by_structured_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_p",utc_maps_service_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_n",utc_maps_service_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_p",utc_maps_service_cancel_request_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_n",utc_maps_service_cancel_request_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_p",utc_maps_service_search_route_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_n",utc_maps_service_search_route_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_p",utc_maps_service_search_route_waypoints_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_n",utc_maps_service_search_route_waypoints_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_p",utc_maps_service_search_place_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_n",utc_maps_service_search_place_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_p",utc_maps_service_search_place_by_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_n",utc_maps_service_search_place_by_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_p",utc_maps_service_search_place_by_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_n",utc_maps_service_search_place_by_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_p",utc_maps_service_multi_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_n",utc_maps_service_multi_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_p",utc_maps_service_search_place_list_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_n",utc_maps_service_search_place_list_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_p",utc_maps_service_get_place_details_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_n",utc_maps_service_get_place_details_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_p",utc_maps_service_request_user_consent_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_n",utc_maps_service_request_user_consent_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_view_create_p",utc_maps_view_create_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_create_n",utc_maps_view_create_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_p",utc_maps_view_get_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_n",utc_maps_view_get_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_p",utc_maps_view_set_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_n",utc_maps_view_set_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_p",utc_maps_view_get_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_n",utc_maps_view_get_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_p",utc_maps_view_set_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_n",utc_maps_view_set_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_p",utc_maps_view_get_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_n",utc_maps_view_get_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_p",utc_maps_view_get_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_n",utc_maps_view_get_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_p",utc_maps_view_set_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_n",utc_maps_view_set_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_p",utc_maps_view_get_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_n",utc_maps_view_get_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_p",utc_maps_view_screen_to_geolocation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_n",utc_maps_view_screen_to_geolocation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_p",utc_maps_view_geolocation_to_screen_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_n",utc_maps_view_geolocation_to_screen_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_p",utc_maps_view_set_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_n",utc_maps_view_set_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_p",utc_maps_view_get_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_n",utc_maps_view_get_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_p",utc_maps_view_set_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_n",utc_maps_view_set_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_p",utc_maps_view_get_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_n",utc_maps_view_get_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_p",utc_maps_view_set_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_n",utc_maps_view_set_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_p",utc_maps_view_get_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_n",utc_maps_view_get_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_p",utc_maps_view_set_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_n",utc_maps_view_set_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_p",utc_maps_view_get_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_n",utc_maps_view_get_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_p",utc_maps_view_set_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_n",utc_maps_view_set_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_p",utc_maps_view_get_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_n",utc_maps_view_get_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_p",utc_maps_view_get_viewport_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_n",utc_maps_view_get_viewport_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_p",utc_maps_view_set_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_n",utc_maps_view_set_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_p",utc_maps_view_get_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_n",utc_maps_view_get_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_p",utc_maps_view_move_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_n",utc_maps_view_move_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_p",utc_maps_view_resize_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_n",utc_maps_view_resize_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_p",utc_maps_view_set_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_n",utc_maps_view_set_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_p",utc_maps_view_get_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_n",utc_maps_view_get_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_p",utc_maps_view_set_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_n",utc_maps_view_set_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_p",utc_maps_view_unset_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_n",utc_maps_view_unset_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_p",utc_maps_view_set_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_n",utc_maps_view_set_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_p",utc_maps_view_get_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_n",utc_maps_view_get_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_p",utc_maps_view_set_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_n",utc_maps_view_set_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_p",utc_maps_view_get_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_n",utc_maps_view_get_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_p",utc_maps_view_add_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_n",utc_maps_view_add_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_p",utc_maps_view_remove_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_n",utc_maps_view_remove_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_p",utc_maps_view_remove_all_objects_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_n",utc_maps_view_remove_all_objects_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_p",utc_maps_view_foreach_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_n",utc_maps_view_foreach_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_p",utc_maps_view_set_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_n",utc_maps_view_set_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_p",utc_maps_view_set_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_n",utc_maps_view_set_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_capture_snapshot_p",utc_maps_view_capture_snapshot_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"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},
- {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
+++ /dev/null
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-#ifndef __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_maps_address_startup(void);
-extern void utc_maps_address_cleanup(void);
-extern void utc_maps_area_startup(void);
-extern void utc_maps_area_cleanup(void);
-extern void utc_maps_coordinates_startup(void);
-extern void utc_maps_coordinates_cleanup(void);
-extern void utc_maps_place_startup(void);
-extern void utc_maps_place_cleanup(void);
-extern void utc_maps_place_attribute_startup(void);
-extern void utc_maps_place_attribute_cleanup(void);
-extern void utc_maps_place_category_startup(void);
-extern void utc_maps_place_category_cleanup(void);
-extern void utc_maps_place_contact_startup(void);
-extern void utc_maps_place_contact_cleanup(void);
-extern void utc_maps_place_editorial_startup(void);
-extern void utc_maps_place_editorial_cleanup(void);
-extern void utc_maps_place_filter_startup(void);
-extern void utc_maps_place_filter_cleanup(void);
-extern void utc_maps_place_image_startup(void);
-extern void utc_maps_place_image_cleanup(void);
-extern void utc_maps_place_link_object_startup(void);
-extern void utc_maps_place_link_object_cleanup(void);
-extern void utc_maps_place_media_startup(void);
-extern void utc_maps_place_media_cleanup(void);
-extern void utc_maps_place_rating_startup(void);
-extern void utc_maps_place_rating_cleanup(void);
-extern void utc_maps_place_review_startup(void);
-extern void utc_maps_place_review_cleanup(void);
-extern void utc_maps_place_url_startup(void);
-extern void utc_maps_place_url_cleanup(void);
-extern void utc_maps_preference_startup(void);
-extern void utc_maps_preference_cleanup(void);
-extern void utc_maps_route_startup(void);
-extern void utc_maps_route_cleanup(void);
-extern void utc_maps_route_maneuver_startup(void);
-extern void utc_maps_route_maneuver_cleanup(void);
-extern void utc_maps_route_segment_startup(void);
-extern void utc_maps_route_segment_cleanup(void);
-extern void utc_maps_view_object_startup(void);
-extern void utc_maps_view_object_cleanup(void);
-extern void utc_maps_view_object_overlay_startup(void);
-extern void utc_maps_view_object_overlay_cleanup(void);
-extern void utc_maps_view_event_data_startup(void);
-extern void utc_maps_view_event_data_cleanup(void);
-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 int utc_maps_address_create_p(void);
-extern int utc_maps_address_create_n(void);
-extern int utc_maps_address_destroy_p(void);
-extern int utc_maps_address_destroy_n(void);
-extern int utc_maps_address_clone_p(void);
-extern int utc_maps_address_clone_n(void);
-extern int utc_maps_address_set_building_number_p(void);
-extern int utc_maps_address_set_building_number_n(void);
-extern int utc_maps_address_set_street_p(void);
-extern int utc_maps_address_set_street_n(void);
-extern int utc_maps_address_set_district_p(void);
-extern int utc_maps_address_set_district_n(void);
-extern int utc_maps_address_set_city_p(void);
-extern int utc_maps_address_set_city_n(void);
-extern int utc_maps_address_set_state_p(void);
-extern int utc_maps_address_set_state_n(void);
-extern int utc_maps_address_set_country_p(void);
-extern int utc_maps_address_set_country_n(void);
-extern int utc_maps_address_set_country_code_p(void);
-extern int utc_maps_address_set_country_code_n(void);
-extern int utc_maps_address_set_county_p(void);
-extern int utc_maps_address_set_county_n(void);
-extern int utc_maps_address_set_postal_code_p(void);
-extern int utc_maps_address_set_postal_code_n(void);
-extern int utc_maps_address_set_freetext_p(void);
-extern int utc_maps_address_set_freetext_n(void);
-extern int utc_maps_address_get_building_number_p(void);
-extern int utc_maps_address_get_building_number_n(void);
-extern int utc_maps_address_get_street_p(void);
-extern int utc_maps_address_get_street_n(void);
-extern int utc_maps_address_get_district_p(void);
-extern int utc_maps_address_get_district_n(void);
-extern int utc_maps_address_get_city_p(void);
-extern int utc_maps_address_get_city_n(void);
-extern int utc_maps_address_get_state_p(void);
-extern int utc_maps_address_get_state_n(void);
-extern int utc_maps_address_get_country_p(void);
-extern int utc_maps_address_get_country_n(void);
-extern int utc_maps_address_get_country_code_p(void);
-extern int utc_maps_address_get_country_code_n(void);
-extern int utc_maps_address_get_county_p(void);
-extern int utc_maps_address_get_county_n(void);
-extern int utc_maps_address_get_postal_code_p(void);
-extern int utc_maps_address_get_postal_code_n(void);
-extern int utc_maps_address_get_freetext_p(void);
-extern int utc_maps_address_get_freetext_n(void);
-extern int utc_maps_address_list_create_p(void);
-extern int utc_maps_address_list_create_n(void);
-extern int utc_maps_address_list_destroy_p(void);
-extern int utc_maps_address_list_destroy_n(void);
-extern int utc_maps_address_list_append_p(void);
-extern int utc_maps_address_list_append_n(void);
-extern int utc_maps_address_list_remove_p(void);
-extern int utc_maps_address_list_remove_n(void);
-extern int utc_maps_address_list_get_length_p(void);
-extern int utc_maps_address_list_get_length_n(void);
-extern int utc_maps_address_list_foreach_p(void);
-extern int utc_maps_address_list_foreach_n(void);
-extern int utc_maps_area_create_rectangle_p(void);
-extern int utc_maps_area_create_rectangle_n(void);
-extern int utc_maps_area_create_circle_p(void);
-extern int utc_maps_area_create_circle_n(void);
-extern int utc_maps_area_destroy_p(void);
-extern int utc_maps_area_destroy_n(void);
-extern int utc_maps_area_clone_p(void);
-extern int utc_maps_area_clone_n(void);
-extern int utc_maps_coordinates_create_p(void);
-extern int utc_maps_coordinates_create_n(void);
-extern int utc_maps_coordinates_destroy_p(void);
-extern int utc_maps_coordinates_destroy_n(void);
-extern int utc_maps_coordinates_clone_p(void);
-extern int utc_maps_coordinates_clone_n(void);
-extern int utc_maps_coordinates_get_latitude_p(void);
-extern int utc_maps_coordinates_get_latitude_n(void);
-extern int utc_maps_coordinates_get_longitude_p(void);
-extern int utc_maps_coordinates_get_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_p(void);
-extern int utc_maps_coordinates_set_latitude_n(void);
-extern int utc_maps_coordinates_set_longitude_p(void);
-extern int utc_maps_coordinates_set_longitude_n(void);
-extern int utc_maps_coordinates_get_latitude_longitude_p(void);
-extern int utc_maps_coordinates_get_latitude_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_longitude_p(void);
-extern int utc_maps_coordinates_set_latitude_longitude_n(void);
-extern int utc_maps_coordinates_list_create_p(void);
-extern int utc_maps_coordinates_list_create_n(void);
-extern int utc_maps_coordinates_list_destroy_p(void);
-extern int utc_maps_coordinates_list_destroy_n(void);
-extern int utc_maps_coordinates_list_append_p(void);
-extern int utc_maps_coordinates_list_append_n(void);
-extern int utc_maps_coordinates_list_remove_p(void);
-extern int utc_maps_coordinates_list_remove_n(void);
-extern int utc_maps_coordinates_list_get_length_p(void);
-extern int utc_maps_coordinates_list_get_length_n(void);
-extern int utc_maps_coordinates_list_foreach_p(void);
-extern int utc_maps_coordinates_list_foreach_n(void);
-extern int utc_maps_place_destroy_n(void);
-extern int utc_maps_place_clone_n(void);
-extern int utc_maps_place_get_id_n(void);
-extern int utc_maps_place_get_name_n(void);
-extern int utc_maps_place_get_uri_n(void);
-extern int utc_maps_place_get_location_n(void);
-extern int utc_maps_place_get_distance_n(void);
-extern int utc_maps_place_get_address_n(void);
-extern int utc_maps_place_get_rating_n(void);
-extern int utc_maps_place_foreach_category_n(void);
-extern int utc_maps_place_foreach_attribute_n(void);
-extern int utc_maps_place_foreach_contact_n(void);
-extern int utc_maps_place_foreach_editorial_n(void);
-extern int utc_maps_place_foreach_image_n(void);
-extern int utc_maps_place_foreach_review_n(void);
-extern int utc_maps_place_get_supplier_link_n(void);
-extern int utc_maps_place_get_related_link_n(void);
-extern int utc_maps_place_foreach_property_n(void);
-extern int utc_maps_place_list_destroy_n(void);
-extern int utc_maps_place_attribute_destroy_n(void);
-extern int utc_maps_place_attribute_clone_n(void);
-extern int utc_maps_place_attribute_get_id_n(void);
-extern int utc_maps_place_attribute_get_text_n(void);
-extern int utc_maps_place_attribute_get_label_n(void);
-extern int utc_maps_place_category_create_p(void);
-extern int utc_maps_place_category_create_n(void);
-extern int utc_maps_place_category_destroy_p(void);
-extern int utc_maps_place_category_destroy_n(void);
-extern int utc_maps_place_category_clone_p(void);
-extern int utc_maps_place_category_clone_n(void);
-extern int utc_maps_place_category_set_id_p(void);
-extern int utc_maps_place_category_set_id_n(void);
-extern int utc_maps_place_category_get_id_p(void);
-extern int utc_maps_place_category_get_id_n(void);
-extern int utc_maps_place_category_set_name_p(void);
-extern int utc_maps_place_category_set_name_n(void);
-extern int utc_maps_place_category_get_name_p(void);
-extern int utc_maps_place_category_get_name_n(void);
-extern int utc_maps_place_category_set_url_p(void);
-extern int utc_maps_place_category_set_url_n(void);
-extern int utc_maps_place_category_get_url_p(void);
-extern int utc_maps_place_category_get_url_n(void);
-extern int utc_maps_place_contact_destroy_n(void);
-extern int utc_maps_place_contact_clone_n(void);
-extern int utc_maps_place_contact_get_label_n(void);
-extern int utc_maps_place_contact_get_type_n(void);
-extern int utc_maps_place_contact_get_value_n(void);
-extern int utc_maps_place_editorial_destroy_n(void);
-extern int utc_maps_place_editorial_clone_n(void);
-extern int utc_maps_place_editorial_get_description_n(void);
-extern int utc_maps_place_editorial_get_language_n(void);
-extern int utc_maps_place_editorial_get_media_n(void);
-extern int utc_maps_place_filter_create_p(void);
-extern int utc_maps_place_filter_create_n(void);
-extern int utc_maps_place_filter_destroy_p(void);
-extern int utc_maps_place_filter_destroy_n(void);
-extern int utc_maps_place_filter_clone_p(void);
-extern int utc_maps_place_filter_clone_n(void);
-extern int utc_maps_place_filter_get_p(void);
-extern int utc_maps_place_filter_get_n(void);
-extern int utc_maps_place_filter_get_keyword_p(void);
-extern int utc_maps_place_filter_get_keyword_n(void);
-extern int utc_maps_place_filter_get_category_p(void);
-extern int utc_maps_place_filter_get_category_n(void);
-extern int utc_maps_place_filter_foreach_property_p(void);
-extern int utc_maps_place_filter_foreach_property_n(void);
-extern int utc_maps_place_filter_get_place_name_p(void);
-extern int utc_maps_place_filter_get_place_name_n(void);
-extern int utc_maps_place_filter_set_p(void);
-extern int utc_maps_place_filter_set_n(void);
-extern int utc_maps_place_filter_set_category_p(void);
-extern int utc_maps_place_filter_set_category_n(void);
-extern int utc_maps_place_filter_set_keyword_p(void);
-extern int utc_maps_place_filter_set_keyword_n(void);
-extern int utc_maps_place_filter_set_place_name_p(void);
-extern int utc_maps_place_filter_set_place_name_n(void);
-extern int utc_maps_place_filter_set_place_address_p(void);
-extern int utc_maps_place_filter_set_place_address_n(void);
-extern int utc_maps_place_filter_get_place_address_p(void);
-extern int utc_maps_place_filter_get_place_address_n(void);
-extern int utc_maps_place_image_destroy_n(void);
-extern int utc_maps_place_image_clone_n(void);
-extern int utc_maps_place_image_get_url_n(void);
-extern int utc_maps_place_image_get_id_n(void);
-extern int utc_maps_place_image_get_height_n(void);
-extern int utc_maps_place_image_get_width_n(void);
-extern int utc_maps_place_image_get_media_n(void);
-extern int utc_maps_place_image_get_user_link_n(void);
-extern int utc_maps_place_link_object_destroy_n(void);
-extern int utc_maps_place_link_object_clone_n(void);
-extern int utc_maps_place_link_object_get_id_n(void);
-extern int utc_maps_place_link_object_get_name_n(void);
-extern int utc_maps_place_link_object_get_type_n(void);
-extern int utc_maps_place_link_object_get_string_n(void);
-extern int utc_maps_place_media_destroy_n(void);
-extern int utc_maps_place_media_clone_n(void);
-extern int utc_maps_place_media_get_attribution_n(void);
-extern int utc_maps_place_media_get_supplier_n(void);
-extern int utc_maps_place_media_get_via_n(void);
-extern int utc_maps_place_rating_destroy_n(void);
-extern int utc_maps_place_rating_clone_n(void);
-extern int utc_maps_place_rating_get_count_n(void);
-extern int utc_maps_place_rating_get_average_n(void);
-extern int utc_maps_place_review_destroy_n(void);
-extern int utc_maps_place_review_clone_n(void);
-extern int utc_maps_place_review_get_date_n(void);
-extern int utc_maps_place_review_get_title_n(void);
-extern int utc_maps_place_review_get_description_n(void);
-extern int utc_maps_place_review_get_language_n(void);
-extern int utc_maps_place_review_get_rating_n(void);
-extern int utc_maps_place_review_get_media_n(void);
-extern int utc_maps_place_review_get_user_link_n(void);
-extern int utc_maps_place_url_destroy_n(void);
-extern int utc_maps_place_url_clone_n(void);
-extern int utc_maps_place_url_get_path_n(void);
-extern int utc_maps_place_url_get_description_n(void);
-extern int utc_maps_preference_create_p(void);
-extern int utc_maps_preference_create_n(void);
-extern int utc_maps_preference_destroy_p(void);
-extern int utc_maps_preference_destroy_n(void);
-extern int utc_maps_preference_clone_p(void);
-extern int utc_maps_preference_clone_n(void);
-extern int utc_maps_preference_get_distance_unit_p(void);
-extern int utc_maps_preference_get_distance_unit_n(void);
-extern int utc_maps_preference_get_language_p(void);
-extern int utc_maps_preference_get_language_n(void);
-extern int utc_maps_preference_get_max_results_p(void);
-extern int utc_maps_preference_get_max_results_n(void);
-extern int utc_maps_preference_get_country_code_p(void);
-extern int utc_maps_preference_get_country_code_n(void);
-extern int utc_maps_preference_get_route_optimization_p(void);
-extern int utc_maps_preference_get_route_optimization_n(void);
-extern int utc_maps_preference_get_route_transport_mode_p(void);
-extern int utc_maps_preference_get_route_transport_mode_n(void);
-extern int utc_maps_preference_get_route_feature_weight_p(void);
-extern int utc_maps_preference_get_route_feature_weight_n(void);
-extern int utc_maps_preference_get_route_feature_p(void);
-extern int utc_maps_preference_get_route_feature_n(void);
-extern int utc_maps_preference_get_p(void);
-extern int utc_maps_preference_get_n(void);
-extern int utc_maps_preference_foreach_property_p(void);
-extern int utc_maps_preference_foreach_property_n(void);
-extern int utc_maps_preference_set_distance_unit_p(void);
-extern int utc_maps_preference_set_distance_unit_n(void);
-extern int utc_maps_preference_set_language_p(void);
-extern int utc_maps_preference_set_language_n(void);
-extern int utc_maps_preference_set_max_results_p(void);
-extern int utc_maps_preference_set_max_results_n(void);
-extern int utc_maps_preference_set_country_code_p(void);
-extern int utc_maps_preference_set_country_code_n(void);
-extern int utc_maps_preference_set_route_optimization_p(void);
-extern int utc_maps_preference_set_route_optimization_n(void);
-extern int utc_maps_preference_set_route_transport_mode_p(void);
-extern int utc_maps_preference_set_route_transport_mode_n(void);
-extern int utc_maps_preference_set_route_feature_weight_p(void);
-extern int utc_maps_preference_set_route_feature_weight_n(void);
-extern int utc_maps_preference_set_route_feature_p(void);
-extern int utc_maps_preference_set_route_feature_n(void);
-extern int utc_maps_preference_set_property_p(void);
-extern int utc_maps_preference_set_property_n(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_n(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_n(void);
-extern int utc_maps_route_destroy_n(void);
-extern int utc_maps_route_clone_n(void);
-extern int utc_maps_route_get_route_id_n(void);
-extern int utc_maps_route_get_origin_n(void);
-extern int utc_maps_route_get_destination_n(void);
-extern int utc_maps_route_get_bounding_box_n(void);
-extern int utc_maps_route_get_total_distance_n(void);
-extern int utc_maps_route_get_transport_mode_n(void);
-extern int utc_maps_route_get_total_duration_n(void);
-extern int utc_maps_route_get_distance_unit_n(void);
-extern int utc_maps_route_foreach_property_n(void);
-extern int utc_maps_route_foreach_path_n(void);
-extern int utc_maps_route_foreach_segment_n(void);
-extern int utc_maps_route_maneuver_destroy_n(void);
-extern int utc_maps_route_maneuver_clone_n(void);
-extern int utc_maps_route_maneuver_get_direction_id_n(void);
-extern int utc_maps_route_maneuver_get_turn_type_n(void);
-extern int utc_maps_route_maneuver_get_position_n(void);
-extern int utc_maps_route_maneuver_get_road_name_n(void);
-extern int utc_maps_route_maneuver_get_instruction_text_n(void);
-extern int utc_maps_route_maneuver_get_locale_n(void);
-extern int utc_maps_route_maneuver_get_time_to_next_instruction_n(void);
-extern int utc_maps_route_maneuver_get_distance_to_next_instruction_n(void);
-extern int utc_maps_route_segment_destroy_n(void);
-extern int utc_maps_route_segment_clone_n(void);
-extern int utc_maps_route_segment_get_origin_n(void);
-extern int utc_maps_route_segment_get_destination_n(void);
-extern int utc_maps_route_segment_get_bounding_box_n(void);
-extern int utc_maps_route_segment_get_distance_n(void);
-extern int utc_maps_route_segment_get_duration_n(void);
-extern int utc_maps_route_segment_foreach_path_n(void);
-extern int utc_maps_route_segment_foreach_maneuver_n(void);
-extern int utc_maps_view_object_create_marker_p(void);
-extern int utc_maps_view_object_create_marker_n(void);
-extern int utc_maps_view_object_destroy_p(void);
-extern int utc_maps_view_object_destroy_n(void);
-extern int utc_maps_view_object_get_type_p(void);
-extern int utc_maps_view_object_get_type_n(void);
-extern int utc_maps_view_object_set_visible_p(void);
-extern int utc_maps_view_object_set_visible_n(void);
-extern int utc_maps_view_object_get_visible_p(void);
-extern int utc_maps_view_object_get_visible_n(void);
-extern int utc_maps_view_object_marker_set_coordinates_p(void);
-extern int utc_maps_view_object_marker_set_coordinates_n(void);
-extern int utc_maps_view_object_marker_resize_p(void);
-extern int utc_maps_view_object_marker_resize_n(void);
-extern int utc_maps_view_object_marker_set_image_file_p(void);
-extern int utc_maps_view_object_marker_set_image_file_n(void);
-extern int utc_maps_view_object_marker_get_image_file_p(void);
-extern int utc_maps_view_object_marker_get_image_file_n(void);
-extern int utc_maps_view_object_marker_get_coordinates_p(void);
-extern int utc_maps_view_object_marker_get_coordinates_n(void);
-extern int utc_maps_view_object_marker_get_size_p(void);
-extern int utc_maps_view_object_marker_get_size_n(void);
-extern int utc_maps_view_object_marker_get_type_p(void);
-extern int utc_maps_view_object_marker_get_type_n(void);
-extern int utc_maps_view_object_marker_set_z_order_p(void);
-extern int utc_maps_view_object_marker_set_z_order_n(void);
-extern int utc_maps_view_object_marker_get_z_order_p(void);
-extern int utc_maps_view_object_marker_get_z_order_n(void);
-extern int utc_maps_view_object_create_polyline_p(void);
-extern int utc_maps_view_object_create_polyline_n(void);
-extern int utc_maps_view_object_polyline_set_polyline_p(void);
-extern int utc_maps_view_object_polyline_set_polyline_n(void);
-extern int utc_maps_view_object_polyline_foreach_point_p(void);
-extern int utc_maps_view_object_polyline_foreach_point_n(void);
-extern int utc_maps_view_object_polyline_set_color_p(void);
-extern int utc_maps_view_object_polyline_set_color_n(void);
-extern int utc_maps_view_object_polyline_get_color_p(void);
-extern int utc_maps_view_object_polyline_get_color_n(void);
-extern int utc_maps_view_object_polyline_set_width_p(void);
-extern int utc_maps_view_object_polyline_set_width_n(void);
-extern int utc_maps_view_object_polyline_get_width_p(void);
-extern int utc_maps_view_object_polyline_get_width_n(void);
-extern int utc_maps_view_object_create_polygon_p(void);
-extern int utc_maps_view_object_create_polygon_n(void);
-extern int utc_maps_view_object_polygon_set_polygon_p(void);
-extern int utc_maps_view_object_polygon_set_polygon_n(void);
-extern int utc_maps_view_object_polygon_foreach_point_p(void);
-extern int utc_maps_view_object_polygon_foreach_point_n(void);
-extern int utc_maps_view_object_polygon_set_fill_color_p(void);
-extern int utc_maps_view_object_polygon_set_fill_color_n(void);
-extern int utc_maps_view_object_polygon_get_fill_color_p(void);
-extern int utc_maps_view_object_polygon_get_fill_color_n(void);
-extern int utc_maps_view_object_create_overlay_p(void);
-extern int utc_maps_view_object_create_overlay_n(void);
-extern int utc_maps_view_object_overlay_get_object_p(void);
-extern int utc_maps_view_object_overlay_get_object_n(void);
-extern int utc_maps_view_object_overlay_set_coordinates_p(void);
-extern int utc_maps_view_object_overlay_set_coordinates_n(void);
-extern int utc_maps_view_object_overlay_get_coordinates_p(void);
-extern int utc_maps_view_object_overlay_get_coordinates_n(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_n(void);
-extern int utc_maps_view_event_data_destroy_n(void);
-extern int utc_maps_view_event_data_clone_n(void);
-extern int utc_maps_view_event_data_get_type_n(void);
-extern int utc_maps_view_event_data_get_gesture_type_n(void);
-extern int utc_maps_view_event_data_get_action_type_n(void);
-extern int utc_maps_view_event_data_get_center_n(void);
-extern int utc_maps_view_event_data_get_delta_n(void);
-extern int utc_maps_view_event_data_get_position_n(void);
-extern int utc_maps_view_event_data_get_fingers_n(void);
-extern int utc_maps_view_event_data_get_zoom_factor_n(void);
-extern int utc_maps_view_event_data_get_rotation_angle_n(void);
-extern int utc_maps_view_event_data_get_object_n(void);
-extern int utc_maps_view_event_data_get_coordinates_n(void);
-extern int utc_maps_service_foreach_provider_p(void);
-extern int utc_maps_service_foreach_provider_n(void);
-extern int utc_maps_service_create_p(void);
-extern int utc_maps_service_create_n(void);
-extern int utc_maps_service_destroy_p(void);
-extern int utc_maps_service_destroy_n(void);
-extern int utc_maps_service_set_provider_key_p(void);
-extern int utc_maps_service_set_provider_key_n(void);
-extern int utc_maps_service_get_provider_key_p(void);
-extern int utc_maps_service_get_provider_key_n(void);
-extern int utc_maps_service_set_preference_p(void);
-extern int utc_maps_service_set_preference_n(void);
-extern int utc_maps_service_get_preference_p(void);
-extern int utc_maps_service_get_preference_n(void);
-extern int utc_maps_service_provider_is_service_supported_p(void);
-extern int utc_maps_service_provider_is_service_supported_n(void);
-extern int utc_maps_service_provider_is_data_supported_p(void);
-extern int utc_maps_service_provider_is_data_supported_n(void);
-extern int utc_maps_service_geocode_p(void);
-extern int utc_maps_service_geocode_n(void);
-extern int utc_maps_service_geocode_inside_area_p(void);
-extern int utc_maps_service_geocode_inside_area_n(void);
-extern int utc_maps_service_geocode_by_structured_address_p(void);
-extern int utc_maps_service_geocode_by_structured_address_n(void);
-extern int utc_maps_service_reverse_geocode_p(void);
-extern int utc_maps_service_reverse_geocode_n(void);
-extern int utc_maps_service_cancel_request_p(void);
-extern int utc_maps_service_cancel_request_n(void);
-extern int utc_maps_service_search_route_p(void);
-extern int utc_maps_service_search_route_n(void);
-extern int utc_maps_service_search_route_waypoints_p(void);
-extern int utc_maps_service_search_route_waypoints_n(void);
-extern int utc_maps_service_search_place_p(void);
-extern int utc_maps_service_search_place_n(void);
-extern int utc_maps_service_search_place_by_area_p(void);
-extern int utc_maps_service_search_place_by_area_n(void);
-extern int utc_maps_service_search_place_by_address_p(void);
-extern int utc_maps_service_search_place_by_address_n(void);
-extern int utc_maps_service_multi_reverse_geocode_p(void);
-extern int utc_maps_service_multi_reverse_geocode_n(void);
-extern int utc_maps_service_search_place_list_p(void);
-extern int utc_maps_service_search_place_list_n(void);
-extern int utc_maps_service_get_place_details_p(void);
-extern int utc_maps_service_get_place_details_n(void);
-extern int utc_maps_service_request_user_consent_p(void);
-extern int utc_maps_service_request_user_consent_n(void);
-extern int utc_maps_view_create_p(void);
-extern int utc_maps_view_create_n(void);
-extern int utc_maps_view_get_center_p(void);
-extern int utc_maps_view_get_center_n(void);
-extern int utc_maps_view_set_center_p(void);
-extern int utc_maps_view_set_center_n(void);
-extern int utc_maps_view_get_zoom_level_p(void);
-extern int utc_maps_view_get_zoom_level_n(void);
-extern int utc_maps_view_set_zoom_level_p(void);
-extern int utc_maps_view_set_zoom_level_n(void);
-extern int utc_maps_view_get_min_zoom_level_p(void);
-extern int utc_maps_view_get_min_zoom_level_n(void);
-extern int utc_maps_view_get_max_zoom_level_p(void);
-extern int utc_maps_view_get_max_zoom_level_n(void);
-extern int utc_maps_view_set_orientation_p(void);
-extern int utc_maps_view_set_orientation_n(void);
-extern int utc_maps_view_get_orientation_p(void);
-extern int utc_maps_view_get_orientation_n(void);
-extern int utc_maps_view_screen_to_geolocation_p(void);
-extern int utc_maps_view_screen_to_geolocation_n(void);
-extern int utc_maps_view_geolocation_to_screen_p(void);
-extern int utc_maps_view_geolocation_to_screen_n(void);
-extern int utc_maps_view_set_type_p(void);
-extern int utc_maps_view_set_type_n(void);
-extern int utc_maps_view_get_type_p(void);
-extern int utc_maps_view_get_type_n(void);
-extern int utc_maps_view_set_buildings_enabled_p(void);
-extern int utc_maps_view_set_buildings_enabled_n(void);
-extern int utc_maps_view_get_buildings_enabled_p(void);
-extern int utc_maps_view_get_buildings_enabled_n(void);
-extern int utc_maps_view_set_traffic_enabled_p(void);
-extern int utc_maps_view_set_traffic_enabled_n(void);
-extern int utc_maps_view_get_traffic_enabled_p(void);
-extern int utc_maps_view_get_traffic_enabled_n(void);
-extern int utc_maps_view_set_public_transit_enabled_p(void);
-extern int utc_maps_view_set_public_transit_enabled_n(void);
-extern int utc_maps_view_get_public_transit_enabled_p(void);
-extern int utc_maps_view_get_public_transit_enabled_n(void);
-extern int utc_maps_view_set_language_p(void);
-extern int utc_maps_view_set_language_n(void);
-extern int utc_maps_view_get_language_p(void);
-extern int utc_maps_view_get_language_n(void);
-extern int utc_maps_view_get_viewport_p(void);
-extern int utc_maps_view_get_viewport_n(void);
-extern int utc_maps_view_set_screen_location_p(void);
-extern int utc_maps_view_set_screen_location_n(void);
-extern int utc_maps_view_get_screen_location_p(void);
-extern int utc_maps_view_get_screen_location_n(void);
-extern int utc_maps_view_move_p(void);
-extern int utc_maps_view_move_n(void);
-extern int utc_maps_view_resize_p(void);
-extern int utc_maps_view_resize_n(void);
-extern int utc_maps_view_set_visibility_p(void);
-extern int utc_maps_view_set_visibility_n(void);
-extern int utc_maps_view_get_visibility_p(void);
-extern int utc_maps_view_get_visibility_n(void);
-extern int utc_maps_view_set_event_cb_p(void);
-extern int utc_maps_view_set_event_cb_n(void);
-extern int utc_maps_view_unset_event_cb_p(void);
-extern int utc_maps_view_unset_event_cb_n(void);
-extern int utc_maps_view_set_gesture_enabled_p(void);
-extern int utc_maps_view_set_gesture_enabled_n(void);
-extern int utc_maps_view_get_gesture_enabled_p(void);
-extern int utc_maps_view_get_gesture_enabled_n(void);
-extern int utc_maps_view_set_scalebar_enabled_p(void);
-extern int utc_maps_view_set_scalebar_enabled_n(void);
-extern int utc_maps_view_get_scalebar_enabled_p(void);
-extern int utc_maps_view_get_scalebar_enabled_n(void);
-extern int utc_maps_view_add_object_p(void);
-extern int utc_maps_view_add_object_n(void);
-extern int utc_maps_view_remove_object_p(void);
-extern int utc_maps_view_remove_object_n(void);
-extern int utc_maps_view_remove_all_objects_p(void);
-extern int utc_maps_view_remove_all_objects_n(void);
-extern int utc_maps_view_foreach_object_p(void);
-extern int utc_maps_view_foreach_object_n(void);
-extern int utc_maps_view_set_min_zoom_level_p(void);
-extern int utc_maps_view_set_min_zoom_level_n(void);
-extern int utc_maps_view_set_max_zoom_level_p(void);
-extern int utc_maps_view_set_max_zoom_level_n(void);
-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);
-
-testcase tc_array[] = {
- {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_create_n",utc_maps_address_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_p",utc_maps_address_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_n",utc_maps_address_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_p",utc_maps_address_clone_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_n",utc_maps_address_clone_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_p",utc_maps_address_set_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_n",utc_maps_address_set_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_p",utc_maps_address_set_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_n",utc_maps_address_set_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_p",utc_maps_address_set_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_n",utc_maps_address_set_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_p",utc_maps_address_set_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_n",utc_maps_address_set_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_p",utc_maps_address_set_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_n",utc_maps_address_set_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_p",utc_maps_address_set_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_n",utc_maps_address_set_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_p",utc_maps_address_set_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_n",utc_maps_address_set_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_p",utc_maps_address_set_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_n",utc_maps_address_set_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_p",utc_maps_address_set_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_n",utc_maps_address_set_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_p",utc_maps_address_set_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_n",utc_maps_address_set_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_p",utc_maps_address_get_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_n",utc_maps_address_get_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_p",utc_maps_address_get_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_n",utc_maps_address_get_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_p",utc_maps_address_get_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_n",utc_maps_address_get_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_p",utc_maps_address_get_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_n",utc_maps_address_get_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_p",utc_maps_address_get_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_n",utc_maps_address_get_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_p",utc_maps_address_get_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_n",utc_maps_address_get_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_p",utc_maps_address_get_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_n",utc_maps_address_get_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_p",utc_maps_address_get_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_n",utc_maps_address_get_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_p",utc_maps_address_get_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_n",utc_maps_address_get_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_p",utc_maps_address_get_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_n",utc_maps_address_get_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_p",utc_maps_address_list_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_n",utc_maps_address_list_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_p",utc_maps_address_list_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_n",utc_maps_address_list_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_p",utc_maps_address_list_append_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_n",utc_maps_address_list_append_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_p",utc_maps_address_list_remove_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_n",utc_maps_address_list_remove_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_p",utc_maps_address_list_get_length_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_n",utc_maps_address_list_get_length_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_p",utc_maps_address_list_foreach_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_n",utc_maps_address_list_foreach_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_area_create_rectangle_p",utc_maps_area_create_rectangle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_rectangle_n",utc_maps_area_create_rectangle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_p",utc_maps_area_create_circle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_n",utc_maps_area_create_circle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_p",utc_maps_area_destroy_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_n",utc_maps_area_destroy_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_p",utc_maps_area_clone_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_n",utc_maps_area_clone_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_coordinates_create_p",utc_maps_coordinates_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_create_n",utc_maps_coordinates_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_p",utc_maps_coordinates_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_n",utc_maps_coordinates_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_p",utc_maps_coordinates_clone_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_n",utc_maps_coordinates_clone_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_p",utc_maps_coordinates_get_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_n",utc_maps_coordinates_get_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_p",utc_maps_coordinates_get_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_n",utc_maps_coordinates_get_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_p",utc_maps_coordinates_set_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_n",utc_maps_coordinates_set_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_p",utc_maps_coordinates_set_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_n",utc_maps_coordinates_set_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_p",utc_maps_coordinates_get_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_n",utc_maps_coordinates_get_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_p",utc_maps_coordinates_set_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_n",utc_maps_coordinates_set_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_p",utc_maps_coordinates_list_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_n",utc_maps_coordinates_list_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_p",utc_maps_coordinates_list_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_n",utc_maps_coordinates_list_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_p",utc_maps_coordinates_list_append_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_n",utc_maps_coordinates_list_append_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_p",utc_maps_coordinates_list_remove_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_n",utc_maps_coordinates_list_remove_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_p",utc_maps_coordinates_list_get_length_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_n",utc_maps_coordinates_list_get_length_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_p",utc_maps_coordinates_list_foreach_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_n",utc_maps_coordinates_list_foreach_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_place_destroy_n",utc_maps_place_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_clone_n",utc_maps_place_clone_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_id_n",utc_maps_place_get_id_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_name_n",utc_maps_place_get_name_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_uri_n",utc_maps_place_get_uri_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_location_n",utc_maps_place_get_location_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_distance_n",utc_maps_place_get_distance_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_address_n",utc_maps_place_get_address_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_rating_n",utc_maps_place_get_rating_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_category_n",utc_maps_place_foreach_category_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_attribute_n",utc_maps_place_foreach_attribute_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_contact_n",utc_maps_place_foreach_contact_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_editorial_n",utc_maps_place_foreach_editorial_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_image_n",utc_maps_place_foreach_image_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_review_n",utc_maps_place_foreach_review_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_supplier_link_n",utc_maps_place_get_supplier_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_related_link_n",utc_maps_place_get_related_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_property_n",utc_maps_place_foreach_property_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_list_destroy_n",utc_maps_place_list_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_attribute_destroy_n",utc_maps_place_attribute_destroy_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_clone_n",utc_maps_place_attribute_clone_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_id_n",utc_maps_place_attribute_get_id_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_text_n",utc_maps_place_attribute_get_text_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_label_n",utc_maps_place_attribute_get_label_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_category_create_p",utc_maps_place_category_create_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_create_n",utc_maps_place_category_create_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_p",utc_maps_place_category_destroy_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_n",utc_maps_place_category_destroy_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_p",utc_maps_place_category_clone_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_n",utc_maps_place_category_clone_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_p",utc_maps_place_category_set_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_n",utc_maps_place_category_set_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_p",utc_maps_place_category_get_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_n",utc_maps_place_category_get_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_p",utc_maps_place_category_set_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_n",utc_maps_place_category_set_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_p",utc_maps_place_category_get_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_n",utc_maps_place_category_get_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_p",utc_maps_place_category_set_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_n",utc_maps_place_category_set_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_p",utc_maps_place_category_get_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_n",utc_maps_place_category_get_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_contact_destroy_n",utc_maps_place_contact_destroy_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_clone_n",utc_maps_place_contact_clone_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_label_n",utc_maps_place_contact_get_label_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_type_n",utc_maps_place_contact_get_type_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_value_n",utc_maps_place_contact_get_value_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_editorial_destroy_n",utc_maps_place_editorial_destroy_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_clone_n",utc_maps_place_editorial_clone_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_description_n",utc_maps_place_editorial_get_description_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_language_n",utc_maps_place_editorial_get_language_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_media_n",utc_maps_place_editorial_get_media_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_filter_create_p",utc_maps_place_filter_create_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_create_n",utc_maps_place_filter_create_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_p",utc_maps_place_filter_destroy_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_n",utc_maps_place_filter_destroy_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_p",utc_maps_place_filter_clone_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_n",utc_maps_place_filter_clone_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_p",utc_maps_place_filter_get_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_n",utc_maps_place_filter_get_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_p",utc_maps_place_filter_get_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_n",utc_maps_place_filter_get_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_p",utc_maps_place_filter_get_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_n",utc_maps_place_filter_get_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_p",utc_maps_place_filter_foreach_property_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_n",utc_maps_place_filter_foreach_property_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_p",utc_maps_place_filter_get_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_n",utc_maps_place_filter_get_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_p",utc_maps_place_filter_set_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_n",utc_maps_place_filter_set_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_p",utc_maps_place_filter_set_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_n",utc_maps_place_filter_set_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_p",utc_maps_place_filter_set_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_n",utc_maps_place_filter_set_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_p",utc_maps_place_filter_set_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_n",utc_maps_place_filter_set_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_p",utc_maps_place_filter_set_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_n",utc_maps_place_filter_set_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_p",utc_maps_place_filter_get_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_n",utc_maps_place_filter_get_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_image_destroy_n",utc_maps_place_image_destroy_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_clone_n",utc_maps_place_image_clone_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_url_n",utc_maps_place_image_get_url_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_id_n",utc_maps_place_image_get_id_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_height_n",utc_maps_place_image_get_height_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_width_n",utc_maps_place_image_get_width_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_media_n",utc_maps_place_image_get_media_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_user_link_n",utc_maps_place_image_get_user_link_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_link_object_destroy_n",utc_maps_place_link_object_destroy_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_clone_n",utc_maps_place_link_object_clone_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_id_n",utc_maps_place_link_object_get_id_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_name_n",utc_maps_place_link_object_get_name_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_type_n",utc_maps_place_link_object_get_type_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_string_n",utc_maps_place_link_object_get_string_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_media_destroy_n",utc_maps_place_media_destroy_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_clone_n",utc_maps_place_media_clone_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_attribution_n",utc_maps_place_media_get_attribution_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_supplier_n",utc_maps_place_media_get_supplier_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_via_n",utc_maps_place_media_get_via_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_rating_destroy_n",utc_maps_place_rating_destroy_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_clone_n",utc_maps_place_rating_clone_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_count_n",utc_maps_place_rating_get_count_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_average_n",utc_maps_place_rating_get_average_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_review_destroy_n",utc_maps_place_review_destroy_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_clone_n",utc_maps_place_review_clone_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_date_n",utc_maps_place_review_get_date_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_title_n",utc_maps_place_review_get_title_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_description_n",utc_maps_place_review_get_description_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_language_n",utc_maps_place_review_get_language_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_rating_n",utc_maps_place_review_get_rating_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_media_n",utc_maps_place_review_get_media_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_user_link_n",utc_maps_place_review_get_user_link_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_url_destroy_n",utc_maps_place_url_destroy_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_clone_n",utc_maps_place_url_clone_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_path_n",utc_maps_place_url_get_path_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_description_n",utc_maps_place_url_get_description_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_preference_create_p",utc_maps_preference_create_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_create_n",utc_maps_preference_create_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_p",utc_maps_preference_destroy_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_n",utc_maps_preference_destroy_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_p",utc_maps_preference_clone_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_n",utc_maps_preference_clone_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_p",utc_maps_preference_get_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_n",utc_maps_preference_get_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_p",utc_maps_preference_get_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_n",utc_maps_preference_get_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_p",utc_maps_preference_get_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_n",utc_maps_preference_get_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_p",utc_maps_preference_get_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_n",utc_maps_preference_get_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_p",utc_maps_preference_get_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_n",utc_maps_preference_get_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_p",utc_maps_preference_get_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_n",utc_maps_preference_get_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_p",utc_maps_preference_get_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_n",utc_maps_preference_get_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_p",utc_maps_preference_get_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_n",utc_maps_preference_get_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_p",utc_maps_preference_get_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_n",utc_maps_preference_get_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_p",utc_maps_preference_foreach_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_n",utc_maps_preference_foreach_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_p",utc_maps_preference_set_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_n",utc_maps_preference_set_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_p",utc_maps_preference_set_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_n",utc_maps_preference_set_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_p",utc_maps_preference_set_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_n",utc_maps_preference_set_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_p",utc_maps_preference_set_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_n",utc_maps_preference_set_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_p",utc_maps_preference_set_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_n",utc_maps_preference_set_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_p",utc_maps_preference_set_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_n",utc_maps_preference_set_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_p",utc_maps_preference_set_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_n",utc_maps_preference_set_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_p",utc_maps_preference_set_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_n",utc_maps_preference_set_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_p",utc_maps_preference_set_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_n",utc_maps_preference_set_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_p",utc_maps_preference_set_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_n",utc_maps_preference_set_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_p",utc_maps_preference_get_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_n",utc_maps_preference_get_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_route_destroy_n",utc_maps_route_destroy_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_clone_n",utc_maps_route_clone_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_route_id_n",utc_maps_route_get_route_id_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_origin_n",utc_maps_route_get_origin_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_destination_n",utc_maps_route_get_destination_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_bounding_box_n",utc_maps_route_get_bounding_box_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_distance_n",utc_maps_route_get_total_distance_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_transport_mode_n",utc_maps_route_get_transport_mode_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_duration_n",utc_maps_route_get_total_duration_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_distance_unit_n",utc_maps_route_get_distance_unit_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_property_n",utc_maps_route_foreach_property_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_path_n",utc_maps_route_foreach_path_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_segment_n",utc_maps_route_foreach_segment_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_maneuver_destroy_n",utc_maps_route_maneuver_destroy_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_clone_n",utc_maps_route_maneuver_clone_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_direction_id_n",utc_maps_route_maneuver_get_direction_id_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_turn_type_n",utc_maps_route_maneuver_get_turn_type_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_position_n",utc_maps_route_maneuver_get_position_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_road_name_n",utc_maps_route_maneuver_get_road_name_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_instruction_text_n",utc_maps_route_maneuver_get_instruction_text_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_locale_n",utc_maps_route_maneuver_get_locale_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_time_to_next_instruction_n",utc_maps_route_maneuver_get_time_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_distance_to_next_instruction_n",utc_maps_route_maneuver_get_distance_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_segment_destroy_n",utc_maps_route_segment_destroy_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_clone_n",utc_maps_route_segment_clone_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_origin_n",utc_maps_route_segment_get_origin_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_destination_n",utc_maps_route_segment_get_destination_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_bounding_box_n",utc_maps_route_segment_get_bounding_box_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_distance_n",utc_maps_route_segment_get_distance_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_duration_n",utc_maps_route_segment_get_duration_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_path_n",utc_maps_route_segment_foreach_path_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_maneuver_n",utc_maps_route_segment_foreach_maneuver_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_view_object_create_marker_p",utc_maps_view_object_create_marker_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_marker_n",utc_maps_view_object_create_marker_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_p",utc_maps_view_object_destroy_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_n",utc_maps_view_object_destroy_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_p",utc_maps_view_object_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_n",utc_maps_view_object_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_p",utc_maps_view_object_set_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_n",utc_maps_view_object_set_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_p",utc_maps_view_object_get_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_n",utc_maps_view_object_get_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_p",utc_maps_view_object_marker_set_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_n",utc_maps_view_object_marker_set_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_p",utc_maps_view_object_marker_resize_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_n",utc_maps_view_object_marker_resize_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_p",utc_maps_view_object_marker_set_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_n",utc_maps_view_object_marker_set_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_p",utc_maps_view_object_marker_get_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_n",utc_maps_view_object_marker_get_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_p",utc_maps_view_object_marker_get_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_n",utc_maps_view_object_marker_get_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_p",utc_maps_view_object_marker_get_size_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_n",utc_maps_view_object_marker_get_size_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_p",utc_maps_view_object_marker_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_n",utc_maps_view_object_marker_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_p",utc_maps_view_object_marker_set_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_n",utc_maps_view_object_marker_set_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_p",utc_maps_view_object_marker_get_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_n",utc_maps_view_object_marker_get_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_p",utc_maps_view_object_create_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_n",utc_maps_view_object_create_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_p",utc_maps_view_object_polyline_set_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_n",utc_maps_view_object_polyline_set_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_p",utc_maps_view_object_polyline_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_n",utc_maps_view_object_polyline_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_p",utc_maps_view_object_polyline_set_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_n",utc_maps_view_object_polyline_set_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_p",utc_maps_view_object_polyline_get_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_n",utc_maps_view_object_polyline_get_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_p",utc_maps_view_object_polyline_set_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_n",utc_maps_view_object_polyline_set_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_p",utc_maps_view_object_polyline_get_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_n",utc_maps_view_object_polyline_get_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_p",utc_maps_view_object_create_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_n",utc_maps_view_object_create_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_p",utc_maps_view_object_polygon_set_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_n",utc_maps_view_object_polygon_set_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_p",utc_maps_view_object_polygon_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_n",utc_maps_view_object_polygon_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_p",utc_maps_view_object_polygon_set_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_n",utc_maps_view_object_polygon_set_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_p",utc_maps_view_object_polygon_get_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_n",utc_maps_view_object_polygon_get_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_overlay_p",utc_maps_view_object_create_overlay_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_create_overlay_n",utc_maps_view_object_create_overlay_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_p",utc_maps_view_object_overlay_get_object_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_n",utc_maps_view_object_overlay_get_object_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_p",utc_maps_view_object_overlay_set_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_n",utc_maps_view_object_overlay_set_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_p",utc_maps_view_object_overlay_get_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_n",utc_maps_view_object_overlay_get_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_p",utc_maps_view_object_overlay_set_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_n",utc_maps_view_object_overlay_set_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_p",utc_maps_view_object_overlay_get_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_n",utc_maps_view_object_overlay_get_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_p",utc_maps_view_object_overlay_set_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_n",utc_maps_view_object_overlay_set_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_p",utc_maps_view_object_overlay_get_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_n",utc_maps_view_object_overlay_get_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_event_data_destroy_n",utc_maps_view_event_data_destroy_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_clone_n",utc_maps_view_event_data_clone_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_type_n",utc_maps_view_event_data_get_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_gesture_type_n",utc_maps_view_event_data_get_gesture_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_action_type_n",utc_maps_view_event_data_get_action_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_center_n",utc_maps_view_event_data_get_center_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_delta_n",utc_maps_view_event_data_get_delta_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_position_n",utc_maps_view_event_data_get_position_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_fingers_n",utc_maps_view_event_data_get_fingers_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_zoom_factor_n",utc_maps_view_event_data_get_zoom_factor_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_rotation_angle_n",utc_maps_view_event_data_get_rotation_angle_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_object_n",utc_maps_view_event_data_get_object_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_coordinates_n",utc_maps_view_event_data_get_coordinates_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_service_foreach_provider_p",utc_maps_service_foreach_provider_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_foreach_provider_n",utc_maps_service_foreach_provider_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_p",utc_maps_service_create_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_n",utc_maps_service_create_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_p",utc_maps_service_destroy_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_n",utc_maps_service_destroy_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_p",utc_maps_service_set_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_n",utc_maps_service_set_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_p",utc_maps_service_get_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_n",utc_maps_service_get_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_p",utc_maps_service_set_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_n",utc_maps_service_set_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_p",utc_maps_service_get_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_n",utc_maps_service_get_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_p",utc_maps_service_provider_is_service_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_n",utc_maps_service_provider_is_service_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_p",utc_maps_service_provider_is_data_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_n",utc_maps_service_provider_is_data_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_p",utc_maps_service_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_n",utc_maps_service_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_p",utc_maps_service_geocode_inside_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_n",utc_maps_service_geocode_inside_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_p",utc_maps_service_geocode_by_structured_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_n",utc_maps_service_geocode_by_structured_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_p",utc_maps_service_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_n",utc_maps_service_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_p",utc_maps_service_cancel_request_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_n",utc_maps_service_cancel_request_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_p",utc_maps_service_search_route_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_n",utc_maps_service_search_route_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_p",utc_maps_service_search_route_waypoints_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_n",utc_maps_service_search_route_waypoints_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_p",utc_maps_service_search_place_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_n",utc_maps_service_search_place_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_p",utc_maps_service_search_place_by_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_n",utc_maps_service_search_place_by_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_p",utc_maps_service_search_place_by_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_n",utc_maps_service_search_place_by_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_p",utc_maps_service_multi_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_n",utc_maps_service_multi_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_p",utc_maps_service_search_place_list_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_n",utc_maps_service_search_place_list_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_p",utc_maps_service_get_place_details_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_n",utc_maps_service_get_place_details_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_p",utc_maps_service_request_user_consent_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_n",utc_maps_service_request_user_consent_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_view_create_p",utc_maps_view_create_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_create_n",utc_maps_view_create_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_p",utc_maps_view_get_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_n",utc_maps_view_get_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_p",utc_maps_view_set_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_n",utc_maps_view_set_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_p",utc_maps_view_get_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_n",utc_maps_view_get_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_p",utc_maps_view_set_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_n",utc_maps_view_set_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_p",utc_maps_view_get_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_n",utc_maps_view_get_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_p",utc_maps_view_get_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_n",utc_maps_view_get_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_p",utc_maps_view_set_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_n",utc_maps_view_set_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_p",utc_maps_view_get_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_n",utc_maps_view_get_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_p",utc_maps_view_screen_to_geolocation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_n",utc_maps_view_screen_to_geolocation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_p",utc_maps_view_geolocation_to_screen_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_n",utc_maps_view_geolocation_to_screen_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_p",utc_maps_view_set_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_n",utc_maps_view_set_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_p",utc_maps_view_get_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_n",utc_maps_view_get_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_p",utc_maps_view_set_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_n",utc_maps_view_set_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_p",utc_maps_view_get_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_n",utc_maps_view_get_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_p",utc_maps_view_set_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_n",utc_maps_view_set_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_p",utc_maps_view_get_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_n",utc_maps_view_get_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_p",utc_maps_view_set_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_n",utc_maps_view_set_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_p",utc_maps_view_get_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_n",utc_maps_view_get_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_p",utc_maps_view_set_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_n",utc_maps_view_set_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_p",utc_maps_view_get_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_n",utc_maps_view_get_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_p",utc_maps_view_get_viewport_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_n",utc_maps_view_get_viewport_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_p",utc_maps_view_set_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_n",utc_maps_view_set_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_p",utc_maps_view_get_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_n",utc_maps_view_get_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_p",utc_maps_view_move_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_n",utc_maps_view_move_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_p",utc_maps_view_resize_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_n",utc_maps_view_resize_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_p",utc_maps_view_set_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_n",utc_maps_view_set_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_p",utc_maps_view_get_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_n",utc_maps_view_get_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_p",utc_maps_view_set_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_n",utc_maps_view_set_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_p",utc_maps_view_unset_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_n",utc_maps_view_unset_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_p",utc_maps_view_set_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_n",utc_maps_view_set_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_p",utc_maps_view_get_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_n",utc_maps_view_get_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_p",utc_maps_view_set_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_n",utc_maps_view_set_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_p",utc_maps_view_get_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_n",utc_maps_view_get_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_p",utc_maps_view_add_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_n",utc_maps_view_add_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_p",utc_maps_view_remove_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_n",utc_maps_view_remove_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_p",utc_maps_view_remove_all_objects_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_n",utc_maps_view_remove_all_objects_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_p",utc_maps_view_foreach_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_n",utc_maps_view_foreach_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_p",utc_maps_view_set_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_n",utc_maps_view_set_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_p",utc_maps_view_set_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_n",utc_maps_view_set_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_capture_snapshot_p",utc_maps_view_capture_snapshot_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"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},
- {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
+++ /dev/null
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-#ifndef __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-#define __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
-
-#include "testcase.h"
-#include "tct_common.h"
-
-extern void utc_maps_address_startup(void);
-extern void utc_maps_address_cleanup(void);
-extern void utc_maps_area_startup(void);
-extern void utc_maps_area_cleanup(void);
-extern void utc_maps_coordinates_startup(void);
-extern void utc_maps_coordinates_cleanup(void);
-extern void utc_maps_place_startup(void);
-extern void utc_maps_place_cleanup(void);
-extern void utc_maps_place_attribute_startup(void);
-extern void utc_maps_place_attribute_cleanup(void);
-extern void utc_maps_place_category_startup(void);
-extern void utc_maps_place_category_cleanup(void);
-extern void utc_maps_place_contact_startup(void);
-extern void utc_maps_place_contact_cleanup(void);
-extern void utc_maps_place_editorial_startup(void);
-extern void utc_maps_place_editorial_cleanup(void);
-extern void utc_maps_place_filter_startup(void);
-extern void utc_maps_place_filter_cleanup(void);
-extern void utc_maps_place_image_startup(void);
-extern void utc_maps_place_image_cleanup(void);
-extern void utc_maps_place_link_object_startup(void);
-extern void utc_maps_place_link_object_cleanup(void);
-extern void utc_maps_place_media_startup(void);
-extern void utc_maps_place_media_cleanup(void);
-extern void utc_maps_place_rating_startup(void);
-extern void utc_maps_place_rating_cleanup(void);
-extern void utc_maps_place_review_startup(void);
-extern void utc_maps_place_review_cleanup(void);
-extern void utc_maps_place_url_startup(void);
-extern void utc_maps_place_url_cleanup(void);
-extern void utc_maps_preference_startup(void);
-extern void utc_maps_preference_cleanup(void);
-extern void utc_maps_route_startup(void);
-extern void utc_maps_route_cleanup(void);
-extern void utc_maps_route_maneuver_startup(void);
-extern void utc_maps_route_maneuver_cleanup(void);
-extern void utc_maps_route_segment_startup(void);
-extern void utc_maps_route_segment_cleanup(void);
-extern void utc_maps_view_object_startup(void);
-extern void utc_maps_view_object_cleanup(void);
-extern void utc_maps_view_object_overlay_startup(void);
-extern void utc_maps_view_object_overlay_cleanup(void);
-extern void utc_maps_view_event_data_startup(void);
-extern void utc_maps_view_event_data_cleanup(void);
-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 int utc_maps_address_create_p(void);
-extern int utc_maps_address_create_n(void);
-extern int utc_maps_address_destroy_p(void);
-extern int utc_maps_address_destroy_n(void);
-extern int utc_maps_address_clone_p(void);
-extern int utc_maps_address_clone_n(void);
-extern int utc_maps_address_set_building_number_p(void);
-extern int utc_maps_address_set_building_number_n(void);
-extern int utc_maps_address_set_street_p(void);
-extern int utc_maps_address_set_street_n(void);
-extern int utc_maps_address_set_district_p(void);
-extern int utc_maps_address_set_district_n(void);
-extern int utc_maps_address_set_city_p(void);
-extern int utc_maps_address_set_city_n(void);
-extern int utc_maps_address_set_state_p(void);
-extern int utc_maps_address_set_state_n(void);
-extern int utc_maps_address_set_country_p(void);
-extern int utc_maps_address_set_country_n(void);
-extern int utc_maps_address_set_country_code_p(void);
-extern int utc_maps_address_set_country_code_n(void);
-extern int utc_maps_address_set_county_p(void);
-extern int utc_maps_address_set_county_n(void);
-extern int utc_maps_address_set_postal_code_p(void);
-extern int utc_maps_address_set_postal_code_n(void);
-extern int utc_maps_address_set_freetext_p(void);
-extern int utc_maps_address_set_freetext_n(void);
-extern int utc_maps_address_get_building_number_p(void);
-extern int utc_maps_address_get_building_number_n(void);
-extern int utc_maps_address_get_street_p(void);
-extern int utc_maps_address_get_street_n(void);
-extern int utc_maps_address_get_district_p(void);
-extern int utc_maps_address_get_district_n(void);
-extern int utc_maps_address_get_city_p(void);
-extern int utc_maps_address_get_city_n(void);
-extern int utc_maps_address_get_state_p(void);
-extern int utc_maps_address_get_state_n(void);
-extern int utc_maps_address_get_country_p(void);
-extern int utc_maps_address_get_country_n(void);
-extern int utc_maps_address_get_country_code_p(void);
-extern int utc_maps_address_get_country_code_n(void);
-extern int utc_maps_address_get_county_p(void);
-extern int utc_maps_address_get_county_n(void);
-extern int utc_maps_address_get_postal_code_p(void);
-extern int utc_maps_address_get_postal_code_n(void);
-extern int utc_maps_address_get_freetext_p(void);
-extern int utc_maps_address_get_freetext_n(void);
-extern int utc_maps_address_list_create_p(void);
-extern int utc_maps_address_list_create_n(void);
-extern int utc_maps_address_list_destroy_p(void);
-extern int utc_maps_address_list_destroy_n(void);
-extern int utc_maps_address_list_append_p(void);
-extern int utc_maps_address_list_append_n(void);
-extern int utc_maps_address_list_remove_p(void);
-extern int utc_maps_address_list_remove_n(void);
-extern int utc_maps_address_list_get_length_p(void);
-extern int utc_maps_address_list_get_length_n(void);
-extern int utc_maps_address_list_foreach_p(void);
-extern int utc_maps_address_list_foreach_n(void);
-extern int utc_maps_area_create_rectangle_p(void);
-extern int utc_maps_area_create_rectangle_n(void);
-extern int utc_maps_area_create_circle_p(void);
-extern int utc_maps_area_create_circle_n(void);
-extern int utc_maps_area_destroy_p(void);
-extern int utc_maps_area_destroy_n(void);
-extern int utc_maps_area_clone_p(void);
-extern int utc_maps_area_clone_n(void);
-extern int utc_maps_coordinates_create_p(void);
-extern int utc_maps_coordinates_create_n(void);
-extern int utc_maps_coordinates_destroy_p(void);
-extern int utc_maps_coordinates_destroy_n(void);
-extern int utc_maps_coordinates_clone_p(void);
-extern int utc_maps_coordinates_clone_n(void);
-extern int utc_maps_coordinates_get_latitude_p(void);
-extern int utc_maps_coordinates_get_latitude_n(void);
-extern int utc_maps_coordinates_get_longitude_p(void);
-extern int utc_maps_coordinates_get_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_p(void);
-extern int utc_maps_coordinates_set_latitude_n(void);
-extern int utc_maps_coordinates_set_longitude_p(void);
-extern int utc_maps_coordinates_set_longitude_n(void);
-extern int utc_maps_coordinates_get_latitude_longitude_p(void);
-extern int utc_maps_coordinates_get_latitude_longitude_n(void);
-extern int utc_maps_coordinates_set_latitude_longitude_p(void);
-extern int utc_maps_coordinates_set_latitude_longitude_n(void);
-extern int utc_maps_coordinates_list_create_p(void);
-extern int utc_maps_coordinates_list_create_n(void);
-extern int utc_maps_coordinates_list_destroy_p(void);
-extern int utc_maps_coordinates_list_destroy_n(void);
-extern int utc_maps_coordinates_list_append_p(void);
-extern int utc_maps_coordinates_list_append_n(void);
-extern int utc_maps_coordinates_list_remove_p(void);
-extern int utc_maps_coordinates_list_remove_n(void);
-extern int utc_maps_coordinates_list_get_length_p(void);
-extern int utc_maps_coordinates_list_get_length_n(void);
-extern int utc_maps_coordinates_list_foreach_p(void);
-extern int utc_maps_coordinates_list_foreach_n(void);
-extern int utc_maps_place_destroy_n(void);
-extern int utc_maps_place_clone_n(void);
-extern int utc_maps_place_get_id_n(void);
-extern int utc_maps_place_get_name_n(void);
-extern int utc_maps_place_get_uri_n(void);
-extern int utc_maps_place_get_location_n(void);
-extern int utc_maps_place_get_distance_n(void);
-extern int utc_maps_place_get_address_n(void);
-extern int utc_maps_place_get_rating_n(void);
-extern int utc_maps_place_foreach_category_n(void);
-extern int utc_maps_place_foreach_attribute_n(void);
-extern int utc_maps_place_foreach_contact_n(void);
-extern int utc_maps_place_foreach_editorial_n(void);
-extern int utc_maps_place_foreach_image_n(void);
-extern int utc_maps_place_foreach_review_n(void);
-extern int utc_maps_place_get_supplier_link_n(void);
-extern int utc_maps_place_get_related_link_n(void);
-extern int utc_maps_place_foreach_property_n(void);
-extern int utc_maps_place_list_destroy_n(void);
-extern int utc_maps_place_attribute_destroy_n(void);
-extern int utc_maps_place_attribute_clone_n(void);
-extern int utc_maps_place_attribute_get_id_n(void);
-extern int utc_maps_place_attribute_get_text_n(void);
-extern int utc_maps_place_attribute_get_label_n(void);
-extern int utc_maps_place_category_create_p(void);
-extern int utc_maps_place_category_create_n(void);
-extern int utc_maps_place_category_destroy_p(void);
-extern int utc_maps_place_category_destroy_n(void);
-extern int utc_maps_place_category_clone_p(void);
-extern int utc_maps_place_category_clone_n(void);
-extern int utc_maps_place_category_set_id_p(void);
-extern int utc_maps_place_category_set_id_n(void);
-extern int utc_maps_place_category_get_id_p(void);
-extern int utc_maps_place_category_get_id_n(void);
-extern int utc_maps_place_category_set_name_p(void);
-extern int utc_maps_place_category_set_name_n(void);
-extern int utc_maps_place_category_get_name_p(void);
-extern int utc_maps_place_category_get_name_n(void);
-extern int utc_maps_place_category_set_url_p(void);
-extern int utc_maps_place_category_set_url_n(void);
-extern int utc_maps_place_category_get_url_p(void);
-extern int utc_maps_place_category_get_url_n(void);
-extern int utc_maps_place_contact_destroy_n(void);
-extern int utc_maps_place_contact_clone_n(void);
-extern int utc_maps_place_contact_get_label_n(void);
-extern int utc_maps_place_contact_get_type_n(void);
-extern int utc_maps_place_contact_get_value_n(void);
-extern int utc_maps_place_editorial_destroy_n(void);
-extern int utc_maps_place_editorial_clone_n(void);
-extern int utc_maps_place_editorial_get_description_n(void);
-extern int utc_maps_place_editorial_get_language_n(void);
-extern int utc_maps_place_editorial_get_media_n(void);
-extern int utc_maps_place_filter_create_p(void);
-extern int utc_maps_place_filter_create_n(void);
-extern int utc_maps_place_filter_destroy_p(void);
-extern int utc_maps_place_filter_destroy_n(void);
-extern int utc_maps_place_filter_clone_p(void);
-extern int utc_maps_place_filter_clone_n(void);
-extern int utc_maps_place_filter_get_p(void);
-extern int utc_maps_place_filter_get_n(void);
-extern int utc_maps_place_filter_get_keyword_p(void);
-extern int utc_maps_place_filter_get_keyword_n(void);
-extern int utc_maps_place_filter_get_category_p(void);
-extern int utc_maps_place_filter_get_category_n(void);
-extern int utc_maps_place_filter_foreach_property_p(void);
-extern int utc_maps_place_filter_foreach_property_n(void);
-extern int utc_maps_place_filter_get_place_name_p(void);
-extern int utc_maps_place_filter_get_place_name_n(void);
-extern int utc_maps_place_filter_set_p(void);
-extern int utc_maps_place_filter_set_n(void);
-extern int utc_maps_place_filter_set_category_p(void);
-extern int utc_maps_place_filter_set_category_n(void);
-extern int utc_maps_place_filter_set_keyword_p(void);
-extern int utc_maps_place_filter_set_keyword_n(void);
-extern int utc_maps_place_filter_set_place_name_p(void);
-extern int utc_maps_place_filter_set_place_name_n(void);
-extern int utc_maps_place_filter_set_place_address_p(void);
-extern int utc_maps_place_filter_set_place_address_n(void);
-extern int utc_maps_place_filter_get_place_address_p(void);
-extern int utc_maps_place_filter_get_place_address_n(void);
-extern int utc_maps_place_image_destroy_n(void);
-extern int utc_maps_place_image_clone_n(void);
-extern int utc_maps_place_image_get_url_n(void);
-extern int utc_maps_place_image_get_id_n(void);
-extern int utc_maps_place_image_get_height_n(void);
-extern int utc_maps_place_image_get_width_n(void);
-extern int utc_maps_place_image_get_media_n(void);
-extern int utc_maps_place_image_get_user_link_n(void);
-extern int utc_maps_place_link_object_destroy_n(void);
-extern int utc_maps_place_link_object_clone_n(void);
-extern int utc_maps_place_link_object_get_id_n(void);
-extern int utc_maps_place_link_object_get_name_n(void);
-extern int utc_maps_place_link_object_get_type_n(void);
-extern int utc_maps_place_link_object_get_string_n(void);
-extern int utc_maps_place_media_destroy_n(void);
-extern int utc_maps_place_media_clone_n(void);
-extern int utc_maps_place_media_get_attribution_n(void);
-extern int utc_maps_place_media_get_supplier_n(void);
-extern int utc_maps_place_media_get_via_n(void);
-extern int utc_maps_place_rating_destroy_n(void);
-extern int utc_maps_place_rating_clone_n(void);
-extern int utc_maps_place_rating_get_count_n(void);
-extern int utc_maps_place_rating_get_average_n(void);
-extern int utc_maps_place_review_destroy_n(void);
-extern int utc_maps_place_review_clone_n(void);
-extern int utc_maps_place_review_get_date_n(void);
-extern int utc_maps_place_review_get_title_n(void);
-extern int utc_maps_place_review_get_description_n(void);
-extern int utc_maps_place_review_get_language_n(void);
-extern int utc_maps_place_review_get_rating_n(void);
-extern int utc_maps_place_review_get_media_n(void);
-extern int utc_maps_place_review_get_user_link_n(void);
-extern int utc_maps_place_url_destroy_n(void);
-extern int utc_maps_place_url_clone_n(void);
-extern int utc_maps_place_url_get_path_n(void);
-extern int utc_maps_place_url_get_description_n(void);
-extern int utc_maps_preference_create_p(void);
-extern int utc_maps_preference_create_n(void);
-extern int utc_maps_preference_destroy_p(void);
-extern int utc_maps_preference_destroy_n(void);
-extern int utc_maps_preference_clone_p(void);
-extern int utc_maps_preference_clone_n(void);
-extern int utc_maps_preference_get_distance_unit_p(void);
-extern int utc_maps_preference_get_distance_unit_n(void);
-extern int utc_maps_preference_get_language_p(void);
-extern int utc_maps_preference_get_language_n(void);
-extern int utc_maps_preference_get_max_results_p(void);
-extern int utc_maps_preference_get_max_results_n(void);
-extern int utc_maps_preference_get_country_code_p(void);
-extern int utc_maps_preference_get_country_code_n(void);
-extern int utc_maps_preference_get_route_optimization_p(void);
-extern int utc_maps_preference_get_route_optimization_n(void);
-extern int utc_maps_preference_get_route_transport_mode_p(void);
-extern int utc_maps_preference_get_route_transport_mode_n(void);
-extern int utc_maps_preference_get_route_feature_weight_p(void);
-extern int utc_maps_preference_get_route_feature_weight_n(void);
-extern int utc_maps_preference_get_route_feature_p(void);
-extern int utc_maps_preference_get_route_feature_n(void);
-extern int utc_maps_preference_get_p(void);
-extern int utc_maps_preference_get_n(void);
-extern int utc_maps_preference_foreach_property_p(void);
-extern int utc_maps_preference_foreach_property_n(void);
-extern int utc_maps_preference_set_distance_unit_p(void);
-extern int utc_maps_preference_set_distance_unit_n(void);
-extern int utc_maps_preference_set_language_p(void);
-extern int utc_maps_preference_set_language_n(void);
-extern int utc_maps_preference_set_max_results_p(void);
-extern int utc_maps_preference_set_max_results_n(void);
-extern int utc_maps_preference_set_country_code_p(void);
-extern int utc_maps_preference_set_country_code_n(void);
-extern int utc_maps_preference_set_route_optimization_p(void);
-extern int utc_maps_preference_set_route_optimization_n(void);
-extern int utc_maps_preference_set_route_transport_mode_p(void);
-extern int utc_maps_preference_set_route_transport_mode_n(void);
-extern int utc_maps_preference_set_route_feature_weight_p(void);
-extern int utc_maps_preference_set_route_feature_weight_n(void);
-extern int utc_maps_preference_set_route_feature_p(void);
-extern int utc_maps_preference_set_route_feature_n(void);
-extern int utc_maps_preference_set_property_p(void);
-extern int utc_maps_preference_set_property_n(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_set_route_alternatives_enabled_n(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_p(void);
-extern int utc_maps_preference_get_route_alternatives_enabled_n(void);
-extern int utc_maps_route_destroy_n(void);
-extern int utc_maps_route_clone_n(void);
-extern int utc_maps_route_get_route_id_n(void);
-extern int utc_maps_route_get_origin_n(void);
-extern int utc_maps_route_get_destination_n(void);
-extern int utc_maps_route_get_bounding_box_n(void);
-extern int utc_maps_route_get_total_distance_n(void);
-extern int utc_maps_route_get_transport_mode_n(void);
-extern int utc_maps_route_get_total_duration_n(void);
-extern int utc_maps_route_get_distance_unit_n(void);
-extern int utc_maps_route_foreach_property_n(void);
-extern int utc_maps_route_foreach_path_n(void);
-extern int utc_maps_route_foreach_segment_n(void);
-extern int utc_maps_route_maneuver_destroy_n(void);
-extern int utc_maps_route_maneuver_clone_n(void);
-extern int utc_maps_route_maneuver_get_direction_id_n(void);
-extern int utc_maps_route_maneuver_get_turn_type_n(void);
-extern int utc_maps_route_maneuver_get_position_n(void);
-extern int utc_maps_route_maneuver_get_road_name_n(void);
-extern int utc_maps_route_maneuver_get_instruction_text_n(void);
-extern int utc_maps_route_maneuver_get_locale_n(void);
-extern int utc_maps_route_maneuver_get_time_to_next_instruction_n(void);
-extern int utc_maps_route_maneuver_get_distance_to_next_instruction_n(void);
-extern int utc_maps_route_segment_destroy_n(void);
-extern int utc_maps_route_segment_clone_n(void);
-extern int utc_maps_route_segment_get_origin_n(void);
-extern int utc_maps_route_segment_get_destination_n(void);
-extern int utc_maps_route_segment_get_bounding_box_n(void);
-extern int utc_maps_route_segment_get_distance_n(void);
-extern int utc_maps_route_segment_get_duration_n(void);
-extern int utc_maps_route_segment_foreach_path_n(void);
-extern int utc_maps_route_segment_foreach_maneuver_n(void);
-extern int utc_maps_view_object_create_marker_p(void);
-extern int utc_maps_view_object_create_marker_n(void);
-extern int utc_maps_view_object_destroy_p(void);
-extern int utc_maps_view_object_destroy_n(void);
-extern int utc_maps_view_object_get_type_p(void);
-extern int utc_maps_view_object_get_type_n(void);
-extern int utc_maps_view_object_set_visible_p(void);
-extern int utc_maps_view_object_set_visible_n(void);
-extern int utc_maps_view_object_get_visible_p(void);
-extern int utc_maps_view_object_get_visible_n(void);
-extern int utc_maps_view_object_marker_set_coordinates_p(void);
-extern int utc_maps_view_object_marker_set_coordinates_n(void);
-extern int utc_maps_view_object_marker_resize_p(void);
-extern int utc_maps_view_object_marker_resize_n(void);
-extern int utc_maps_view_object_marker_set_image_file_p(void);
-extern int utc_maps_view_object_marker_set_image_file_n(void);
-extern int utc_maps_view_object_marker_get_image_file_p(void);
-extern int utc_maps_view_object_marker_get_image_file_n(void);
-extern int utc_maps_view_object_marker_get_coordinates_p(void);
-extern int utc_maps_view_object_marker_get_coordinates_n(void);
-extern int utc_maps_view_object_marker_get_size_p(void);
-extern int utc_maps_view_object_marker_get_size_n(void);
-extern int utc_maps_view_object_marker_get_type_p(void);
-extern int utc_maps_view_object_marker_get_type_n(void);
-extern int utc_maps_view_object_marker_set_z_order_p(void);
-extern int utc_maps_view_object_marker_set_z_order_n(void);
-extern int utc_maps_view_object_marker_get_z_order_p(void);
-extern int utc_maps_view_object_marker_get_z_order_n(void);
-extern int utc_maps_view_object_create_polyline_p(void);
-extern int utc_maps_view_object_create_polyline_n(void);
-extern int utc_maps_view_object_polyline_set_polyline_p(void);
-extern int utc_maps_view_object_polyline_set_polyline_n(void);
-extern int utc_maps_view_object_polyline_foreach_point_p(void);
-extern int utc_maps_view_object_polyline_foreach_point_n(void);
-extern int utc_maps_view_object_polyline_set_color_p(void);
-extern int utc_maps_view_object_polyline_set_color_n(void);
-extern int utc_maps_view_object_polyline_get_color_p(void);
-extern int utc_maps_view_object_polyline_get_color_n(void);
-extern int utc_maps_view_object_polyline_set_width_p(void);
-extern int utc_maps_view_object_polyline_set_width_n(void);
-extern int utc_maps_view_object_polyline_get_width_p(void);
-extern int utc_maps_view_object_polyline_get_width_n(void);
-extern int utc_maps_view_object_create_polygon_p(void);
-extern int utc_maps_view_object_create_polygon_n(void);
-extern int utc_maps_view_object_polygon_set_polygon_p(void);
-extern int utc_maps_view_object_polygon_set_polygon_n(void);
-extern int utc_maps_view_object_polygon_foreach_point_p(void);
-extern int utc_maps_view_object_polygon_foreach_point_n(void);
-extern int utc_maps_view_object_polygon_set_fill_color_p(void);
-extern int utc_maps_view_object_polygon_set_fill_color_n(void);
-extern int utc_maps_view_object_polygon_get_fill_color_p(void);
-extern int utc_maps_view_object_polygon_get_fill_color_n(void);
-extern int utc_maps_view_object_create_overlay_p(void);
-extern int utc_maps_view_object_create_overlay_n(void);
-extern int utc_maps_view_object_overlay_get_object_p(void);
-extern int utc_maps_view_object_overlay_get_object_n(void);
-extern int utc_maps_view_object_overlay_set_coordinates_p(void);
-extern int utc_maps_view_object_overlay_set_coordinates_n(void);
-extern int utc_maps_view_object_overlay_get_coordinates_p(void);
-extern int utc_maps_view_object_overlay_get_coordinates_n(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_min_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_set_max_zoom_level_n(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_p(void);
-extern int utc_maps_view_object_overlay_get_max_zoom_level_n(void);
-extern int utc_maps_view_event_data_destroy_n(void);
-extern int utc_maps_view_event_data_clone_n(void);
-extern int utc_maps_view_event_data_get_type_n(void);
-extern int utc_maps_view_event_data_get_gesture_type_n(void);
-extern int utc_maps_view_event_data_get_action_type_n(void);
-extern int utc_maps_view_event_data_get_center_n(void);
-extern int utc_maps_view_event_data_get_delta_n(void);
-extern int utc_maps_view_event_data_get_position_n(void);
-extern int utc_maps_view_event_data_get_fingers_n(void);
-extern int utc_maps_view_event_data_get_zoom_factor_n(void);
-extern int utc_maps_view_event_data_get_rotation_angle_n(void);
-extern int utc_maps_view_event_data_get_object_n(void);
-extern int utc_maps_view_event_data_get_coordinates_n(void);
-extern int utc_maps_service_foreach_provider_p(void);
-extern int utc_maps_service_foreach_provider_n(void);
-extern int utc_maps_service_create_p(void);
-extern int utc_maps_service_create_n(void);
-extern int utc_maps_service_destroy_p(void);
-extern int utc_maps_service_destroy_n(void);
-extern int utc_maps_service_set_provider_key_p(void);
-extern int utc_maps_service_set_provider_key_n(void);
-extern int utc_maps_service_get_provider_key_p(void);
-extern int utc_maps_service_get_provider_key_n(void);
-extern int utc_maps_service_set_preference_p(void);
-extern int utc_maps_service_set_preference_n(void);
-extern int utc_maps_service_get_preference_p(void);
-extern int utc_maps_service_get_preference_n(void);
-extern int utc_maps_service_provider_is_service_supported_p(void);
-extern int utc_maps_service_provider_is_service_supported_n(void);
-extern int utc_maps_service_provider_is_data_supported_p(void);
-extern int utc_maps_service_provider_is_data_supported_n(void);
-extern int utc_maps_service_geocode_p(void);
-extern int utc_maps_service_geocode_n(void);
-extern int utc_maps_service_geocode_inside_area_p(void);
-extern int utc_maps_service_geocode_inside_area_n(void);
-extern int utc_maps_service_geocode_by_structured_address_p(void);
-extern int utc_maps_service_geocode_by_structured_address_n(void);
-extern int utc_maps_service_reverse_geocode_p(void);
-extern int utc_maps_service_reverse_geocode_n(void);
-extern int utc_maps_service_cancel_request_p(void);
-extern int utc_maps_service_cancel_request_n(void);
-extern int utc_maps_service_search_route_p(void);
-extern int utc_maps_service_search_route_n(void);
-extern int utc_maps_service_search_route_waypoints_p(void);
-extern int utc_maps_service_search_route_waypoints_n(void);
-extern int utc_maps_service_search_place_p(void);
-extern int utc_maps_service_search_place_n(void);
-extern int utc_maps_service_search_place_by_area_p(void);
-extern int utc_maps_service_search_place_by_area_n(void);
-extern int utc_maps_service_search_place_by_address_p(void);
-extern int utc_maps_service_search_place_by_address_n(void);
-extern int utc_maps_service_multi_reverse_geocode_p(void);
-extern int utc_maps_service_multi_reverse_geocode_n(void);
-extern int utc_maps_service_search_place_list_p(void);
-extern int utc_maps_service_search_place_list_n(void);
-extern int utc_maps_service_get_place_details_p(void);
-extern int utc_maps_service_get_place_details_n(void);
-extern int utc_maps_service_request_user_consent_p(void);
-extern int utc_maps_service_request_user_consent_n(void);
-extern int utc_maps_view_create_p(void);
-extern int utc_maps_view_create_n(void);
-extern int utc_maps_view_get_center_p(void);
-extern int utc_maps_view_get_center_n(void);
-extern int utc_maps_view_set_center_p(void);
-extern int utc_maps_view_set_center_n(void);
-extern int utc_maps_view_get_zoom_level_p(void);
-extern int utc_maps_view_get_zoom_level_n(void);
-extern int utc_maps_view_set_zoom_level_p(void);
-extern int utc_maps_view_set_zoom_level_n(void);
-extern int utc_maps_view_get_min_zoom_level_p(void);
-extern int utc_maps_view_get_min_zoom_level_n(void);
-extern int utc_maps_view_get_max_zoom_level_p(void);
-extern int utc_maps_view_get_max_zoom_level_n(void);
-extern int utc_maps_view_set_orientation_p(void);
-extern int utc_maps_view_set_orientation_n(void);
-extern int utc_maps_view_get_orientation_p(void);
-extern int utc_maps_view_get_orientation_n(void);
-extern int utc_maps_view_screen_to_geolocation_p(void);
-extern int utc_maps_view_screen_to_geolocation_n(void);
-extern int utc_maps_view_geolocation_to_screen_p(void);
-extern int utc_maps_view_geolocation_to_screen_n(void);
-extern int utc_maps_view_set_type_p(void);
-extern int utc_maps_view_set_type_n(void);
-extern int utc_maps_view_get_type_p(void);
-extern int utc_maps_view_get_type_n(void);
-extern int utc_maps_view_set_buildings_enabled_p(void);
-extern int utc_maps_view_set_buildings_enabled_n(void);
-extern int utc_maps_view_get_buildings_enabled_p(void);
-extern int utc_maps_view_get_buildings_enabled_n(void);
-extern int utc_maps_view_set_traffic_enabled_p(void);
-extern int utc_maps_view_set_traffic_enabled_n(void);
-extern int utc_maps_view_get_traffic_enabled_p(void);
-extern int utc_maps_view_get_traffic_enabled_n(void);
-extern int utc_maps_view_set_public_transit_enabled_p(void);
-extern int utc_maps_view_set_public_transit_enabled_n(void);
-extern int utc_maps_view_get_public_transit_enabled_p(void);
-extern int utc_maps_view_get_public_transit_enabled_n(void);
-extern int utc_maps_view_set_language_p(void);
-extern int utc_maps_view_set_language_n(void);
-extern int utc_maps_view_get_language_p(void);
-extern int utc_maps_view_get_language_n(void);
-extern int utc_maps_view_get_viewport_p(void);
-extern int utc_maps_view_get_viewport_n(void);
-extern int utc_maps_view_set_screen_location_p(void);
-extern int utc_maps_view_set_screen_location_n(void);
-extern int utc_maps_view_get_screen_location_p(void);
-extern int utc_maps_view_get_screen_location_n(void);
-extern int utc_maps_view_move_p(void);
-extern int utc_maps_view_move_n(void);
-extern int utc_maps_view_resize_p(void);
-extern int utc_maps_view_resize_n(void);
-extern int utc_maps_view_set_visibility_p(void);
-extern int utc_maps_view_set_visibility_n(void);
-extern int utc_maps_view_get_visibility_p(void);
-extern int utc_maps_view_get_visibility_n(void);
-extern int utc_maps_view_set_event_cb_p(void);
-extern int utc_maps_view_set_event_cb_n(void);
-extern int utc_maps_view_unset_event_cb_p(void);
-extern int utc_maps_view_unset_event_cb_n(void);
-extern int utc_maps_view_set_gesture_enabled_p(void);
-extern int utc_maps_view_set_gesture_enabled_n(void);
-extern int utc_maps_view_get_gesture_enabled_p(void);
-extern int utc_maps_view_get_gesture_enabled_n(void);
-extern int utc_maps_view_set_scalebar_enabled_p(void);
-extern int utc_maps_view_set_scalebar_enabled_n(void);
-extern int utc_maps_view_get_scalebar_enabled_p(void);
-extern int utc_maps_view_get_scalebar_enabled_n(void);
-extern int utc_maps_view_add_object_p(void);
-extern int utc_maps_view_add_object_n(void);
-extern int utc_maps_view_remove_object_p(void);
-extern int utc_maps_view_remove_object_n(void);
-extern int utc_maps_view_remove_all_objects_p(void);
-extern int utc_maps_view_remove_all_objects_n(void);
-extern int utc_maps_view_foreach_object_p(void);
-extern int utc_maps_view_foreach_object_n(void);
-extern int utc_maps_view_set_min_zoom_level_p(void);
-extern int utc_maps_view_set_min_zoom_level_n(void);
-extern int utc_maps_view_set_max_zoom_level_p(void);
-extern int utc_maps_view_set_max_zoom_level_n(void);
-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);
-
-testcase tc_array[] = {
- {"utc_maps_address_create_p",utc_maps_address_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_create_n",utc_maps_address_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_p",utc_maps_address_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_destroy_n",utc_maps_address_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_p",utc_maps_address_clone_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_clone_n",utc_maps_address_clone_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_p",utc_maps_address_set_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_building_number_n",utc_maps_address_set_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_p",utc_maps_address_set_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_street_n",utc_maps_address_set_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_p",utc_maps_address_set_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_district_n",utc_maps_address_set_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_p",utc_maps_address_set_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_city_n",utc_maps_address_set_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_p",utc_maps_address_set_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_state_n",utc_maps_address_set_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_p",utc_maps_address_set_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_n",utc_maps_address_set_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_p",utc_maps_address_set_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_country_code_n",utc_maps_address_set_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_p",utc_maps_address_set_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_county_n",utc_maps_address_set_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_p",utc_maps_address_set_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_postal_code_n",utc_maps_address_set_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_p",utc_maps_address_set_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_set_freetext_n",utc_maps_address_set_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_p",utc_maps_address_get_building_number_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_building_number_n",utc_maps_address_get_building_number_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_p",utc_maps_address_get_street_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_street_n",utc_maps_address_get_street_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_p",utc_maps_address_get_district_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_district_n",utc_maps_address_get_district_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_p",utc_maps_address_get_city_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_city_n",utc_maps_address_get_city_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_p",utc_maps_address_get_state_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_state_n",utc_maps_address_get_state_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_p",utc_maps_address_get_country_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_n",utc_maps_address_get_country_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_p",utc_maps_address_get_country_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_country_code_n",utc_maps_address_get_country_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_p",utc_maps_address_get_county_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_county_n",utc_maps_address_get_county_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_p",utc_maps_address_get_postal_code_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_postal_code_n",utc_maps_address_get_postal_code_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_p",utc_maps_address_get_freetext_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_get_freetext_n",utc_maps_address_get_freetext_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_p",utc_maps_address_list_create_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_create_n",utc_maps_address_list_create_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_p",utc_maps_address_list_destroy_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_destroy_n",utc_maps_address_list_destroy_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_p",utc_maps_address_list_append_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_append_n",utc_maps_address_list_append_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_p",utc_maps_address_list_remove_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_remove_n",utc_maps_address_list_remove_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_p",utc_maps_address_list_get_length_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_get_length_n",utc_maps_address_list_get_length_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_p",utc_maps_address_list_foreach_p,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_address_list_foreach_n",utc_maps_address_list_foreach_n,utc_maps_address_startup,utc_maps_address_cleanup},
- {"utc_maps_area_create_rectangle_p",utc_maps_area_create_rectangle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_rectangle_n",utc_maps_area_create_rectangle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_p",utc_maps_area_create_circle_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_create_circle_n",utc_maps_area_create_circle_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_p",utc_maps_area_destroy_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_destroy_n",utc_maps_area_destroy_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_p",utc_maps_area_clone_p,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_area_clone_n",utc_maps_area_clone_n,utc_maps_area_startup,utc_maps_area_cleanup},
- {"utc_maps_coordinates_create_p",utc_maps_coordinates_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_create_n",utc_maps_coordinates_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_p",utc_maps_coordinates_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_destroy_n",utc_maps_coordinates_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_p",utc_maps_coordinates_clone_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_clone_n",utc_maps_coordinates_clone_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_p",utc_maps_coordinates_get_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_n",utc_maps_coordinates_get_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_p",utc_maps_coordinates_get_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_longitude_n",utc_maps_coordinates_get_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_p",utc_maps_coordinates_set_latitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_n",utc_maps_coordinates_set_latitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_p",utc_maps_coordinates_set_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_longitude_n",utc_maps_coordinates_set_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_p",utc_maps_coordinates_get_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_get_latitude_longitude_n",utc_maps_coordinates_get_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_p",utc_maps_coordinates_set_latitude_longitude_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_set_latitude_longitude_n",utc_maps_coordinates_set_latitude_longitude_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_p",utc_maps_coordinates_list_create_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_create_n",utc_maps_coordinates_list_create_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_p",utc_maps_coordinates_list_destroy_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_destroy_n",utc_maps_coordinates_list_destroy_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_p",utc_maps_coordinates_list_append_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_append_n",utc_maps_coordinates_list_append_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_p",utc_maps_coordinates_list_remove_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_remove_n",utc_maps_coordinates_list_remove_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_p",utc_maps_coordinates_list_get_length_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_get_length_n",utc_maps_coordinates_list_get_length_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_p",utc_maps_coordinates_list_foreach_p,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_coordinates_list_foreach_n",utc_maps_coordinates_list_foreach_n,utc_maps_coordinates_startup,utc_maps_coordinates_cleanup},
- {"utc_maps_place_destroy_n",utc_maps_place_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_clone_n",utc_maps_place_clone_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_id_n",utc_maps_place_get_id_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_name_n",utc_maps_place_get_name_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_uri_n",utc_maps_place_get_uri_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_location_n",utc_maps_place_get_location_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_distance_n",utc_maps_place_get_distance_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_address_n",utc_maps_place_get_address_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_rating_n",utc_maps_place_get_rating_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_category_n",utc_maps_place_foreach_category_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_attribute_n",utc_maps_place_foreach_attribute_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_contact_n",utc_maps_place_foreach_contact_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_editorial_n",utc_maps_place_foreach_editorial_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_image_n",utc_maps_place_foreach_image_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_review_n",utc_maps_place_foreach_review_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_supplier_link_n",utc_maps_place_get_supplier_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_get_related_link_n",utc_maps_place_get_related_link_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_foreach_property_n",utc_maps_place_foreach_property_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_list_destroy_n",utc_maps_place_list_destroy_n,utc_maps_place_startup,utc_maps_place_cleanup},
- {"utc_maps_place_attribute_destroy_n",utc_maps_place_attribute_destroy_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_clone_n",utc_maps_place_attribute_clone_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_id_n",utc_maps_place_attribute_get_id_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_text_n",utc_maps_place_attribute_get_text_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_attribute_get_label_n",utc_maps_place_attribute_get_label_n,utc_maps_place_attribute_startup,utc_maps_place_attribute_cleanup},
- {"utc_maps_place_category_create_p",utc_maps_place_category_create_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_create_n",utc_maps_place_category_create_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_p",utc_maps_place_category_destroy_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_destroy_n",utc_maps_place_category_destroy_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_p",utc_maps_place_category_clone_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_clone_n",utc_maps_place_category_clone_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_p",utc_maps_place_category_set_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_id_n",utc_maps_place_category_set_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_p",utc_maps_place_category_get_id_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_id_n",utc_maps_place_category_get_id_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_p",utc_maps_place_category_set_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_name_n",utc_maps_place_category_set_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_p",utc_maps_place_category_get_name_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_name_n",utc_maps_place_category_get_name_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_p",utc_maps_place_category_set_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_set_url_n",utc_maps_place_category_set_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_p",utc_maps_place_category_get_url_p,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_category_get_url_n",utc_maps_place_category_get_url_n,utc_maps_place_category_startup,utc_maps_place_category_cleanup},
- {"utc_maps_place_contact_destroy_n",utc_maps_place_contact_destroy_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_clone_n",utc_maps_place_contact_clone_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_label_n",utc_maps_place_contact_get_label_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_type_n",utc_maps_place_contact_get_type_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_contact_get_value_n",utc_maps_place_contact_get_value_n,utc_maps_place_contact_startup,utc_maps_place_contact_cleanup},
- {"utc_maps_place_editorial_destroy_n",utc_maps_place_editorial_destroy_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_clone_n",utc_maps_place_editorial_clone_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_description_n",utc_maps_place_editorial_get_description_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_language_n",utc_maps_place_editorial_get_language_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_editorial_get_media_n",utc_maps_place_editorial_get_media_n,utc_maps_place_editorial_startup,utc_maps_place_editorial_cleanup},
- {"utc_maps_place_filter_create_p",utc_maps_place_filter_create_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_create_n",utc_maps_place_filter_create_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_p",utc_maps_place_filter_destroy_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_destroy_n",utc_maps_place_filter_destroy_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_p",utc_maps_place_filter_clone_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_clone_n",utc_maps_place_filter_clone_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_p",utc_maps_place_filter_get_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_n",utc_maps_place_filter_get_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_p",utc_maps_place_filter_get_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_keyword_n",utc_maps_place_filter_get_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_p",utc_maps_place_filter_get_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_category_n",utc_maps_place_filter_get_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_p",utc_maps_place_filter_foreach_property_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_foreach_property_n",utc_maps_place_filter_foreach_property_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_p",utc_maps_place_filter_get_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_name_n",utc_maps_place_filter_get_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_p",utc_maps_place_filter_set_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_n",utc_maps_place_filter_set_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_p",utc_maps_place_filter_set_category_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_category_n",utc_maps_place_filter_set_category_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_p",utc_maps_place_filter_set_keyword_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_keyword_n",utc_maps_place_filter_set_keyword_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_p",utc_maps_place_filter_set_place_name_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_name_n",utc_maps_place_filter_set_place_name_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_p",utc_maps_place_filter_set_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_set_place_address_n",utc_maps_place_filter_set_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_p",utc_maps_place_filter_get_place_address_p,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_filter_get_place_address_n",utc_maps_place_filter_get_place_address_n,utc_maps_place_filter_startup,utc_maps_place_filter_cleanup},
- {"utc_maps_place_image_destroy_n",utc_maps_place_image_destroy_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_clone_n",utc_maps_place_image_clone_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_url_n",utc_maps_place_image_get_url_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_id_n",utc_maps_place_image_get_id_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_height_n",utc_maps_place_image_get_height_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_width_n",utc_maps_place_image_get_width_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_media_n",utc_maps_place_image_get_media_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_image_get_user_link_n",utc_maps_place_image_get_user_link_n,utc_maps_place_image_startup,utc_maps_place_image_cleanup},
- {"utc_maps_place_link_object_destroy_n",utc_maps_place_link_object_destroy_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_clone_n",utc_maps_place_link_object_clone_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_id_n",utc_maps_place_link_object_get_id_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_name_n",utc_maps_place_link_object_get_name_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_type_n",utc_maps_place_link_object_get_type_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_link_object_get_string_n",utc_maps_place_link_object_get_string_n,utc_maps_place_link_object_startup,utc_maps_place_link_object_cleanup},
- {"utc_maps_place_media_destroy_n",utc_maps_place_media_destroy_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_clone_n",utc_maps_place_media_clone_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_attribution_n",utc_maps_place_media_get_attribution_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_supplier_n",utc_maps_place_media_get_supplier_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_media_get_via_n",utc_maps_place_media_get_via_n,utc_maps_place_media_startup,utc_maps_place_media_cleanup},
- {"utc_maps_place_rating_destroy_n",utc_maps_place_rating_destroy_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_clone_n",utc_maps_place_rating_clone_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_count_n",utc_maps_place_rating_get_count_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_rating_get_average_n",utc_maps_place_rating_get_average_n,utc_maps_place_rating_startup,utc_maps_place_rating_cleanup},
- {"utc_maps_place_review_destroy_n",utc_maps_place_review_destroy_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_clone_n",utc_maps_place_review_clone_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_date_n",utc_maps_place_review_get_date_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_title_n",utc_maps_place_review_get_title_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_description_n",utc_maps_place_review_get_description_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_language_n",utc_maps_place_review_get_language_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_rating_n",utc_maps_place_review_get_rating_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_media_n",utc_maps_place_review_get_media_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_review_get_user_link_n",utc_maps_place_review_get_user_link_n,utc_maps_place_review_startup,utc_maps_place_review_cleanup},
- {"utc_maps_place_url_destroy_n",utc_maps_place_url_destroy_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_clone_n",utc_maps_place_url_clone_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_path_n",utc_maps_place_url_get_path_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_place_url_get_description_n",utc_maps_place_url_get_description_n,utc_maps_place_url_startup,utc_maps_place_url_cleanup},
- {"utc_maps_preference_create_p",utc_maps_preference_create_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_create_n",utc_maps_preference_create_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_p",utc_maps_preference_destroy_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_destroy_n",utc_maps_preference_destroy_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_p",utc_maps_preference_clone_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_clone_n",utc_maps_preference_clone_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_p",utc_maps_preference_get_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_distance_unit_n",utc_maps_preference_get_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_p",utc_maps_preference_get_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_language_n",utc_maps_preference_get_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_p",utc_maps_preference_get_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_max_results_n",utc_maps_preference_get_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_p",utc_maps_preference_get_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_country_code_n",utc_maps_preference_get_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_p",utc_maps_preference_get_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_optimization_n",utc_maps_preference_get_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_p",utc_maps_preference_get_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_transport_mode_n",utc_maps_preference_get_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_p",utc_maps_preference_get_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_weight_n",utc_maps_preference_get_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_p",utc_maps_preference_get_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_feature_n",utc_maps_preference_get_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_p",utc_maps_preference_get_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_n",utc_maps_preference_get_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_p",utc_maps_preference_foreach_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_foreach_property_n",utc_maps_preference_foreach_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_p",utc_maps_preference_set_distance_unit_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_distance_unit_n",utc_maps_preference_set_distance_unit_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_p",utc_maps_preference_set_language_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_language_n",utc_maps_preference_set_language_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_p",utc_maps_preference_set_max_results_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_max_results_n",utc_maps_preference_set_max_results_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_p",utc_maps_preference_set_country_code_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_country_code_n",utc_maps_preference_set_country_code_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_p",utc_maps_preference_set_route_optimization_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_optimization_n",utc_maps_preference_set_route_optimization_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_p",utc_maps_preference_set_route_transport_mode_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_transport_mode_n",utc_maps_preference_set_route_transport_mode_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_p",utc_maps_preference_set_route_feature_weight_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_weight_n",utc_maps_preference_set_route_feature_weight_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_p",utc_maps_preference_set_route_feature_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_feature_n",utc_maps_preference_set_route_feature_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_p",utc_maps_preference_set_property_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_property_n",utc_maps_preference_set_property_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_p",utc_maps_preference_set_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_set_route_alternatives_enabled_n",utc_maps_preference_set_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_p",utc_maps_preference_get_route_alternatives_enabled_p,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_preference_get_route_alternatives_enabled_n",utc_maps_preference_get_route_alternatives_enabled_n,utc_maps_preference_startup,utc_maps_preference_cleanup},
- {"utc_maps_route_destroy_n",utc_maps_route_destroy_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_clone_n",utc_maps_route_clone_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_route_id_n",utc_maps_route_get_route_id_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_origin_n",utc_maps_route_get_origin_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_destination_n",utc_maps_route_get_destination_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_bounding_box_n",utc_maps_route_get_bounding_box_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_distance_n",utc_maps_route_get_total_distance_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_transport_mode_n",utc_maps_route_get_transport_mode_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_total_duration_n",utc_maps_route_get_total_duration_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_get_distance_unit_n",utc_maps_route_get_distance_unit_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_property_n",utc_maps_route_foreach_property_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_path_n",utc_maps_route_foreach_path_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_foreach_segment_n",utc_maps_route_foreach_segment_n,utc_maps_route_startup,utc_maps_route_cleanup},
- {"utc_maps_route_maneuver_destroy_n",utc_maps_route_maneuver_destroy_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_clone_n",utc_maps_route_maneuver_clone_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_direction_id_n",utc_maps_route_maneuver_get_direction_id_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_turn_type_n",utc_maps_route_maneuver_get_turn_type_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_position_n",utc_maps_route_maneuver_get_position_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_road_name_n",utc_maps_route_maneuver_get_road_name_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_instruction_text_n",utc_maps_route_maneuver_get_instruction_text_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_locale_n",utc_maps_route_maneuver_get_locale_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_time_to_next_instruction_n",utc_maps_route_maneuver_get_time_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_maneuver_get_distance_to_next_instruction_n",utc_maps_route_maneuver_get_distance_to_next_instruction_n,utc_maps_route_maneuver_startup,utc_maps_route_maneuver_cleanup},
- {"utc_maps_route_segment_destroy_n",utc_maps_route_segment_destroy_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_clone_n",utc_maps_route_segment_clone_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_origin_n",utc_maps_route_segment_get_origin_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_destination_n",utc_maps_route_segment_get_destination_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_bounding_box_n",utc_maps_route_segment_get_bounding_box_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_distance_n",utc_maps_route_segment_get_distance_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_get_duration_n",utc_maps_route_segment_get_duration_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_path_n",utc_maps_route_segment_foreach_path_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_route_segment_foreach_maneuver_n",utc_maps_route_segment_foreach_maneuver_n,utc_maps_route_segment_startup,utc_maps_route_segment_cleanup},
- {"utc_maps_view_object_create_marker_p",utc_maps_view_object_create_marker_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_marker_n",utc_maps_view_object_create_marker_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_p",utc_maps_view_object_destroy_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_destroy_n",utc_maps_view_object_destroy_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_p",utc_maps_view_object_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_type_n",utc_maps_view_object_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_p",utc_maps_view_object_set_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_set_visible_n",utc_maps_view_object_set_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_p",utc_maps_view_object_get_visible_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_get_visible_n",utc_maps_view_object_get_visible_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_p",utc_maps_view_object_marker_set_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_coordinates_n",utc_maps_view_object_marker_set_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_p",utc_maps_view_object_marker_resize_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_resize_n",utc_maps_view_object_marker_resize_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_p",utc_maps_view_object_marker_set_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_image_file_n",utc_maps_view_object_marker_set_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_p",utc_maps_view_object_marker_get_image_file_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_image_file_n",utc_maps_view_object_marker_get_image_file_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_p",utc_maps_view_object_marker_get_coordinates_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_coordinates_n",utc_maps_view_object_marker_get_coordinates_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_p",utc_maps_view_object_marker_get_size_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_size_n",utc_maps_view_object_marker_get_size_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_p",utc_maps_view_object_marker_get_type_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_type_n",utc_maps_view_object_marker_get_type_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_p",utc_maps_view_object_marker_set_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_set_z_order_n",utc_maps_view_object_marker_set_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_p",utc_maps_view_object_marker_get_z_order_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_marker_get_z_order_n",utc_maps_view_object_marker_get_z_order_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_p",utc_maps_view_object_create_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polyline_n",utc_maps_view_object_create_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_p",utc_maps_view_object_polyline_set_polyline_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_polyline_n",utc_maps_view_object_polyline_set_polyline_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_p",utc_maps_view_object_polyline_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_foreach_point_n",utc_maps_view_object_polyline_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_p",utc_maps_view_object_polyline_set_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_color_n",utc_maps_view_object_polyline_set_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_p",utc_maps_view_object_polyline_get_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_color_n",utc_maps_view_object_polyline_get_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_p",utc_maps_view_object_polyline_set_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_set_width_n",utc_maps_view_object_polyline_set_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_p",utc_maps_view_object_polyline_get_width_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polyline_get_width_n",utc_maps_view_object_polyline_get_width_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_p",utc_maps_view_object_create_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_polygon_n",utc_maps_view_object_create_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_p",utc_maps_view_object_polygon_set_polygon_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_polygon_n",utc_maps_view_object_polygon_set_polygon_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_p",utc_maps_view_object_polygon_foreach_point_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_foreach_point_n",utc_maps_view_object_polygon_foreach_point_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_p",utc_maps_view_object_polygon_set_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_set_fill_color_n",utc_maps_view_object_polygon_set_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_p",utc_maps_view_object_polygon_get_fill_color_p,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_polygon_get_fill_color_n",utc_maps_view_object_polygon_get_fill_color_n,utc_maps_view_object_startup,utc_maps_view_object_cleanup},
- {"utc_maps_view_object_create_overlay_p",utc_maps_view_object_create_overlay_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_create_overlay_n",utc_maps_view_object_create_overlay_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_p",utc_maps_view_object_overlay_get_object_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_object_n",utc_maps_view_object_overlay_get_object_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_p",utc_maps_view_object_overlay_set_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_coordinates_n",utc_maps_view_object_overlay_set_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_p",utc_maps_view_object_overlay_get_coordinates_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_coordinates_n",utc_maps_view_object_overlay_get_coordinates_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_p",utc_maps_view_object_overlay_set_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_min_zoom_level_n",utc_maps_view_object_overlay_set_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_p",utc_maps_view_object_overlay_get_min_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_min_zoom_level_n",utc_maps_view_object_overlay_get_min_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_p",utc_maps_view_object_overlay_set_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_set_max_zoom_level_n",utc_maps_view_object_overlay_set_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_p",utc_maps_view_object_overlay_get_max_zoom_level_p,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_object_overlay_get_max_zoom_level_n",utc_maps_view_object_overlay_get_max_zoom_level_n,utc_maps_view_object_overlay_startup,utc_maps_view_object_overlay_cleanup},
- {"utc_maps_view_event_data_destroy_n",utc_maps_view_event_data_destroy_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_clone_n",utc_maps_view_event_data_clone_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_type_n",utc_maps_view_event_data_get_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_gesture_type_n",utc_maps_view_event_data_get_gesture_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_action_type_n",utc_maps_view_event_data_get_action_type_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_center_n",utc_maps_view_event_data_get_center_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_delta_n",utc_maps_view_event_data_get_delta_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_position_n",utc_maps_view_event_data_get_position_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_fingers_n",utc_maps_view_event_data_get_fingers_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_zoom_factor_n",utc_maps_view_event_data_get_zoom_factor_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_rotation_angle_n",utc_maps_view_event_data_get_rotation_angle_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_object_n",utc_maps_view_event_data_get_object_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_view_event_data_get_coordinates_n",utc_maps_view_event_data_get_coordinates_n,utc_maps_view_event_data_startup,utc_maps_view_event_data_cleanup},
- {"utc_maps_service_foreach_provider_p",utc_maps_service_foreach_provider_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_foreach_provider_n",utc_maps_service_foreach_provider_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_p",utc_maps_service_create_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_create_n",utc_maps_service_create_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_p",utc_maps_service_destroy_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_destroy_n",utc_maps_service_destroy_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_p",utc_maps_service_set_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_provider_key_n",utc_maps_service_set_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_p",utc_maps_service_get_provider_key_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_provider_key_n",utc_maps_service_get_provider_key_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_p",utc_maps_service_set_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_set_preference_n",utc_maps_service_set_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_p",utc_maps_service_get_preference_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_preference_n",utc_maps_service_get_preference_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_p",utc_maps_service_provider_is_service_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_service_supported_n",utc_maps_service_provider_is_service_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_p",utc_maps_service_provider_is_data_supported_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_provider_is_data_supported_n",utc_maps_service_provider_is_data_supported_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_p",utc_maps_service_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_n",utc_maps_service_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_p",utc_maps_service_geocode_inside_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_inside_area_n",utc_maps_service_geocode_inside_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_p",utc_maps_service_geocode_by_structured_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_geocode_by_structured_address_n",utc_maps_service_geocode_by_structured_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_p",utc_maps_service_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_reverse_geocode_n",utc_maps_service_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_p",utc_maps_service_cancel_request_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_cancel_request_n",utc_maps_service_cancel_request_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_p",utc_maps_service_search_route_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_n",utc_maps_service_search_route_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_p",utc_maps_service_search_route_waypoints_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_route_waypoints_n",utc_maps_service_search_route_waypoints_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_p",utc_maps_service_search_place_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_n",utc_maps_service_search_place_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_p",utc_maps_service_search_place_by_area_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_area_n",utc_maps_service_search_place_by_area_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_p",utc_maps_service_search_place_by_address_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_by_address_n",utc_maps_service_search_place_by_address_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_p",utc_maps_service_multi_reverse_geocode_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_multi_reverse_geocode_n",utc_maps_service_multi_reverse_geocode_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_p",utc_maps_service_search_place_list_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_search_place_list_n",utc_maps_service_search_place_list_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_p",utc_maps_service_get_place_details_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_get_place_details_n",utc_maps_service_get_place_details_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_p",utc_maps_service_request_user_consent_p,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_service_request_user_consent_n",utc_maps_service_request_user_consent_n,utc_maps_service_startup,utc_maps_service_cleanup},
- {"utc_maps_view_create_p",utc_maps_view_create_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_create_n",utc_maps_view_create_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_p",utc_maps_view_get_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_center_n",utc_maps_view_get_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_p",utc_maps_view_set_center_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_center_n",utc_maps_view_set_center_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_p",utc_maps_view_get_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_zoom_level_n",utc_maps_view_get_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_p",utc_maps_view_set_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_zoom_level_n",utc_maps_view_set_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_p",utc_maps_view_get_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_min_zoom_level_n",utc_maps_view_get_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_p",utc_maps_view_get_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_max_zoom_level_n",utc_maps_view_get_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_p",utc_maps_view_set_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_orientation_n",utc_maps_view_set_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_p",utc_maps_view_get_orientation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_orientation_n",utc_maps_view_get_orientation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_p",utc_maps_view_screen_to_geolocation_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_screen_to_geolocation_n",utc_maps_view_screen_to_geolocation_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_p",utc_maps_view_geolocation_to_screen_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_geolocation_to_screen_n",utc_maps_view_geolocation_to_screen_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_p",utc_maps_view_set_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_type_n",utc_maps_view_set_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_p",utc_maps_view_get_type_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_type_n",utc_maps_view_get_type_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_p",utc_maps_view_set_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_buildings_enabled_n",utc_maps_view_set_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_p",utc_maps_view_get_buildings_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_buildings_enabled_n",utc_maps_view_get_buildings_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_p",utc_maps_view_set_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_traffic_enabled_n",utc_maps_view_set_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_p",utc_maps_view_get_traffic_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_traffic_enabled_n",utc_maps_view_get_traffic_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_p",utc_maps_view_set_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_public_transit_enabled_n",utc_maps_view_set_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_p",utc_maps_view_get_public_transit_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_public_transit_enabled_n",utc_maps_view_get_public_transit_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_p",utc_maps_view_set_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_language_n",utc_maps_view_set_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_p",utc_maps_view_get_language_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_language_n",utc_maps_view_get_language_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_p",utc_maps_view_get_viewport_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_viewport_n",utc_maps_view_get_viewport_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_p",utc_maps_view_set_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_screen_location_n",utc_maps_view_set_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_p",utc_maps_view_get_screen_location_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_screen_location_n",utc_maps_view_get_screen_location_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_p",utc_maps_view_move_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_move_n",utc_maps_view_move_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_p",utc_maps_view_resize_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_resize_n",utc_maps_view_resize_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_p",utc_maps_view_set_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_visibility_n",utc_maps_view_set_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_p",utc_maps_view_get_visibility_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_visibility_n",utc_maps_view_get_visibility_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_p",utc_maps_view_set_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_event_cb_n",utc_maps_view_set_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_p",utc_maps_view_unset_event_cb_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_unset_event_cb_n",utc_maps_view_unset_event_cb_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_p",utc_maps_view_set_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_gesture_enabled_n",utc_maps_view_set_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_p",utc_maps_view_get_gesture_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_gesture_enabled_n",utc_maps_view_get_gesture_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_p",utc_maps_view_set_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_scalebar_enabled_n",utc_maps_view_set_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_p",utc_maps_view_get_scalebar_enabled_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_get_scalebar_enabled_n",utc_maps_view_get_scalebar_enabled_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_p",utc_maps_view_add_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_add_object_n",utc_maps_view_add_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_p",utc_maps_view_remove_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_object_n",utc_maps_view_remove_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_p",utc_maps_view_remove_all_objects_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_remove_all_objects_n",utc_maps_view_remove_all_objects_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_p",utc_maps_view_foreach_object_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_foreach_object_n",utc_maps_view_foreach_object_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_p",utc_maps_view_set_min_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_min_zoom_level_n",utc_maps_view_set_min_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_p",utc_maps_view_set_max_zoom_level_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_set_max_zoom_level_n",utc_maps_view_set_max_zoom_level_n,utc_maps_view_startup,utc_maps_view_cleanup},
- {"utc_maps_view_capture_snapshot_p",utc_maps_view_capture_snapshot_p,utc_maps_view_startup,utc_maps_view_cleanup},
- {"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},
- {NULL, NULL}
-};
-
-#endif // __TCT_CAPI-MAPS-SERVICE-NATIVE_H__
+++ /dev/null
-/*
- * 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_address.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_address_h address = NULL;
-static maps_address_list_h __pAddressList = NULL;
-static bool __isCalled = false;
-static bool is_maps_supported = false;
-
-
-/**
- * @function utc_maps_address_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_address_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- maps_address_create(&address);
- maps_address_list_create(&__pAddressList);
-}
-
-/**
- * @function utc_maps_address_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_address_cleanup(void)
-{
- maps_address_destroy(address);
- maps_address_list_destroy(__pAddressList);
-}
-
-/**
- * @testcase utc_maps_address_create_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_create()
- */
-int utc_maps_address_create_p(void)
-{
- maps_address_h test_address = NULL;
-
- ret = maps_address_create(&test_address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(test_address);
-
- ret = maps_address_destroy(test_address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_create()
- */
-int utc_maps_address_create_n(void)
-{
- ret = maps_address_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_destroy()
- */
-int utc_maps_address_destroy_p(void)
-{
- /* tested in utc_maps_address_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_destroy()
- */
-int utc_maps_address_destroy_n(void)
-{
- ret = maps_address_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_clone()
- */
-int utc_maps_address_clone_p(void)
-{
- maps_address_h clone_address = NULL;
- char *buff = NULL;
-
- if (is_maps_supported) {
- maps_address_set_building_number(address, "building_number");
- maps_address_set_street(address, "street");
- maps_address_set_district(address, "district");
- maps_address_set_city(address, "city");
- maps_address_set_state(address, "state");
- maps_address_set_country_code(address, "country_code");
- maps_address_set_postal_code(address, "postal_code");
- maps_address_set_freetext(address, "freetext");
- maps_address_set_country(address, "country");
- maps_address_set_county(address, "county");
-
- ret = maps_address_clone(address, &clone_address);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(clone_address);
-
- ret = maps_address_get_building_number(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "building_number"));
- if (buff) free(buff);
-
- ret = maps_address_get_street(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "street"));
- if (buff) free(buff);
-
- ret = maps_address_get_district(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "district"));
- if (buff) free(buff);
-
- ret = maps_address_get_city(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "city"));
- if (buff) free(buff);
-
- ret = maps_address_get_state(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "state"));
- if (buff) free(buff);
-
- ret = maps_address_get_country_code(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "country_code"));
- if (buff) free(buff);
-
- ret = maps_address_get_postal_code(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "postal_code"));
- if (buff) free(buff);
-
- ret = maps_address_get_country(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "country"));
- if (buff) free(buff);
-
- ret = maps_address_get_county(clone_address, &buff);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(buff);
- assert(!strcmp(buff, "county"));
- if (buff) free(buff);
-
- ret = maps_address_destroy(clone_address);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_address_clone(address, &clone_address);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_clone()
- */
-int utc_maps_address_clone_n(void)
-{
- maps_address_h clone_address = NULL;
-
- ret = maps_address_clone(NULL, &clone_address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!clone_address);
-
- ret = maps_address_clone(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_building_number_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_building_number()
- */
-int utc_maps_address_set_building_number_p(void)
-{
- /* tested in utc_maps_address_get_building_number_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_building_number_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_building_number()
- */
-int utc_maps_address_set_building_number_n(void)
-{
- ret = maps_address_set_building_number(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_building_number(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_street_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_street()
- */
-int utc_maps_address_set_street_p(void)
-{
- /* tested in utc_maps_address_get_street_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_street_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_street()
- */
-int utc_maps_address_set_street_n(void)
-{
- ret = maps_address_set_street(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_street(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_district_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_district()
- */
-int utc_maps_address_set_district_p(void)
-{
- /* tested in utc_maps_address_get_district_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_district_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_district()
- */
-int utc_maps_address_set_district_n(void)
-{
- ret = maps_address_set_district(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_district(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_city_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_city()
- */
-int utc_maps_address_set_city_p(void)
-{
- /* tested in utc_maps_address_get_city_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_city_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_city()
- */
-int utc_maps_address_set_city_n(void)
-{
- ret = maps_address_set_city(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_city(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_state_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_state()
- */
-int utc_maps_address_set_state_p(void)
-{
- /* tested in utc_maps_address_get_state_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_state_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_state()
- */
-int utc_maps_address_set_state_n(void)
-{
- ret = maps_address_set_state(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_state(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_country_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_country()
- */
-int utc_maps_address_set_country_p(void)
-{
- /* tested in utc_maps_address_get_country_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_country_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_country()
- */
-int utc_maps_address_set_country_n(void)
-{
- ret = maps_address_set_country(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_country(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_country_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_country_code()
- */
-int utc_maps_address_set_country_code_p(void)
-{
- /* tested in utc_maps_address_get_country_code_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_country_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_country_code()
- */
-int utc_maps_address_set_country_code_n(void)
-{
- ret = maps_address_set_country_code(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_country_code(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_county_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_county()
- */
-int utc_maps_address_set_county_p(void)
-{
- /* tested in utc_maps_address_get_county_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_county_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_county()
- */
-int utc_maps_address_set_county_n(void)
-{
- ret = maps_address_set_county(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_county(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_postal_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_postal_code()
- */
-int utc_maps_address_set_postal_code_p(void)
-{
- /* tested in utc_maps_address_get_postal_code_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_postal_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_postal_code()
- */
-int utc_maps_address_set_postal_code_n(void)
-{
- ret = maps_address_set_postal_code(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_postal_code(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_freetext_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_set_freetext()
- */
-int utc_maps_address_set_freetext_p(void)
-{
- /* tested in utc_maps_address_get_freetext_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_set_freetext_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_set_freetext()
- */
-int utc_maps_address_set_freetext_n(void)
-{
- ret = maps_address_set_freetext(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_set_freetext(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_building_number_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_building_number()
- */
-int utc_maps_address_get_building_number_p(void)
-{
- char *building_number = NULL;
-
- ret = maps_address_set_building_number(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_building_number(address, &building_number);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(building_number);
- assert_eq(strcmp(building_number, "test"), 0);
-
- free(building_number);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_building_number_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_building_number()
- */
-int utc_maps_address_get_building_number_n(void)
-{
- char *building_number = NULL;
-
- ret = maps_address_set_building_number(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_building_number(NULL, &building_number);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!building_number);
-
- ret = maps_address_get_building_number(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_street_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_street()
- */
-int utc_maps_address_get_street_p(void)
-{
- char *street = NULL;
-
- ret = maps_address_set_street(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_street(address, &street);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(street);
- assert_eq(strcmp(street, "test"), 0);
-
- free(street);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_street_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_street()
- */
-int utc_maps_address_get_street_n(void)
-{
- char *street = NULL;
-
- ret = maps_address_set_street(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_street(NULL, &street);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!street);
-
- ret = maps_address_get_street(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_district_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_district()
- */
-int utc_maps_address_get_district_p(void)
-{
- char *district = NULL;
-
- ret = maps_address_set_district(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_district(address, &district);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(district);
- assert_eq(strcmp(district, "test"), 0);
-
- free(district);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_district_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_district()
- */
-int utc_maps_address_get_district_n(void)
-{
- char *district = NULL;
-
- ret = maps_address_set_district(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_district(NULL, &district);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!district);
-
- ret = maps_address_get_district(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_city_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_city()
- */
-int utc_maps_address_get_city_p(void)
-{
- char *city = NULL;
-
- ret = maps_address_set_city(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_city(address, &city);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(city);
- assert_eq(strcmp(city, "test"), 0);
-
- free(city);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_city_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_city()
- */
-int utc_maps_address_get_city_n(void)
-{
- char *city = NULL;
-
- ret = maps_address_set_city(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_city(NULL, &city);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!city);
-
- ret = maps_address_get_city(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_state_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_state()
- */
-int utc_maps_address_get_state_p(void)
-{
- char *state = NULL;
-
- ret = maps_address_set_state(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_state(address, &state);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(state);
- assert_eq(strcmp(state, "test"), 0);
-
- free(state);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_state_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_state()
- */
-int utc_maps_address_get_state_n(void)
-{
- char *state = NULL;
-
- ret = maps_address_set_state(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_state(NULL, &state);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!state);
-
- ret = maps_address_get_state(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_country_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_country()
- */
-int utc_maps_address_get_country_p(void)
-{
- char *country = NULL;
-
- ret = maps_address_set_country(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_country(address, &country);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(country);
- assert_eq(strcmp(country, "test"), 0);
-
- free(country);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_country_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_country()
- */
-int utc_maps_address_get_country_n(void)
-{
- char *country = NULL;
-
- ret = maps_address_set_country(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_country(NULL, &country);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!country);
-
- ret = maps_address_get_country(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_country_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_country_code()
- */
-int utc_maps_address_get_country_code_p(void)
-{
- char *country_code = NULL;
-
- ret = maps_address_set_country_code(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_country_code(address, &country_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(country_code);
- assert_eq(strcmp(country_code, "test"), 0);
-
- free(country_code);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_country_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_country_code()
- */
-int utc_maps_address_get_country_code_n(void)
-{
- char *country_code = NULL;
-
- ret = maps_address_set_country_code(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_country_code(NULL, &country_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!country_code);
-
- ret = maps_address_get_country_code(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_county_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_county()
- */
-int utc_maps_address_get_county_p(void)
-{
- char *county = NULL;
-
- ret = maps_address_set_county(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_county(address, &county);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(county);
- assert_eq(strcmp(county, "test"), 0);
-
- free(county);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_county_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_county()
- */
-int utc_maps_address_get_county_n(void)
-{
- char *county = NULL;
-
- ret = maps_address_set_county(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_county(NULL, &county);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!county);
-
- ret = maps_address_get_county(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_postal_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_postal_code()
- */
-int utc_maps_address_get_postal_code_p(void)
-{
- char *postal_code = NULL;
-
- ret = maps_address_set_postal_code(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_postal_code(address, &postal_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(postal_code);
- assert_eq(strcmp(postal_code, "test"), 0);
-
- free(postal_code);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_postal_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_postal_code()
- */
-int utc_maps_address_get_postal_code_n(void)
-{
- char *postal_code = NULL;
-
- ret = maps_address_set_postal_code(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_postal_code(NULL, &postal_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!postal_code);
-
- ret = maps_address_get_postal_code(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_freetext_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_get_freetext()
- */
-int utc_maps_address_get_freetext_p(void)
-{
- char *freetext = NULL;
-
- ret = maps_address_set_freetext(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_freetext(address, &freetext);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(freetext);
- assert_eq(strcmp(freetext, "test"), 0);
-
- free(freetext);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_get_freetext_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_get_freetext()
- */
-int utc_maps_address_get_freetext_n(void)
-{
- char *freetext = NULL;
-
- ret = maps_address_set_freetext(address, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_get_freetext(NULL, &freetext);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!freetext);
-
- ret = maps_address_get_freetext(address, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-
-/**
- * @testcase utc_maps_address_list_create_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_create()
- */
-int utc_maps_address_list_create_p(void)
-{
- maps_address_list_h addr_list = NULL;
-
- ret = maps_address_list_create(&addr_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(addr_list);
- ret = maps_address_list_destroy(addr_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_create_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_create()
- */
-int utc_maps_address_list_create_n(void)
-{
- ret = maps_address_list_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_destroy_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_destroy()
- */
-int utc_maps_address_list_destroy_p(void)
-{
- /* tested in utc_maps_address_list_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_destroy_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_destroy()
- */
-int utc_maps_address_list_destroy_n(void)
-{
- ret = maps_address_list_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_append_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_append()
- */
-int utc_maps_address_list_append_p(void)
-{
- ret = maps_address_list_append(__pAddressList, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_remove(__pAddressList, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_append_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_append()
- */
-int utc_maps_address_list_append_n(void)
-{
- ret = maps_address_list_append(NULL, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_append(__pAddressList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_remove_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_remove()
- */
-int utc_maps_address_list_remove_p(void)
-{
- /* tested in utc_maps_address_list_append_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_remove_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_remove()
- */
-int utc_maps_address_list_remove_n(void)
-{
- ret = maps_address_list_remove(NULL, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_remove(__pAddressList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_get_length_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_get_length()
- */
-int utc_maps_address_list_get_length_p(void)
-{
- int len = 0;
-
- ret = maps_address_list_get_length(__pAddressList, &len);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_get_length_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_get_length()
- */
-int utc_maps_address_list_get_length_n(void)
-{
- int len = 0;
-
- ret = maps_address_list_get_length(NULL, &len);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_get_length(__pAddressList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __maps_address_list_cb(int index, maps_address_h addr, void *user_data)
-{
- __isCalled = true;
- assert(addr);
-
- return true;
-}
-
-/**
- * @testcase utc_maps_address_list_foreach_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_address_list_foreach()
- */
-int utc_maps_address_list_foreach_p(void)
-{
- ret = maps_address_list_append(__pAddressList, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_foreach(__pAddressList, __maps_address_list_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(__isCalled, true);
-
- ret = maps_address_list_remove(__pAddressList, address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_address_list_foreach_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_address_list_foreach()
- */
-int utc_maps_address_list_foreach_n(void)
-{
- ret = maps_address_list_foreach(NULL, __maps_address_list_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_address_list_foreach(__pAddressList, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
+++ /dev/null
-/*
- * 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_area.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_area_h __pArea = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_area_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_area_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- ret = 0;
- __pArea = NULL;
-}
-
-/**
- * @function utc_maps_area_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_area_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_area_create_rectangle_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_area_create_rectangle()
- */
-int utc_maps_area_create_rectangle_p(void)
-{
- maps_coordinates_h top_left = NULL;
- maps_coordinates_h bottom_right = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, &top_left);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(top_left);
-
- ret = maps_coordinates_create(10.617418, 79.145508, &bottom_right);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(bottom_right);
-
- ret = maps_area_create_rectangle(top_left, bottom_right, &__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(__pArea);
-
- 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(__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_create_rectangle(top_left, bottom_right, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_destroy(__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_create_rectangle_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_area_create_rectangle()
- */
-int utc_maps_area_create_rectangle_n(void)
-{
- maps_coordinates_h top_left = NULL;
- maps_coordinates_h bottom_right = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, &top_left);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(top_left);
-
- ret = maps_coordinates_create(10.617418, 79.145508, &bottom_right);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(bottom_right);
-
- ret = maps_area_create_rectangle(top_left, bottom_right, NULL);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_create_rectangle(NULL, bottom_right, &__pArea);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_create_rectangle(top_left, NULL, &__pArea);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_create_rectangle(NULL, NULL, NULL);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_coordinates_destroy(top_left);
- assert_eq(ret, MAPS_ERROR_NONE);
-
- ret = maps_coordinates_destroy(bottom_right);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_create_rectangle(top_left, bottom_right, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_create_rectangle(NULL, bottom_right, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_create_rectangle(top_left, NULL, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_create_rectangle(NULL, NULL, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_create_circle_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_area_create_circle()
- */
-int utc_maps_area_create_circle_p(void)
-{
- maps_coordinates_h center = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, ¢er);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(center);
-
- ret = maps_area_create_circle(center, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(__pArea);
-
- ret = maps_coordinates_destroy(center);
- assert_eq(ret, MAPS_ERROR_NONE);
-
- ret = maps_area_destroy(__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_create_circle(center, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_destroy(__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_create_circle_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_area_create_circle()
- */
-int utc_maps_area_create_circle_n(void)
-{
- maps_coordinates_h center = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, ¢er);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(center);
-
- ret = maps_area_create_circle(center, 100, NULL);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_create_circle(NULL, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_create_circle(center, -1, &__pArea);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_coordinates_destroy(center);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_create_circle(center, 100, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_create_circle(NULL, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_create_circle(center, -1, &__pArea);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_area_destroy()
- */
-int utc_maps_area_destroy_p(void)
-{
- /* tested in utc_maps_area_create_rectangle_p */
- return 0;
-}
-
-
-/**
- * @testcase utc_maps_area_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_area_destroy()
- */
-int utc_maps_area_destroy_n(void)
-{
- ret = maps_area_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_area_clone()
- */
-int utc_maps_area_clone_p(void)
-{
- maps_coordinates_h center = NULL;
- maps_area_h clone = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, ¢er);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(center);
-
- ret = maps_area_create_circle(center, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(__pArea);
-
- ret = maps_area_clone(__pArea, &clone);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(clone);
-
- ret = maps_coordinates_destroy(center);
- assert_eq(ret, MAPS_ERROR_NONE);
-
- ret = maps_area_destroy(clone);
- assert_eq(ret, MAPS_ERROR_NONE);
-
- ret = maps_area_destroy(__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_clone(__pArea, &clone);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_area_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_area_clone()
- */
-int utc_maps_area_clone_n(void)
-{
- maps_coordinates_h center = NULL;
- maps_area_h clone = NULL;
-
- if (is_maps_supported) {
- ret = maps_coordinates_create(15.665354, 74.311523, ¢er);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(center);
-
- ret = maps_area_create_circle(center, 100, &__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(__pArea);
-
- ret = maps_area_clone(__pArea, NULL);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_area_clone(NULL, &clone);
- assert_eq(ret, MAPS_ERROR_INVALID_PARAMETER);
-
- ret = maps_coordinates_destroy(center);
- assert_eq(ret, MAPS_ERROR_NONE);
-
- ret = maps_area_destroy(__pArea);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_area_clone(__pArea, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_area_clone(NULL, &clone);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
+++ /dev/null
-/*
- * 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_coordinates.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_coordinates_h __pCoordinates = NULL;
-static maps_coordinates_list_h __pCoordinatesList = NULL;
-static bool __isCalled = false;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_coordinates_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_coordinates_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- ret = 0;
- __pCoordinates = NULL;
- __isCalled = true;
-
- maps_coordinates_create(15.665354, 74.311523, &__pCoordinates);
- maps_coordinates_list_create(&__pCoordinatesList);
-}
-
-/**
- * @function utc_maps_coordinates_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_coordinates_cleanup(void)
-{
- maps_coordinates_destroy(__pCoordinates);
- maps_coordinates_list_destroy(__pCoordinatesList);
-}
-
-/**
- * @testcase utc_maps_coordinates_create_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_create()
- */
-int utc_maps_coordinates_create_p(void)
-{
- maps_coordinates_h coordinates = NULL;
-
- ret = maps_coordinates_create(55.665354, 114.311523, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(coordinates);
-
- ret = maps_coordinates_destroy(coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_create()
- */
-int utc_maps_coordinates_create_n(void)
-{
- ret = maps_coordinates_create(90.01, 74.311523, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_destroy()
- */
-int utc_maps_coordinates_destroy_p(void)
-{
- /* tested in utc_maps_coordinates_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_destroy()
- */
-int utc_maps_coordinates_destroy_n(void)
-{
- ret = maps_coordinates_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_clone()
- */
-int utc_maps_coordinates_clone_p(void)
-{
- maps_coordinates_h clone = NULL;
-
- ret = maps_coordinates_clone(__pCoordinates, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(clone);
-
- ret = maps_coordinates_destroy(clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_clone()
- */
-int utc_maps_coordinates_clone_n(void)
-{
- maps_coordinates_h clone = NULL;
-
- ret = maps_coordinates_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_clone(__pCoordinates, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_get_latitude_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_get_latitude()
- */
-int utc_maps_coordinates_get_latitude_p(void)
-{
- double lat = .0;
-
- ret = maps_coordinates_set_latitude(__pCoordinates, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_latitude(__pCoordinates, &lat);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported)
- assert_eq(lat, 16.5555);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_get_latitude_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_get_latitude()
- */
-int utc_maps_coordinates_get_latitude_n(void)
-{
- double lat = .0;
-
- ret = maps_coordinates_get_latitude(NULL, &lat);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_latitude(__pCoordinates, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_get_longitude_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_get_longitude()
- */
-int utc_maps_coordinates_get_longitude_p(void)
-{
- double lon = .0;
-
- ret = maps_coordinates_set_longitude(__pCoordinates, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_longitude(__pCoordinates, &lon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(lon, 16.5555);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_get_longitude_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_get_longitude()
- */
-int utc_maps_coordinates_get_longitude_n(void)
-{
- double lon = .0;
- ret = maps_coordinates_get_longitude(NULL, &lon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_longitude(__pCoordinates, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_latitude_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_set_latitude()
- */
-int utc_maps_coordinates_set_latitude_p(void)
-{
- /* tested in utc_maps_coordinates_get_latitude_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_latitude_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_set_latitude()
- */
-int utc_maps_coordinates_set_latitude_n(void)
-{
- ret = maps_coordinates_set_latitude(NULL, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_set_latitude(__pCoordinates, 90.1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_longitude_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_coordinates_set_longitude()
- */
-int utc_maps_coordinates_set_longitude_p(void)
-{
- /* tested in utc_maps_coordinates_get_longitude_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_longitude_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_coordinates_set_longitude()
- */
-int utc_maps_coordinates_set_longitude_n(void)
-{
- ret = maps_coordinates_set_longitude(NULL, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_set_longitude(__pCoordinates, 180.1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-
-/**
- * @testcase utc_maps_coordinates_get_latitude_longitude_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_get_latitude_longitude()
- */
-int utc_maps_coordinates_get_latitude_longitude_p(void)
-{
- double lat = .0;
- double lon = .0;
-
- ret = maps_coordinates_set_latitude_longitude(__pCoordinates, 16.5555, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_latitude_longitude(__pCoordinates, &lat, &lon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(lat, 16.5555);
- assert_eq(lon, 16.5555);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_get_latitude_longitude_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_get_latitude_longitude()
- */
-int utc_maps_coordinates_get_latitude_longitude_n(void)
-{
- double lat = .0;
- double lon = .0;
-
- ret = maps_coordinates_get_latitude_longitude(NULL, &lat, &lon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_latitude_longitude(__pCoordinates, NULL, &lon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_get_latitude_longitude(__pCoordinates, &lat, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_latitude_longitude_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_set_latitude_longitude()
- */
-int utc_maps_coordinates_set_latitude_longitude_p(void)
-{
- /* tested in utc_maps_coordinates_get_latitude_longitude_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_set_latitude_longitude_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_set_latitude_longitude()
- */
-int utc_maps_coordinates_set_latitude_longitude_n(void)
-{
- ret = maps_coordinates_set_latitude_longitude(NULL, 16.5555, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_set_latitude_longitude(__pCoordinates, 90.1, 16.5555);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_set_latitude_longitude(__pCoordinates, 16.5555, 180.1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_create_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_create()
- */
-int utc_maps_coordinates_list_create_p(void)
-{
- maps_coordinates_list_h coordinates_list = NULL;
-
- ret = maps_coordinates_list_create(&coordinates_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(coordinates_list);
-
- ret = maps_coordinates_list_destroy(coordinates_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_create_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_list_create()
- */
-int utc_maps_coordinates_list_create_n(void)
-{
- ret = maps_coordinates_list_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_destroy_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_destroy()
- */
-int utc_maps_coordinates_list_destroy_p(void)
-{
- /* tested in utc_maps_coordinates_list_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_destroy_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_list_destroy()
- */
-int utc_maps_coordinates_list_destroy_n(void)
-{
- ret = maps_coordinates_list_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_append_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_append()
- */
-int utc_maps_coordinates_list_append_p(void)
-{
- ret = maps_coordinates_list_append(__pCoordinatesList, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_remove(__pCoordinatesList, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_append_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_list_append()
- */
-int utc_maps_coordinates_list_append_n(void)
-{
- ret = maps_coordinates_list_append(NULL, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(__pCoordinatesList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_remove_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_remove()
- */
-int utc_maps_coordinates_list_remove_p(void)
-{
- /* tested in utc_maps_coordinates_list_append_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_remove_n
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_remove()
- */
-int utc_maps_coordinates_list_remove_n(void)
-{
- ret = maps_coordinates_list_remove(NULL, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_remove(__pCoordinatesList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_get_length_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_get_length()
- */
-int utc_maps_coordinates_list_get_length_p(void)
-{
- int len = 0;
-
- ret = maps_coordinates_list_get_length(__pCoordinatesList, &len);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_get_length_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_list_get_length()
- */
-int utc_maps_coordinates_list_get_length_n(void)
-{
- int len = 0;
- ret = maps_coordinates_list_get_length(NULL, &len);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_get_length(__pCoordinatesList, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __maps_coordinates_list_cb(int index, maps_coordinates_h coord, void *user_data)
-{
- __isCalled = true;
- assert(coord);
-
- return true;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_foreach_p
- * @since_tizen 3.0
- * @description Positive test case of maps_coordinates_list_foreach()
- */
-int utc_maps_coordinates_list_foreach_p(void)
-{
- ret = maps_coordinates_list_append(__pCoordinatesList, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_foreach(__pCoordinatesList, __maps_coordinates_list_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(__isCalled, true);
-
- ret = maps_coordinates_list_remove(__pCoordinatesList, __pCoordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_coordinates_list_foreach_n
- * @since_tizen 3.0
- * @description Negative test case of maps_coordinates_list_foreach()
- */
-int utc_maps_coordinates_list_foreach_n(void)
-{
- ret = maps_coordinates_list_foreach(NULL, __maps_coordinates_list_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_foreach(__pCoordinatesList, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_attribute.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_attribute_h __pAttribute = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_attribute_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_attribute_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_attribute_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_attribute_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_attribute_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_attribute_destroy()
- */
-int utc_maps_place_attribute_destroy_n(void)
-{
- ret = maps_place_attribute_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_attribute_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_attribute_clone()
- */
-int utc_maps_place_attribute_clone_n(void)
-{
- maps_place_attribute_h clone = NULL;
-
- ret = maps_place_attribute_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_attribute_clone(__pAttribute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_attribute_get_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_attribute_get_id()
- */
-int utc_maps_place_attribute_get_id_n(void)
-{
- char *id = NULL;
-
- ret = maps_place_attribute_get_id(__pAttribute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_attribute_get_id(NULL, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_attribute_get_text_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_attribute_get_text()
- */
-int utc_maps_place_attribute_get_text_n(void)
-{
- char *text = NULL;
-
- ret = maps_place_attribute_get_text(__pAttribute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_attribute_get_text(NULL, &text);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_attribute_get_label_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_attribute_get_label()
- */
-int utc_maps_place_attribute_get_label_n(void)
-{
- char *label = NULL;
-
- ret = maps_place_attribute_get_label(__pAttribute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_attribute_get_label(NULL, &label);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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 <unistd.h>
-#include <glib.h>
-#include <maps_error.h>
-#include <maps_place_category.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-
-static int ret = 0;
-static maps_place_category_h __pCategory = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_category_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_category_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- ret = 0;
- __pCategory = NULL;
- maps_place_category_create(&__pCategory);
-}
-
-/**
- * @function utc_maps_place_category_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_category_cleanup(void)
-{
- maps_place_category_destroy(__pCategory);
-}
-
-/**
- * @testcase utc_maps_place_category_create_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_create()
- */
-int utc_maps_place_category_create_p(void)
-{
- maps_place_category_h category = NULL;
-
- ret = maps_place_category_create(&category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(category);
-
- ret = maps_place_category_destroy(category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_create()
- */
-int utc_maps_place_category_create_n(void)
-{
- ret = maps_place_category_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_destroy()
- */
-int utc_maps_place_category_destroy_p(void)
-{
- /* tested in utc_maps_place_category_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_destroy()
- */
-int utc_maps_place_category_destroy_n(void)
-{
- ret = maps_place_category_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_clone()
- */
-int utc_maps_place_category_clone_p(void)
-{
- maps_place_category_h clone_place_category = NULL;
-
- if (is_maps_supported) {
- maps_place_category_set_id(__pCategory, "test");
- ret = maps_place_category_set_name(__pCategory, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- maps_place_category_set_url(__pCategory, "test");
-
- ret = maps_place_category_clone(__pCategory, &clone_place_category);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(clone_place_category);
-
- ret = maps_place_category_destroy(clone_place_category);
- assert_eq(ret, MAPS_ERROR_NONE);
- } else {
- ret = maps_place_category_clone(__pCategory, &clone_place_category);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_clone()
- */
-int utc_maps_place_category_clone_n(void)
-{
- maps_place_category_h clone_place_category = NULL;
-
- ret = maps_place_category_clone(NULL, &clone_place_category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_clone(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_id_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_set_id()
- */
-int utc_maps_place_category_set_id_p(void)
-{
- /* tested in utc_maps_place_category_get_id_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_set_id()
- */
-int utc_maps_place_category_set_id_n(void)
-{
- ret = maps_place_category_set_id(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_id(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_id(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_id_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_get_id()
- */
-int utc_maps_place_category_get_id_p(void)
-{
- char *id = NULL;
-
- ret = maps_place_category_set_id(__pCategory, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_id(__pCategory, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(id, "test"), 0);
-
- free(id);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_get_id()
- */
-int utc_maps_place_category_get_id_n(void)
-{
- char *id = NULL;
-
- ret = maps_place_category_get_id(NULL, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_id(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_name_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_set_name()
- */
-int utc_maps_place_category_set_name_p(void)
-{
- /* tested in utc_maps_place_category_get_name_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_set_name()
- */
-int utc_maps_place_category_set_name_n(void)
-{
- ret = maps_place_category_set_name(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_name(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_name(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_name_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_get_name()
- */
-int utc_maps_place_category_get_name_p(void)
-{
- char *name = NULL;
-
- ret = maps_place_category_set_name(__pCategory, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_name(__pCategory, &name);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(name, "test"), 0);
-
- free(name);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_get_name()
- */
-int utc_maps_place_category_get_name_n(void)
-{
- char *name = NULL;
-
- ret = maps_place_category_get_name(NULL, &name);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_name(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_url_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_set_url()
- */
-int utc_maps_place_category_set_url_p(void)
-{
- /* tested in utc_maps_place_category_get_url_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_set_url_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_set_url()
- */
-int utc_maps_place_category_set_url_n(void)
-{
- ret = maps_place_category_set_url(NULL, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_url(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_set_url(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_url_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_category_get_url()
- */
-int utc_maps_place_category_get_url_p(void)
-{
- char *url = NULL;
-
- ret = maps_place_category_set_url(__pCategory, "test");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_url(__pCategory, &url);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(url, "test"), 0);
-
- free(url);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_category_get_url_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_category_get_url()
- */
-int utc_maps_place_category_get_url_n(void)
-{
- char *url = NULL;
-
- ret = maps_place_category_get_url(NULL, &url);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_get_url(__pCategory, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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 <glib.h>
-#include <maps_error.h>
-#include <maps_place.h>
-#include <maps_service.h>
-#include <unistd.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_h __pPlace = NULL;
-static bool category_available = false;
-static bool service_enabled_place = false;
-static bool attribute_available = false;
-static bool contact_available = false;
-static bool editorial_available = false;
-static bool image_available = false;
-static bool review_available = false;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- ret = 0;
- category_available = false;
- service_enabled_place = false;
- attribute_available = false;
- contact_available = false;
- editorial_available = false;
- image_available = false;
- review_available = false;
-}
-
-/**
- * @function utc_maps_place_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_destroy()
- */
-int utc_maps_place_destroy_n(void)
-{
- ret = maps_place_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_clone()
- */
-int utc_maps_place_clone_n(void)
-{
- maps_place_h clone = NULL;
-
- ret = maps_place_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_clone(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_id()
- */
-int utc_maps_place_get_id_n(void)
-{
- char *id;
-
- ret = maps_place_get_id(NULL, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_id(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_name()
- */
-int utc_maps_place_get_name_n(void)
-{
- char *name;
-
- ret = maps_place_get_name(NULL, &name);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_name(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_uri_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_uri()
- */
-int utc_maps_place_get_uri_n(void)
-{
- char *uri;
-
- ret = maps_place_get_uri(NULL, &uri);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_uri(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_location_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_location()
- */
-int utc_maps_place_get_location_n(void)
-{
- maps_coordinates_h coords = NULL;
-
- ret = maps_place_get_location(NULL, &coords);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_location(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_distance_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_distance()
- */
-int utc_maps_place_get_distance_n(void)
-{
- int test = 0;
-
- ret = maps_place_get_distance(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_distance(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_address_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_address()
- */
-int utc_maps_place_get_address_n(void)
-{
- maps_address_h address = NULL;
-
- ret = maps_address_create(&address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_address(NULL, &address);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_address(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, 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;
-}
-
-/**
- * @testcase utc_maps_place_get_rating_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_rating()
- */
-int utc_maps_place_get_rating_n(void)
-{
- maps_place_rating_h rating = NULL;
-
- ret = maps_place_get_rating(NULL, &rating);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_rating(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_category_cb(int index, int total, maps_place_category_h category, void *user_data)
-{
- category_available = true;
- service_enabled_place = true;
-
- maps_place_category_destroy(category);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_category_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_category()
- */
-int utc_maps_place_foreach_category_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_category(NULL, __utc_maps_place_category_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_category(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_attribute_cb(int index, int total, maps_place_attribute_h attribute, void *user_data)
-{
- attribute_available = true;
- service_enabled_place = true;
-
- maps_place_attribute_destroy(attribute);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_attribute_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_attribute()
- */
-int utc_maps_place_foreach_attribute_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_attribute(NULL, __utc_maps_place_attribute_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_attribute(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_contact_cb(int index, int total, maps_place_contact_h contact, void *user_data)
-{
- contact_available = true;
- service_enabled_place = true;
-
- maps_place_contact_destroy(contact);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_contact_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_contact()
- */
-int utc_maps_place_foreach_contact_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_contact(NULL, __utc_maps_place_contact_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_contact(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_editorial_cb(int index, int total, maps_place_editorial_h editorial, void *user_data)
-{
- editorial_available = true;
- service_enabled_place = true;
-
- maps_place_editorial_destroy(editorial);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_editorial_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_editorial()
- */
-int utc_maps_place_foreach_editorial_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_editorial(NULL, __utc_maps_place_editorial_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_editorial(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_image_cb(int index, int total, maps_place_image_h image, void *user_data)
-{
- image_available = true;
- service_enabled_place = true;
-
- maps_place_image_destroy(image);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_image_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_image()
- */
-int utc_maps_place_foreach_image_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_image(NULL, __utc_maps_place_image_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_image(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_review_cb(int index, int total, maps_place_review_h review, void *user_data)
-{
- review_available = true;
- service_enabled_place = true;
-
- maps_place_review_destroy(review);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_review_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_review()
- */
-int utc_maps_place_foreach_review_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_place_foreach_review(NULL, __utc_maps_place_review_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_review(__pPlace, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_supplier_link_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_supplier_link()
- */
-int utc_maps_place_get_supplier_link_n(void)
-{
- maps_place_link_object_h supplier = NULL;
-
- ret = maps_place_get_supplier_link(NULL, &supplier);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_supplier_link(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_get_related_link_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_get_related_link()
- */
-int utc_maps_place_get_related_link_n(void)
-{
- maps_place_link_object_h related = NULL;
-
- ret = maps_place_get_related_link(NULL, &related);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_get_related_link(__pPlace, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __maps_place_properties_cb(int index, int total, char* key, void* value, void* user_data)
-{
- free(key);
- free(value);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_foreach_property_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_foreach_property()
- */
-int utc_maps_place_foreach_property_n(void)
-{
- ret = maps_place_foreach_property(NULL, __maps_place_properties_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_foreach_property(__pPlace, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-/**
- * @testcase utc_maps_place_list_destroy_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_list_destroy()
- */
-int utc_maps_place_list_destroy_n(void)
-{
- ret = maps_place_list_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_contact.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_contact_h __pContact = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_contact_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_contact_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_contact_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_contact_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_contact_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_contact_destroy()
- */
-int utc_maps_place_contact_destroy_n(void)
-{
- ret = maps_place_contact_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_contact_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_contact_clone()
- */
-int utc_maps_place_contact_clone_n(void)
-{
- maps_place_contact_h clone_place_contact = NULL;
-
- ret = maps_place_contact_clone(NULL, &clone_place_contact);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_contact_clone(__pContact, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_contact_get_label_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_contact_get_label()
- */
-int utc_maps_place_contact_get_label_n(void)
-{
- char *label = NULL;
-
- ret = maps_place_contact_get_label(NULL, &label);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_contact_get_label(__pContact, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_contact_get_type_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_contact_get_type()
- */
-int utc_maps_place_contact_get_type_n(void)
-{
- char *type = NULL;
-
- ret = maps_place_contact_get_type(NULL, &type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_contact_get_type(__pContact, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_contact_get_value_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_contact_get_value()
- */
-int utc_maps_place_contact_get_value_n(void)
-{
- char *value = NULL;
-
- ret = maps_place_contact_get_value(NULL, &value);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_contact_get_value(__pContact, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_editorial.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_editorial_h __pEditorial = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_editorial_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_editorial_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_editorial_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_editorial_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_editorial_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_editorial_destroy()
- */
-int utc_maps_place_editorial_destroy_n(void)
-{
- ret = maps_place_editorial_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_editorial_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_editorial_clone()
- */
-int utc_maps_place_editorial_clone_n(void)
-{
- maps_place_editorial_h clone_place_editorial = NULL;
-
- ret = maps_place_editorial_clone(NULL, &clone_place_editorial);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_editorial_clone(__pEditorial, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_editorial_get_description_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_editorial_get_description()
- */
-int utc_maps_place_editorial_get_description_n(void)
-{
- char *description = NULL;
-
- ret = maps_place_editorial_get_description(NULL, &description);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_editorial_get_description(__pEditorial, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_editorial_get_language_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_editorial_get_language()
- */
-int utc_maps_place_editorial_get_language_n(void)
-{
- char *language = NULL;
-
- ret = maps_place_editorial_get_language(NULL, &language);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_editorial_get_language(__pEditorial, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_editorial_get_media_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_editorial_get_media()
- */
-int utc_maps_place_editorial_get_media_n(void)
-{
- maps_place_media_h media = NULL;
-
- ret = maps_place_editorial_get_media(__pEditorial, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_editorial_get_media(NULL, &media);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_filter.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_filter_h __pFilter = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_filter_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_filter_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- ret = 0;
- __pFilter = NULL;
- maps_place_filter_create(&__pFilter);
-}
-
-/**
- * @function utc_maps_place_filter_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_filter_cleanup(void)
-{
- maps_place_filter_destroy(__pFilter);
-}
-
-/**
- * @testcase utc_maps_place_filter_create_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_create()
- */
-int utc_maps_place_filter_create_p(void)
-{
- maps_place_filter_h filter = NULL;
-
- ret = maps_place_filter_create(&filter);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(filter);
-
- ret = maps_place_filter_destroy(filter);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_create()
- */
-int utc_maps_place_filter_create_n(void)
-{
- ret = maps_place_filter_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_destroy()
- */
-int utc_maps_place_filter_destroy_p(void)
-{
- /* tested in utc_maps_place_filter_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_destroy()
- */
-int utc_maps_place_filter_destroy_n(void)
-{
- ret = maps_place_filter_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_clone()
- */
-int utc_maps_place_filter_clone_p(void)
-{
- maps_place_filter_h clone_place_filter = NULL;
-
- ret = maps_place_filter_clone(__pFilter, &clone_place_filter);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(clone_place_filter);
-
- ret = maps_place_filter_destroy(clone_place_filter);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_clone()
- */
-int utc_maps_place_filter_clone_n(void)
-{
- maps_place_filter_h clone_place_filter = NULL;
-
- ret = maps_place_filter_clone(NULL, &clone_place_filter);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_clone(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_get()
- */
-int utc_maps_place_filter_get_p(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set(__pFilter, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get(__pFilter, "key", &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(test, "value"), 0);
-
- free(test);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_get()
- */
-int utc_maps_place_filter_get_n(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set(__pFilter, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get(NULL, "key", &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get(__pFilter, NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get(__pFilter, "key", NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_keyword_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_get_keyword()
- */
-int utc_maps_place_filter_get_keyword_p(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set_keyword(__pFilter, "keyword");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_keyword(__pFilter, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(test);
- assert_eq(strcmp(test, "keyword"), 0);
-
- free(test);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_keyword_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_get_keyword()
- */
-int utc_maps_place_filter_get_keyword_n(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set_keyword(__pFilter, "keyword");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_keyword(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- assert(!test);
-
- ret = maps_place_filter_get_keyword(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_category_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_get_category()
- */
-int utc_maps_place_filter_get_category_p(void)
-{
- maps_place_category_h category = NULL;
- maps_place_category_h test = NULL;
-
- ret = maps_place_category_create(&category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set_category(__pFilter, category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_category(__pFilter, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_destroy(category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_category_destroy(test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_category_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_get_category()
- */
-int utc_maps_place_filter_get_category_n(void)
-{
- maps_place_category_h test = NULL;
-
- ret = maps_place_filter_get_category(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_category(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __utc_maps_place_filter_properties_cb(int index, int total, char *key, void *value, void *user_data)
-{
- free(key);
- free(value);
- return true;
-}
-
-/**
- * @testcase utc_maps_place_filter_foreach_property_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_foreach_property()
- */
-int utc_maps_place_filter_foreach_property_p(void)
-{
- ret = maps_place_filter_set(__pFilter, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_foreach_property(__pFilter, __utc_maps_place_filter_properties_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_foreach_property_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_foreach_property()
- */
-int utc_maps_place_filter_foreach_property_n(void)
-{
- ret = maps_place_filter_set(__pFilter, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_foreach_property(NULL, __utc_maps_place_filter_properties_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_foreach_property(__pFilter, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_place_name_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_get_place_name()
- */
-int utc_maps_place_filter_get_place_name_p(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set_place_name(__pFilter, "place_name");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_place_name(__pFilter, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(test, "place_name"), 0);
-
- free(test);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_place_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_get_place_name()
- */
-int utc_maps_place_filter_get_place_name_n(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_get_place_name(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_place_name(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_set()
- */
-int utc_maps_place_filter_set_p(void)
-{
- /* tested in utc_maps_place_filter_get_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_set()
- */
-int utc_maps_place_filter_set_n(void)
-{
- ret = maps_place_filter_set(NULL, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set(__pFilter, NULL, "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set(__pFilter, "key", NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_category_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_set_category()
- */
-int utc_maps_place_filter_set_category_p(void)
-{
- /* tested in utc_maps_place_filter_get_category_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_category_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_set_category()
- */
-int utc_maps_place_filter_set_category_n(void)
-{
- maps_place_category_h category = NULL;
-
- ret = maps_place_filter_set_category(NULL, category);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set_category(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_keyword_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_set_keyword()
- */
-int utc_maps_place_filter_set_keyword_p(void)
-{
- /* tested in utc_maps_place_filter_get_keyword_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_keyword_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_set_keyword()
- */
-int utc_maps_place_filter_set_keyword_n(void)
-{
- ret = maps_place_filter_set_keyword(NULL, "keyword");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set_keyword(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_place_name_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_set_place_name()
- */
-int utc_maps_place_filter_set_place_name_p(void)
-{
- /* tested in utc_maps_place_filter_get_place_name_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_place_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_set_place_name()
- */
-int utc_maps_place_filter_set_place_name_n(void)
-{
- ret = maps_place_filter_set_place_name(NULL,"place_name");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set_place_name(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_place_address_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_set_place_address()
- */
-int utc_maps_place_filter_set_place_address_p(void)
-{
- /* tested in utc_maps_place_filter_get_place_address_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_set_place_address_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_set_place_address()
- */
-int utc_maps_place_filter_set_place_address_n(void)
-{
- ret = maps_place_filter_set_place_address(NULL,"restaurant");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_set_place_address(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_place_address_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_place_filter_get_place_address()
- */
-int utc_maps_place_filter_get_place_address_p(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_set_place_address(__pFilter, "restaurant");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_place_address(__pFilter, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert_eq(strcmp(test, "restaurant"), 0);
-
- free(test);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_filter_get_place_address_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_filter_get_place_address()
- */
-int utc_maps_place_filter_get_place_address_n(void)
-{
- char *test = NULL;
-
- ret = maps_place_filter_get_place_address(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_filter_get_place_address(__pFilter, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
+++ /dev/null
-/*
- * 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_place_image.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_image_h __pImage = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_image_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_image_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_image_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_image_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_image_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_destroy()
- */
-int utc_maps_place_image_destroy_n(void)
-{
- ret = maps_place_image_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_clone()
- */
-int utc_maps_place_image_clone_n(void)
-{
- maps_place_image_h clone_place_image = NULL;
-
- ret = maps_place_image_clone(NULL, &clone_place_image);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_clone(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_url_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_url()
- */
-int utc_maps_place_image_get_url_n(void)
-{
- char *url;
-
- ret = maps_place_image_get_url(NULL, &url);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_url(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_id()
- */
-int utc_maps_place_image_get_id_n(void)
-{
- char *id;
-
- ret = maps_place_image_get_id(NULL, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_id(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_height_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_height()
- */
-int utc_maps_place_image_get_height_n(void)
-{
- int test;
-
- ret = maps_place_image_get_height(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_height(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_width_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_width()
- */
-int utc_maps_place_image_get_width_n(void)
-{
- int test;
-
- ret = maps_place_image_get_width(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_width(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_media_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_media()
- */
-int utc_maps_place_image_get_media_n(void)
-{
- maps_place_media_h media = NULL;
-
- ret = maps_place_image_get_media(NULL, &media);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_media(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_image_get_user_link_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_image_get_user_link()
- */
-int utc_maps_place_image_get_user_link_n(void)
-{
- maps_place_link_object_h user_link = NULL;
-
- ret = maps_place_image_get_user_link(NULL, user_link);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_image_get_user_link(__pImage, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_link_object.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_link_object_h __pLinkObject = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_link_object_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_link_object_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_link_object_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_link_object_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_link_object_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_destroy()
- */
-int utc_maps_place_link_object_destroy_n(void)
-{
- ret = maps_place_link_object_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_link_object_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_clone()
- */
-int utc_maps_place_link_object_clone_n(void)
-{
- maps_place_link_object_h clone_place_link_object = NULL;
-
- ret = maps_place_link_object_clone(NULL, &clone_place_link_object);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_link_object_clone(__pLinkObject, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_link_object_get_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_get_id()
- */
-int utc_maps_place_link_object_get_id_n(void)
-{
- char *id = NULL;
-
- ret = maps_place_link_object_get_id(NULL, &id);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_link_object_get_id(__pLinkObject, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_link_object_get_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_get_name()
- */
-int utc_maps_place_link_object_get_name_n(void)
-{
- char *name = NULL;
-
- ret = maps_place_link_object_get_name(NULL, &name);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_link_object_get_name(__pLinkObject, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_link_object_get_type_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_get_type()
- */
-int utc_maps_place_link_object_get_type_n(void)
-{
- char *type = NULL;
-
- ret = maps_place_link_object_get_type(NULL, &type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_link_object_get_type(__pLinkObject, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_link_object_get_string_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_link_object_get_string()
- */
-int utc_maps_place_link_object_get_string_n(void)
-{
- char *string = NULL;
-
- ret = maps_place_link_object_get_string(NULL, &string);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_link_object_get_string(__pLinkObject, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_media.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_media_h __pMedia = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_media_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_media_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_media_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_media_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_media_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_media_destroy()
- */
-int utc_maps_place_media_destroy_n(void)
-{
- ret = maps_place_media_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_media_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_media_clone()
- */
-int utc_maps_place_media_clone_n(void)
-{
- maps_place_media_h clone_place_media = NULL;
-
- ret = maps_place_media_clone(NULL, &clone_place_media);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_media_clone(__pMedia, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_media_get_attribution_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_media_get_attribution()
- */
-int utc_maps_place_media_get_attribution_n(void)
-{
- char *attribution;
-
- ret = maps_place_media_get_attribution(NULL, &attribution);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_media_get_attribution(__pMedia, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_media_get_supplier_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_media_get_supplier()
- */
-int utc_maps_place_media_get_supplier_n(void)
-{
- maps_place_link_object_h supplier = NULL;
-
- ret = maps_place_media_get_supplier(__pMedia, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_media_get_supplier(NULL, supplier);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_media_get_via_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_media_get_via()
- */
-int utc_maps_place_media_get_via_n(void)
-{
- maps_place_link_object_h via = NULL;
-
- ret = maps_place_media_get_via(__pMedia, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_media_get_via(NULL, via);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_rating.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_rating_h __pRating = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_rating_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_rating_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_rating_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_rating_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_rating_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_rating_destroy()
- */
-int utc_maps_place_rating_destroy_n(void)
-{
- ret = maps_place_rating_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_rating_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_rating_clone()
- */
-int utc_maps_place_rating_clone_n(void)
-{
- maps_place_rating_h clone_place_rating = NULL;
-
- ret = maps_place_rating_clone(NULL, &clone_place_rating);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_rating_clone(__pRating, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_rating_get_count_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_rating_get_count()
- */
-int utc_maps_place_rating_get_count_n(void)
-{
- int test = 0;
-
- ret = maps_place_rating_get_count(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_rating_get_count(__pRating, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_rating_get_average_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_rating_get_average()
- */
-int utc_maps_place_rating_get_average_n(void)
-{
- double test = .0;
-
- ret = maps_place_rating_get_average(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_rating_get_average(__pRating, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_review.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_review_h __pReview = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_review_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_review_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_review_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_review_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_review_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_destroy()
- */
-int utc_maps_place_review_destroy_n(void)
-{
- ret = maps_place_review_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_clone()
- */
-int utc_maps_place_review_clone_n(void)
-{
- maps_place_review_h clone_place_review = NULL;
-
- ret = maps_place_review_clone(NULL, &clone_place_review);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_clone(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_date_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_date()
- */
-int utc_maps_place_review_get_date_n(void)
-{
- char *date = NULL;
-
- ret = maps_place_review_get_date(NULL, &date);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_date(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_title_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_title()
- */
-int utc_maps_place_review_get_title_n(void)
-{
- char *title = NULL;
-
- ret = maps_place_review_get_title(NULL, &title);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_title(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_description_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_description()
- */
-int utc_maps_place_review_get_description_n(void)
-{
- char *description = NULL;
-
- ret = maps_place_review_get_description(NULL, &description);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_description(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_language_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_language()
- */
-int utc_maps_place_review_get_language_n(void)
-{
- char *language = NULL;
-
- ret = maps_place_review_get_language(NULL, &language);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_language(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_rating_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_rating()
- */
-int utc_maps_place_review_get_rating_n(void)
-{
- double test = .0;
-
- ret = maps_place_review_get_rating(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_rating(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_media_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_media()
- */
-int utc_maps_place_review_get_media_n(void)
-{
- maps_place_media_h media = NULL;
-
- ret = maps_place_review_get_media(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_media(NULL, &media);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_review_get_user_link_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_review_get_user_link()
- */
-int utc_maps_place_review_get_user_link_n(void)
-{
- maps_place_link_object_h user_link = NULL;
-
- ret = maps_place_review_get_user_link(__pReview, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_review_get_user_link(NULL, user_link);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_place_url.h>
-#include <maps_service.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_place_url_h __pUrl = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_place_url_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_url_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_place_url_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_place_url_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_place_url_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_url_destroy()
- */
-int utc_maps_place_url_destroy_n(void)
-{
- ret = maps_place_url_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_url_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_url_clone()
- */
-int utc_maps_place_url_clone_n(void)
-{
- maps_place_url_h clone_place_url = NULL;
-
- ret = maps_place_url_clone(NULL, &clone_place_url);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_url_clone(__pUrl, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_url_get_path_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_url_get_path()
- */
-int utc_maps_place_url_get_path_n(void)
-{
- char *path = NULL;
-
- ret = maps_place_url_get_path(NULL, &path);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_url_get_path(__pUrl, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_place_url_get_description_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_place_url_get_description()
- */
-int utc_maps_place_url_get_description_n(void)
-{
- char *description = NULL;
-
- ret = maps_place_url_get_description(NULL, &description);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_place_url_get_description(__pUrl, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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_preference.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_preference_h preference = NULL;
-static int iterations = 0;
-static bool is_maps_supported = false;
-
-/* typedef bool (*maps_preference_properties_cb)(int index, int total, char *key, char *value, void* user_data); */
-static bool __utc_maps_preference_properties_cb(int index, int total, char *key, char *value, void* user_data)
-{
- assert(key);
- assert(value);
- assert(index >= 0);
- assert(total > 0);
- assert(index < total);
- iterations++;
- free(key);
- free(value);
- return true;
-}
-
-
-/**
- * @function utc_maps_preference_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_preference_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- maps_preference_create(&preference);
- iterations = 0;
-}
-
-/**
- * @function utc_maps_preference_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_preference_cleanup(void)
-{
- maps_preference_destroy(preference);
-}
-
-/**
- * @testcase utc_maps_preference_create_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_create()
- */
-int utc_maps_preference_create_p(void)
-{
- maps_preference_h test_preference = NULL;
-
- ret = maps_preference_create(&test_preference);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(test_preference);
-
- ret = maps_preference_destroy(test_preference);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_create()
- */
-int utc_maps_preference_create_n(void)
-{
- ret = maps_preference_create(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_destroy_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_destroy()
- */
-int utc_maps_preference_destroy_p(void)
-{
- /* Tested in utc_maps_preference_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_destroy()
- */
-int utc_maps_preference_destroy_n(void)
-{
- ret = maps_preference_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_clone_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_clone()
- */
-int utc_maps_preference_clone_p(void)
-{
- maps_preference_h cloned = NULL;
-
- ret = maps_preference_clone(preference, &cloned);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(cloned);
-
- ret = maps_preference_destroy(cloned);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_clone()
- */
-int utc_maps_preference_clone_n(void)
-{
- maps_preference_h cloned = NULL;
-
- ret = maps_preference_clone(NULL, &cloned);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_clone(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_clone(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_distance_unit_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_distance_unit()
- */
-int utc_maps_preference_get_distance_unit_p(void)
-{
- maps_distance_unit_e unit = MAPS_DISTANCE_UNIT_KM;
-
- ret = maps_preference_set_distance_unit(preference, MAPS_DISTANCE_UNIT_M);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_distance_unit(preference, &unit);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(unit, MAPS_DISTANCE_UNIT_M);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_distance_unit_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_distance_unit()
- */
-int utc_maps_preference_get_distance_unit_n(void)
-{
- maps_distance_unit_e unit = MAPS_DISTANCE_UNIT_KM;
-
- ret = maps_preference_get_distance_unit(NULL, &unit);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_distance_unit(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_distance_unit(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_language_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_language()
- */
-int utc_maps_preference_get_language_p(void)
-{
- char *language = NULL;
-
- ret = maps_preference_set_language(preference, "EN-US");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_language(preference, &language);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(language);
- assert_eq(strcmp(language, "EN-US"), 0);
-
- free(language);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_language_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_language()
- */
-int utc_maps_preference_get_language_n(void)
-{
- char *language = NULL;
-
- ret = maps_preference_get_language(NULL, &language);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_language(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_language(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_max_results_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_max_results()
- */
-int utc_maps_preference_get_max_results_p(void)
-{
- int max_results = 0;
-
- ret = maps_preference_set_max_results(preference, 4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_max_results(preference, &max_results);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(max_results, 4);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_max_results_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_max_results()
- */
-int utc_maps_preference_get_max_results_n(void)
-{
- int max_results = 0;
-
- ret = maps_preference_get_max_results(NULL, &max_results);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_max_results(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_max_results(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_country_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_country_code()
- */
-int utc_maps_preference_get_country_code_p(void)
-{
- char *country_code = NULL;
-
- ret = maps_preference_set_country_code(preference, "RUS");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_country_code(preference, &country_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(country_code);
- assert_eq(strcmp(country_code, "RUS"), 0);
-
- free(country_code);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_country_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_country_code()
- */
-int utc_maps_preference_get_country_code_n(void)
-{
- char *country_code = NULL;
-
- ret = maps_preference_get_country_code(NULL, &country_code);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_country_code(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_country_code(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_optimization_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_route_optimization()
- */
-int utc_maps_preference_get_route_optimization_p(void)
-{
- maps_route_optimization_e optimization = MAPS_ROUTE_TYPE_SHORTEST;
-
- ret = maps_preference_set_route_optimization(preference, MAPS_ROUTE_TYPE_FASTEST);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_optimization(preference, &optimization);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(optimization, MAPS_ROUTE_TYPE_FASTEST);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_optimization_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_route_optimization()
- */
-int utc_maps_preference_get_route_optimization_n(void)
-{
- maps_route_optimization_e optimization = MAPS_ROUTE_TYPE_SHORTEST;
-
- ret = maps_preference_get_route_optimization(NULL, &optimization);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_optimization(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_optimization(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_transport_mode_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_route_transport_mode()
- */
-int utc_maps_preference_get_route_transport_mode_p(void)
-{
- maps_route_transport_mode_e transport_mode = MAPS_ROUTE_TRANSPORT_MODE_TRUCK;
-
- ret = maps_preference_set_route_transport_mode(preference, MAPS_ROUTE_TRANSPORT_MODE_CAR);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_transport_mode(preference, &transport_mode);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(transport_mode, MAPS_ROUTE_TRANSPORT_MODE_CAR);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_transport_mode_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_route_transport_mode()
- */
-int utc_maps_preference_get_route_transport_mode_n(void)
-{
- maps_route_transport_mode_e transport_mode = MAPS_ROUTE_TRANSPORT_MODE_TRUCK;
-
- ret = maps_preference_get_route_transport_mode(NULL, &transport_mode);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_transport_mode(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_transport_mode(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_feature_weight_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_route_feature_weight()
- */
-int utc_maps_preference_get_route_feature_weight_p(void)
-{
- maps_route_feature_weight_e feature_weight = MAPS_ROUTE_FEATURE_WEIGHT_NORMAL;
-
- ret = maps_preference_set_route_feature_weight(preference, MAPS_ROUTE_FEATURE_WEIGHT_AVOID);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature_weight(preference, &feature_weight);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(feature_weight, MAPS_ROUTE_FEATURE_WEIGHT_AVOID);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_feature_weight_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_route_feature_weight()
- */
-int utc_maps_preference_get_route_feature_weight_n(void)
-{
- maps_route_feature_weight_e feature_weight = MAPS_ROUTE_FEATURE_WEIGHT_NORMAL;
-
- ret = maps_preference_get_route_feature_weight(NULL, &feature_weight);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature_weight(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature_weight(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_feature_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_route_feature()
- */
-int utc_maps_preference_get_route_feature_p(void)
-{
- maps_route_feature_e feature = MAPS_ROUTE_FEATURE_NO;
-
- ret = maps_preference_set_route_feature(preference, MAPS_ROUTE_FEATURE_TOLL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature(preference, &feature);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(feature, MAPS_ROUTE_FEATURE_TOLL);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_feature_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_route_feature()
- */
-int utc_maps_preference_get_route_feature_n(void)
-{
- maps_route_feature_e feature = MAPS_ROUTE_FEATURE_NO;
-
- ret = maps_preference_get_route_feature(NULL, &feature);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_feature(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get()
- */
-int utc_maps_preference_get_p(void)
-{
- char *value = NULL;
-
- ret = maps_preference_set_property(preference, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get(preference, "key", &value);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported) {
- assert(value);
- assert_eq(strcmp(value, "value"), 0);
-
- free(value);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get()
- */
-int utc_maps_preference_get_n(void)
-{
- char *value = NULL;
-
- ret = maps_preference_get(NULL, "key", &value);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get(preference, NULL, &value);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get(preference, "key", NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_foreach_property_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_foreach_property()
- */
-int utc_maps_preference_foreach_property_p(void)
-{
- ret = maps_preference_set_property(preference, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_foreach_property(preference, __utc_maps_preference_properties_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert_eq(iterations, 1);
- return 0;
- }
-
-/**
- * @testcase utc_maps_preference_foreach_property_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_foreach_property()
- */
-int utc_maps_preference_foreach_property_n(void)
-{
- ret = maps_preference_foreach_property(NULL, __utc_maps_preference_properties_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_foreach_property(preference, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_foreach_property(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_distance_unit_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_distance_unit()
- */
-int utc_maps_preference_set_distance_unit_p(void)
-{
- /* Tested in utc_maps_preference_set_distance_unit_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_distance_unit_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_distance_unit()
- */
-int utc_maps_preference_set_distance_unit_n(void)
-{
- ret = maps_preference_set_distance_unit(NULL, MAPS_DISTANCE_UNIT_M);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_distance_unit(preference, 100);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_distance_unit(preference, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_language_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_language()
- */
-int utc_maps_preference_set_language_p(void)
-{
- /* Tested in utc_maps_preference_get_language_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_language_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_language()
- */
-int utc_maps_preference_set_language_n(void)
-{
- ret = maps_preference_set_language(NULL, "EN-US");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_language(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_language(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_max_results_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_max_results()
- */
-int utc_maps_preference_set_max_results_p(void)
-{
- /* Tested in utc_maps_preference_get_max_results_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_max_results_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_max_results()
- */
-int utc_maps_preference_set_max_results_n(void)
-{
- ret = maps_preference_set_max_results(NULL, 4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_max_results(preference, 0);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_max_results(NULL, 0);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_country_code_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_country_code()
- */
-int utc_maps_preference_set_country_code_p(void)
-{
- /* Tested in utc_maps_preference_get_country_code_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_country_code_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_country_code()
- */
-int utc_maps_preference_set_country_code_n(void)
-{
- ret = maps_preference_set_country_code(NULL, "RUS");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_country_code(preference, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_country_code(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_optimization_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_route_optimization()
- */
-int utc_maps_preference_set_route_optimization_p(void)
-{
- /* Tested in utc_maps_preference_get_route_optimization_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_optimization_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_route_optimization()
- */
-int utc_maps_preference_set_route_optimization_n(void)
-{
- ret = maps_preference_set_route_optimization(NULL, MAPS_ROUTE_TYPE_FASTEST);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_transport_mode_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_route_transport_mode()
- */
-int utc_maps_preference_set_route_transport_mode_p(void)
-{
- /* Tested in utc_maps_preference_get_route_transport_mode_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_transport_mode_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_route_transport_mode()
- */
-int utc_maps_preference_set_route_transport_mode_n(void)
-{
- ret = maps_preference_set_route_transport_mode(NULL, MAPS_ROUTE_TRANSPORT_MODE_CAR);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_transport_mode(preference, 100);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_transport_mode(preference, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_feature_weight_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_route_feature_weight()
- */
-int utc_maps_preference_set_route_feature_weight_p(void)
-{
- /* Tested in utc_maps_preference_get_route_feature_weight_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_feature_weight_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_route_feature_weight()
- */
-int utc_maps_preference_set_route_feature_weight_n(void)
-{
- ret = maps_preference_set_route_feature_weight(NULL, MAPS_ROUTE_FEATURE_WEIGHT_AVOID);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_feature_weight(preference, 5);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_feature_weight(preference, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_feature_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_route_feature()
- */
-int utc_maps_preference_set_route_feature_p(void)
-{
- /* Tested in utc_maps_preference_get_route_feature_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_feature_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_route_feature()
- */
-int utc_maps_preference_set_route_feature_n(void)
-{
- ret = maps_preference_set_route_feature(NULL, MAPS_ROUTE_FEATURE_TOLL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_feature(preference, 11);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_route_feature(preference, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_property_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_property()
- */
-int utc_maps_preference_set_property_p(void)
-{
- /* Tested in utc_maps_preference_get_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_property_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_property()
- */
-int utc_maps_preference_set_property_n(void)
-{
- ret = maps_preference_set_property(NULL, "key", "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_property(preference, NULL, "value");
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_property(preference, "key", NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_set_property(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_alternatives_enabled_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_set_route_alternatives_enabled()
- */
-int utc_maps_preference_set_route_alternatives_enabled_p(void)
-{
- /* Tested in utc_maps_preference_get_route_alternatives_enabled_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_set_route_alternatives_enabled_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_set_route_alternatives_enabled()
- */
-int utc_maps_preference_set_route_alternatives_enabled_n(void)
-{
- ret = maps_preference_set_route_alternatives_enabled(NULL, true);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_alternatives_enabled_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_preference_get_route_alternatives_enabled()
- */
-int utc_maps_preference_get_route_alternatives_enabled_p(void)
-{
- bool enable = false;
-
- ret = maps_preference_set_route_alternatives_enabled(preference, true);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_preference_get_route_alternatives_enabled(preference, &enable);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(enable);
- return 0;
-}
-
-/**
- * @testcase utc_maps_preference_get_route_alternatives_enabled_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_preference_get_route_alternatives_enabled()
- */
-int utc_maps_preference_get_route_alternatives_enabled_n(void)
-{
- ret = maps_preference_get_route_alternatives_enabled(NULL, (bool*)true);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
+++ /dev/null
-/*
- * 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 <unistd.h>
-#include <maps_route.h>
-#include <maps_error.h>
-#include <maps_service.h>
-#include <maps_coordinates.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_route_h __pRoute = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_route_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_route_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_route_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_destroy()
- */
-int utc_maps_route_destroy_n(void)
-{
- ret = maps_route_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_clone()
- */
-int utc_maps_route_clone_n(void)
-{
- maps_route_h clone = NULL;
-
- ret = maps_route_clone(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_clone(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_route_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_route_id()
- */
-int utc_maps_route_get_route_id_n(void)
-{
- char *test = NULL;
-
- ret = maps_route_get_route_id(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_route_id(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_route_id(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_origin_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_origin()
- */
-int utc_maps_route_get_origin_n(void)
-{
- maps_coordinates_h origin = NULL;
-
- ret = maps_route_get_origin(NULL, &origin);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_origin(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_origin(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_destination_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_destination()
- */
-int utc_maps_route_get_destination_n(void)
-{
- maps_coordinates_h destination = NULL;
-
- ret = maps_route_get_destination(NULL, &destination);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_destination(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_destination(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_bounding_box_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_bounding_box()
- */
-int utc_maps_route_get_bounding_box_n(void)
-{
- maps_area_h area = NULL;
-
- ret = maps_route_get_bounding_box(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_bounding_box(NULL, &area);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_bounding_box(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_total_distance_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_total_distance()
- */
-int utc_maps_route_get_total_distance_n(void)
-{
- double test = .0;
-
- ret = maps_route_get_total_distance(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_total_distance(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_total_distance(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_transport_mode_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_transport_mode()
- */
-int utc_maps_route_get_transport_mode_n(void)
-{
- maps_route_transport_mode_e test = MAPS_ROUTE_TRANSPORT_MODE_TRUCK;
-
- ret = maps_route_get_transport_mode(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_transport_mode(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_transport_mode(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_total_duration_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_total_duration()
- */
-int utc_maps_route_get_total_duration_n(void)
-{
- long test = 0l;
-
- ret = maps_route_get_total_duration(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_total_duration(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_total_duration(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_get_distance_unit_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_get_distance_unit()
- */
-int utc_maps_route_get_distance_unit_n(void)
-{
- maps_distance_unit_e test = MAPS_DISTANCE_UNIT_M;
-
- ret = maps_route_get_distance_unit(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_get_distance_unit(__pRoute, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-static bool __route_foreach_property_cb(int index, int total, char *key, void *value, void *user_data)
-{
- free(key);
- free(value);
- return true;
-}
-
-/**
- * @testcase utc_maps_route_foreach_property_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_foreach_property()
- */
-int utc_maps_route_foreach_property_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_route_foreach_property(__pRoute, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_property(NULL, __route_foreach_property_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_property(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_route_path_cb(int index, int total, maps_coordinates_h coordinates, void *user_data)
-{
- ret = maps_coordinates_destroy(coordinates);
- assert_eq(ret, MAPS_ERROR_NONE);
- return true;
-}
-
-/**
- * @testcase utc_maps_route_foreach_path_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_foreach_path()
- */
-int utc_maps_route_foreach_path_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_route_foreach_path(__pRoute, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_path(NULL, __utc_maps_route_path_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_path(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_route_segment_cb(int index, int total, maps_route_segment_h segment, void *user_data)
-{
- ret = maps_route_segment_destroy(segment);
- assert_eq(ret, MAPS_ERROR_NONE);
- return true;
-}
-
-/**
- * @testcase utc_maps_route_foreach_segment_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_foreach_segment()
- */
-int utc_maps_route_foreach_segment_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_route_foreach_segment(__pRoute, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_segment(NULL, __utc_maps_route_segment_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_foreach_segment(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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 <unistd.h>
-#include <maps_error.h>
-#include <maps_route_maneuver.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_route_maneuver_h __pManeuver = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_route_maneuver_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_maneuver_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_route_maneuver_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_maneuver_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_route_maneuver_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_destroy()
- */
-int utc_maps_route_maneuver_destroy_n(void)
-{
- ret = maps_route_maneuver_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_clone()
- */
-int utc_maps_route_maneuver_clone_n(void)
-{
- maps_route_maneuver_h clone = NULL;
-
- ret = maps_route_maneuver_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_clone(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_direction_id_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_direction_id()
- */
-int utc_maps_route_maneuver_get_direction_id_n(void)
-{
- maps_route_direction_e test = MAPS_ROUTE_DIRECTION_SOUTH;
-
- ret = maps_route_maneuver_get_direction_id(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_direction_id(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_direction_id(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_turn_type_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_turn_type()
- */
-int utc_maps_route_maneuver_get_turn_type_n(void)
-{
- maps_route_turn_type_e test = MAPS_ROUTE_TURN_TYPE_NONE;
-
- ret = maps_route_maneuver_get_turn_type(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_turn_type(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_turn_type(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_position_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_position()
- */
-int utc_maps_route_maneuver_get_position_n(void)
-{
- maps_coordinates_h position = NULL;
-
- ret = maps_route_maneuver_get_position(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_position(NULL, &position);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_road_name_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_road_name()
- */
-int utc_maps_route_maneuver_get_road_name_n(void)
-{
- char *test = NULL;
-
- ret = maps_route_maneuver_get_road_name(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_road_name(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_instruction_text_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_instruction_text()
- */
-int utc_maps_route_maneuver_get_instruction_text_n(void)
-{
- char *test = NULL;
-
- ret = maps_route_maneuver_get_instruction_text(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_instruction_text(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_locale_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_locale()
- */
-int utc_maps_route_maneuver_get_locale_n(void)
-{
- char *test = NULL;
-
- ret = maps_route_maneuver_get_locale(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_locale(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_time_to_next_instruction_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_time_to_next_instruction()
- */
-int utc_maps_route_maneuver_get_time_to_next_instruction_n(void)
-{
- int test = 0;
-
- ret = maps_route_maneuver_get_time_to_next_instruction(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_time_to_next_instruction(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_maneuver_get_distance_to_next_instruction_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_maneuver_get_distance_to_next_instruction()
- */
-int utc_maps_route_maneuver_get_distance_to_next_instruction_n(void)
-{
- double test = .0;
-
- ret = maps_route_maneuver_get_distance_to_next_instruction(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_maneuver_get_distance_to_next_instruction(__pManeuver, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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 <unistd.h>
-#include <maps_error.h>
-#include <maps_route_segment.h>
-#include "utc_maps_utils.h"
-
-static int ret = 0;
-static maps_route_segment_h __pSegment = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_maps_route_segment_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_segment_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_maps_route_segment_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_route_segment_cleanup(void)
-{
-}
-
-/**
- * @testcase utc_maps_route_segment_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_destroy()
- */
-int utc_maps_route_segment_destroy_n(void)
-{
- ret = maps_route_segment_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_clone_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_clone()
- */
-int utc_maps_route_segment_clone_n(void)
-{
- maps_route_segment_h clone = NULL;
-
- ret = maps_route_segment_clone(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_clone(NULL, &clone);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_get_origin_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_get_origin()
- */
-int utc_maps_route_segment_get_origin_n(void)
-{
- maps_coordinates_h origin = NULL;
-
- ret = maps_route_segment_get_origin(NULL, &origin);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_origin(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_origin(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_get_destination_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_get_destination()
- */
-int utc_maps_route_segment_get_destination_n(void)
-{
- maps_coordinates_h destination = NULL;
-
- ret = maps_route_segment_get_destination(NULL, &destination);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_destination(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_destination(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_get_bounding_box_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_get_bounding_box()
- */
-int utc_maps_route_segment_get_bounding_box_n(void)
-{
- maps_area_h area = NULL;
-
- ret = maps_route_segment_get_bounding_box(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_bounding_box(NULL, &area);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_get_distance_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_get_distance()
- */
-int utc_maps_route_segment_get_distance_n(void)
-{
- double test = .0;
-
- ret = maps_route_segment_get_distance(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_distance(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_distance(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_route_segment_get_duration_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_get_duration()
- */
-int utc_maps_route_segment_get_duration_n(void)
-{
- long test = 0;
-
- ret = maps_route_segment_get_duration(NULL, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_duration(__pSegment, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_get_duration(NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/* Make all callbacks static */
-/* Check index, total, data ptr */
-static bool __utc_maps_route_segment_path_cb(int index, int total, maps_coordinates_h coordinates, void *user_data)
-{
- ret = maps_coordinates_destroy(coordinates);
- assert_eq(ret, MAPS_ERROR_NONE);
- return true;
-}
-
-/**
- * @testcase utc_maps_route_segment_foreach_path_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_foreach_path()
- */
-int utc_maps_route_segment_foreach_path_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_route_segment_foreach_path(__pSegment, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_foreach_path(NULL, __utc_maps_route_segment_path_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_foreach_path(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_route_segment_maneuver_cb(int index, int total, maps_route_maneuver_h maneuver, void *user_data)
-{
- ret = maps_route_maneuver_destroy(maneuver);
- assert_eq(ret, MAPS_ERROR_NONE);
- return true;
-}
-
-/**
- * @testcase utc_maps_route_segment_foreach_maneuver_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_route_segment_foreach_maneuver()
- */
-int utc_maps_route_segment_foreach_maneuver_n(void)
-{
- void *user_data = NULL;
-
- ret = maps_route_segment_foreach_maneuver(__pSegment, NULL, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_foreach_maneuver(NULL, __utc_maps_route_segment_maneuver_cb, user_data);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_route_segment_foreach_maneuver(NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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;
-
-/**
- * @function utc_maps_service_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_service_startup(void)
-{
- if (__pMaps) return;
-
- is_internet_supported = _is_internet_feature_supported();
- is_maps_supported = _is_maps_feature_supported();
-
- GetValueFromConfigFile("HERE_MAPS_PROVIDER_KEY", maps_provider_key, API_NAMESPACE);
-
- maps_service_create(__utc_get_maps_provider_name_here(), &__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_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_service_cleanup(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)
-{
- free(maps_provider);
- service_available = true;
- return true;
-}
-
-/**
- * @testcase utc_maps_service_foreach_provider_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_foreach_provider()
- */
-int utc_maps_service_foreach_provider_p(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)
- assert(service_available);
- service_available = false;
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_foreach_provider_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_foreach_provider()
- */
-int utc_maps_service_foreach_provider_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_create()
- */
-int utc_maps_service_create_p(void)
-{
- maps_service_h service = NULL;
-
- ret = maps_service_create(__utc_get_maps_provider_name_here(), &service);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(service);
-
- ret = maps_service_destroy(service);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_create_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_create()
- */
-int utc_maps_service_create_n(void)
-{
- maps_service_h maps = NULL;
-
- ret = maps_service_create(__utc_get_maps_provider_name_here(), 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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_destroy()
- */
-int utc_maps_service_destroy_p(void)
-{
- /* tested in utc_maps_service_create_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_destroy_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_destroy()
- */
-int utc_maps_service_destroy_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_set_provider_key()
- */
-int utc_maps_service_set_provider_key_p(void)
-{
- ret = maps_service_set_provider_key(__pMaps, maps_provider_key);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_set_provider_key_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_set_provider_key()
- */
-int utc_maps_service_set_provider_key_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_get_provider_key()
- */
-int utc_maps_service_get_provider_key_p(void)
-{
- char *maps_key = NULL;
-
- ret = maps_service_get_provider_key(__pMaps, &maps_key);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_maps_supported)
- assert(maps_key);
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_get_provider_key_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_get_provider_key()
- */
-int utc_maps_service_get_provider_key_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_set_preference()
- */
-int utc_maps_service_set_preference_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_set_preference()
- */
-int utc_maps_service_set_preference_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_get_preference()
- */
-int utc_maps_service_get_preference_p(void)
-{
- maps_preference_h preference = NULL;
-
- ret = maps_service_get_preference(__pMaps, &preference);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_get_preference_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_get_preference()
- */
-int utc_maps_service_get_preference_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_provider_is_service_supported()
- */
-int utc_maps_service_provider_is_service_supported_p(void)
-{
- bool test = false;
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_INSIDE_AREA, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_GEOCODE_BY_STRUCTURED_ADDRESS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_REVERSE_GEOCODE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_AREA, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_BY_ADDRESS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_ROUTE_WAYPOINTS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_CANCEL_REQUEST, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_MULTI_REVERSE_GEOCODE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_PLACE_LIST, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW_SNAPSHOT, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_provider_is_service_supported_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_provider_is_service_supported()
- */
-int utc_maps_service_provider_is_service_supported_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_provider_is_data_supported()
- */
-int utc_maps_service_provider_is_data_supported_p(void)
-{
- bool test = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_ADDRESS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_RATING, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_CATEGORIES, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_ATTRIBUTES, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_CONTACTS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_EDITORIALS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_REVIEWS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_IMAGE, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_SUPPLIER, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_PLACE_RELATED, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_PATH, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_SEGMENTS_PATH, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_ROUTE_SEGMENTS_MANEUVERS, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &test);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_provider_is_data_supported_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_provider_is_data_supported()
- */
-int utc_maps_service_provider_is_data_supported_n(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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_geocode()
- */
-int utc_maps_service_geocode_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode(__pMaps, "Berlin", __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_supported, MAPS_ERROR_NONE, 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_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_geocode()
- */
-int utc_maps_service_geocode_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, __utc_maps_location_foreach_cb, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, 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 && is_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_geocode_inside_area_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_geocode_inside_area()
- */
-int utc_maps_service_geocode_inside_area_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ret = maps_coordinates_destroy(top_left);
- assert_eq(ret, MAPS_ERROR_NONE);
- ret = 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_internet_supported && 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 {
- ret = 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_geocode_inside_area_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_geocode_inside_area()
- */
-int utc_maps_service_geocode_inside_area_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_inside_area_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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_inside_area_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode_inside_area(__pMaps, "Berlin", boundary, __preference, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_inside_area_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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_inside_area_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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_geocode_by_structured_address()
- */
-int utc_maps_service_geocode_by_structured_address_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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, "Berlin");
- assert_eq(ret, MAPS_ERROR_NONE);
- /* ret= maps_address_set_street(address, "Rosa-Luxemburg"); */
- /* assert_eq(ret, MAPS_ERROR_NONE); */
- /* ret = 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_geocode_by_structured_address_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_geocode_by_structured_address()
- */
-int utc_maps_service_geocode_by_structured_address_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_by_structured_address_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode_by_structured_address(__pMaps, address, __preference, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_by_structured_address_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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_geocode_by_structured_address_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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_reverse_geocode()
- */
-int utc_maps_service_reverse_geocode_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_reverse_geocode(__pMaps, 12.944594, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_reverse_geocode_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_internet_supported && is_maps_supported && is_reverse_geocode_supported) {
- wait_for_service();
- assert(service_available);
- service_available = false;
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_reverse_geocode_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_reverse_geocode()
- */
-int utc_maps_service_reverse_geocode_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_reverse_geocode(__pMaps, -91.00, 77.554303, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_reverse_geocode(__pMaps, 12.944594, 181.4546, __preference, __utc_maps_address_foreach_cb, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_reverse_geocode(__pMaps, 12.944594, 77.554303, __preference, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_reverse_geocode_supported, MAPS_ERROR_INVALID_PARAMETER, 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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_cancel_request()
- */
-int utc_maps_service_cancel_request_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_geocode(__pMaps, "Bangalore, India", __preference, __utc_maps_location_foreach_cb, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_cancel_request_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- if (is_internet_supported && is_maps_supported && is_cancel_request_supported) {
- ret = maps_service_cancel_request(__pMaps, request_id);
- assert_eq(ret, MAPS_ERROR_NONE);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_cancel_request_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_cancel_request()
- */
-int utc_maps_service_cancel_request_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_cancel_request_supported, MAPS_ERROR_INVALID_PARAMETER, 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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_route()
- */
-int utc_maps_service_search_route_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_route_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_route()
- */
-int utc_maps_service_search_route_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_route_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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_route_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route(__pMaps, origin, dest, __preference, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_route_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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_route_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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_route_waypoints()
- */
-int utc_maps_service_search_route_waypoints_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_route_waypoints_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_route_waypoints()
- */
-int utc_maps_service_search_route_waypoints_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route_waypoints(__pMaps, NULL, 3, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, NULL, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route_waypoints(__pMaps, waypoints, 3, __preference, __utc_maps_route_service_found_cb, NULL, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route_waypoints(__pMaps, waypoints, -1, __preference, __utc_maps_route_service_found_cb, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_route_waypoints(NULL, NULL, 0, NULL, NULL, NULL, NULL);
- assert_eq(ret, 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_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_place()
- */
-int utc_maps_service_search_place_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_place()
- */
-int utc_maps_service_search_place_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place(__pMaps, coords, 100, NULL, __preference, __utc_maps_service_search_place_cb, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place(__pMaps, coords, 0, places_fil, __preference, NULL, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place(__pMaps, coords, 0, places_fil, __preference, __utc_maps_service_search_place_cb, NULL, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place(NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
- assert_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_by_area_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_place_by_area()
- */
-int utc_maps_service_search_place_by_area_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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(52.51605, 12.37691, &top_left);
- maps_coordinates_create(54.12351, 14.22351, &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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_by_area_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_place_by_area()
- */
-int utc_maps_service_search_place_by_area_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_eq(ret, 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_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place_by_area(__pMaps, area, places_fil, __preference, NULL, NULL, &request_id);
- assert_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place_by_area(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_by_address_p
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_place_by_address()
- */
-int utc_maps_service_search_place_by_address_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_by_address_n
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_place_by_address()
- */
-int utc_maps_service_search_place_by_address_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_eq(ret, 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_eq(ret, 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_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place_by_address(__pMaps, "Berlin", area, places_fil, __preference, NULL, NULL, &request_id);
- assert_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place_by_address(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
- assert_eq(ret, 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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_multi_reverse_geocode()
- */
-int utc_maps_service_multi_reverse_geocode_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_multi_reverse_geocode_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_multi_reverse_geocode()
- */
-int utc_maps_service_multi_reverse_geocode_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_multi_reverse_geocode(__pMaps, NULL, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, NULL, NULL, &request_id);
- assert_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_multi_reverse_geocode(__pMaps, coordinates_list, __preference, __utc_maps_service_multi_reverse_geocode_cb, NULL, NULL);
- assert_eq(ret, 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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_search_place_list()
- */
-int utc_maps_service_search_place_list_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_search_place_list_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_search_place_list()
- */
-int utc_maps_service_search_place_list_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- 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_eq(ret, 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_eq(ret, 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_search_place_list(__pMaps, boundary, places_fil, __preference, NULL, NULL, &request_id);
- assert_eq(ret, 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_eq(ret, 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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_get_place_details()
- */
-int utc_maps_service_get_place_details_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_SEARCH_GET_PLACE_DETAILS, &is_search_get_place_details_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- if (is_maps_supported) {
- ret = maps_place_filter_create(&places_fil);
- assert_eq(ret, MAPS_ERROR_NONE);
- assert(places_fil);
-
- ret = maps_place_filter_set_keyword(places_fil, "restaurant");
- 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_internet_supported && 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_internet_supported && 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_get_place_details_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_get_place_details()
- */
-int utc_maps_service_get_place_details_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_get_place_details(__pMaps, __place_uri, NULL, NULL, &request_id);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_service_get_place_details(__pMaps, __place_uri, __utc_maps_service_get_place_details_cb, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_internet_supported && is_maps_supported && is_search_get_place_details_supported, MAPS_ERROR_INVALID_PARAMETER, 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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_service_request_user_consent()
- */
-int utc_maps_service_request_user_consent_p(void)
-{
- ret = maps_service_request_user_consent(__utc_get_maps_provider_name_here(), __utc_maps_service_request_user_consent_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_service_request_user_consent_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_service_request_user_consent()
- */
-int utc_maps_service_request_user_consent_n(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_here(), 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;
-}
+++ /dev/null
-/*
- * 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 "utc_maps_utils.h"
-
-static bool _is_removed_checked_providers = false;
-static bool _is_removed_HERE = false;
-
-static char *MAPS_PROVIDER_NAME_HERE = "HERE";
-
-static bool __check_removed_provider_cb(char *maps_provider, void *user_data)
-{
- free(maps_provider);
- return true;
-}
-
-char *__utc_get_maps_provider_name_here()
-{
- return MAPS_PROVIDER_NAME_HERE;
-}
-
-bool _is_internet_feature_supported(void)
-{
- bool __is_supported = true;
- char *profile = NULL;
- int ret = system_info_get_platform_string("http://tizen.org/feature/profile", &profile);
- if (ret == SYSTEM_INFO_ERROR_NONE && profile && *profile) {
- if (!strcmp("wearable", profile))
- system_info_get_platform_bool("http://tizen.org/feature/network.internet", &__is_supported);
- }
- if (profile)
- free(profile);
- return __is_supported;
-}
-
-bool _is_maps_feature_supported(void)
-{
- bool __is_supported = true;
- system_info_get_platform_bool("http://tizen.org/feature/maps", &__is_supported);
- return __is_supported;
-}
-
+++ /dev/null
-/*
- * 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.
- */
-
-#ifndef __TCT_CAPI_MAPS_SERVICE_UTILS_H__
-#define __TCT_CAPI_MAPS_SERVICE_UTILS_H__
-
-#include "tct_common.h"
-#include "assert.h"
-#include <dlog.h>
-#include <maps_service.h>
-
-#define _LOG(fmt, args...) { \
- dlog_print (DLOG_INFO, "CAPI_MAPS_SERVICE_UTC", "[%s:%d] "fmt"\n", __func__, __LINE__, ##args); \
-}
-
-#define API_NAMESPACE "CAPI_MAPS_SERVICE_UTC"
-#define INTERNET_FEATURE "http://tizen.org/feature/network.internet"
-
-#define ASSERT_IF_VAL_REF2(var, cond, ref1, ref2) \
- if (cond) { \
- if (var != ref1) { \
- fprintf(stderr, \
- "\\n[TCT][%s][Line : %d] Assert fail; Values (0x%X) and (%s) are not equal\\n", __FILE__, __LINE__, var, #ref1); \
- return 1; \
- } \
- } else { \
- if (var != ref2) { \
- fprintf(stderr, \
- "\\n[TCT][%s][Line : %d] Assert fail; Values (0x%X) and (%s) are not equal\\n", __FILE__, __LINE__, var, #ref2); \
- return 1; \
- } \
- } \
-
-/* Returns the name of current provider */
-char *__utc_get_maps_provider_name_here();
-
-bool _is_internet_feature_supported(void);
-bool _is_maps_feature_supported(void);
-
-#endif /*__TCT_CAPI_MAPS_SERVICE_UTILS_H__*/
+++ /dev/null
-/*
- * 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"
-
-static int ret = 0;
-static maps_view_event_data_h event = NULL;
-static bool is_maps_supported = false;
-
-/**
- * @function utc_map_view_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_event_data_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-}
-
-/**
- * @function utc_map_view_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_event_data_cleanup(void)
-{
-}
-
-/*
- * @testcase utc_maps_view_event_data_destroy_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_destroy()
- */
-int utc_maps_view_event_data_destroy_n(void)
-{
- ret = maps_view_event_data_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_clone_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_clone()
- */
-int utc_maps_view_event_data_clone_n(void)
-{
- maps_view_event_data_h cloned = NULL;
-
- ret = maps_view_event_data_clone(NULL, &cloned);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_clone(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_type_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_type()
- */
-int utc_maps_view_event_data_get_type_n(void)
-{
- maps_view_event_type_e event_type;
-
- ret = maps_view_event_data_get_type(NULL, &event_type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_type(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_gesture_type_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_gesture_type()
- */
-int utc_maps_view_event_data_get_gesture_type_n(void)
-{
- maps_view_gesture_e gesture_type;
-
- ret = maps_view_event_data_get_gesture_type(NULL, &gesture_type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_gesture_type(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_action_type_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_action_type()
- */
-int utc_maps_view_event_data_get_action_type_n(void)
-{
- maps_view_action_e action_type;
-
- ret = maps_view_event_data_get_action_type(NULL, &action_type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_action_type(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_center_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_center()
- */
-int utc_maps_view_event_data_get_center_n(void)
-{
- maps_coordinates_h center = NULL;
-
- ret = maps_view_event_data_get_center(NULL, ¢er);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_center(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_delta_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_delta()
- */
-int utc_maps_view_event_data_get_delta_n(void)
-{
- int delta_x = 0, delta_y = 0;
-
- ret = maps_view_event_data_get_delta(NULL, &delta_x, &delta_y);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_delta(event, NULL, &delta_y);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_delta(event, &delta_x, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_position_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_position()
- */
-int utc_maps_view_event_data_get_position_n(void)
-{
- int x = 0, y = 0;
-
- ret = maps_view_event_data_get_position(NULL, &x, &y);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_position(event, NULL, &y);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_position(event, &x, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_fingers_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_fingers()
- */
-int utc_maps_view_event_data_get_fingers_n(void)
-{
- int fingers = 0;
-
- ret = maps_view_event_data_get_fingers(NULL, &fingers);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_fingers(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_zoom_factor_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_zoom_factor()
- */
-int utc_maps_view_event_data_get_zoom_factor_n(void)
-{
- double zoom_factor = 0.0;
-
- ret = maps_view_event_data_get_zoom_factor(NULL, &zoom_factor);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_zoom_factor(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_rotation_angle_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_rotation_angle()
- */
-int utc_maps_view_event_data_get_rotation_angle_n(void)
-{
- double rotation_angle = 0.0;
-
- ret = maps_view_event_data_get_rotation_angle(NULL, &rotation_angle);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_rotation_angle(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_object_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_object()
- */
-int utc_maps_view_event_data_get_object_n(void)
-{
- maps_view_object_h object = NULL;
-
- ret = maps_view_event_data_get_object(NULL, &object);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_object(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_event_data_get_coordinates_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_event_data_get_coordinates()
- */
-int utc_maps_view_event_data_get_coordinates_n(void)
-{
- maps_coordinates_h coordinates = NULL;
-
- ret = maps_view_event_data_get_coordinates(NULL, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_event_data_get_coordinates(event, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
+++ /dev/null
-/*
- * 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 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_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_startup(void)
-{
- if (__pMaps) return;
-
- is_internet_supported = _is_internet_feature_supported();
- is_maps_supported = _is_maps_feature_supported();
-
- 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("HERE_MAPS_PROVIDER_KEY", maps_provider_key, API_NAMESPACE);
- maps_service_create(__utc_get_maps_provider_name_here(), &__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_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_cleanup(void)
-{
- maps_view_destroy(maps_view_handle);
- maps_service_destroy(__pMaps);
-
- evas_object_del(win);
-
- maps_view_handle = NULL;
- __pMaps = NULL;
- win = NULL;
-}
-
-/**
- * @testcase utc_maps_view_create_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_create()
- */
-int utc_maps_view_create_p(void)
-{
- ret = maps_view_destroy(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);
-
- maps_view_handle = NULL;
-
- ret = maps_view_create(__pMaps, win, &maps_view_handle);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_maps_view_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_create_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_create()
- */
-int utc_maps_view_create_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_maps_view_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_create(__pMaps, win, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported && is_maps_view_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_get_center_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_center()
- */
-int utc_maps_view_get_center_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_center()
-*/
-int utc_maps_view_get_center_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_center()
- */
-int utc_maps_view_set_center_p(void)
-{
- /* tested in utc_maps_view_get_center_p */
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_set_center_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_center()
-*/
-int utc_maps_view_set_center_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_zoom_level()
- */
-int utc_maps_view_get_zoom_level_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_zoom_level()
-*/
-int utc_maps_view_get_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_zoom_level()
- */
-int utc_maps_view_set_zoom_level_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_zoom_level()
-*/
-int utc_maps_view_set_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_min_zoom_level()
- */
-int utc_maps_view_get_min_zoom_level_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_min_zoom_level()
-*/
-int utc_maps_view_get_min_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_max_zoom_level()
- */
-int utc_maps_view_get_max_zoom_level_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_max_zoom_level()
-*/
-int utc_maps_view_get_max_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_orientation()
- */
-int utc_maps_view_set_orientation_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_orientation()
-*/
-int utc_maps_view_set_orientation_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_orientation()
- */
-int utc_maps_view_get_orientation_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_orientation()
-*/
-int utc_maps_view_get_orientation_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_screen_to_geolocation()
- */
-int utc_maps_view_screen_to_geolocation_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_screen_to_geolocation()
-*/
-int utc_maps_view_screen_to_geolocation_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_geolocation_to_screen()
- */
-int utc_maps_view_geolocation_to_screen_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_geolocation_to_screen()
-*/
-int utc_maps_view_geolocation_to_screen_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_type()
- */
-int utc_maps_view_set_type_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_type()
-*/
-int utc_maps_view_set_type_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_type()
- */
-int utc_maps_view_get_type_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_type()
-*/
-int utc_maps_view_get_type_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_buildings_enabled()
- */
-int utc_maps_view_set_buildings_enabled_p(void)
-{
- bool is_building_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_set_buildings_enabled(maps_view_handle, false);
- if (is_internet_supported && is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_set_buildings_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_buildings_enabled()
-*/
-int utc_maps_view_set_buildings_enabled_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_buildings_enabled()
- */
-int utc_maps_view_get_buildings_enabled_p(void)
-{
- bool is_building_supported = false;
- bool enabled = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_get_buildings_enabled(maps_view_handle, &enabled);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_get_buildings_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_buildings_enabled()
-*/
-int utc_maps_view_get_buildings_enabled_n(void)
-{
- bool enabled = false;
- bool is_building_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_BUILDING, &is_building_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_set_traffic_enabled_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_traffic_enabled()
- */
-int utc_maps_view_set_traffic_enabled_p(void)
-{
- bool is_traffic_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_set_traffic_enabled(maps_view_handle, false);
- if (is_internet_supported && is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_set_traffic_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_traffic_enabled()
-*/
-int utc_maps_view_set_traffic_enabled_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_traffic_enabled()
- */
-int utc_maps_view_get_traffic_enabled_p(void)
-{
- bool is_traffic_supported = false;
- bool enabled = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_get_traffic_enabled(maps_view_handle, &enabled);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_get_traffic_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_traffic_enabled()
-*/
-int utc_maps_view_get_traffic_enabled_n(void)
-{
- bool enabled = false;
- bool is_traffic_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_TRAFFIC, &is_traffic_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_set_public_transit_enabled_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_public_transit_enabled()
- */
-int utc_maps_view_set_public_transit_enabled_p(void)
-{
- bool is_public_transit_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_PUBLIC_TRANSIT, &is_public_transit_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_set_public_transit_enabled(maps_view_handle, false);
- if (is_internet_supported && is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_set_public_transit_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_public_transit_enabled()
-*/
-int utc_maps_view_set_public_transit_enabled_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_public_transit_enabled()
- */
-int utc_maps_view_get_public_transit_enabled_p(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_get_public_transit_enabled(maps_view_handle, &enabled);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_get_public_transit_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_public_transit_enabled()
-*/
-int utc_maps_view_get_public_transit_enabled_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_set_language_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_language()
- */
-int utc_maps_view_set_language_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_language()
-*/
-int utc_maps_view_set_language_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_language()
- */
-int utc_maps_view_get_language_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_language()
-*/
-int utc_maps_view_get_language_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_viewport()
- */
-int utc_maps_view_get_viewport_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_viewport()
-*/
-int utc_maps_view_get_viewport_n(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 @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_screen_location()
- */
-int utc_maps_view_set_screen_location_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_screen_location()
-*/
-int utc_maps_view_set_screen_location_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_screen_location()
- */
-int utc_maps_view_get_screen_location_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_screen_location()
-*/
-int utc_maps_view_get_screen_location_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_move()
- */
-int utc_maps_view_move_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_move()
-*/
-int utc_maps_view_move_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_resize()
- */
-int utc_maps_view_resize_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_resize()
-*/
-int utc_maps_view_resize_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_visibility()
- */
-int utc_maps_view_set_visibility_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_visibility()
-*/
-int utc_maps_view_set_visibility_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_visibility()
- */
-int utc_maps_view_get_visibility_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_visibility()
-*/
-int utc_maps_view_get_visibility_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_event_cb()
- */
-int utc_maps_view_set_event_cb_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_event_cb()
-*/
-int utc_maps_view_set_event_cb_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_unset_event_cb()
- */
-int utc_maps_view_unset_event_cb_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_unset_event_cb()
-*/
-int utc_maps_view_unset_event_cb_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_gesture_enabled()
- */
-int utc_maps_view_set_gesture_enabled_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_gesture_enabled()
-*/
-int utc_maps_view_set_gesture_enabled_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_gesture_enabled()
- */
-int utc_maps_view_get_gesture_enabled_p(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_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_gesture_enabled()
-*/
-int utc_maps_view_get_gesture_enabled_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_scalebar_enabled()
- */
-int utc_maps_view_set_scalebar_enabled_p(void)
-{
- bool is_scalebar_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_set_scalebar_enabled(maps_view_handle, false);
- if (is_internet_supported && is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_set_scalebar_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_set_scalebar_enabled()
-*/
-int utc_maps_view_set_scalebar_enabled_n(void)
-{
- bool is_scalebar_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- 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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_get_scalebar_enabled()
- */
-int utc_maps_view_get_scalebar_enabled_p(void)
-{
- bool enabled = false;
- bool is_scalebar_supported = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_get_scalebar_enabled(maps_view_handle, &enabled);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
-* @testcase utc_maps_view_get_scalebar_enabled_n
-* @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
-* @description Negative test case of maps_view_get_scalebar_enabled()
-*/
-int utc_maps_view_get_scalebar_enabled_n(void)
-{
- bool is_scalebar_supported = false;
- bool enabled = false;
-
- ret = maps_service_provider_is_data_supported(__pMaps, MAPS_VIEW_SCALEBAR, &is_scalebar_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_add_object_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_add_object()
- */
-int utc_maps_view_add_object_p(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_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_add_object()
- */
-int utc_maps_view_add_object_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_remove_object()
- */
-int utc_maps_view_remove_object_p(void)
-{
- /* tested in utc_maps_view_add_object_p */
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_remove_object_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_remove_object()
- */
-int utc_maps_view_remove_object_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_remove_all_objects()
- */
-int utc_maps_view_remove_all_objects_p(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_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_remove_all_objects()
- */
-int utc_maps_view_remove_all_objects_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_foreach_object()
- */
-int utc_maps_view_foreach_object_p(void)
-{
- /* tested in utc_maps_view_add_object_p */
- return 0;
-}
-
-/*
- * @testcase utc_maps_view_foreach_object_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_foreach_object()
- */
-int utc_maps_view_foreach_object_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_min_zoom_level()
- */
-int utc_maps_view_set_min_zoom_level_p(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_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_set_min_zoom_level()
- */
-int utc_maps_view_set_min_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_set_max_zoom_level()
- */
-int utc_maps_view_set_max_zoom_level_p(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_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_set_max_zoom_level()
- */
-int utc_maps_view_set_max_zoom_level_n(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_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_capture_snapshot()
- */
-int utc_maps_view_capture_snapshot_p(void)
-{
- bool is_snapshot_supported = false;
-
- ret = maps_service_provider_is_service_supported(__pMaps, MAPS_SERVICE_VIEW_SNAPSHOT, &is_snapshot_supported);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/*
- * @testcase utcmaps_view_capture_snapshot_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_capture_snapshot()
- */
-int utc_maps_view_capture_snapshot_n(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);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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 == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP, -1, path);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- ret = maps_view_capture_snapshot(maps_view_handle, MAPS_VIEW_SNAPSHOT_BMP, 50, NULL);
- if (is_maps_supported == true) {
- if (is_maps_view_supported == true) {
- 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_eq(ret, MAPS_ERROR_NOT_SUPPORTED);
- }
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_destroy_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_destroy()
- */
-int utc_maps_view_destroy_p(void)
-{
- /* tested in utc_maps_view_create_p */
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_destroy_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_destroy()
- */
-int utc_maps_view_destroy_n(void)
-{
- ret = maps_view_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
+++ /dev/null
-/*
- * 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 <app.h>
-#include <string.h>
-#include "assert.h"
-#include <maps_view.h>
-#include <maps_service.h>
-#include <maps_error.h>
-#include <unistd.h>
-#include <glib.h>
-#include <Evas.h>
-#include <Elementary.h>
-#include "utc_maps_utils.h"
-
-#define IMAGE_FILENAME "location_01_ic.png"
-#define NEW_IMAGE_FILENAME "location_02_ic.png"
-
-static Evas_Object *win = NULL;
-static int ret = 0;
-static char image_path[4096] = {0, };
-static bool is_maps_supported = false;
-static maps_view_object_h overlay = NULL;
-
-static bool dummy_maps_coordinates_cb(int index, maps_coordinates_h coordinates, void *user_data)
-{
- return true;
-}
-
-/**
- * @function utc_map_view_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_object_startup(void)
-{
- is_maps_supported = _is_maps_feature_supported();
-
- 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);
-
- char *res_path = app_get_resource_path();
- if (res_path) {
- snprintf(image_path, 4096, "%s%s", res_path, IMAGE_FILENAME);
- free(res_path);
- }
-}
-
-/**
- * @function utc_map_view_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_object_cleanup(void)
-{
- elm_shutdown();
- win = NULL;
-}
-
-/**
- * @testcase utc_maps_view_object_create_marker_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_create_marker()
- */
-int utc_maps_view_object_create_marker_p(void)
-{
- maps_view_object_h marker = NULL;
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL;
- maps_view_object_type_e type = MAPS_VIEW_OBJECT_POLYLINE;
-
- bool visible = false;
- char *file_path = NULL;
- char new_image_path[4096] = {0, };
- int width = 0, height = 0;
- maps_view_marker_type_e marker_type;
- int z_order = 0;
-
- char *res_path = app_get_resource_path();
- if (res_path) {
- snprintf(new_image_path, 4096, "%s%s", res_path, NEW_IMAGE_FILENAME);
- free(res_path);
- }
-
- 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_view_object_create_marker(coord1, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_get_type(marker, &type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_set_visible(marker, false);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_get_visible(marker, &visible);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_coordinates(marker, coord2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_coordinates(marker, &coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_resize(marker, 10, 10);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_image_file(marker, new_image_path);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_image_file(marker, &file_path);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- free(file_path);
- file_path = NULL;
-
- ret = maps_view_object_marker_get_size(marker, &width, &height);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_type(marker, &marker_type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_z_order(marker, 0);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_z_order(marker, &z_order);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_destroy(coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_create_marker_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_create_marker()
- */
-int utc_maps_view_object_create_marker_n(void)
-{
- maps_view_object_h marker = NULL;
- 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_object_create_marker(NULL, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_marker(coord, NULL, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN - 1, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, 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_object_destroy_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_destroy()
- */
-int utc_maps_view_object_destroy_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_destroy_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_destroy()
- */
-int utc_maps_view_object_destroy_n(void)
-{
- ret = maps_view_object_destroy(NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_get_type_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_get_type()
- */
-int utc_maps_view_object_get_type_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_get_type_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_get_type()
- */
-int utc_maps_view_object_get_type_n(void)
-{
- maps_view_object_type_e type = MAPS_VIEW_OBJECT_POLYLINE;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_get_type(NULL, &type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_get_type(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_set_visible_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_set_visible()
- */
-int utc_maps_view_object_set_visible_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_set_visible_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_set_visible()
- */
-int utc_maps_view_object_set_visible_n(void)
-{
- ret = maps_view_object_set_visible(NULL, false);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_get_visible_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_get_visible()
- */
-int utc_maps_view_object_get_visible_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_get_visible_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_get_visible()
- */
-int utc_maps_view_object_get_visible_n(void)
-{
- bool visible = false;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_get_visible(NULL, &visible);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_get_visible(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_coordinates_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_set_coordinates()
- */
-int utc_maps_view_object_marker_set_coordinates_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_coordinates_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_set_coordinates()
- */
-int utc_maps_view_object_marker_set_coordinates_n(void)
-{
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_set_coordinates(NULL, coord);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_coordinates(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_resize_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_resize()
- */
-int utc_maps_view_object_marker_resize_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_resize_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_resize()
- */
-int utc_maps_view_object_marker_resize_n(void)
-{
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_resize(NULL, 10, 10);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_resize(marker, -1, 10);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_resize(marker, 10, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_image_file_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_set_image_file()
- */
-int utc_maps_view_object_marker_set_image_file_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_image_file_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_set_image_file()
- */
-int utc_maps_view_object_marker_set_image_file_n(void)
-{
- maps_view_object_h marker = NULL;
- maps_coordinates_h coord = NULL;
-
- char new_image_path[4096] = {0, };
- char *res_path = app_get_resource_path();
- if (res_path) {
- snprintf(image_path, 4096, "%s%s", res_path, NEW_IMAGE_FILENAME);
- free(res_path);
- }
-
- 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_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_set_image_file(NULL, new_image_path);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_image_file(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_image_file_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_get_image_file()
- */
-int utc_maps_view_object_marker_get_image_file_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_image_file_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_get_image_file()
- */
-int utc_maps_view_object_marker_get_image_file_n(void)
-{
- char *file_path = NULL;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_get_image_file(NULL, &file_path);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- free(file_path);
- file_path = NULL;
-
- ret = maps_view_object_marker_get_image_file(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_coordinates_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_get_coordinates()
- */
-int utc_maps_view_object_marker_get_coordinates_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_coordinates_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_get_coordinates()
- */
-int utc_maps_view_object_marker_get_coordinates_n(void)
-{
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_get_coordinates(NULL, &coord);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_coordinates(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_size_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_get_size()
- */
-int utc_maps_view_object_marker_get_size_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_size_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_get_size()
- */
-int utc_maps_view_object_marker_get_size_n(void)
-{
- int width = 0, height = 0;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_get_size(NULL, &width, &height);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_size(marker, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_type_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_get_type()
- */
-int utc_maps_view_object_marker_get_type_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_type_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_get_type()
- */
-int utc_maps_view_object_marker_get_type_n(void)
-{
- maps_view_marker_type_e type;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_get_type(NULL, &type);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_type(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_z_order_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_set_z_order()
- */
-int utc_maps_view_object_marker_set_z_order_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_set_z_order_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_set_z_order()
- */
-int utc_maps_view_object_marker_set_z_order_n(void)
-{
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_set_z_order(NULL, 0);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_set_z_order(marker, -101);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_z_order_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_marker_get_z_order()
- */
-int utc_maps_view_object_marker_get_z_order_p(void)
-{
- /* tested in utc_maps_view_object_create_marker_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_marker_get_z_order_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_marker_get_z_order()
- */
-int utc_maps_view_object_marker_get_z_order_n(void)
-{
- int z_order = 0;
- maps_view_object_h marker = NULL;
- 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_object_create_marker(coord, image_path, MAPS_VIEW_MARKER_PIN, &marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_marker_get_z_order(NULL, &z_order);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_marker_get_z_order(marker, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(marker);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_create_polyline_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_create_polyline()
- */
-int utc_maps_view_object_create_polyline_p(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL, coord4 = NULL;
- maps_coordinates_list_h coord_list1 = NULL, coord_list2 = NULL;
- maps_view_object_h polyline = NULL;
- unsigned char r, g, b, a;
- int width = 0;
-
- 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_list1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list1, coord1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list1, coord2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_create(5.0, 5.0, &coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_create(15.0, 15.0, &coord4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_create(&coord_list2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list2, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list2, coord4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polyline(coord_list1, '1', '1', '1', '1', 1, &polyline);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_set_polyline(polyline, coord_list2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_foreach_point(polyline, dummy_maps_coordinates_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_set_color(polyline, '2', '2', '2', '2');
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_get_color(polyline, &r, &g, &b, &a);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_set_width(polyline, 2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_get_width(polyline, &width);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, 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_object_create_polyline_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_create_polyline()
- */
-int utc_maps_view_object_create_polyline_n(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(NULL, '1', '1', '1', '1', 1, &polyline);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polyline(coord_list, '1', '1', '1', '1', 0, &polyline);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polyline(coord_list, '1', '1', '1', '1', 1, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_coordinates_list_destroy(coord_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_set_polyline_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_set_polyline()
- */
-int utc_maps_view_object_polyline_set_polyline_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_set_polyline_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_set_polyline()
- */
-int utc_maps_view_object_polyline_set_polyline_n(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_object_polyline_set_polyline(NULL, coord_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_set_polyline(polyline, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_coordinates_list_destroy(coord_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_foreach_point_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_foreach_point()
- */
-int utc_maps_view_object_polyline_foreach_point_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_foreach_point_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_foreach_point()
- */
-int utc_maps_view_object_polyline_foreach_point_n(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_object_polyline_foreach_point(NULL, dummy_maps_coordinates_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_foreach_point(polyline, NULL, 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_object_polyline_set_color_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_set_color()
- */
-int utc_maps_view_object_polyline_set_color_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_set_color_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_set_color()
- */
-int utc_maps_view_object_polyline_set_color_n(void)
-{
- ret = maps_view_object_polyline_set_color(NULL, '2', '2', '2', '2');
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_get_color_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_get_color()
- */
-int utc_maps_view_object_polyline_get_color_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_get_color_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_get_color()
- */
-int utc_maps_view_object_polyline_get_color_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polyline = NULL;
- unsigned char r, g, b, a;
-
- 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_object_polyline_get_color(NULL, &r, &g, &b, &a);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_get_color(polyline, NULL, NULL, NULL, 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_object_polyline_set_width_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_set_width()
- */
-int utc_maps_view_object_polyline_set_width_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_set_width_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_set_width()
- */
-int utc_maps_view_object_polyline_set_width_n(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_object_polyline_set_width(NULL, 2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_set_width(polyline, -1);
- 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_object_polyline_get_width_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polyline_get_width()
- */
-int utc_maps_view_object_polyline_get_width_p(void)
-{
- /* tested in utc_maps_view_object_create_polyline_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polyline_get_width_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polyline_get_width()
- */
-int utc_maps_view_object_polyline_get_width_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polyline = NULL;
- int width = 0;
-
- 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_object_polyline_get_width(NULL, &width);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polyline_get_width(polyline, 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_object_create_polygon_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_create_polygon()
- */
-int utc_maps_view_object_create_polygon_p(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL, coord4 = NULL, coord5 = NULL, coord6 = NULL;
- maps_coordinates_list_h coord_list1 = NULL, coord_list2 = NULL;
- maps_view_object_h polygon = NULL;
- unsigned char r, g, b, a;
-
- 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_create(10.0, 0.0, &coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_create(&coord_list1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list1, coord1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list1, coord2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list1, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_create(0.0, 1.0, &coord4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_create(10.0, 11.0, &coord5);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_create(10.0, 1.0, &coord6);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_create(&coord_list2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list2, coord4);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list2, coord5);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_list_append(coord_list2, coord6);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polygon(coord_list1, '1', '1', '1', '1', &polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_set_polygon(polygon, coord_list2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_foreach_point(polygon, dummy_maps_coordinates_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_set_fill_color(polygon, '2', '2', '2', '2');
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_get_fill_color(polygon, &r, &g, &b, &a);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_destroy(polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_create_polygon_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_create_polygon()
- */
-int utc_maps_view_object_create_polygon_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polygon = 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_create(10.0, 0.0, &coord3);
- 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_coordinates_list_append(coord_list, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_create_polygon(NULL, '1', '1', '1', '1', &polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polygon(coord_list, '1', '1', '1', '1', NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_coordinates_list_destroy(coord_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_set_polygon_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polygon_set_polygon()
- */
-int utc_maps_view_object_polygon_set_polygon_p(void)
-{
- /* tested in utc_maps_view_object_create_polygon_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_set_polygon_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polygon_set_polygon()
- */
-int utc_maps_view_object_polygon_set_polygon_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polygon = 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_create(10.0, 0.0, &coord3);
- 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_coordinates_list_append(coord_list, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polygon(coord_list, '1', '1', '1', '1', &polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_polygon_set_polygon(NULL, coord_list);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_set_polygon(polygon, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_foreach_point_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polygon_foreach_point()
- */
-int utc_maps_view_object_polygon_foreach_point_p(void)
-{
- /* tested in utc_maps_view_object_create_polygon_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_foreach_point_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polygon_foreach_point()
- */
-int utc_maps_view_object_polygon_foreach_point_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polygon = 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_create(10.0, 0.0, &coord3);
- 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_coordinates_list_append(coord_list, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polygon(coord_list, '1', '1', '1', '1', &polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_polygon_foreach_point(NULL, dummy_maps_coordinates_cb, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_foreach_point(polygon, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_destroy(polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_set_fill_color_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polygon_set_fill_color()
- */
-int utc_maps_view_object_polygon_set_fill_color_p(void)
-{
- /* tested in utc_maps_view_object_create_polygon_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_set_fill_color_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polygon_set_fill_color()
- */
-int utc_maps_view_object_polygon_set_fill_color_n(void)
-{
- ret = maps_view_object_polygon_set_fill_color(NULL, '1', '1', '1', '1');
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_get_fill_color_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_polygon_get_fill_color()
- */
-int utc_maps_view_object_polygon_get_fill_color_p(void)
-{
- /* tested in utc_maps_view_object_create_polygon_p */
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_polygon_get_fill_color_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_polygon_get_fill_color()
- */
-int utc_maps_view_object_polygon_get_fill_color_n(void)
-{
- maps_coordinates_h coord1 = NULL, coord2 = NULL, coord3 = NULL;
- maps_coordinates_list_h coord_list = NULL;
- maps_view_object_h polygon = NULL;
- unsigned char r, g, b, a;
-
- 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_create(10.0, 0.0, &coord3);
- 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_coordinates_list_append(coord_list, coord3);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_polygon(coord_list, '1', '1', '1', '1', &polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
-
- ret = maps_view_object_polygon_get_fill_color(NULL, &r, &g, &b, &a);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_polygon_get_fill_color(polygon, NULL, NULL, NULL, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_destroy(polygon);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @function utc_map_view_startup
- * @description Called before each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_object_overlay_startup(void)
-{
- utc_maps_view_object_startup();
-
- maps_coordinates_h coordinate = NULL;
- Evas_Object *object = elm_button_add(win);
- maps_view_overlay_type_e type = MAPS_VIEW_OVERLAY_NORMAL;
-
- maps_coordinates_create(0.0, 0.0, &coordinate);
- maps_view_object_create_overlay(coordinate, object, type, &overlay);
-}
-
-/**
- * @function utc_map_view_cleanup
- * @description Called after each test
- * @parameter NA
- * @return NA
- */
-void utc_maps_view_object_overlay_cleanup(void)
-{
- maps_view_object_destroy(overlay);
- utc_maps_view_object_cleanup();
-}
-
-/**
- * @testcase utc_maps_view_object_create_overlay_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_create_overlay()
- */
-int utc_maps_view_object_create_overlay_p(void)
-{
- maps_coordinates_h coordinate = NULL;
- Evas_Object *object = elm_button_add(win);
- maps_view_overlay_type_e type = MAPS_VIEW_OVERLAY_NORMAL;
- maps_view_object_h overlay2 = NULL;
-
- ret = maps_coordinates_create(0.0, 0.0, &coordinate);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_overlay(coordinate, object, type, &overlay2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_set_visible(overlay2, true);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_set_visible(overlay2, false);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_destroy(overlay2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_create_overlay_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_create_overlay()
- */
-int utc_maps_view_object_create_overlay_n(void)
-{
- maps_coordinates_h coordinate = NULL;
- Evas_Object *object = NULL;
- maps_view_overlay_type_e type = MAPS_VIEW_OVERLAY_NORMAL;
- maps_view_object_h overlay2 = NULL;
-
- ret = maps_coordinates_create(0.0, 0.0, &coordinate);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_overlay(NULL, object, type, &overlay2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_overlay(coordinate, NULL, type, &overlay2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_overlay(coordinate, object, type - 1, &overlay2);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_create_overlay(coordinate, object, type, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_destroy(coordinate);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_object_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_get_object()
- */
-int utc_maps_view_object_overlay_get_object_p(void)
-{
- Evas_Object *object = NULL;
-
- ret = maps_view_object_overlay_get_object(overlay, &object);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_object_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_get_object()
- */
-int utc_maps_view_object_overlay_get_object_n(void)
-{
- Evas_Object *object = NULL;
-
- ret = maps_view_object_overlay_get_object(NULL, &object);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_get_object(overlay, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_coordinates_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_set_coordinates()
- */
-int utc_maps_view_object_overlay_set_coordinates_p(void)
-{
- maps_coordinates_h coordinates = NULL;
- ret = maps_coordinates_create(1.0, 1.0, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_set_coordinates(overlay, coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_coordinates_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_set_coordinates()
- */
-int utc_maps_view_object_overlay_set_coordinates_n(void)
-{
- maps_coordinates_h coordinates = NULL;
-
- ret = maps_coordinates_create(1.0, 1.0, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_set_coordinates(NULL, coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_set_coordinates(overlay, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_destroy(coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_coordinates_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_get_coordinates()
- */
-int utc_maps_view_object_overlay_get_coordinates_p(void)
-{
- maps_coordinates_h coordinates = NULL;
-
- ret = maps_view_object_overlay_get_coordinates(overlay, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_coordinates_destroy(coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_coordinates_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_get_coordinates()
- */
-int utc_maps_view_object_overlay_get_coordinates_n(void)
-{
- maps_coordinates_h coordinates = NULL;
-
- ret = maps_view_object_overlay_get_coordinates(NULL, &coordinates);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_get_coordinates(overlay, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_min_zoom_level_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_set_min_zoom_level()
- */
-int utc_maps_view_object_overlay_set_min_zoom_level_p(void)
-{
- ret = maps_view_object_overlay_set_min_zoom_level(overlay, 1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_min_zoom_level_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_set_min_zoom_level()
- */
-int utc_maps_view_object_overlay_set_min_zoom_level_n(void)
-{
- ret = maps_view_object_overlay_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_object_overlay_set_min_zoom_level(overlay, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_min_zoom_level_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_get_min_zoom_level()
- */
-int utc_maps_view_object_overlay_get_min_zoom_level_p(void)
-{
- int zoom_level = 0;
-
- ret = maps_view_object_overlay_get_min_zoom_level(overlay, &zoom_level);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_min_zoom_level_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_get_min_zoom_level()
- */
-int utc_maps_view_object_overlay_get_min_zoom_level_n(void)
-{
- int zoom_level = 0;
-
- ret = maps_view_object_overlay_get_min_zoom_level(NULL, &zoom_level);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_get_min_zoom_level(overlay, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_max_zoom_level_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_set_max_zoom_level()
- */
-int utc_maps_view_object_overlay_set_max_zoom_level_p(void)
-{
- ret = maps_view_object_overlay_set_max_zoom_level(overlay, 20);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_set_max_zoom_level_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_set_max_zoom_level()
- */
-int utc_maps_view_object_overlay_set_max_zoom_level_n(void)
-{
- ret = maps_view_object_overlay_set_max_zoom_level(NULL, 5);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_set_max_zoom_level(overlay, -1);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_max_zoom_level_p
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Positive test case of maps_view_object_overlay_get_max_zoom_level()
- */
-int utc_maps_view_object_overlay_get_max_zoom_level_p(void)
-{
- int zoom_level = 0;
-
- ret = maps_view_object_overlay_get_max_zoom_level(overlay, &zoom_level);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_NONE, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-
-/**
- * @testcase utc_maps_view_object_overlay_get_max_zoom_level_n
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
- * @description Negative test case of maps_view_object_overlay_get_max_zoom_level()
- */
-int utc_maps_view_object_overlay_get_max_zoom_level_n(void)
-{
- int zoom_level = 0;
-
- ret = maps_view_object_overlay_get_max_zoom_level(NULL, &zoom_level);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- ret = maps_view_object_overlay_get_max_zoom_level(overlay, NULL);
- ASSERT_IF_VAL_REF2(ret, is_maps_supported, MAPS_ERROR_INVALID_PARAMETER, MAPS_ERROR_NOT_SUPPORTED);
-
- return 0;
-}
-