utc_elm_map: Merge TCs to reduce duplicate test operations 11/193211/2
authorApurv Khatri <apurv.khatri@samsung.com>
Fri, 16 Nov 2018 05:55:22 +0000 (11:25 +0530)
committerHermet Park <chuneon.park@samsung.com>
Tue, 20 Nov 2018 09:40:47 +0000 (09:40 +0000)
Change-Id: I8675762d14370ec658879d9de7f744ff82cd085e

57 files changed:
TC/elementary/map/tslist
TC/elementary/map/tslist_fhub
TC/elementary/map/tslist_mobile
TC/elementary/map/tslist_tv
TC/elementary/map/tslist_wear
TC/elementary/map/utc_elm_map_add.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_class_zoom_max_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_color_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_color_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_color_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_content_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_content_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_content_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_data_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_data_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_data_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_hide_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_hide_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_hide_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_icon_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_icon_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_icon_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_paused_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_paused_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_paused_set.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_region_get.c [deleted file]
TC/elementary/map/utc_elm_map_overlay_region_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_overlay_region_set.c [deleted file]
TC/elementary/map/utc_elm_map_paused_get.c [deleted file]
TC/elementary/map/utc_elm_map_paused_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_paused_set.c [deleted file]
TC/elementary/map/utc_elm_map_rotate_get.c [deleted file]
TC/elementary/map/utc_elm_map_rotate_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_rotate_set.c [deleted file]
TC/elementary/map/utc_elm_map_source_get.c [deleted file]
TC/elementary/map/utc_elm_map_source_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_source_set.c [deleted file]
TC/elementary/map/utc_elm_map_user_agent_get.c [deleted file]
TC/elementary/map/utc_elm_map_user_agent_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_user_agent_set.c [deleted file]
TC/elementary/map/utc_elm_map_wheel_disabled_get.c [deleted file]
TC/elementary/map/utc_elm_map_wheel_disabled_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_wheel_disabled_set.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_max_get.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_max_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_zoom_max_set.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_min_get.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_min_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_zoom_min_set.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_mode_get.c [deleted file]
TC/elementary/map/utc_elm_map_zoom_mode_get_set.c [new file with mode: 0644]
TC/elementary/map/utc_elm_map_zoom_mode_set.c [deleted file]

index dcb7f3152c43c42962c0e855d95f73323f794537..78d5bf11e458725e6f445055e42590a388acbe6c 100644 (file)
@@ -6,60 +6,44 @@ utc_elm_map_overlay_bubble_follow.c
 utc_elm_map_overlay_class_add.c
 utc_elm_map_overlay_class_append.c
 utc_elm_map_overlay_class_remove.c
-utc_elm_map_overlay_class_zoom_max_get.c
-utc_elm_map_overlay_class_zoom_max_set.c
-utc_elm_map_overlay_color_get.c
-utc_elm_map_overlay_color_set.c
-utc_elm_map_overlay_content_get.c
-utc_elm_map_overlay_content_set.c
-utc_elm_map_overlay_data_get.c
-utc_elm_map_overlay_data_set.c
+utc_elm_map_overlay_class_zoom_max_get_set.c
+utc_elm_map_overlay_color_get_set.c
+utc_elm_map_overlay_content_get_set.c
+utc_elm_map_overlay_data_get_set.c
 utc_elm_map_overlay_del.c
-utc_elm_map_overlay_displayed_zoom_min_get.c
-utc_elm_map_overlay_displayed_zoom_min_set.c
+utc_elm_map_overlay_displayed_zoom_min_get_set.c
 utc_elm_map_overlay_get_cb_set.c
-utc_elm_map_overlay_hide_get.c
-utc_elm_map_overlay_hide_set.c
-utc_elm_map_overlay_icon_get.c
-utc_elm_map_overlay_icon_set.c
-utc_elm_map_overlay_paused_get.c
-utc_elm_map_overlay_paused_set.c
-utc_elm_map_overlay_region_get.c
-utc_elm_map_overlay_region_set.c
+utc_elm_map_overlay_hide_get_set.c
+utc_elm_map_overlay_icon_get_set.c
+utc_elm_map_overlay_paused_get_set.c
+utc_elm_map_overlay_region_get_set.c
 utc_elm_map_overlay_route_add.c
 utc_elm_map_overlay_show.c
 utc_elm_map_overlay_type_get.c
 utc_elm_map_overlays_show.c
-utc_elm_map_add.c
 utc_elm_map_name_add.c
 utc_elm_map_name_address_get.c
 utc_elm_map_name_region_get.c
-utc_elm_map_paused_get.c
-utc_elm_map_paused_set.c
+utc_elm_map_paused_get_set.c
 utc_elm_map_region_bring_in.c
 utc_elm_map_region_get.c
 utc_elm_map_region_show.c
 utc_elm_map_region_zoom_bring_in.c
-utc_elm_map_rotate_get.c
-utc_elm_map_rotate_set.c
+utc_elm_map_rotate_get_set.c
 utc_elm_map_route_add.c
 utc_elm_map_route_del.c
 utc_elm_map_route_distance_get.c
 utc_elm_map_route_node_get.c
 utc_elm_map_route_waypoint_get.c
-utc_elm_map_source_get.c
-utc_elm_map_source_set.c
+utc_elm_map_source_get_set.c
 utc_elm_map_sources_get.c
 utc_elm_map_tile_load_status_get.c
 utc_elm_map_track_add.c
 utc_elm_map_track_remove.c
 utc_elm_map_zoom_get.c
-utc_elm_map_zoom_max_get.c
-utc_elm_map_zoom_max_set.c
-utc_elm_map_zoom_min_get.c
-utc_elm_map_zoom_min_set.c
-utc_elm_map_zoom_mode_get.c
-utc_elm_map_zoom_mode_set.c
+utc_elm_map_zoom_max_get_set.c
+utc_elm_map_zoom_min_get_set.c
+utc_elm_map_zoom_mode_get_set.c
 utc_elm_map_zoom_set.c
 utc_elm_map_name_del.c
 utc_elm_map_name_search.c
@@ -73,8 +57,6 @@ utc_elm_map_overlay_scale_add.c
 utc_elm_map_overlay_visible_get.c
 utc_elm_map_overlays_get.c
 utc_elm_map_region_to_canvas_convert.c
-utc_elm_map_user_agent_get.c
-utc_elm_map_user_agent_set.c
-utc_elm_map_wheel_disabled_get.c
-utc_elm_map_wheel_disabled_set.c
+utc_elm_map_user_agent_get_set.c
+utc_elm_map_wheel_disabled_get_set.c
 utc_elm_map_canvas_to_region_convert.c
index dcb7f3152c43c42962c0e855d95f73323f794537..78d5bf11e458725e6f445055e42590a388acbe6c 100644 (file)
@@ -6,60 +6,44 @@ utc_elm_map_overlay_bubble_follow.c
 utc_elm_map_overlay_class_add.c
 utc_elm_map_overlay_class_append.c
 utc_elm_map_overlay_class_remove.c
-utc_elm_map_overlay_class_zoom_max_get.c
-utc_elm_map_overlay_class_zoom_max_set.c
-utc_elm_map_overlay_color_get.c
-utc_elm_map_overlay_color_set.c
-utc_elm_map_overlay_content_get.c
-utc_elm_map_overlay_content_set.c
-utc_elm_map_overlay_data_get.c
-utc_elm_map_overlay_data_set.c
+utc_elm_map_overlay_class_zoom_max_get_set.c
+utc_elm_map_overlay_color_get_set.c
+utc_elm_map_overlay_content_get_set.c
+utc_elm_map_overlay_data_get_set.c
 utc_elm_map_overlay_del.c
-utc_elm_map_overlay_displayed_zoom_min_get.c
-utc_elm_map_overlay_displayed_zoom_min_set.c
+utc_elm_map_overlay_displayed_zoom_min_get_set.c
 utc_elm_map_overlay_get_cb_set.c
-utc_elm_map_overlay_hide_get.c
-utc_elm_map_overlay_hide_set.c
-utc_elm_map_overlay_icon_get.c
-utc_elm_map_overlay_icon_set.c
-utc_elm_map_overlay_paused_get.c
-utc_elm_map_overlay_paused_set.c
-utc_elm_map_overlay_region_get.c
-utc_elm_map_overlay_region_set.c
+utc_elm_map_overlay_hide_get_set.c
+utc_elm_map_overlay_icon_get_set.c
+utc_elm_map_overlay_paused_get_set.c
+utc_elm_map_overlay_region_get_set.c
 utc_elm_map_overlay_route_add.c
 utc_elm_map_overlay_show.c
 utc_elm_map_overlay_type_get.c
 utc_elm_map_overlays_show.c
-utc_elm_map_add.c
 utc_elm_map_name_add.c
 utc_elm_map_name_address_get.c
 utc_elm_map_name_region_get.c
-utc_elm_map_paused_get.c
-utc_elm_map_paused_set.c
+utc_elm_map_paused_get_set.c
 utc_elm_map_region_bring_in.c
 utc_elm_map_region_get.c
 utc_elm_map_region_show.c
 utc_elm_map_region_zoom_bring_in.c
-utc_elm_map_rotate_get.c
-utc_elm_map_rotate_set.c
+utc_elm_map_rotate_get_set.c
 utc_elm_map_route_add.c
 utc_elm_map_route_del.c
 utc_elm_map_route_distance_get.c
 utc_elm_map_route_node_get.c
 utc_elm_map_route_waypoint_get.c
-utc_elm_map_source_get.c
-utc_elm_map_source_set.c
+utc_elm_map_source_get_set.c
 utc_elm_map_sources_get.c
 utc_elm_map_tile_load_status_get.c
 utc_elm_map_track_add.c
 utc_elm_map_track_remove.c
 utc_elm_map_zoom_get.c
-utc_elm_map_zoom_max_get.c
-utc_elm_map_zoom_max_set.c
-utc_elm_map_zoom_min_get.c
-utc_elm_map_zoom_min_set.c
-utc_elm_map_zoom_mode_get.c
-utc_elm_map_zoom_mode_set.c
+utc_elm_map_zoom_max_get_set.c
+utc_elm_map_zoom_min_get_set.c
+utc_elm_map_zoom_mode_get_set.c
 utc_elm_map_zoom_set.c
 utc_elm_map_name_del.c
 utc_elm_map_name_search.c
@@ -73,8 +57,6 @@ utc_elm_map_overlay_scale_add.c
 utc_elm_map_overlay_visible_get.c
 utc_elm_map_overlays_get.c
 utc_elm_map_region_to_canvas_convert.c
-utc_elm_map_user_agent_get.c
-utc_elm_map_user_agent_set.c
-utc_elm_map_wheel_disabled_get.c
-utc_elm_map_wheel_disabled_set.c
+utc_elm_map_user_agent_get_set.c
+utc_elm_map_wheel_disabled_get_set.c
 utc_elm_map_canvas_to_region_convert.c
index dcb7f3152c43c42962c0e855d95f73323f794537..78d5bf11e458725e6f445055e42590a388acbe6c 100644 (file)
@@ -6,60 +6,44 @@ utc_elm_map_overlay_bubble_follow.c
 utc_elm_map_overlay_class_add.c
 utc_elm_map_overlay_class_append.c
 utc_elm_map_overlay_class_remove.c
-utc_elm_map_overlay_class_zoom_max_get.c
-utc_elm_map_overlay_class_zoom_max_set.c
-utc_elm_map_overlay_color_get.c
-utc_elm_map_overlay_color_set.c
-utc_elm_map_overlay_content_get.c
-utc_elm_map_overlay_content_set.c
-utc_elm_map_overlay_data_get.c
-utc_elm_map_overlay_data_set.c
+utc_elm_map_overlay_class_zoom_max_get_set.c
+utc_elm_map_overlay_color_get_set.c
+utc_elm_map_overlay_content_get_set.c
+utc_elm_map_overlay_data_get_set.c
 utc_elm_map_overlay_del.c
-utc_elm_map_overlay_displayed_zoom_min_get.c
-utc_elm_map_overlay_displayed_zoom_min_set.c
+utc_elm_map_overlay_displayed_zoom_min_get_set.c
 utc_elm_map_overlay_get_cb_set.c
-utc_elm_map_overlay_hide_get.c
-utc_elm_map_overlay_hide_set.c
-utc_elm_map_overlay_icon_get.c
-utc_elm_map_overlay_icon_set.c
-utc_elm_map_overlay_paused_get.c
-utc_elm_map_overlay_paused_set.c
-utc_elm_map_overlay_region_get.c
-utc_elm_map_overlay_region_set.c
+utc_elm_map_overlay_hide_get_set.c
+utc_elm_map_overlay_icon_get_set.c
+utc_elm_map_overlay_paused_get_set.c
+utc_elm_map_overlay_region_get_set.c
 utc_elm_map_overlay_route_add.c
 utc_elm_map_overlay_show.c
 utc_elm_map_overlay_type_get.c
 utc_elm_map_overlays_show.c
-utc_elm_map_add.c
 utc_elm_map_name_add.c
 utc_elm_map_name_address_get.c
 utc_elm_map_name_region_get.c
-utc_elm_map_paused_get.c
-utc_elm_map_paused_set.c
+utc_elm_map_paused_get_set.c
 utc_elm_map_region_bring_in.c
 utc_elm_map_region_get.c
 utc_elm_map_region_show.c
 utc_elm_map_region_zoom_bring_in.c
-utc_elm_map_rotate_get.c
-utc_elm_map_rotate_set.c
+utc_elm_map_rotate_get_set.c
 utc_elm_map_route_add.c
 utc_elm_map_route_del.c
 utc_elm_map_route_distance_get.c
 utc_elm_map_route_node_get.c
 utc_elm_map_route_waypoint_get.c
-utc_elm_map_source_get.c
-utc_elm_map_source_set.c
+utc_elm_map_source_get_set.c
 utc_elm_map_sources_get.c
 utc_elm_map_tile_load_status_get.c
 utc_elm_map_track_add.c
 utc_elm_map_track_remove.c
 utc_elm_map_zoom_get.c
-utc_elm_map_zoom_max_get.c
-utc_elm_map_zoom_max_set.c
-utc_elm_map_zoom_min_get.c
-utc_elm_map_zoom_min_set.c
-utc_elm_map_zoom_mode_get.c
-utc_elm_map_zoom_mode_set.c
+utc_elm_map_zoom_max_get_set.c
+utc_elm_map_zoom_min_get_set.c
+utc_elm_map_zoom_mode_get_set.c
 utc_elm_map_zoom_set.c
 utc_elm_map_name_del.c
 utc_elm_map_name_search.c
@@ -73,8 +57,6 @@ utc_elm_map_overlay_scale_add.c
 utc_elm_map_overlay_visible_get.c
 utc_elm_map_overlays_get.c
 utc_elm_map_region_to_canvas_convert.c
-utc_elm_map_user_agent_get.c
-utc_elm_map_user_agent_set.c
-utc_elm_map_wheel_disabled_get.c
-utc_elm_map_wheel_disabled_set.c
+utc_elm_map_user_agent_get_set.c
+utc_elm_map_wheel_disabled_get_set.c
 utc_elm_map_canvas_to_region_convert.c
index 046ef64c55840a7755bfe78b15eb25548821fba4..e3da539befedc99ac4ad016a20bb4aac6a0101d1 100644 (file)
@@ -6,60 +6,44 @@ utc_elm_map_overlay_bubble_follow.c
 utc_elm_map_overlay_class_add.c
 utc_elm_map_overlay_class_append.c
 utc_elm_map_overlay_class_remove.c
-utc_elm_map_overlay_class_zoom_max_get.c
-utc_elm_map_overlay_class_zoom_max_set.c
-utc_elm_map_overlay_color_get.c
-utc_elm_map_overlay_color_set.c
-utc_elm_map_overlay_content_get.c
-utc_elm_map_overlay_content_set.c
-utc_elm_map_overlay_data_get.c
-utc_elm_map_overlay_data_set.c
+utc_elm_map_overlay_class_zoom_max_get_set.c
+utc_elm_map_overlay_color_get_set.c
+utc_elm_map_overlay_content_get_set.c
+utc_elm_map_overlay_data_get_set.c
 utc_elm_map_overlay_del.c
-utc_elm_map_overlay_displayed_zoom_min_get.c
-utc_elm_map_overlay_displayed_zoom_min_set.c
+utc_elm_map_overlay_displayed_zoom_min_get_set.c
 utc_elm_map_overlay_get_cb_set.c
-utc_elm_map_overlay_hide_get.c
-utc_elm_map_overlay_hide_set.c
-utc_elm_map_overlay_icon_get.c
-utc_elm_map_overlay_icon_set.c
-utc_elm_map_overlay_paused_get.c
-utc_elm_map_overlay_paused_set.c
-utc_elm_map_overlay_region_get.c
-utc_elm_map_overlay_region_set.c
+utc_elm_map_overlay_hide_get_set.c
+utc_elm_map_overlay_icon_get_set.c
+utc_elm_map_overlay_paused_get_set.c
+utc_elm_map_overlay_region_get_set.c
 utc_elm_map_overlay_route_add.c
 utc_elm_map_overlay_show.c
 utc_elm_map_overlay_type_get.c
 utc_elm_map_overlays_show.c
-utc_elm_map_add.c
 utc_elm_map_name_add.c
 utc_elm_map_name_address_get.c
 utc_elm_map_name_region_get.c
-utc_elm_map_paused_get.c
-utc_elm_map_paused_set.c
+utc_elm_map_paused_get_set.c
 utc_elm_map_region_bring_in.c
 utc_elm_map_region_get.c
 utc_elm_map_region_show.c
 #utc_elm_map_region_zoom_bring_in.c
-utc_elm_map_rotate_get.c
-utc_elm_map_rotate_set.c
+utc_elm_map_rotate_get_set.c
 #utc_elm_map_route_add.c
 utc_elm_map_route_del.c
 #utc_elm_map_route_distance_get.c
 #utc_elm_map_route_node_get.c
 #utc_elm_map_route_waypoint_get.c
-utc_elm_map_source_get.c
-utc_elm_map_source_set.c
+utc_elm_map_source_get_set.c
 utc_elm_map_sources_get.c
 utc_elm_map_tile_load_status_get.c
 #utc_elm_map_track_add.c
 #utc_elm_map_track_remove.c
 utc_elm_map_zoom_get.c
-utc_elm_map_zoom_max_get.c
-utc_elm_map_zoom_max_set.c
-utc_elm_map_zoom_min_get.c
-utc_elm_map_zoom_min_set.c
-utc_elm_map_zoom_mode_get.c
-utc_elm_map_zoom_mode_set.c
+utc_elm_map_zoom_max_get_set.c
+utc_elm_map_zoom_min_get_set.c
+utc_elm_map_zoom_mode_get_set.c
 utc_elm_map_zoom_set.c
 utc_elm_map_name_del.c
 utc_elm_map_name_search.c
@@ -73,8 +57,6 @@ utc_elm_map_overlay_scale_add.c
 utc_elm_map_overlay_visible_get.c
 utc_elm_map_overlays_get.c
 utc_elm_map_region_to_canvas_convert.c
-utc_elm_map_user_agent_get.c
-utc_elm_map_user_agent_set.c
-utc_elm_map_wheel_disabled_get.c
-utc_elm_map_wheel_disabled_set.c
+utc_elm_map_user_agent_get_set.c
+utc_elm_map_wheel_disabled_get_set.c
 utc_elm_map_canvas_to_region_convert.c
index 2c6d80c7bc8273b90f57f5ee99c88b6087cc7369..d09a37b3a41997971d5039470882cff6d8b4e5d0 100644 (file)
@@ -6,60 +6,44 @@ utc_elm_map_overlay_bubble_follow.c
 utc_elm_map_overlay_class_add.c
 utc_elm_map_overlay_class_append.c
 utc_elm_map_overlay_class_remove.c
-utc_elm_map_overlay_class_zoom_max_get.c
-utc_elm_map_overlay_class_zoom_max_set.c
-utc_elm_map_overlay_color_get.c
-utc_elm_map_overlay_color_set.c
-utc_elm_map_overlay_content_get.c
-utc_elm_map_overlay_content_set.c
-utc_elm_map_overlay_data_get.c
-utc_elm_map_overlay_data_set.c
+utc_elm_map_overlay_class_zoom_max_get_set.c
+utc_elm_map_overlay_color_get_set.c
+utc_elm_map_overlay_content_get_set.c
+utc_elm_map_overlay_data_get_set.c
 utc_elm_map_overlay_del.c
-utc_elm_map_overlay_displayed_zoom_min_get.c
-utc_elm_map_overlay_displayed_zoom_min_set.c
+utc_elm_map_overlay_displayed_zoom_min_get_set.c
 utc_elm_map_overlay_get_cb_set.c
-utc_elm_map_overlay_hide_get.c
-utc_elm_map_overlay_hide_set.c
-utc_elm_map_overlay_icon_get.c
-utc_elm_map_overlay_icon_set.c
-utc_elm_map_overlay_paused_get.c
-utc_elm_map_overlay_paused_set.c
-utc_elm_map_overlay_region_get.c
-utc_elm_map_overlay_region_set.c
+utc_elm_map_overlay_hide_get_set.c
+utc_elm_map_overlay_icon_get_set.c
+utc_elm_map_overlay_paused_get_set.c
+utc_elm_map_overlay_region_get_set.c
 utc_elm_map_overlay_route_add.c
 utc_elm_map_overlay_show.c
 utc_elm_map_overlay_type_get.c
 utc_elm_map_overlays_show.c
-utc_elm_map_add.c
 utc_elm_map_name_add.c
 utc_elm_map_name_address_get.c
 utc_elm_map_name_region_get.c
-utc_elm_map_paused_get.c
-utc_elm_map_paused_set.c
+utc_elm_map_paused_get_set.c
 #utc_elm_map_region_bring_in.c
 #utc_elm_map_region_get.c
 #utc_elm_map_region_show.c
 #utc_elm_map_region_zoom_bring_in.c
-utc_elm_map_rotate_get.c
-utc_elm_map_rotate_set.c
+utc_elm_map_rotate_get_set.c
 #utc_elm_map_route_add.c
 utc_elm_map_route_del.c
 #utc_elm_map_route_distance_get.c
 #utc_elm_map_route_node_get.c
 #utc_elm_map_route_waypoint_get.c
-utc_elm_map_source_get.c
-utc_elm_map_source_set.c
+utc_elm_map_source_get_set.c
 utc_elm_map_sources_get.c
 utc_elm_map_tile_load_status_get.c
 #utc_elm_map_track_add.c
 #utc_elm_map_track_remove.c
 utc_elm_map_zoom_get.c
-utc_elm_map_zoom_max_get.c
-utc_elm_map_zoom_max_set.c
-utc_elm_map_zoom_min_get.c
-utc_elm_map_zoom_min_set.c
-utc_elm_map_zoom_mode_get.c
-utc_elm_map_zoom_mode_set.c
+utc_elm_map_zoom_max_get_set.c
+utc_elm_map_zoom_min_get_set.c
+utc_elm_map_zoom_mode_get_set.c
 utc_elm_map_zoom_set.c
 utc_elm_map_name_del.c
 utc_elm_map_name_search.c
@@ -73,8 +57,6 @@ utc_elm_map_overlay_scale_add.c
 utc_elm_map_overlay_visible_get.c
 utc_elm_map_overlays_get.c
 utc_elm_map_region_to_canvas_convert.c
-utc_elm_map_user_agent_get.c
-utc_elm_map_user_agent_set.c
-utc_elm_map_wheel_disabled_get.c
-utc_elm_map_wheel_disabled_set.c
+utc_elm_map_user_agent_get_set.c
+utc_elm_map_wheel_disabled_get_set.c
 utc_elm_map_canvas_to_region_convert.c
diff --git a/TC/elementary/map/utc_elm_map_add.c b/TC/elementary/map/utc_elm_map_add.c
deleted file mode 100644 (file)
index a162d2d..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_add elm_map_add()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_add
- * @{
- * @objective Positive test case checks if add a new map widget
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the parent window object
- *
- * @procedure
- * @step 1 Add a new map widget to the main window
- *
- * @passcondition Returned value is not NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_add_p)
-{
-   Evas_Object *map = NULL;
-
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   evas_object_del(map);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_add
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the parent object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the parent object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the parent object
- *
- * @passcondition Returned value is NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_add_n)
-{
-   if (TEST_FAIL == UNITEST_FUNC_NEG_RET(NULL, elm_map_add, main_win))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_add()
-{
-   TCase *tcase = tcase_create("utc_elm_map_add");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_add_p);
-   tcase_add_test(tcase, utc_elm_map_add_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get.c b/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get.c
deleted file mode 100644 (file)
index 394c6a9..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *grp = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_class_zoom_max_get elm_map_overlay_class_zoom_max_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new class overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   grp = elm_map_overlay_class_add(map);
-   if (grp == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a class overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_class_zoom_max_get
- * @{
- * @objective Positive test case checks if get the maximum zoom
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the grp object
- *
- * @procedure
- * @step 1 Set the maximum zoom to 10
- * @step 2 Get the maximum zoom value
- *
- * @passcondition Returned value is 10 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_class_zoom_max_get_p)
-{
-   int zoom = 0;
-
-   if (grp == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_class_zoom_max_set(grp, 10);
-   zoom = elm_map_overlay_class_zoom_max_get(grp);
-   if (zoom != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_class_zoom_max_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the grp overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the grp overlay
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the grp overlay
- *
- * @passcondition Returned value is 255 and there is no segmentation fault
- * Note! 255 is a default maximum value for zoom index
- * @}
- */
-START_TEST(utc_elm_map_overlay_class_zoom_max_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(255, elm_map_overlay_class_zoom_max_get, grp) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_class_zoom_max_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_class_zoom_max_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get_set.c b/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_get_set.c
new file mode 100644 (file)
index 0000000..ee76146
--- /dev/null
@@ -0,0 +1,200 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *grp = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_class_zoom_max_set elm_map_overlay_class_zoom_max_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a new class overlay to the map object
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   grp = elm_map_overlay_class_add(map);
+   if (grp == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a class overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_class_zoom_max_set
+ * @{
+ * @objective Positive test case checks if set the maximum zoom
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the grp object
+ * @li 10
+ *
+ * @procedure
+ * @step 1 Set the maximum zoom to 10
+ * @step 2 Get the maximum zoom value
+ *
+ * @passcondition Returned value is 10 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_class_zoom_max_set_p)
+{
+   int zoom = 0;
+
+   if (grp == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_class_zoom_max_set(grp, 10);
+   zoom = elm_map_overlay_class_zoom_max_get(grp);
+   if (zoom != 10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_class_zoom_max_set
+ * @{
+ * @objective Negative Test case 01 checks if call test function with NULL instead of the grp overlay
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the grp overlay
+ * @li 10
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the grp overlay
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_class_zoom_max_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_class_zoom_max_set, grp, 10);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_class_zoom_max_set
+ * @{
+ * @objective Negative Test case 02 checks if call test function with negative zoom index
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the grp overlay
+ * @li -10
+ *
+ * @procedure
+ * @step 1 Call test function with negative zoom index
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_class_zoom_max_set_n2)
+{
+   if (grp == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_class_zoom_max_set(grp, -10);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_class_zoom_max_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the grp overlay
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the grp overlay
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the grp overlay
+ *
+ * @passcondition Returned value is 255 and there is no segmentation fault
+ * Note! 255 is a default maximum value for zoom index
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_class_zoom_max_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(255, elm_map_overlay_class_zoom_max_get, grp) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_add
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the parent object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the parent object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the parent object
+ *
+ * @passcondition Returned value is NULL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_add_n)
+{
+   if (TEST_FAIL == UNITEST_FUNC_NEG_RET(NULL, elm_map_add, main_win))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_class_zoom_max_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_class_zoom_max_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_n2);
+   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_get_n);
+   tcase_add_test(tcase, utc_elm_map_add_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_set.c b/TC/elementary/map/utc_elm_map_overlay_class_zoom_max_set.c
deleted file mode 100644 (file)
index ae67ac9..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *grp = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_class_zoom_max_set elm_map_overlay_class_zoom_max_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new class overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   grp = elm_map_overlay_class_add(map);
-   if (grp == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a class overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_class_zoom_max_set
- * @{
- * @objective Positive test case checks if set the maximum zoom
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the grp object
- * @li 10
- *
- * @procedure
- * @step 1 Set the maximum zoom to 10
- * @step 2 Get the maximum zoom value
- *
- * @passcondition Returned value is 10 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_class_zoom_max_set_p)
-{
-   int zoom = 0;
-
-   if (grp == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_class_zoom_max_set(grp, 10);
-   zoom = elm_map_overlay_class_zoom_max_get(grp);
-   if (zoom != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_class_zoom_max_set
- * @{
- * @objective Negative Test case 01 checks if call test function with NULL instead of the grp overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the grp overlay
- * @li 10
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the grp overlay
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_class_zoom_max_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_class_zoom_max_set, grp, 10);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_class_zoom_max_set
- * @{
- * @objective Negative Test case 02 checks if call test function with negative zoom index
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the grp overlay
- * @li -10
- *
- * @procedure
- * @step 1 Call test function with negative zoom index
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_class_zoom_max_set_n2)
-{
-   if (grp == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_class_zoom_max_set(grp, -10);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_class_zoom_max_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_class_zoom_max_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_n);
-   tcase_add_test(tcase, utc_elm_map_overlay_class_zoom_max_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_color_get.c b/TC/elementary/map/utc_elm_map_overlay_color_get.c
deleted file mode 100644 (file)
index ce7bb99..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Route *route = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_color_get elm_map_overlay_color_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Create a route and its overlay
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   route = elm_map_route_add(map, ELM_MAP_ROUTE_TYPE_MOTOCAR, ELM_MAP_ROUTE_METHOD_FASTEST, 0.5, 0.5, 0.75, 0.75, NULL, NULL);
-   if (route == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_route_add(map, route);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_color_get
- * @{
- * @objective Positive test case checks if set the object color of the overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the ovl object
- * @li pointer to the r variable
- * @li pointer to the g variable
- * @li pointer to the b variable
- * @li pointer to the a variable
- *
- * @procedure
- * @step 1 Set the object color of the overlay
- * @step 2 Get the object color of the overlay
- *
- * @passcondition Returned values are 50, 60, 70, 80 for red, green, blue and alpha respectively, and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_color_get_p)
-{
-   int r = 0;
-   int g = 0;
-   int b = 0;
-   int a = 0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_color_set(ovl, 50, 60, 70, 80);
-   elm_map_overlay_color_get(ovl, &r, &g, &b, &a);
-   if (r != 50 || g != 60 || b != 70 || a != 80)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_color_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead valid parameters
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the ovl object
- * @li NULL, pointer to the r variable
- * @li NULL, pointer to the g variable
- * @li NULL, pointer to the b variable
- * @li NULL, pointer to the a variable
- *
- * @procedure
- * @step 1 Call test function with NULL instead valid parameters
- *
- * @passcondition Returned values are 50, 60, 70, 80 for red, green, blue and alpha respectively, and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_color_get_n)
-{
-   int r = 0;
-   int g = 0;
-   int b = 0;
-   int a = 0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_color_set(ovl, 50, 60, 70, 80);
-   UNITEST_FUNC_NEG(elm_map_overlay_color_get, ovl, &r, &g, &b, &a);
-   if (r != 50 || g != 60 || b != 70 || a != 80)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_color_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_color_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_color_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_color_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_color_get_set.c b/TC/elementary/map/utc_elm_map_overlay_color_get_set.c
new file mode 100644 (file)
index 0000000..646928e
--- /dev/null
@@ -0,0 +1,209 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Route *route = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_color_set elm_map_overlay_color_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Create a route and its overlay
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   route = elm_map_route_add(map, ELM_MAP_ROUTE_TYPE_MOTOCAR, ELM_MAP_ROUTE_METHOD_FASTEST, 0.5, 0.5, 0.75, 0.75, NULL, NULL);
+   if (route == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_route_add(map, route);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_color_set
+ * @{
+ * @objective Positive test case checks if set the object color of the overlay
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the ovl object
+ * @li 50
+ * @li 60
+ * @li 70
+ * @li 80
+ *
+ * @procedure
+ * @step 1 Set the object color of the overlay
+ * @step 2 Get the object color of the overlay
+ *
+ * @passcondition Returned values are 50, 60, 70, 80 for red, green, blue and alpha respectively, and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_color_set_p)
+{
+   int r = 0;
+   int g = 0;
+   int b = 0;
+   int a = 0;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_color_set(ovl, 50, 60, 70, 80);
+   elm_map_overlay_color_get(ovl, &r, &g, &b, &a);
+   if (r != 50 || g != 60 || b != 70 || a != 80)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_color_set
+ * @{
+ * @objective Negative Test case 01 checks if call test function with NULL instead of the overlay object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li 50
+ * @li 50
+ * @li 50
+ * @li 50
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_color_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_color_set, ovl, 50, 50, 50, 50);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_color_set
+ * @{
+ * @objective Negative Test case 02 checks if call test function with negative color components
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li -50
+ * @li -50
+ * @li -50
+ * @li -50
+ *
+ * @procedure
+ * @step 1 Call test function with negative color components
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_color_set_n2)
+{
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_color_set(ovl, -50, -50, -50, -50);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_color_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead valid parameters
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the ovl object
+ * @li NULL, pointer to the r variable
+ * @li NULL, pointer to the g variable
+ * @li NULL, pointer to the b variable
+ * @li NULL, pointer to the a variable
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead valid parameters
+ *
+ * @passcondition Returned values are 50, 60, 70, 80 for red, green, blue and alpha respectively, and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_color_get_n)
+{
+   int r = 0;
+   int g = 0;
+   int b = 0;
+   int a = 0;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_color_set(ovl, 50, 60, 70, 80);
+   UNITEST_FUNC_NEG(elm_map_overlay_color_get, ovl, &r, &g, &b, &a);
+   if (r != 50 || g != 60 || b != 70 || a != 80)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_color_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_color_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_color_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_color_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_color_set_n2);
+   tcase_add_test(tcase, utc_elm_map_overlay_color_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_color_set.c b/TC/elementary/map/utc_elm_map_overlay_color_set.c
deleted file mode 100644 (file)
index 5d5e218..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Route *route = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_color_set elm_map_overlay_color_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Create a route and its overlay
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   route = elm_map_route_add(map, ELM_MAP_ROUTE_TYPE_MOTOCAR, ELM_MAP_ROUTE_METHOD_FASTEST, 0.5, 0.5, 0.75, 0.75, NULL, NULL);
-   if (route == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_route_add(map, route);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a route overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_color_set
- * @{
- * @objective Positive test case checks if set the object color of the overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the ovl object
- * @li 50
- * @li 60
- * @li 70
- * @li 80
- *
- * @procedure
- * @step 1 Set the object color of the overlay
- * @step 2 Get the object color of the overlay
- *
- * @passcondition Returned values are 50, 60, 70, 80 for red, green, blue and alpha respectively, and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_color_set_p)
-{
-   int r = 0;
-   int g = 0;
-   int b = 0;
-   int a = 0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_color_set(ovl, 50, 60, 70, 80);
-   elm_map_overlay_color_get(ovl, &r, &g, &b, &a);
-   if (r != 50 || g != 60 || b != 70 || a != 80)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_color_set
- * @{
- * @objective Negative Test case 01 checks if call test function with NULL instead of the overlay object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li 50
- * @li 50
- * @li 50
- * @li 50
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_color_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_color_set, ovl, 50, 50, 50, 50);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_color_set
- * @{
- * @objective Negative Test case 02 checks if call test function with negative color components
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li -50
- * @li -50
- * @li -50
- * @li -50
- *
- * @procedure
- * @step 1 Call test function with negative color components
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_color_set_n2)
-{
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_color_set(ovl, -50, -50, -50, -50);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_color_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_color_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_color_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_color_set_n);
-   tcase_add_test(tcase, utc_elm_map_overlay_color_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_content_get.c b/TC/elementary/map/utc_elm_map_overlay_content_get.c
deleted file mode 100644 (file)
index 2c835a3..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-static Evas_Object *box = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_content_get elm_map_overlay_content_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a map overlay
- * @step 5 Add a box widget
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 10.0, 10.0);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   box = elm_box_add(main_win);
-   if (box == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a box widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_content_get
- * @{
- * @objective Positive test case checks if get overlay content
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the overlay object
- *
- * @procedure
- * @step 1 Set overlay content
- * @step 2 Get overlay content
- *
- * @passcondition Returned value is box widget and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_content_get_p)
-{
-   Evas_Object *obj_ret = NULL;
-
-   if ((ovl == NULL) || (box == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_content_set(ovl, box);
-   obj_ret = elm_map_overlay_content_get(ovl);
-   if (obj_ret != box)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_content_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_content_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_content_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_content_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_content_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_content_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_content_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_content_get_set.c b/TC/elementary/map/utc_elm_map_overlay_content_get_set.c
new file mode 100644 (file)
index 0000000..206a62a
--- /dev/null
@@ -0,0 +1,208 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+static Evas_Object *box = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_content_set elm_map_overlay_content_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a map overlay
+ * @step 5 Add a box widget
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 10.0, 10.0);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   box = elm_box_add(main_win);
+   if (box == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a box widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_content_set
+ * @{
+ * @objective Positive test case checks if set overlay content
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li the box widget
+ *
+ * @procedure
+ * @step 1 Set content to default overlay
+ * @step 2 Get overlay content
+ * @step 3 Check result object
+ * @step 4 Delete default overlay and result object
+ * @step 5 Create class overlay
+ * @step 6 Set content to class overlay
+ * @step 7 Get overlay content
+ * @step 8 Check result object
+ * @step 9 Delete class overlay and result object
+ * @step 10 Create wrong overlay for content
+ * @step 11 Set content to bubble overlay
+ * @step 12 Get overlay content
+ * @step 13 Check result object, must be NULL
+ * @step 14 Delete bubble overlay
+ *
+ * @passcondition Returned value is box widget and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_content_set_p)
+{
+   Evas_Object *obj_ret = NULL;
+   Elm_Map_Overlay *class = NULL;
+   Elm_Map_Overlay *bubble = NULL;
+
+   if ((ovl == NULL) || (box == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_content_set(ovl, box);
+   obj_ret = elm_map_overlay_content_get(ovl);
+   if (obj_ret != box)
+     {
+        evas_object_del(obj_ret);
+        elm_map_overlay_del(ovl);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   evas_object_del(obj_ret);
+   elm_map_overlay_del(ovl);
+
+   class = elm_map_overlay_class_add(map);
+   if (class == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_content_set(class, box);
+   obj_ret = elm_map_overlay_content_get(class);
+   if (obj_ret != box)
+     {
+        evas_object_del(obj_ret);
+        elm_map_overlay_del(class);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   evas_object_del(obj_ret);
+   elm_map_overlay_del(class);
+
+   bubble = elm_map_overlay_bubble_add(map);
+   if (bubble == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_content_set(bubble, box);
+   obj_ret = elm_map_overlay_content_get(bubble);
+   if (obj_ret != NULL)
+     {
+        evas_object_del(obj_ret);
+        elm_map_overlay_del(bubble);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(bubble);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_content_set
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of valid parameters
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the overlay object
+ * @li NULL, the box widget
+ *
+ * @procedure
+ * @step 1 Call test function in each turn with NULL instead of valid parameters
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_content_set_n)
+{
+   if ((ovl == NULL) || (box == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   UNITEST_FUNC_NEG(elm_map_overlay_content_set, ovl, box);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_content_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is NULL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_content_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_content_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_content_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_content_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_content_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_content_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_content_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_content_set.c b/TC/elementary/map/utc_elm_map_overlay_content_set.c
deleted file mode 100644 (file)
index 9842d8e..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-static Evas_Object *box = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_content_set elm_map_overlay_content_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a map overlay
- * @step 5 Add a box widget
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 10.0, 10.0);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   box = elm_box_add(main_win);
-   if (box == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a box widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_content_set
- * @{
- * @objective Positive test case checks if set overlay content
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li the box widget
- *
- * @procedure
- * @step 1 Set content to default overlay
- * @step 2 Get overlay content
- * @step 3 Check result object
- * @step 4 Delete default overlay and result object
- * @step 5 Create class overlay
- * @step 6 Set content to class overlay
- * @step 7 Get overlay content
- * @step 8 Check result object
- * @step 9 Delete class overlay and result object
- * @step 10 Create wrong overlay for content
- * @step 11 Set content to bubble overlay
- * @step 12 Get overlay content
- * @step 13 Check result object, must be NULL
- * @step 14 Delete bubble overlay
- *
- * @passcondition Returned value is box widget and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_content_set_p)
-{
-   Evas_Object *obj_ret = NULL;
-   Elm_Map_Overlay *class = NULL;
-   Elm_Map_Overlay *bubble = NULL;
-
-   if ((ovl == NULL) || (box == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_content_set(ovl, box);
-   obj_ret = elm_map_overlay_content_get(ovl);
-   if (obj_ret != box)
-     {
-        evas_object_del(obj_ret);
-        elm_map_overlay_del(ovl);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   evas_object_del(obj_ret);
-   elm_map_overlay_del(ovl);
-
-   class = elm_map_overlay_class_add(map);
-   if (class == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_content_set(class, box);
-   obj_ret = elm_map_overlay_content_get(class);
-   if (obj_ret != box)
-     {
-        evas_object_del(obj_ret);
-        elm_map_overlay_del(class);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   evas_object_del(obj_ret);
-   elm_map_overlay_del(class);
-
-   bubble = elm_map_overlay_bubble_add(map);
-   if (bubble == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_content_set(bubble, box);
-   obj_ret = elm_map_overlay_content_get(bubble);
-   if (obj_ret != NULL)
-     {
-        evas_object_del(obj_ret);
-        elm_map_overlay_del(bubble);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(bubble);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_content_set
- * @{
- * @objective Negative test case checks if call test function with NULL instead of valid parameters
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the overlay object
- * @li NULL, the box widget
- *
- * @procedure
- * @step 1 Call test function in each turn with NULL instead of valid parameters
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_content_set_n)
-{
-   if ((ovl == NULL) || (box == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   UNITEST_FUNC_NEG(elm_map_overlay_content_set, ovl, box);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_content_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_content_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_content_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_content_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_data_get.c b/TC/elementary/map/utc_elm_map_overlay_data_get.c
deleted file mode 100644 (file)
index ad9446c..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_data_get elm_map_overlay_data_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a map overlay
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 10.0, 10.0);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_data_get
- * @{
- * @objective Positive test case checks if get a pointer of user data
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the overlay object
- *
- * @procedure
- * @step 1 Set a pointer of user data for a overlay
- * @step 2 Get the user data stored on a overlay
- *
- * @passcondition Returned string is not NULL and equal to "TestData", and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_data_get_p)
-{
-   const char *data = NULL;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_data_set(ovl, "Test Data");
-   data = (const char*) elm_map_overlay_data_get(ovl);
-   if (data == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, data is NULL..", __FILE__, __LINE__);
-     }
-   if (strcmp(data, "Test Data") != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, string comparation mismatch..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_data_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_data_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_data_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_data_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_data_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_data_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_data_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_data_get_set.c b/TC/elementary/map/utc_elm_map_overlay_data_get_set.c
new file mode 100644 (file)
index 0000000..745387e
--- /dev/null
@@ -0,0 +1,155 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_data_set elm_map_overlay_data_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a map overlay
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 10.0, 10.0);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_data_set
+ * @{
+ * @objective Positive test case checks if set a pointer of user data
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li "TestData" string
+ *
+ * @procedure
+ * @step 1 Set a pointer of user data for a overlay
+ * @step 2 Get the user data stored on a overlay
+ *
+ * @passcondition Returned string is not NULL and equal to "TestData", and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_data_set_p)
+{
+   const char *data = NULL;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_data_set(ovl, "Test Data");
+   data = (const char*) elm_map_overlay_data_get(ovl);
+   if (data == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, data is NULL..", __FILE__, __LINE__);
+     }
+   if (strcmp(data, "Test Data") != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, string comparation mismatch..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_data_set
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of valid parameters
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the overlay object
+ * @li NULL, "TestData" string
+ *
+ * @procedure
+ * @step 1 Call test function in each turn with NULL instead of valid parameters
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_data_set_n)
+{
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   UNITEST_FUNC_NEG(elm_map_overlay_data_set, ovl, "Test Data");
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_data_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is NULL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_data_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_data_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_data_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_data_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_data_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_data_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_data_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_data_set.c b/TC/elementary/map/utc_elm_map_overlay_data_set.c
deleted file mode 100644 (file)
index f9db51c..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_data_set elm_map_overlay_data_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a map overlay
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 10.0, 10.0);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_data_set
- * @{
- * @objective Positive test case checks if set a pointer of user data
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li "TestData" string
- *
- * @procedure
- * @step 1 Set a pointer of user data for a overlay
- * @step 2 Get the user data stored on a overlay
- *
- * @passcondition Returned string is not NULL and equal to "TestData", and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_data_set_p)
-{
-   const char *data = NULL;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_data_set(ovl, "Test Data");
-   data = (const char*) elm_map_overlay_data_get(ovl);
-   if (data == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, data is NULL..", __FILE__, __LINE__);
-     }
-   if (strcmp(data, "Test Data") != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, string comparation mismatch..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_data_set
- * @{
- * @objective Negative test case checks if call test function with NULL instead of valid parameters
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the overlay object
- * @li NULL, "TestData" string
- *
- * @procedure
- * @step 1 Call test function in each turn with NULL instead of valid parameters
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_data_set_n)
-{
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   UNITEST_FUNC_NEG(elm_map_overlay_data_set, ovl, "Test Data");
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_data_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_data_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_data_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_data_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get.c b/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get.c
deleted file mode 100644 (file)
index 6089ed4..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_displayed_zoom_min_get elm_map_overlay_displayed_zoom_min_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_displayed_zoom_min_get
- * @{
- * @objective Positive test case checks if get the minimum overlay zoom
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the overlay object
- *
- * @procedure
- * @step 1 Set the minimum zoom from where the overlay is displayed to 2
- * @step 2 Get the minimum zoom from where the overlay is displayed
- *
- * @passcondition Returned value is 2 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_displayed_zoom_min_get_p)
-{
-   int zoom = 0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_displayed_zoom_min_set(ovl, 2);
-   zoom = elm_map_overlay_displayed_zoom_min_get(ovl);
-   if (zoom != 2)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_displayed_zoom_min_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is 0 and there is no segmentation fault
- * Note! 0 is a default value for minimum zoom index
- * @}
- */
-START_TEST(utc_elm_map_overlay_displayed_zoom_min_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(0, elm_map_overlay_displayed_zoom_min_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_displayed_zoom_min_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_displayed_zoom_min_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get_set.c b/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_get_set.c
new file mode 100644 (file)
index 0000000..72730d4
--- /dev/null
@@ -0,0 +1,176 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_displayed_zoom_min_set elm_map_overlay_displayed_zoom_min_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a new overlay to the map object
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 2.352, 48.857);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_displayed_zoom_min_set
+ * @{
+ * @objective Positive test case checks if set the minimum overlay zoom
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li 2
+ *
+ * @procedure
+ * @step 1 Set the minimum zoom from where the overlay is displayed to 2
+ * @step 2 Get the minimum zoom from where the overlay is displayed
+ *
+ * @passcondition Returned value is 2 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_p)
+{
+   int zoom = 0;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_displayed_zoom_min_set(ovl, 2);
+   zoom = elm_map_overlay_displayed_zoom_min_get(ovl);
+   if (zoom != 2)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_displayed_zoom_min_set
+ * @{
+ * @objective Negative Test case 01 checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li 2
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_displayed_zoom_min_set, ovl, 2);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_displayed_zoom_min_set
+ * @{
+ * @objective Negative Test case 02 checks if call test function with negative zoom index
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li -2
+ *
+ * @procedure
+ * @step 1 Call test function with negative zoom index
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_n2)
+{
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_displayed_zoom_min_set(ovl, -2);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_displayed_zoom_min_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is 0 and there is no segmentation fault
+ * Note! 0 is a default value for minimum zoom index
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_displayed_zoom_min_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(0, elm_map_overlay_displayed_zoom_min_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_displayed_zoom_min_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_displayed_zoom_min_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_n2);
+   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_set.c b/TC/elementary/map/utc_elm_map_overlay_displayed_zoom_min_set.c
deleted file mode 100644 (file)
index 81e63f5..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_displayed_zoom_min_set elm_map_overlay_displayed_zoom_min_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_displayed_zoom_min_set
- * @{
- * @objective Positive test case checks if set the minimum overlay zoom
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li 2
- *
- * @procedure
- * @step 1 Set the minimum zoom from where the overlay is displayed to 2
- * @step 2 Get the minimum zoom from where the overlay is displayed
- *
- * @passcondition Returned value is 2 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_p)
-{
-   int zoom = 0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_displayed_zoom_min_set(ovl, 2);
-   zoom = elm_map_overlay_displayed_zoom_min_get(ovl);
-   if (zoom != 2)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_displayed_zoom_min_set
- * @{
- * @objective Negative Test case 01 checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li 2
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_displayed_zoom_min_set, ovl, 2);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_displayed_zoom_min_set
- * @{
- * @objective Negative Test case 02 checks if call test function with negative zoom index
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li -2
- *
- * @procedure
- * @step 1 Call test function with negative zoom index
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_displayed_zoom_min_set_n2)
-{
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_displayed_zoom_min_set(ovl, -2);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_displayed_zoom_min_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_displayed_zoom_min_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_n);
-   tcase_add_test(tcase, utc_elm_map_overlay_displayed_zoom_min_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_hide_get.c b/TC/elementary/map/utc_elm_map_overlay_hide_get.c
deleted file mode 100644 (file)
index f034028..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_hide_get elm_map_overlay_hide_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_hide_get
- * @{
- * @objective Positive test case checks if get the overlay hidden property
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the ovl object
- *
- * @procedure
- * @step 1 Set the overlay hidden property to EINA_TRUE
- * @step 2 Get the overlay hidden property
- * @step 3 Set the overlay hidden property to EINA_FALSE
- * @step 4 Get the overlay hidden property
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_hide_get_p)
-{
-   Eina_Bool ret = EINA_TRUE;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_hide_set(ovl, EINA_TRUE);
-   ret = elm_map_overlay_hide_get(ovl);
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_hide_set(ovl, EINA_FALSE);
-   ret = elm_map_overlay_hide_get(ovl);
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_hide_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_hide_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_overlay_hide_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_hide_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_hide_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_hide_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_hide_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_hide_get_set.c b/TC/elementary/map/utc_elm_map_overlay_hide_get_set.c
new file mode 100644 (file)
index 0000000..39c9b6c
--- /dev/null
@@ -0,0 +1,156 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_hide_set elm_map_overlay_hide_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a new overlay to the map object
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 2.352, 48.857);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_hide_set
+ * @{
+ * @objective Positive test case checks if hide overlay
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the ovl object
+ * @li EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Set the overlay hidden property to EINA_TRUE
+ * @step 2 Get the overlay hidden property
+ * @step 3 Set the overlay hidden property to EINA_FALSE
+ * @step 4 Get the overlay hidden property
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_hide_set_p)
+{
+   Eina_Bool ret = EINA_TRUE;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_hide_set(ovl, EINA_TRUE);
+   ret = elm_map_overlay_hide_get(ovl);
+   if (ret != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_hide_set(ovl, EINA_FALSE);
+   ret = elm_map_overlay_hide_get(ovl);
+   if (ret != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_hide_set
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li EINA_TRUE
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_hide_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_hide_set, ovl, EINA_TRUE);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_hide_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_hide_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_overlay_hide_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_hide_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_hide_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_hide_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_hide_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_hide_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_hide_set.c b/TC/elementary/map/utc_elm_map_overlay_hide_set.c
deleted file mode 100644 (file)
index 47b7c57..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_hide_set elm_map_overlay_hide_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_hide_set
- * @{
- * @objective Positive test case checks if hide overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the ovl object
- * @li EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Set the overlay hidden property to EINA_TRUE
- * @step 2 Get the overlay hidden property
- * @step 3 Set the overlay hidden property to EINA_FALSE
- * @step 4 Get the overlay hidden property
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_hide_set_p)
-{
-   Eina_Bool ret = EINA_TRUE;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_hide_set(ovl, EINA_TRUE);
-   ret = elm_map_overlay_hide_get(ovl);
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_hide_set(ovl, EINA_FALSE);
-   ret = elm_map_overlay_hide_get(ovl);
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_hide_set
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li EINA_TRUE
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_hide_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_hide_set, ovl, EINA_TRUE);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_hide_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_hide_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_hide_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_hide_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_icon_get.c b/TC/elementary/map/utc_elm_map_overlay_icon_get.c
deleted file mode 100644 (file)
index 4f54dfd..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-static Evas_Object *icon = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_icon_get elm_map_overlay_icon_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- * @step 5 Add an icon
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   icon = elm_icon_add(main_win);
-   if (icon == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an icon..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_icon_get
- * @{
- * @objective Positive test case checks if get an overlay icon
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the ovl object
- *
- * @procedure
- * @step 1 Set an overlay icon
- * @step 2 Get an overlay icon
- * @step 3 Set NULL instead of the icon
- * @step 4 Get an overlay icon, it should be NULL
- *
- * @passcondition Returned value is equal to icon at step 2 and at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_icon_get_p)
-{
-   const Evas_Object *ic = NULL;
-
-   if ((ovl == NULL) || (icon == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_icon_set(ovl, icon);
-   ic = elm_map_overlay_icon_get(ovl);
-   if (ic != icon)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not icon..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_icon_set(ovl, NULL);
-   ic = elm_map_overlay_icon_get(ovl);
-   if (ic != NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not NULL..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_icon_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_icon_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_icon_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_icon_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_icon_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_icon_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_icon_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_icon_get_set.c b/TC/elementary/map/utc_elm_map_overlay_icon_get_set.c
new file mode 100644 (file)
index 0000000..68cfad8
--- /dev/null
@@ -0,0 +1,207 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+static Evas_Object *icon = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_icon_set elm_map_overlay_icon_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a new overlay to the map object
+ * @step 5 Add an icon
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 2.352, 48.857);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   icon = elm_icon_add(main_win);
+   if (icon == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an icon..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_icon_set
+ * @{
+ * @objective Positive test case checks if set an overlay icon
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the ovl object
+ * @li the icon object
+ *
+ * @procedure
+ * @step 1 Set icon to default overlay
+ * @step 2 Get an overlay icon
+ * @step 3 Set NULL instead of the icon
+ * @step 4 Get an overlay icon
+ * @step 5 Delete default overlay
+ * @step 6 Set icon to class overlay
+ * @step 7 Get an overlay icon
+ * @step 8 Delete class overlay
+ * @step 9 Set icon to bubble overlay
+ * @step 10 Get an overlay icon
+ * @step 11 Delete bubble overlay
+ *
+ * @passcondition Returned value is equal to icon at step 2 and 7; NULL at step 4 and 10 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_icon_set_p)
+{
+   const Evas_Object *ic = NULL;
+   Elm_Map_Overlay *class = NULL;
+   Elm_Map_Overlay *bubble = NULL;
+
+   if ((ovl == NULL) || (icon == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_icon_set(ovl, icon);
+   ic = elm_map_overlay_icon_get(ovl);
+   if (ic != icon)
+     {
+        elm_map_overlay_del(ovl);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not icon..", __FILE__, __LINE__);
+     }
+
+   elm_map_overlay_icon_set(ovl, NULL);
+   ic = elm_map_overlay_icon_get(ovl);
+   if (ic != NULL)
+     {
+        elm_map_overlay_del(ovl);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not NULL..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(ovl);
+   ic = NULL;
+
+   class = elm_map_overlay_class_add(map);
+   if (class == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_icon_set(class, icon);
+   ic = elm_map_overlay_icon_get(class);
+   if (ic != icon)
+     {
+        elm_map_overlay_del(class);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not icon..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(class);
+   ic = NULL;
+
+   bubble = elm_map_overlay_bubble_add(map);
+   if (bubble == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_icon_set(bubble, icon);
+   ic = elm_map_overlay_icon_get(bubble);
+   if (ic != NULL)
+     {
+        elm_map_overlay_del(bubble);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not NULL..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(bubble);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_icon_set
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li NULL, the icon object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_icon_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_icon_set, ovl, NULL);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_icon_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is NULL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_icon_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(NULL, elm_map_overlay_icon_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_icon_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_icon_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_icon_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_icon_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_icon_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_icon_set.c b/TC/elementary/map/utc_elm_map_overlay_icon_set.c
deleted file mode 100644 (file)
index 077691f..0000000
+++ /dev/null
@@ -1,183 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-static Evas_Object *icon = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_icon_set elm_map_overlay_icon_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- * @step 5 Add an icon
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   icon = elm_icon_add(main_win);
-   if (icon == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an icon..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_icon_set
- * @{
- * @objective Positive test case checks if set an overlay icon
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the ovl object
- * @li the icon object
- *
- * @procedure
- * @step 1 Set icon to default overlay
- * @step 2 Get an overlay icon
- * @step 3 Set NULL instead of the icon
- * @step 4 Get an overlay icon
- * @step 5 Delete default overlay
- * @step 6 Set icon to class overlay
- * @step 7 Get an overlay icon
- * @step 8 Delete class overlay
- * @step 9 Set icon to bubble overlay
- * @step 10 Get an overlay icon
- * @step 11 Delete bubble overlay
- *
- * @passcondition Returned value is equal to icon at step 2 and 7; NULL at step 4 and 10 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_icon_set_p)
-{
-   const Evas_Object *ic = NULL;
-   Elm_Map_Overlay *class = NULL;
-   Elm_Map_Overlay *bubble = NULL;
-
-   if ((ovl == NULL) || (icon == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_icon_set(ovl, icon);
-   ic = elm_map_overlay_icon_get(ovl);
-   if (ic != icon)
-     {
-        elm_map_overlay_del(ovl);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not icon..", __FILE__, __LINE__);
-     }
-
-   elm_map_overlay_icon_set(ovl, NULL);
-   ic = elm_map_overlay_icon_get(ovl);
-   if (ic != NULL)
-     {
-        elm_map_overlay_del(ovl);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not NULL..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(ovl);
-   ic = NULL;
-
-   class = elm_map_overlay_class_add(map);
-   if (class == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_icon_set(class, icon);
-   ic = elm_map_overlay_icon_get(class);
-   if (ic != icon)
-     {
-        elm_map_overlay_del(class);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not icon..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(class);
-   ic = NULL;
-
-   bubble = elm_map_overlay_bubble_add(map);
-   if (bubble == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_icon_set(bubble, icon);
-   ic = elm_map_overlay_icon_get(bubble);
-   if (ic != NULL)
-     {
-        elm_map_overlay_del(bubble);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, returned value is not NULL..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(bubble);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_icon_set
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li NULL, the icon object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_icon_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_icon_set, ovl, NULL);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_icon_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_icon_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_icon_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_icon_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_paused_get.c b/TC/elementary/map/utc_elm_map_overlay_paused_get.c
deleted file mode 100644 (file)
index cbd4d72..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_paused_get elm_map_overlay_paused_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_paused_get
- * @{
- * @objective Positive test case checks if get paused state
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the ovl object
- *
- * @procedure
- * @step 1 Set Paused state as EINA_TRUE
- * @step 2 Get the paused state
- * @step 3 Set Paused state as EINA_FALSE
- * @step 4 Get the paused state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_paused_get_p)
-{
-   Eina_Bool ret = EINA_TRUE;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_paused_set(ovl, EINA_TRUE);
-   ret = elm_map_overlay_paused_get(ovl);
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_paused_set(ovl, EINA_FALSE);
-   ret = elm_map_overlay_paused_get(ovl);
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_paused_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the overlay object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_paused_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_overlay_paused_get, ovl) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_paused_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_paused_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_paused_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_paused_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_paused_get_set.c b/TC/elementary/map/utc_elm_map_overlay_paused_get_set.c
new file mode 100644 (file)
index 0000000..80e7814
--- /dev/null
@@ -0,0 +1,156 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_paused_set elm_map_overlay_paused_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Add a new overlay to the map object
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   ovl = elm_map_overlay_add(map, 2.352, 48.857);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_paused_set
+ * @{
+ * @objective Positive test case checks if set paused state
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the ovl object
+ * @li EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Set Paused state as EINA_TRUE
+ * @step 2 Get the paused state
+ * @step 3 Set Paused state as EINA_FALSE
+ * @step 4 Get the paused state
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_paused_set_p)
+{
+   Eina_Bool ret = EINA_TRUE;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_paused_set(ovl, EINA_TRUE);
+   ret = elm_map_overlay_paused_get(ovl);
+   if (ret != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_paused_set(ovl, EINA_FALSE);
+   ret = elm_map_overlay_paused_get(ovl);
+   if (ret != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_paused_set
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li EINA_TRUE
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_paused_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_overlay_paused_set, ovl, EINA_TRUE);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_paused_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the overlay object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_paused_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_overlay_paused_get, ovl) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_paused_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_paused_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_paused_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_paused_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_paused_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_paused_set.c b/TC/elementary/map/utc_elm_map_overlay_paused_set.c
deleted file mode 100644 (file)
index 0f79494..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_paused_set elm_map_overlay_paused_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_paused_set
- * @{
- * @objective Positive test case checks if set paused state
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the ovl object
- * @li EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Set Paused state as EINA_TRUE
- * @step 2 Get the paused state
- * @step 3 Set Paused state as EINA_FALSE
- * @step 4 Get the paused state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_paused_set_p)
-{
-   Eina_Bool ret = EINA_TRUE;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_paused_set(ovl, EINA_TRUE);
-   ret = elm_map_overlay_paused_get(ovl);
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_paused_set(ovl, EINA_FALSE);
-   ret = elm_map_overlay_paused_get(ovl);
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_paused_set
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li EINA_TRUE
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_paused_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_overlay_paused_set, ovl, EINA_TRUE);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_paused_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_paused_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_paused_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_paused_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_region_get.c b/TC/elementary/map/utc_elm_map_overlay_region_get.c
deleted file mode 100644 (file)
index 2b1d3df..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_region_get elm_map_overlay_region_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Add a new overlay to the map object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create an overlay..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_region_get
- * @{
- * @objective Positive test case checks if get the geographic coordinates of the overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li pointer to the x variable
- * @li pointer to the y variable
- *
- * @procedure
- * @step 1 Set the geographic coordinates of the overlay (Longitude = 5.4, Latitude = 16.5)
- * @step 2 Get the geographic coordinates of the overlay
- *
- * @passcondition Returned values of longitude and latitude are equal to 5.4 and 16.5 in DBL_EPSILON range respectively
- * and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_region_get_p)
-{
-   double x = 0.0;
-   double y = 0.0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_region_set(ovl, 5.4, 16.5);
-   elm_map_overlay_region_get(ovl, &x, &y);
-   if ((fabs(x - 5.4) > DBL_EPSILON) || (fabs(y - 16.5) > DBL_EPSILON))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_region_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of valid parameters
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the overlay object
- * @li NULL, pointer to the x variable
- * @li NULL, pointer to the y variable
- *
- * @procedure
- * @step 1 Set the geographic coordinates of the overlay (Longitude = 5.4, Latitude = 16.5)
- * @step 2 Call test function with NULL in each turn instead of valid paramters
- *
- * @passcondition Returned values of longitude and latitude are equal to 5.4 and 16.5 in DBL_EPSILON range respectively
- * and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_region_get_n)
-{
-   double x = 0.0;
-   double y = 0.0;
-
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_region_set(ovl, 5.4, 16.5);
-   UNITEST_FUNC_NEG(elm_map_overlay_region_get, ovl, &x, &y);
-   if ((fabs(x - 5.4) > DBL_EPSILON) || (fabs(y - 16.5) > DBL_EPSILON))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_region_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_region_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_region_get_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_region_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_overlay_region_get_set.c b/TC/elementary/map/utc_elm_map_overlay_region_get_set.c
new file mode 100644 (file)
index 0000000..40d3af5
--- /dev/null
@@ -0,0 +1,185 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static Elm_Map_Overlay *ovl = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_overlay_region_set elm_map_overlay_region_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_overlay_region_set
+ * @{
+ * @objective Positive test case checks if set the geographic coordinates of the overlay
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the overlay object
+ * @li longitude value
+ * @li latitude value
+ *
+ * @procedure
+ * @step 1 Create new default overlay
+ * @step 2 Set the geographic coordinates of the default overlay (Longitude = 5.4, Latitude = 16.5)
+ * @step 3 Get the geographic coordinates of the default overlay
+ * @step 4 Delete overlay
+ * @step 5 Create new bubble overlay
+ * @step 6 Set the geographic coordinates of the bubble overlay (Longitude = 6.4, Latitude = 15.5)
+ * @step 7 Get the geographic coordinates of the bubble overlay
+ * @step 8 Delete overlay
+ *
+ * @passcondition Returned values of longitudes and latitudes for different overlays in DBL_EPSILON range respectively
+ * and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_region_set_p)
+{
+   double x = 0.0;
+   double y = 0.0;
+   Elm_Map_Overlay *bubble = NULL;
+
+   ovl = elm_map_overlay_add(map, 2.352, 48.857);
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_region_set(ovl, 5.4, 16.5);
+   elm_map_overlay_region_get(ovl, &x, &y);
+   if ((fabs(x - 5.4) > DBL_EPSILON) || (fabs(y - 16.5) > DBL_EPSILON))
+     {
+        elm_map_overlay_del(ovl);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(ovl);
+
+   bubble = elm_map_overlay_bubble_add(map);
+   if (bubble == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_region_set(bubble, 6.4, 15.5);
+   elm_map_overlay_region_get(bubble, &x, &y);
+   if ((fabs(x - 6.4) > DBL_EPSILON) || (fabs(y - 15.5) > DBL_EPSILON))
+     {
+        elm_map_overlay_del(bubble);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_del(bubble);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_region_set
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the overlay object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the overlay object
+ * @li 5.4
+ * @li 16.5
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the overlay object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_region_set_n)
+{
+   elm_map_overlay_region_set(NULL, 5.4, 16.5);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_overlay_region_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of valid parameters
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the overlay object
+ * @li NULL, pointer to the x variable
+ * @li NULL, pointer to the y variable
+ *
+ * @procedure
+ * @step 1 Set the geographic coordinates of the overlay (Longitude = 5.4, Latitude = 16.5)
+ * @step 2 Call test function with NULL in each turn instead of valid paramters
+ *
+ * @passcondition Returned values of longitude and latitude are equal to 5.4 and 16.5 in DBL_EPSILON range respectively
+ * and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_overlay_region_get_n)
+{
+   double x = 0.0;
+   double y = 0.0;
+
+   if (ovl == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_overlay_region_set(ovl, 5.4, 16.5);
+   UNITEST_FUNC_NEG(elm_map_overlay_region_get, ovl, &x, &y);
+   if ((fabs(x - 5.4) > DBL_EPSILON) || (fabs(y - 16.5) > DBL_EPSILON))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_overlay_region_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_overlay_region_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_overlay_region_set_p);
+   tcase_add_test(tcase, utc_elm_map_overlay_region_set_n);
+   tcase_add_test(tcase, utc_elm_map_overlay_region_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_overlay_region_set.c b/TC/elementary/map/utc_elm_map_overlay_region_set.c
deleted file mode 100644 (file)
index c20c19d..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static Elm_Map_Overlay *ovl = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_overlay_region_set elm_map_overlay_region_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_overlay_region_set
- * @{
- * @objective Positive test case checks if set the geographic coordinates of the overlay
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the overlay object
- * @li longitude value
- * @li latitude value
- *
- * @procedure
- * @step 1 Create new default overlay
- * @step 2 Set the geographic coordinates of the default overlay (Longitude = 5.4, Latitude = 16.5)
- * @step 3 Get the geographic coordinates of the default overlay
- * @step 4 Delete overlay
- * @step 5 Create new bubble overlay
- * @step 6 Set the geographic coordinates of the bubble overlay (Longitude = 6.4, Latitude = 15.5)
- * @step 7 Get the geographic coordinates of the bubble overlay
- * @step 8 Delete overlay
- *
- * @passcondition Returned values of longitudes and latitudes for different overlays in DBL_EPSILON range respectively
- * and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_region_set_p)
-{
-   double x = 0.0;
-   double y = 0.0;
-   Elm_Map_Overlay *bubble = NULL;
-
-   ovl = elm_map_overlay_add(map, 2.352, 48.857);
-   if (ovl == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_region_set(ovl, 5.4, 16.5);
-   elm_map_overlay_region_get(ovl, &x, &y);
-   if ((fabs(x - 5.4) > DBL_EPSILON) || (fabs(y - 16.5) > DBL_EPSILON))
-     {
-        elm_map_overlay_del(ovl);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(ovl);
-
-   bubble = elm_map_overlay_bubble_add(map);
-   if (bubble == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_region_set(bubble, 6.4, 15.5);
-   elm_map_overlay_region_get(bubble, &x, &y);
-   if ((fabs(x - 6.4) > DBL_EPSILON) || (fabs(y - 15.5) > DBL_EPSILON))
-     {
-        elm_map_overlay_del(bubble);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_overlay_del(bubble);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_overlay_region_set
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the overlay object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the overlay object
- * @li 5.4
- * @li 16.5
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the overlay object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_overlay_region_set_n)
-{
-   elm_map_overlay_region_set(NULL, 5.4, 16.5);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_overlay_region_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_overlay_region_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_overlay_region_set_p);
-   tcase_add_test(tcase, utc_elm_map_overlay_region_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_paused_get.c b/TC/elementary/map/utc_elm_map_paused_get.c
deleted file mode 100644 (file)
index 3234cb0..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_paused_get elm_map_paused_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_paused_get
- * @{
- * @objective Positive test case checks if get the paused state of map
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the map object
- *
- * @procedure
- * @step 1 Set paused state of map to EINA_TRUE
- * @step 2 Get the paused state of map
- * @step 3 Set paused state of map to EINA_FALSE
- * @step 4 Get the paused state of map
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_paused_get_p)
-{
-   Eina_Bool paused = EINA_FALSE;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_paused_set(map, EINA_TRUE);
-   paused = elm_map_paused_get(map);
-   if (paused != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_paused_set(map, EINA_FALSE);
-   paused = elm_map_paused_get(map);
-   if (paused != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_paused_get
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the map object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_paused_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_paused_get, map) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_paused_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_paused_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_paused_get_p);
-   tcase_add_test(tcase, utc_elm_map_paused_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_paused_get_set.c b/TC/elementary/map/utc_elm_map_paused_get_set.c
new file mode 100644 (file)
index 0000000..4b2a895
--- /dev/null
@@ -0,0 +1,149 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_paused_set elm_map_paused_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_paused_set
+ * @{
+ * @objective Positive test case checks if set the paused state of map
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Set paused state of map to EINA_TRUE
+ * @step 2 Get the paused state of map
+ * @step 3 Set paused state of map to EINA_FALSE
+ * @step 4 Get the paused state of map
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_paused_set_p)
+{
+   Eina_Bool paused = EINA_FALSE;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_paused_set(map, EINA_TRUE);
+   paused = elm_map_paused_get(map);
+   if (paused != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_paused_set(map, EINA_FALSE);
+   paused = elm_map_paused_get(map);
+   if (paused != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_paused_set
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the map object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the map object
+ * @li EINA_TRUE
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_paused_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_paused_set, map, EINA_TRUE);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_paused_get
+ * @{
+ * @objective Negative Test case checks if call test function with NULL instead of the map object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the map object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition Returned value is EINA_FALSE and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_paused_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, elm_map_paused_get, map) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_paused_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_paused_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_paused_set_p);
+   tcase_add_test(tcase, utc_elm_map_paused_set_n);
+   tcase_add_test(tcase, utc_elm_map_paused_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_paused_set.c b/TC/elementary/map/utc_elm_map_paused_set.c
deleted file mode 100644 (file)
index 6b2b1ae..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_paused_set elm_map_paused_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_paused_set
- * @{
- * @objective Positive test case checks if set the paused state of map
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Set paused state of map to EINA_TRUE
- * @step 2 Get the paused state of map
- * @step 3 Set paused state of map to EINA_FALSE
- * @step 4 Get the paused state of map
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_paused_set_p)
-{
-   Eina_Bool paused = EINA_FALSE;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_paused_set(map, EINA_TRUE);
-   paused = elm_map_paused_get(map);
-   if (paused != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_paused_set(map, EINA_FALSE);
-   paused = elm_map_paused_get(map);
-   if (paused != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_paused_set
- * @{
- * @objective Negative Test case checks if call test function with NULL instead of the map object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the map object
- * @li EINA_TRUE
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_paused_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_paused_set, map, EINA_TRUE);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_paused_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_paused_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_paused_set_p);
-   tcase_add_test(tcase, utc_elm_map_paused_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_rotate_get.c b/TC/elementary/map/utc_elm_map_rotate_get.c
deleted file mode 100644 (file)
index 630453c..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_rotate_get elm_map_rotate_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_rotate_get
- * @{
- * @objective Positive test case checks if get rotation of map
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li pointer to the degree variable
- * @li pointer to the cx variable
- * @li pointer to the cy variable
- *
- * @procedure
- * @step 1 Set rotation of map to 90 at (1,2)
- * @step 2 Get the rotate degree of the map
- *
- * @passcondition Return degree = 90, cx = 1, cy = 2 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_rotate_get_p)
-{
-   double gd = 0.0;
-   Evas_Coord gx = 0;
-   Evas_Coord gy = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_rotate_set(map, 90.0, 1, 2);
-   elm_map_rotate_get(map, &gd, &gx, &gy);
-   if ((fabs(gd - 90.0) > DBL_EPSILON) || (gx != 1) || (gy != 2))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_rotate_get
- * @{
- * @objective Negative test case checks if call test function with NULL instead of valid parameters
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the map object
- * @li NULL, pointer to the degree variable
- * @li NULL, pointer to the cx variable
- * @li NULL, pointer to the cy variable
- *
- * @procedure
- * @step 1 Call test function with NULL instead of valid parameters in each turn
- *
- * @passcondition Return degree = 90, cx = 1, cy = 2 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_rotate_get_n)
-{
-   double gd = 0.0;
-   Evas_Coord gx = 0;
-   Evas_Coord gy = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_rotate_set(map, 90.0, 1, 2);
-   UNITEST_FUNC_NEG(elm_map_rotate_get, map, &gd, &gx, &gy);
-   if ((fabs(gd - 90.0) > DBL_EPSILON) || (gx != 1) || (gy != 2))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_rotate_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_rotate_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_rotate_get_p);
-   tcase_add_test(tcase, utc_elm_map_rotate_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_rotate_get_set.c b/TC/elementary/map/utc_elm_map_rotate_get_set.c
new file mode 100644 (file)
index 0000000..5db136c
--- /dev/null
@@ -0,0 +1,160 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_rotate_set elm_map_rotate_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_rotate_set
+ * @{
+ * @objective Positive test case checks if set rotation of map
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li 90.0
+ * @li 1
+ * @li 2
+ *
+ * @procedure
+ * @step 1 Set rotation of map to 90 at (1,2)
+ * @step 2 Get the rotate degree of the map
+ *
+ * @passcondition Return degree = 90, cx = 1, cy = 2 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_rotate_set_p)
+{
+   double gd = 0.0;
+   Evas_Coord gx = 0;
+   Evas_Coord gy = 0;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_rotate_set(map, 90.0, 1, 2);
+   elm_map_rotate_get(map, &gd, &gx, &gy);
+   if ((fabs(gd - 90.0) > DBL_EPSILON) || (gx != 1) || (gy != 2))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_rotate_set
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of the map parameter
+ * @n Input Data:
+ * @li NULL instead of the map parameter
+ * @li 90.0
+ * @li 1
+ * @li 2
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map parameter
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_rotate_set_n)
+{
+   elm_map_rotate_set(NULL, 90.0, 1, 2);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_rotate_get
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of valid parameters
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the map object
+ * @li NULL, pointer to the degree variable
+ * @li NULL, pointer to the cx variable
+ * @li NULL, pointer to the cy variable
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of valid parameters in each turn
+ *
+ * @passcondition Return degree = 90, cx = 1, cy = 2 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_rotate_get_n)
+{
+   double gd = 0.0;
+   Evas_Coord gx = 0;
+   Evas_Coord gy = 0;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_rotate_set(map, 90.0, 1, 2);
+   UNITEST_FUNC_NEG(elm_map_rotate_get, map, &gd, &gx, &gy);
+   if ((fabs(gd - 90.0) > DBL_EPSILON) || (gx != 1) || (gy != 2))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_rotate_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_rotate_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_rotate_set_p);
+   tcase_add_test(tcase, utc_elm_map_rotate_set_n);
+   tcase_add_test(tcase, utc_elm_map_rotate_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_rotate_set.c b/TC/elementary/map/utc_elm_map_rotate_set.c
deleted file mode 100644 (file)
index fb7dc9e..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_rotate_set elm_map_rotate_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_rotate_set
- * @{
- * @objective Positive test case checks if set rotation of map
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li 90.0
- * @li 1
- * @li 2
- *
- * @procedure
- * @step 1 Set rotation of map to 90 at (1,2)
- * @step 2 Get the rotate degree of the map
- *
- * @passcondition Return degree = 90, cx = 1, cy = 2 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_rotate_set_p)
-{
-   double gd = 0.0;
-   Evas_Coord gx = 0;
-   Evas_Coord gy = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_rotate_set(map, 90.0, 1, 2);
-   elm_map_rotate_get(map, &gd, &gx, &gy);
-   if ((fabs(gd - 90.0) > DBL_EPSILON) || (gx != 1) || (gy != 2))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_rotate_set
- * @{
- * @objective Negative test case checks if call test function with NULL instead of the map parameter
- * @n Input Data:
- * @li NULL instead of the map parameter
- * @li 90.0
- * @li 1
- * @li 2
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map parameter
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_rotate_set_n)
-{
-   elm_map_rotate_set(NULL, 90.0, 1, 2);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_rotate_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_rotate_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_rotate_set_p);
-   tcase_add_test(tcase, utc_elm_map_rotate_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_source_get.c b/TC/elementary/map/utc_elm_map_source_get.c
deleted file mode 100644 (file)
index 6bbb6a0..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static const char **sources = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_source_get elm_map_source_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Get the available sources for the map
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   sources = elm_map_sources_get(map, ELM_MAP_SOURCE_TYPE_TILE);
-   if ((sources == NULL) || (sources[0] == NULL) || (sources[1] == NULL))
-     {
-        sources = NULL;
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to get a map sources..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_source_get
- * @{
- * @objective Positive test case checks if get the current source of the map
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the map object
- *
- * @procedure
- * @step 1 Set a source of the map
- * @step 2 Get the name of currently used source
- *
- * @passcondition Returned string is not NULL and equal to default map source with index 1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_source_get_p)
-{
-   const char *name = NULL;
-
-   if ((map == NULL) || (sources == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE, sources[1]);
-   name = elm_map_source_get(map, ELM_MAP_SOURCE_TYPE_TILE);
-   if (name == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is NULL..", __FILE__, __LINE__);
-     }
-   if (strcmp(name, sources[1]) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name comparation mismatch..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_source_get
- * @{
- * @objective Negative test case checks if call test function with invalid parameters
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the map object
- * @li ELM_MAP_SOURCE_TYPE_TILE, ELM_MAP_SOURCE_TYPE_TILE - 1
- * Note! ELM_MAP_SOURCE_TYPE_TILE is the min value of Elm_Map_Source_Type enum type
- *
- * @procedure
- * @step 1 Call test function with invalid parameters in each turn
- *
- * @passcondition Returned Object is NULL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_source_get_n)
-{
-   const char *name = NULL;
-
-   if ((map == NULL) || (sources == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   name = elm_map_source_get(NULL, ELM_MAP_SOURCE_TYPE_TILE);
-   if (name != NULL)
-     {
-   ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is not NULL while passing NULL instead of the map..", __FILE__, __LINE__);
-     }
-   name = elm_map_source_get(map, ELM_MAP_SOURCE_TYPE_TILE - 1);
-   if (name != NULL)
-     {
-   ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is not NULL while passing invalid map source type..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_source_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_source_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_source_get_p);
-   tcase_add_test(tcase, utc_elm_map_source_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_source_get_set.c b/TC/elementary/map/utc_elm_map_source_get_set.c
new file mode 100644 (file)
index 0000000..05897f5
--- /dev/null
@@ -0,0 +1,178 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+static const char **sources = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_source_set elm_map_source_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Get the available sources for the map
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   sources = elm_map_sources_get(map, ELM_MAP_SOURCE_TYPE_TILE);
+   if ((sources == NULL) || (sources[0] == NULL) || (sources[1] == NULL))
+     {
+        sources = NULL;
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to get a map sources..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_source_set
+ * @{
+ * @objective Positive test case checks if set the current source of the map
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li ELM_MAP_SOURCE_TYPE_TILE
+ * @li default map source with index 1
+ *
+ * @procedure
+ * @step 1 Set a source of the map
+ * @step 2 Get the name of currently used source
+ *
+ * @passcondition Returned string is not NULL and equal to default map source with index 1 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_source_set_p)
+{
+   const char *name = NULL;
+
+   if ((map == NULL) || (sources == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE, sources[1]);
+   name = elm_map_source_get(map, ELM_MAP_SOURCE_TYPE_TILE);
+   if (name == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is NULL..", __FILE__, __LINE__);
+     }
+   if (strcmp(name, sources[1]) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name comparation mismatch..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_source_set
+ * @{
+ * @objective Negative test case checks if call test function with invalid parameters
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the map object
+ * @li ELM_MAP_SOURCE_TYPE_TILE, ELM_MAP_SOURCE_TYPE_TILE - 1
+ * Note! ELM_MAP_SOURCE_TYPE_TILE is the min value of Elm_Map_Source_Type enum type
+ * @li NULL, default map source with index 1
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ * @step 2 Call test function with invalid map type enumeration
+ * @step 3 Call test function with NULL instead of valid source
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_source_set_n)
+{
+   if ((map == NULL) || (sources == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_source_set(NULL, ELM_MAP_SOURCE_TYPE_TILE, sources[1]);
+   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE - 1, sources[1]);
+   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE, NULL);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_source_get
+ * @{
+ * @objective Negative test case checks if call test function with invalid parameters
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the map object
+ * @li ELM_MAP_SOURCE_TYPE_TILE, ELM_MAP_SOURCE_TYPE_TILE - 1
+ * Note! ELM_MAP_SOURCE_TYPE_TILE is the min value of Elm_Map_Source_Type enum type
+ *
+ * @procedure
+ * @step 1 Call test function with invalid parameters in each turn
+ *
+ * @passcondition Returned Object is NULL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_source_get_n)
+{
+   const char *name = NULL;
+
+   if ((map == NULL) || (sources == NULL))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   name = elm_map_source_get(NULL, ELM_MAP_SOURCE_TYPE_TILE);
+   if (name != NULL)
+     {
+   ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is not NULL while passing NULL instead of the map..", __FILE__, __LINE__);
+     }
+   name = elm_map_source_get(map, ELM_MAP_SOURCE_TYPE_TILE - 1);
+   if (name != NULL)
+     {
+   ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is not NULL while passing invalid map source type..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_source_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_source_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_source_set_p);
+   tcase_add_test(tcase, utc_elm_map_source_set_n);
+   tcase_add_test(tcase, utc_elm_map_source_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_source_set.c b/TC/elementary/map/utc_elm_map_source_set.c
deleted file mode 100644 (file)
index 6696efb..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-static const char **sources = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_source_set elm_map_source_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Get the available sources for the map
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   sources = elm_map_sources_get(map, ELM_MAP_SOURCE_TYPE_TILE);
-   if ((sources == NULL) || (sources[0] == NULL) || (sources[1] == NULL))
-     {
-        sources = NULL;
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to get a map sources..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_source_set
- * @{
- * @objective Positive test case checks if set the current source of the map
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li ELM_MAP_SOURCE_TYPE_TILE
- * @li default map source with index 1
- *
- * @procedure
- * @step 1 Set a source of the map
- * @step 2 Get the name of currently used source
- *
- * @passcondition Returned string is not NULL and equal to default map source with index 1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_source_set_p)
-{
-   const char *name = NULL;
-
-   if ((map == NULL) || (sources == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE, sources[1]);
-   name = elm_map_source_get(map, ELM_MAP_SOURCE_TYPE_TILE);
-   if (name == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name is NULL..", __FILE__, __LINE__);
-     }
-   if (strcmp(name, sources[1]) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, name comparation mismatch..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_source_set
- * @{
- * @objective Negative test case checks if call test function with invalid parameters
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the map object
- * @li ELM_MAP_SOURCE_TYPE_TILE, ELM_MAP_SOURCE_TYPE_TILE - 1
- * Note! ELM_MAP_SOURCE_TYPE_TILE is the min value of Elm_Map_Source_Type enum type
- * @li NULL, default map source with index 1
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- * @step 2 Call test function with invalid map type enumeration
- * @step 3 Call test function with NULL instead of valid source
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_source_set_n)
-{
-   if ((map == NULL) || (sources == NULL))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_source_set(NULL, ELM_MAP_SOURCE_TYPE_TILE, sources[1]);
-   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE - 1, sources[1]);
-   elm_map_source_set(map, ELM_MAP_SOURCE_TYPE_TILE, NULL);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_source_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_source_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_source_set_p);
-   tcase_add_test(tcase, utc_elm_map_source_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_user_agent_get.c b/TC/elementary/map/utc_elm_map_user_agent_get.c
deleted file mode 100644 (file)
index b0a1c8e..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_user_agent_get elm_map_user_agent_get()
- *
- * @precondition
- * @step 1 Create main window.
- * @step 2 Add a new map widget to the main window.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   map = elm_map_add(main_win);
-}
-
-static void
-teardown(void)
-{
-   if (NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_user_agent_get
- * @{
- * @objective Positive Test case 01: Call function with correct parameters.
- * @n Input Data:
- * @li the map object.
- *
- * @procedure
- * @step 1 Set the user agent identification string used by the map.
- * @step 2 Get the user agent identification string used by the map.
- *
- * @passcondition: Returned string is equal to set string.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_get_p_1)
-{
-   const char* name = "MapName";
-   elm_map_user_agent_set(map, name);
-   const char* str = elm_map_user_agent_get(map);
-
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_user_agent_get
- * @{
- * @objective Positive Test case 02: Call function with correct parameters.
- * @n Input Data:
- * @li the map object.
- *
- * @procedure
- * @step 1 Set the user agent identification string used by the map.
- * @step 2 Get the user agent identification string used by the map.
- * @step 3 Set the new user agent identification string used by the map.
- * @step 4 Get the new user agent identification string used by the map.
- *
- * @passcondition: Returned string is equal to set string.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_get_p_2)
-{
-   const char* name = "MapName";
-   elm_map_user_agent_set(map, name);
-   const char* str = elm_map_user_agent_get(map);
-
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_map_user_agent_set(map, NULL);
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_user_agent_get
- * @{
- * @objective Negative Test case 01: Call function with NULL as the map object.
- * @n Input Data:
- * @li NULL as the map object.
- *
- * @procedure
- * @step 1 Call elm_map_user_agent_get() with NULL.
- *
- * @passcondition: Test passes if NULL is returned and no segmentation fault.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_get_n_1)
-{
-   if (elm_map_user_agent_get(NULL) != NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_elm_map_user_agent_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_user_agent_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_get_p_1);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_get_p_2);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_get_n_1);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_user_agent_get_set.c b/TC/elementary/map/utc_elm_map_user_agent_get_set.c
new file mode 100644 (file)
index 0000000..81f245d
--- /dev/null
@@ -0,0 +1,205 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_user_agent_set elm_map_user_agent_set()
+ *
+ * @precondition
+ * @step 1 Create main window.
+ * @step 2 Add a new map widget to the main window.
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   map = elm_map_add(main_win);
+}
+
+static void
+teardown(void)
+{
+   if (NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_user_agent_set
+ * @{
+ * @objective Positive Test case 01: Call function with correct parameters.
+ * @n Input Data:
+ * @li the map object;
+ * @li the user agent identification string to be used by the map.
+ *
+ * @procedure
+ * @step 1 Set the user agent identification string used by the map.
+ * @step 2 Get the user agent identification string used by the map.
+ *
+ * @passcondition: Returned string is equal to set string.
+ * @}
+ */
+START_TEST(utc_elm_map_user_agent_set_p_1)
+{
+   const char* name = "MapName";
+   elm_map_user_agent_set(map, name);
+   const char* str = elm_map_user_agent_get(map);
+
+   if (strcmp(str, name) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_user_agent_set
+ * @{
+ * @objective Positive Test case 02: Call function with correct parameters.
+ * @n Input Data:
+ * @li the map object;
+ * @li the user agent identification string to be used by the map.
+ *
+ * @procedure
+ * @step 1 Set the user agent identification string used by the map.
+ * @step 2 Get the user agent identification string used by the map.
+ * @step 3 Set the new user agent identification string used by the map.
+ * @step 4 Get the new user agent identification string used by the map.
+ *
+ * @passcondition: Returned string is equal to set string.
+ * @}
+ */
+START_TEST(utc_elm_map_user_agent_set_p_2)
+{
+   const char* name = "MapName";
+   elm_map_user_agent_set(map, name);
+   const char* str = elm_map_user_agent_get(map);
+
+   if (strcmp(str, name) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   elm_map_user_agent_set(map, NULL);
+   if (strcmp(str, name) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_user_agent_set
+ * @{
+ * @objective Positive test case 03: Call function with correct parameters.
+ * @n Input Data:
+ * @li the map object;
+ * @li the user agent identification string to be used by the map.
+ *
+ * @procedure
+ * @step 1 Set the user agent identification string used by the map.
+ * @step 2 Get the user agent identification string used by the map.
+ * @step 3 Try to set empty string as new user agent identification string used by the map.
+ * @step 4 Get the user agent identification string used by the map.
+ *
+ * @passcondition: Returned string is equal to set string.
+ * @}
+ */
+START_TEST(utc_elm_map_user_agent_set_p_3)
+{
+   const char* name = "MapName";
+   elm_map_user_agent_set(map, name);
+   const char* str = elm_map_user_agent_get(map);
+
+   if (strcmp(str, name) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   const char* name1 = "MapName1";
+   elm_map_user_agent_set(map, name1);
+   const char* str1 = elm_map_user_agent_get(map);
+
+   if (strcmp(str1, name1) != 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_user_agent_set
+ * @{
+ * @objective Negative Test case 01: Call function with NULL as the map object.
+ * @n Input Data:
+ * @li NULL as the map object;
+ * @li the user agent identification string to be used by the map.
+ *
+ * @procedure
+ * @step 1 Call elm_map_user_agent_set() with NULL.
+ *
+ * @passcondition: Return type of this API is void. Test passes if API completes successfully.
+ * @}
+ */
+START_TEST(utc_elm_map_user_agent_set_n_1)
+{
+   elm_map_user_agent_set(NULL, "Map");
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_user_agent_get
+ * @{
+ * @objective Negative Test case 01: Call function with NULL as the map object.
+ * @n Input Data:
+ * @li NULL as the map object.
+ *
+ * @procedure
+ * @step 1 Call elm_map_user_agent_get() with NULL.
+ *
+ * @passcondition: Test passes if NULL is returned and no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_map_user_agent_get_n_1)
+{
+   if (elm_map_user_agent_get(NULL) != NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_user_agent_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_user_agent_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_user_agent_set_p_1);
+   tcase_add_test(tcase, utc_elm_map_user_agent_set_p_2);
+   tcase_add_test(tcase, utc_elm_map_user_agent_set_p_3);
+   tcase_add_test(tcase, utc_elm_map_user_agent_set_n_1);
+   tcase_add_test(tcase, utc_elm_map_user_agent_get_n_1);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_user_agent_set.c b/TC/elementary/map/utc_elm_map_user_agent_set.c
deleted file mode 100644 (file)
index 8ef23fe..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_user_agent_set elm_map_user_agent_set()
- *
- * @precondition
- * @step 1 Create main window.
- * @step 2 Add a new map widget to the main window.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   map = elm_map_add(main_win);
-}
-
-static void
-teardown(void)
-{
-   if (NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_user_agent_set
- * @{
- * @objective Positive Test case 01: Call function with correct parameters.
- * @n Input Data:
- * @li the map object;
- * @li the user agent identification string to be used by the map.
- *
- * @procedure
- * @step 1 Set the user agent identification string used by the map.
- * @step 2 Get the user agent identification string used by the map.
- *
- * @passcondition: Returned string is equal to set string.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_set_p_1)
-{
-   const char* name = "MapName";
-   elm_map_user_agent_set(map, name);
-   const char* str = elm_map_user_agent_get(map);
-
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_user_agent_set
- * @{
- * @objective Positive Test case 02: Call function with correct parameters.
- * @n Input Data:
- * @li the map object;
- * @li the user agent identification string to be used by the map.
- *
- * @procedure
- * @step 1 Set the user agent identification string used by the map.
- * @step 2 Get the user agent identification string used by the map.
- * @step 3 Set the new user agent identification string used by the map.
- * @step 4 Get the new user agent identification string used by the map.
- *
- * @passcondition: Returned string is equal to set string.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_set_p_2)
-{
-   const char* name = "MapName";
-   elm_map_user_agent_set(map, name);
-   const char* str = elm_map_user_agent_get(map);
-
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_map_user_agent_set(map, NULL);
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_user_agent_set
- * @{
- * @objective Positive test case 03: Call function with correct parameters.
- * @n Input Data:
- * @li the map object;
- * @li the user agent identification string to be used by the map.
- *
- * @procedure
- * @step 1 Set the user agent identification string used by the map.
- * @step 2 Get the user agent identification string used by the map.
- * @step 3 Try to set empty string as new user agent identification string used by the map.
- * @step 4 Get the user agent identification string used by the map.
- *
- * @passcondition: Returned string is equal to set string.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_set_p_3)
-{
-   const char* name = "MapName";
-   elm_map_user_agent_set(map, name);
-   const char* str = elm_map_user_agent_get(map);
-
-   if (strcmp(str, name) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   const char* name1 = "MapName1";
-   elm_map_user_agent_set(map, name1);
-   const char* str1 = elm_map_user_agent_get(map);
-
-   if (strcmp(str1, name1) != 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_user_agent_set
- * @{
- * @objective Negative Test case 01: Call function with NULL as the map object.
- * @n Input Data:
- * @li NULL as the map object;
- * @li the user agent identification string to be used by the map.
- *
- * @procedure
- * @step 1 Call elm_map_user_agent_set() with NULL.
- *
- * @passcondition: Return type of this API is void. Test passes if API completes successfully.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_user_agent_set_n_1)
-{
-   elm_map_user_agent_set(NULL, "Map");
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_user_agent_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_user_agent_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_set_p_1);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_set_p_2);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_set_p_3);
-   tcase_add_test(tcase, utc_UIFW_elm_map_user_agent_set_n_1);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_wheel_disabled_get.c b/TC/elementary/map/utc_elm_map_wheel_disabled_get.c
deleted file mode 100644 (file)
index 2c2fef5..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_wheel_disabled_get elm_map_wheel_disabled_get()
- *
- * @precondition
- * @step 1 Create main window.
- * @step 2 Add a new map widget to the main window.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   map = elm_map_add(main_win);
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win )
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_wheel_disabled_get
- * @{
- * @objective Positive test case 01: Call function with correct parameter.
- * @n Input Data:
- * @li the map object.
- *
- * @procedure
- * @step 1 Enable mouse wheel to be used to zoom in / out the map.
- * @step 2 Get the state of the mouse wheel and compare with EINA_FALSE (enabled state).
- * @step 3 Disable mouse wheel to be used to zoom in / out the map.
- * @step 4 Get the state of the mouse wheel and compare with EINA_TRUE (enabled state).
- *
- * @passcondition: Test passes if set and get states are equal.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_wheel_disabled_get_p_1)
-{
-   elm_map_wheel_disabled_set(map, EINA_FALSE);
-   if (elm_map_wheel_disabled_get(map) != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_map_wheel_disabled_set(map, EINA_TRUE);
-   if (elm_map_wheel_disabled_get(map) != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @deltogroup elm_map_wheel_disabled_get
- * @{
- * @objective Negative test case 01: Call function for NULL object.
- * @n Input Data:
- * @li NULL as the map object.
- *
- * @procedure
- * @step 1 Try to get mouse wheel state of NULL as the map object.
- *
- * @passcondition: Test passes if EINA_FALSE is returned and no segmentation fault.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_wheel_disabled_get_n_1)
-{
-
-   if (elm_map_wheel_disabled_get(NULL) == EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_wheel_disabled_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_wheel_disabled_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_elm_map_wheel_disabled_get_p_1);
-   tcase_add_test(tcase, utc_UIFW_elm_map_wheel_disabled_get_n_1);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_wheel_disabled_get_set.c b/TC/elementary/map/utc_elm_map_wheel_disabled_get_set.c
new file mode 100644 (file)
index 0000000..cf5e98d
--- /dev/null
@@ -0,0 +1,132 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_wheel_disabled_set elm_map_wheel_disabled_set()
+ *
+ * @precondition
+ * @step 1 Create main window.
+ * @step 2 Add a new map widget to the main window.
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   map = elm_map_add(main_win);
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win )
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_wheel_disabled_set
+ * @{
+ * @objective Positive test case 01: Call function with correct parameter.
+ * @n Input Data:
+ * @li the map object;
+ * @li EINA_FALSE / EINA_TRUE to enable / disable mouse wheel.
+ *
+ * @procedure
+ * @step 1 Enable mouse wheel to be used to zoom in / out the map.
+ * @step 2 Get the state of the mouse wheel and compare with EINA_FALSE (enabled state).
+ * @step 3 Disable mouse wheel to be used to zoom in / out the map.
+ * @step 4 Get the state of the mouse wheel and compare with EINA_TRUE (enabled state).
+ *
+ * @passcondition: Test passes if set and get states are equal.
+ * @}
+ */
+START_TEST(utc_elm_map_wheel_disabled_set_p_1)
+{
+   elm_map_wheel_disabled_set(map, EINA_FALSE);
+   if (elm_map_wheel_disabled_get(map) != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   elm_map_wheel_disabled_set(map, EINA_TRUE);
+   if (elm_map_wheel_disabled_get(map) != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @deltogroup elm_map_wheel_disabled_set
+ * @{
+ * @objective Negative test case 01: Call function for NULL object.
+ * @n Input Data:
+ * @li NULL as the map object;
+ * @li EINA_FALSE to enable mouse wheel.
+ *
+ * @procedure
+ * @step 1 Try to set mouse wheel state of NULL as the map object.
+ *
+ * @passcondition: Return type of this API is void. Test passes if API completes successfully.
+ * @}
+ */
+START_TEST(utc_elm_map_wheel_disabled_set_n_1)
+{
+   elm_map_wheel_disabled_set(NULL, EINA_FALSE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @deltogroup elm_map_wheel_disabled_get
+ * @{
+ * @objective Negative test case 01: Call function for NULL object.
+ * @n Input Data:
+ * @li NULL as the map object.
+ *
+ * @procedure
+ * @step 1 Try to get mouse wheel state of NULL as the map object.
+ *
+ * @passcondition: Test passes if EINA_FALSE is returned and no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_map_wheel_disabled_get_n_1)
+{
+
+   if (elm_map_wheel_disabled_get(NULL) == EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_wheel_disabled_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_wheel_disabled_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_wheel_disabled_set_p_1);
+   tcase_add_test(tcase, utc_elm_map_wheel_disabled_set_n_1);
+   tcase_add_test(tcase, utc_elm_map_wheel_disabled_get_n_1);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_wheel_disabled_set.c b/TC/elementary/map/utc_elm_map_wheel_disabled_set.c
deleted file mode 100644 (file)
index e6ab0ba..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_wheel_disabled_set elm_map_wheel_disabled_set()
- *
- * @precondition
- * @step 1 Create main window.
- * @step 2 Add a new map widget to the main window.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   map = elm_map_add(main_win);
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win )
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_wheel_disabled_set
- * @{
- * @objective Positive test case 01: Call function with correct parameter.
- * @n Input Data:
- * @li the map object;
- * @li EINA_FALSE / EINA_TRUE to enable / disable mouse wheel.
- *
- * @procedure
- * @step 1 Enable mouse wheel to be used to zoom in / out the map.
- * @step 2 Get the state of the mouse wheel and compare with EINA_FALSE (enabled state).
- * @step 3 Disable mouse wheel to be used to zoom in / out the map.
- * @step 4 Get the state of the mouse wheel and compare with EINA_TRUE (enabled state).
- *
- * @passcondition: Test passes if set and get states are equal.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_wheel_disabled_set_p_1)
-{
-   elm_map_wheel_disabled_set(map, EINA_FALSE);
-   if (elm_map_wheel_disabled_get(map) != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_map_wheel_disabled_set(map, EINA_TRUE);
-   if (elm_map_wheel_disabled_get(map) != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @deltogroup elm_map_wheel_disabled_set
- * @{
- * @objective Negative test case 01: Call function for NULL object.
- * @n Input Data:
- * @li NULL as the map object;
- * @li EINA_FALSE to enable mouse wheel.
- *
- * @procedure
- * @step 1 Try to set mouse wheel state of NULL as the map object.
- *
- * @passcondition: Return type of this API is void. Test passes if API completes successfully.
- * @}
- */
-START_TEST(utc_UIFW_elm_map_wheel_disabled_set_n_1)
-{
-   elm_map_wheel_disabled_set(NULL, EINA_FALSE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_wheel_disabled_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_wheel_disabled_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_elm_map_wheel_disabled_set_p_1);
-   tcase_add_test(tcase, utc_UIFW_elm_map_wheel_disabled_set_n_1);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_max_get.c b/TC/elementary/map/utc_elm_map_zoom_max_get.c
deleted file mode 100644 (file)
index 6adcdaa..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_max_get elm_map_zoom_max_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_max_get
- * @{
- * @objective Positive test case checks if get the maximum zoom of the source
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the map object
- *
- * @procedure
- * @step 1 Set the maximum zoom of the source to 10
- * @step 2 Get the maximum zoom of the source
- *
- * @passcondition Return value is 10 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_max_get_p)
-{
-   int max = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_max_set(map, 10);
-   max = elm_map_zoom_max_get(map);
-   if (max != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_max_get
- * @{
- * @objective Negative test case checks if call test function with NULL instead of the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the map object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition Returned value is -1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_max_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(-1, elm_map_zoom_max_get, map) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_max_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_max_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_max_get_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_max_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_max_get_set.c b/TC/elementary/map/utc_elm_map_zoom_max_get_set.c
new file mode 100644 (file)
index 0000000..a18495e
--- /dev/null
@@ -0,0 +1,168 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_zoom_max_set elm_map_zoom_max_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_zoom_max_set
+ * @{
+ * @objective Positive test case checks if set the maximum zoom of the source
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li 10
+ *
+ * @procedure
+ * @step 1 Set the maximum zoom of the source to 10
+ * @step 2 Get the maximum zoom of the source
+ *
+ * @passcondition Return value is 10 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_max_set_p)
+{
+   int max = 0;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_max_set(map, 10);
+   max = elm_map_zoom_max_get(map);
+   if (max != 10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_max_set
+ * @{
+ * @objective Negative test case 01 checks if call test function with NULL instead of the map object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the map object
+ * @li 10
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_max_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_zoom_max_set, map, 10);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_max_set
+ * @{
+ * @objective Negative test case 02 checks if call test function with negative values
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li -10
+ *
+ * @procedure
+ * @step 1 Call test function with negative values
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_max_set_n2)
+{
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_max_set(map, -10);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_max_get
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of the map object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the map object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition Returned value is -1 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_max_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(-1, elm_map_zoom_max_get, map) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_zoom_max_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_zoom_max_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_zoom_max_set_p);
+   tcase_add_test(tcase, utc_elm_map_zoom_max_set_n);
+   tcase_add_test(tcase, utc_elm_map_zoom_max_set_n2);
+   tcase_add_test(tcase, utc_elm_map_zoom_max_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_zoom_max_set.c b/TC/elementary/map/utc_elm_map_zoom_max_set.c
deleted file mode 100644 (file)
index 46f078a..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_max_set elm_map_zoom_max_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_max_set
- * @{
- * @objective Positive test case checks if set the maximum zoom of the source
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li 10
- *
- * @procedure
- * @step 1 Set the maximum zoom of the source to 10
- * @step 2 Get the maximum zoom of the source
- *
- * @passcondition Return value is 10 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_max_set_p)
-{
-   int max = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_max_set(map, 10);
-   max = elm_map_zoom_max_get(map);
-   if (max != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_max_set
- * @{
- * @objective Negative test case 01 checks if call test function with NULL instead of the map object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the map object
- * @li 10
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_max_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_zoom_max_set, map, 10);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_max_set
- * @{
- * @objective Negative test case 02 checks if call test function with negative values
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li -10
- *
- * @procedure
- * @step 1 Call test function with negative values
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_max_set_n2)
-{
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_max_set(map, -10);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_max_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_max_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_max_set_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_max_set_n);
-   tcase_add_test(tcase, utc_elm_map_zoom_max_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_min_get.c b/TC/elementary/map/utc_elm_map_zoom_min_get.c
deleted file mode 100644 (file)
index 5e514df..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_min_get elm_map_zoom_min_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_min_get
- * @{
- * @objective Positive test case checks if get the minimum zoom of the source
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the map object
- *
- * @procedure
- * @step 1 Set the minimum zoom of the source to 1
- * @step 2 Get the minimum zoom of the source
- *
- * @passcondition Return value is 1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_min_get_p)
-{
-   int min = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_min_set(map, 1);
-   min = elm_map_zoom_min_get(map);
-   if (min != 1)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_min_get
- * @{
- * @objective Negative test case checks if call test function with NULL instead of the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the map object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition Returned value is -1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_min_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(-1, elm_map_zoom_min_get, map) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_min_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_min_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_min_get_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_min_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_min_get_set.c b/TC/elementary/map/utc_elm_map_zoom_min_get_set.c
new file mode 100644 (file)
index 0000000..91737a1
--- /dev/null
@@ -0,0 +1,168 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_zoom_min_set elm_map_zoom_min_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win = NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_zoom_min_set
+ * @{
+ * @objective Positive test case checks if set the minimum zoom of the source
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li 1
+ *
+ * @procedure
+ * @step 1 Set the minimum zoom of the source to 1
+ * @step 2 Get the minimum zoom of the source
+ *
+ * @passcondition Return value is 1 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_min_set_p)
+{
+   int min = 0;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_min_set(map, 1);
+   min = elm_map_zoom_min_get(map);
+   if (min != 1)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_min_set
+ * @{
+ * @objective Negative 01 test case checks if call test function with NULL instead of the map object
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL instead of the map object
+ * @li 1
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_min_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(elm_map_zoom_min_set, map, 1);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_min_set
+ * @{
+ * @objective Negative 02 test case checks if call test function with negative values
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li -1
+ *
+ * @procedure
+ * @step 1 Call test function with negative values -1
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_min_set_n2)
+{
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_min_set(map, -1);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_min_get
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of the map object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the map object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition Returned value is -1 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_min_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(-1, elm_map_zoom_min_get, map) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_zoom_min_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_zoom_min_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_zoom_min_set_p);
+   tcase_add_test(tcase, utc_elm_map_zoom_min_set_n);
+   tcase_add_test(tcase, utc_elm_map_zoom_min_set_n2);
+   tcase_add_test(tcase, utc_elm_map_zoom_min_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_zoom_min_set.c b/TC/elementary/map/utc_elm_map_zoom_min_set.c
deleted file mode 100644 (file)
index 189e105..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_min_set elm_map_zoom_min_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_min_set
- * @{
- * @objective Positive test case checks if set the minimum zoom of the source
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li 1
- *
- * @procedure
- * @step 1 Set the minimum zoom of the source to 1
- * @step 2 Get the minimum zoom of the source
- *
- * @passcondition Return value is 1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_min_set_p)
-{
-   int min = 0;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_min_set(map, 1);
-   min = elm_map_zoom_min_get(map);
-   if (min != 1)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_min_set
- * @{
- * @objective Negative 01 test case checks if call test function with NULL instead of the map object
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL instead of the map object
- * @li 1
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_min_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(elm_map_zoom_min_set, map, 1);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_min_set
- * @{
- * @objective Negative 02 test case checks if call test function with negative values
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li -1
- *
- * @procedure
- * @step 1 Call test function with negative values -1
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_min_set_n2)
-{
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_min_set(map, -1);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_min_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_min_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_min_set_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_min_set_n);
-   tcase_add_test(tcase, utc_elm_map_zoom_min_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_mode_get.c b/TC/elementary/map/utc_elm_map_zoom_mode_get.c
deleted file mode 100644 (file)
index 4017cb8..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-static Eina_Bool _on_done(void* data)
-{
-   elm_exit();
-   return EINA_FALSE;
-}
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_mode_get elm_map_zoom_mode_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Change the size of the win object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   elm_win_resize_object_add(main_win, map);
-   evas_object_resize(main_win, 320, 240);
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win = NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_mode_get
- * @{
- * @objective Positive test case checks if get the zoom mode used by the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: the map object
- *
- * @procedure
- * @step 1 Set zoom mode to ELM_MAP_ZOOM_MODE_AUTO_FILL
- * @step 2 Call the calculate() smart function immediately on a given smart object
- * @step 3 Create a timer to call the elm_exit() function in the given period of time
- * @step 4 Run Elementary's main loop
- * @step 5 Get the zoom mode used by the map object
- *
- * @passcondition Returned value is ELM_MAP_ZOOM_MODE_AUTO_FILL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_mode_get_p)
-{
-   Elm_Map_Zoom_Mode ret = ELM_MAP_ZOOM_MODE_MANUAL;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_mode_set(map, ELM_MAP_ZOOM_MODE_AUTO_FILL);
-   evas_object_smart_calculate(map);
-   ecore_timer_add(0.5, _on_done, NULL);
-   elm_run();
-   ret = elm_map_zoom_mode_get(map);
-   if (ret != ELM_MAP_ZOOM_MODE_AUTO_FILL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_mode_get
- * @{
- * @objective Negative test case checks if call test function with NULL instead of the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data: NULL instead of the map object
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the map object
- *
- * @passcondition Default ELM_MAP_ZOOM_MODE_MANUAL value returned and there is no segmentation fault
- * Note! ELM_MAP_ZOOM_MODE_MANUAL is the default value
- * @}
- */
-START_TEST(utc_elm_map_zoom_mode_get_n)
-{
-   if (UNITEST_FUNC_NEG_RET(ELM_MAP_ZOOM_MODE_MANUAL, elm_map_zoom_mode_get, map) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_mode_get()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_mode_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_mode_get_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_mode_get_n);
-   return tcase;
-}
diff --git a/TC/elementary/map/utc_elm_map_zoom_mode_get_set.c b/TC/elementary/map/utc_elm_map_zoom_mode_get_set.c
new file mode 100644 (file)
index 0000000..c61c3cd
--- /dev/null
@@ -0,0 +1,162 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+static Evas_Object *map = NULL;
+
+static Eina_Bool _on_done(void* data)
+{
+   elm_exit();
+   return EINA_FALSE;
+}
+
+/**
+ * @addtogroup elm_map
+ * @{
+ * @defgroup elm_map_zoom_mode_set elm_map_zoom_mode_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create and show main window
+ * @step 3 Add a new map widget to the main window
+ * @step 4 Change the size of the win object
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+   if (main_win == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+     }
+   evas_object_show(main_win);
+   map = elm_map_add(main_win);
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
+     }
+   elm_win_resize_object_add(main_win, map);
+   evas_object_resize(main_win, 320, 240);
+}
+
+static void
+teardown(void)
+{
+   if ( NULL != main_win)
+     {
+        evas_object_del(main_win);
+        main_win= NULL;
+     }
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_map_zoom_mode_set
+ * @{
+ * @objective Positive test case checks if set the zoom mode used by the map object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data:
+ * @li the map object
+ * @li ELM_MAP_ZOOM_MODE_AUTO_FILL
+ *
+ * @procedure
+ * @step 1 Set zoom mode to ELM_MAP_ZOOM_MODE_AUTO_FILL
+ * @step 2 Call the calculate() smart function immediately on a given smart object
+ * @step 3 Create a timer to call the elm_exit() function in the given period of time
+ * @step 4 Run Elementary's main loop
+ * @step 5 Get the zoom mode used by the map object
+ *
+ * @passcondition Returned value is ELM_MAP_ZOOM_MODE_AUTO_FILL and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_mode_set_p)
+{
+   Elm_Map_Zoom_Mode ret = ELM_MAP_ZOOM_MODE_MANUAL;
+
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_mode_set(map, ELM_MAP_ZOOM_MODE_AUTO_FILL);
+   evas_object_smart_calculate(map);
+   ecore_timer_add(0.5, _on_done, NULL);
+   elm_run();
+   ret = elm_map_zoom_mode_get(map);
+   if (ret != ELM_MAP_ZOOM_MODE_AUTO_FILL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_mode_set
+ * @{
+ * @objective Negative test case checks if call test function with invalid parameters
+ * doesn't cause segmentation fault
+ * @n Input Data:
+ * @li NULL, the map object
+ * @li ELM_MAP_ZOOM_MODE_AUTO_FILL, ELM_MAP_ZOOM_MODE_MANUAL - 1
+ * Note! ELM_MAP_ZOOM_MODE_MANUAL is the min value of Elm_Map_Zoom_Mode enum type
+ *
+ * @procedure
+ * @step 1 Call test function with invalid parameters
+ *
+ * @passcondition There is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_mode_set_n)
+{
+   if (map == NULL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_map_zoom_mode_set(NULL, ELM_MAP_ZOOM_MODE_AUTO_FILL);
+   elm_map_zoom_mode_set(map, ELM_MAP_ZOOM_MODE_MANUAL - 1);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_map_zoom_mode_get
+ * @{
+ * @objective Negative test case checks if call test function with NULL instead of the map object
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: NULL instead of the map object
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the map object
+ *
+ * @passcondition Default ELM_MAP_ZOOM_MODE_MANUAL value returned and there is no segmentation fault
+ * Note! ELM_MAP_ZOOM_MODE_MANUAL is the default value
+ * @}
+ */
+START_TEST(utc_elm_map_zoom_mode_get_n)
+{
+   if (UNITEST_FUNC_NEG_RET(ELM_MAP_ZOOM_MODE_MANUAL, elm_map_zoom_mode_get, map) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_map_zoom_mode_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_map_zoom_mode_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_map_zoom_mode_set_p);
+   tcase_add_test(tcase, utc_elm_map_zoom_mode_set_n);
+   tcase_add_test(tcase, utc_elm_map_zoom_mode_get_n);
+   return tcase;
+}
diff --git a/TC/elementary/map/utc_elm_map_zoom_mode_set.c b/TC/elementary/map/utc_elm_map_zoom_mode_set.c
deleted file mode 100644 (file)
index 704d5da..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-static Evas_Object *map = NULL;
-
-static Eina_Bool _on_done(void* data)
-{
-   elm_exit();
-   return EINA_FALSE;
-}
-
-/**
- * @addtogroup elm_map
- * @{
- * @defgroup elm_map_zoom_mode_set elm_map_zoom_mode_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create and show main window
- * @step 3 Add a new map widget to the main window
- * @step 4 Change the size of the win object
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-   main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-   if (main_win == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
-     }
-   evas_object_show(main_win);
-   map = elm_map_add(main_win);
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a map widget..", __FILE__, __LINE__);
-     }
-   elm_win_resize_object_add(main_win, map);
-   evas_object_resize(main_win, 320, 240);
-}
-
-static void
-teardown(void)
-{
-   if ( NULL != main_win)
-     {
-        evas_object_del(main_win);
-        main_win= NULL;
-     }
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_map_zoom_mode_set
- * @{
- * @objective Positive test case checks if set the zoom mode used by the map object
- * works properly and doesn't cause segmentation fault
- * @n Input Data:
- * @li the map object
- * @li ELM_MAP_ZOOM_MODE_AUTO_FILL
- *
- * @procedure
- * @step 1 Set zoom mode to ELM_MAP_ZOOM_MODE_AUTO_FILL
- * @step 2 Call the calculate() smart function immediately on a given smart object
- * @step 3 Create a timer to call the elm_exit() function in the given period of time
- * @step 4 Run Elementary's main loop
- * @step 5 Get the zoom mode used by the map object
- *
- * @passcondition Returned value is ELM_MAP_ZOOM_MODE_AUTO_FILL and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_mode_set_p)
-{
-   Elm_Map_Zoom_Mode ret = ELM_MAP_ZOOM_MODE_MANUAL;
-
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_mode_set(map, ELM_MAP_ZOOM_MODE_AUTO_FILL);
-   evas_object_smart_calculate(map);
-   ecore_timer_add(0.5, _on_done, NULL);
-   elm_run();
-   ret = elm_map_zoom_mode_get(map);
-   if (ret != ELM_MAP_ZOOM_MODE_AUTO_FILL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_map_zoom_mode_set
- * @{
- * @objective Negative test case checks if call test function with invalid parameters
- * doesn't cause segmentation fault
- * @n Input Data:
- * @li NULL, the map object
- * @li ELM_MAP_ZOOM_MODE_AUTO_FILL, ELM_MAP_ZOOM_MODE_MANUAL - 1
- * Note! ELM_MAP_ZOOM_MODE_MANUAL is the min value of Elm_Map_Zoom_Mode enum type
- *
- * @procedure
- * @step 1 Call test function with invalid parameters
- *
- * @passcondition There is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_map_zoom_mode_set_n)
-{
-   if (map == NULL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   elm_map_zoom_mode_set(NULL, ELM_MAP_ZOOM_MODE_AUTO_FILL);
-   elm_map_zoom_mode_set(map, ELM_MAP_ZOOM_MODE_MANUAL - 1);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_map_zoom_mode_set()
-{
-   TCase *tcase = tcase_create("utc_elm_map_zoom_mode_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_map_zoom_mode_set_p);
-   tcase_add_test(tcase, utc_elm_map_zoom_mode_set_n);
-   return tcase;
-}