utc_evas_object_image_xxxx: Merge TCs to reduce duplicate test operations 55/190855/1
authorApurv Khatri <apurv.khatri@samsung.com>
Mon, 8 Oct 2018 05:47:43 +0000 (11:17 +0530)
committerApurv Khatri <apurv.khatri@samsung.com>
Mon, 8 Oct 2018 05:47:43 +0000 (11:17 +0530)
Change-Id: Ia771aacb91aaa99f4375b066d270ae64537654ce

68 files changed:
TC/evas/canvas/evas_object_image/tslist
TC/evas/canvas/evas_object_image/tslist_mobile
TC/evas/canvas/evas_object_image/tslist_tv
TC/evas/canvas/evas_object_image/tslist_wear
TC/evas/canvas/evas_object_image/utc_evas_object_image_add.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_border_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_file_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_size_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_source_set.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get.c [deleted file]
TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_set.c [deleted file]

index 621b48ed9331ad4269c16ca36b8724c5441d4cfa..4418e7a709e070ba4afe9f6b9c812874b9073799 100644 (file)
@@ -1,6 +1,4 @@
-utc_evas_object_image_add.c
-utc_evas_object_image_alpha_get.c
-utc_evas_object_image_alpha_set.c
+utc_evas_object_image_alpha_get_set.c
 utc_evas_object_image_alpha_mask_set.c
 utc_evas_object_image_animated_frame_count_get.c
 utc_evas_object_image_animated_frame_duration_get.c
@@ -8,70 +6,50 @@ utc_evas_object_image_animated_frame_set.c
 utc_evas_object_image_animated_get.c
 utc_evas_object_image_animated_loop_count_get.c
 utc_evas_object_image_animated_loop_type_get.c
-utc_evas_object_image_border_center_fill_get.c
-utc_evas_object_image_border_center_fill_set.c
-utc_evas_object_image_border_get.c
-utc_evas_object_image_border_set.c
-utc_evas_object_image_border_scale_get.c
-utc_evas_object_image_border_scale_set.c
+utc_evas_object_image_border_center_fill_get_set.c
+utc_evas_object_image_border_get_set.c
+utc_evas_object_image_border_scale_get_set.c
 utc_evas_object_image_colorspace_get.c
 utc_evas_object_image_colorspace_set.c
-utc_evas_object_image_content_hint_get.c
-utc_evas_object_image_content_hint_set.c
+utc_evas_object_image_content_hint_get_set.c
 utc_evas_object_image_data_convert.c
 utc_evas_object_image_data_copy_set.c
 utc_evas_object_image_data_get.c
 utc_evas_object_image_data_set.c
 utc_evas_object_image_data_update_add.c
-utc_evas_object_image_file_get.c
-utc_evas_object_image_file_set.c
-utc_evas_object_image_fill_get.c
-utc_evas_object_image_fill_set.c
-utc_evas_object_image_fill_spread_get.c
-utc_evas_object_image_fill_spread_set.c
+utc_evas_object_image_file_get_set.c
+utc_evas_object_image_fill_get_set.c
+utc_evas_object_image_fill_spread_get_set.c
 utc_evas_object_image_filled_add.c
-utc_evas_object_image_filled_get.c
-utc_evas_object_image_filled_set.c
-utc_evas_object_image_load_dpi_get.c
-utc_evas_object_image_load_dpi_set.c
+utc_evas_object_image_filled_get_set.c
+utc_evas_object_image_load_dpi_get_set.c
 utc_evas_object_image_load_error_get.c
-utc_evas_object_image_load_orientation_get.c
-utc_evas_object_image_load_orientation_set.c
-utc_evas_object_image_load_region_get.c
-utc_evas_object_image_load_region_set.c
-utc_evas_object_image_load_scale_down_get.c
-utc_evas_object_image_load_scale_down_set.c
-utc_evas_object_image_load_size_get.c
-utc_evas_object_image_load_size_set.c
+utc_evas_object_image_load_orientation_get_set.c
+utc_evas_object_image_load_region_get_set.c
+utc_evas_object_image_load_scale_down_get_set.c
+utc_evas_object_image_load_size_get_set.c
 utc_evas_object_image_memfile_set.c
 utc_evas_object_image_mmap_set_get.c
 utc_evas_object_image_native_surface_get.c
 utc_evas_object_image_native_surface_set.c
 utc_evas_object_image_orient.c
-utc_evas_object_image_pixels_dirty_get.c
-utc_evas_object_image_pixels_dirty_set.c
+utc_evas_object_image_pixels_dirty_get_set.c
 utc_evas_object_image_pixels_get_callback_set.c
 utc_evas_object_image_pixels_import.c
 utc_evas_object_image_preload.c
 utc_evas_object_image_region_support_get.c
 utc_evas_object_image_reload.c
 utc_evas_object_image_save.c
-utc_evas_object_image_scale_hint_get.c
-utc_evas_object_image_scale_hint_set.c
-utc_evas_object_image_size_get.c
-utc_evas_object_image_size_set.c
-utc_evas_object_image_smooth_scale_get.c
-utc_evas_object_image_smooth_scale_set.c
+utc_evas_object_image_scale_hint_get_set.c
+utc_evas_object_image_size_get_set.c
+utc_evas_object_image_smooth_scale_get_set.c
 utc_evas_object_image_snapshot_set_get.c
-utc_evas_object_image_source_clip_get.c
-utc_evas_object_image_source_clip_set.c
+utc_evas_object_image_source_clip_get_set.c
 utc_evas_object_image_source_events_set_get.c
-utc_evas_object_image_source_get.c
-utc_evas_object_image_source_set.c
+utc_evas_object_image_source_get_set.c
 utc_evas_object_image_source_unset.c
 utc_evas_object_image_source_visible_get.c
 utc_evas_object_image_source_visible_set.c
 utc_evas_object_image_stride_get.c
 utc_evas_object_image_video_surface_caps_set_get.c
-utc_evas_object_image_video_surface_get.c
-utc_evas_object_image_video_surface_set.c
+utc_evas_object_image_video_surface_get_set.c
index 621b48ed9331ad4269c16ca36b8724c5441d4cfa..4418e7a709e070ba4afe9f6b9c812874b9073799 100644 (file)
@@ -1,6 +1,4 @@
-utc_evas_object_image_add.c
-utc_evas_object_image_alpha_get.c
-utc_evas_object_image_alpha_set.c
+utc_evas_object_image_alpha_get_set.c
 utc_evas_object_image_alpha_mask_set.c
 utc_evas_object_image_animated_frame_count_get.c
 utc_evas_object_image_animated_frame_duration_get.c
@@ -8,70 +6,50 @@ utc_evas_object_image_animated_frame_set.c
 utc_evas_object_image_animated_get.c
 utc_evas_object_image_animated_loop_count_get.c
 utc_evas_object_image_animated_loop_type_get.c
-utc_evas_object_image_border_center_fill_get.c
-utc_evas_object_image_border_center_fill_set.c
-utc_evas_object_image_border_get.c
-utc_evas_object_image_border_set.c
-utc_evas_object_image_border_scale_get.c
-utc_evas_object_image_border_scale_set.c
+utc_evas_object_image_border_center_fill_get_set.c
+utc_evas_object_image_border_get_set.c
+utc_evas_object_image_border_scale_get_set.c
 utc_evas_object_image_colorspace_get.c
 utc_evas_object_image_colorspace_set.c
-utc_evas_object_image_content_hint_get.c
-utc_evas_object_image_content_hint_set.c
+utc_evas_object_image_content_hint_get_set.c
 utc_evas_object_image_data_convert.c
 utc_evas_object_image_data_copy_set.c
 utc_evas_object_image_data_get.c
 utc_evas_object_image_data_set.c
 utc_evas_object_image_data_update_add.c
-utc_evas_object_image_file_get.c
-utc_evas_object_image_file_set.c
-utc_evas_object_image_fill_get.c
-utc_evas_object_image_fill_set.c
-utc_evas_object_image_fill_spread_get.c
-utc_evas_object_image_fill_spread_set.c
+utc_evas_object_image_file_get_set.c
+utc_evas_object_image_fill_get_set.c
+utc_evas_object_image_fill_spread_get_set.c
 utc_evas_object_image_filled_add.c
-utc_evas_object_image_filled_get.c
-utc_evas_object_image_filled_set.c
-utc_evas_object_image_load_dpi_get.c
-utc_evas_object_image_load_dpi_set.c
+utc_evas_object_image_filled_get_set.c
+utc_evas_object_image_load_dpi_get_set.c
 utc_evas_object_image_load_error_get.c
-utc_evas_object_image_load_orientation_get.c
-utc_evas_object_image_load_orientation_set.c
-utc_evas_object_image_load_region_get.c
-utc_evas_object_image_load_region_set.c
-utc_evas_object_image_load_scale_down_get.c
-utc_evas_object_image_load_scale_down_set.c
-utc_evas_object_image_load_size_get.c
-utc_evas_object_image_load_size_set.c
+utc_evas_object_image_load_orientation_get_set.c
+utc_evas_object_image_load_region_get_set.c
+utc_evas_object_image_load_scale_down_get_set.c
+utc_evas_object_image_load_size_get_set.c
 utc_evas_object_image_memfile_set.c
 utc_evas_object_image_mmap_set_get.c
 utc_evas_object_image_native_surface_get.c
 utc_evas_object_image_native_surface_set.c
 utc_evas_object_image_orient.c
-utc_evas_object_image_pixels_dirty_get.c
-utc_evas_object_image_pixels_dirty_set.c
+utc_evas_object_image_pixels_dirty_get_set.c
 utc_evas_object_image_pixels_get_callback_set.c
 utc_evas_object_image_pixels_import.c
 utc_evas_object_image_preload.c
 utc_evas_object_image_region_support_get.c
 utc_evas_object_image_reload.c
 utc_evas_object_image_save.c
-utc_evas_object_image_scale_hint_get.c
-utc_evas_object_image_scale_hint_set.c
-utc_evas_object_image_size_get.c
-utc_evas_object_image_size_set.c
-utc_evas_object_image_smooth_scale_get.c
-utc_evas_object_image_smooth_scale_set.c
+utc_evas_object_image_scale_hint_get_set.c
+utc_evas_object_image_size_get_set.c
+utc_evas_object_image_smooth_scale_get_set.c
 utc_evas_object_image_snapshot_set_get.c
-utc_evas_object_image_source_clip_get.c
-utc_evas_object_image_source_clip_set.c
+utc_evas_object_image_source_clip_get_set.c
 utc_evas_object_image_source_events_set_get.c
-utc_evas_object_image_source_get.c
-utc_evas_object_image_source_set.c
+utc_evas_object_image_source_get_set.c
 utc_evas_object_image_source_unset.c
 utc_evas_object_image_source_visible_get.c
 utc_evas_object_image_source_visible_set.c
 utc_evas_object_image_stride_get.c
 utc_evas_object_image_video_surface_caps_set_get.c
-utc_evas_object_image_video_surface_get.c
-utc_evas_object_image_video_surface_set.c
+utc_evas_object_image_video_surface_get_set.c
index 363a3685ee1b2ac57d3684bd687890986f322070..108fd917c921bc5c992fae573bac61d89d309e45 100644 (file)
@@ -1,6 +1,4 @@
-utc_evas_object_image_add.c
-utc_evas_object_image_alpha_get.c
-utc_evas_object_image_alpha_set.c
+utc_evas_object_image_alpha_get_set.c
 utc_evas_object_image_alpha_mask_set.c
 utc_evas_object_image_animated_frame_count_get.c
 utc_evas_object_image_animated_frame_duration_get.c
@@ -8,70 +6,50 @@ utc_evas_object_image_animated_frame_set.c
 utc_evas_object_image_animated_get.c
 utc_evas_object_image_animated_loop_count_get.c
 utc_evas_object_image_animated_loop_type_get.c
-utc_evas_object_image_border_center_fill_get.c
-utc_evas_object_image_border_center_fill_set.c
-utc_evas_object_image_border_get.c
-utc_evas_object_image_border_set.c
-utc_evas_object_image_border_scale_get.c
-utc_evas_object_image_border_scale_set.c
+utc_evas_object_image_border_center_fill_get_set.c
+utc_evas_object_image_border_get_set.c
+utc_evas_object_image_border_scale_get_set.c
 utc_evas_object_image_colorspace_get.c
 utc_evas_object_image_colorspace_set.c
-utc_evas_object_image_content_hint_get.c
-utc_evas_object_image_content_hint_set.c
+utc_evas_object_image_content_hint_get_set.c
 #utc_evas_object_image_data_convert.c
 utc_evas_object_image_data_copy_set.c
 utc_evas_object_image_data_get.c
 utc_evas_object_image_data_set.c
 utc_evas_object_image_data_update_add.c
-utc_evas_object_image_file_get.c
-utc_evas_object_image_file_set.c
-utc_evas_object_image_fill_get.c
-utc_evas_object_image_fill_set.c
-utc_evas_object_image_fill_spread_get.c
-utc_evas_object_image_fill_spread_set.c
+utc_evas_object_image_file_get_set.c
+utc_evas_object_image_fill_get_set.c
+utc_evas_object_image_fill_spread_get_set.c
 utc_evas_object_image_filled_add.c
-utc_evas_object_image_filled_get.c
-utc_evas_object_image_filled_set.c
-utc_evas_object_image_load_dpi_get.c
-utc_evas_object_image_load_dpi_set.c
+utc_evas_object_image_filled_get_set.c
+utc_evas_object_image_load_dpi_get_set.c
 utc_evas_object_image_load_error_get.c
-utc_evas_object_image_load_orientation_get.c
-utc_evas_object_image_load_orientation_set.c
-utc_evas_object_image_load_region_get.c
-utc_evas_object_image_load_region_set.c
-utc_evas_object_image_load_scale_down_get.c
-utc_evas_object_image_load_scale_down_set.c
-utc_evas_object_image_load_size_get.c
-utc_evas_object_image_load_size_set.c
+utc_evas_object_image_load_orientation_get_set.c
+utc_evas_object_image_load_region_get_set.c
+utc_evas_object_image_load_scale_down_get_set.c
+utc_evas_object_image_load_size_get_set.c
 utc_evas_object_image_memfile_set.c
 #utc_evas_object_image_mmap_set_get.c
 utc_evas_object_image_native_surface_get.c
 utc_evas_object_image_native_surface_set.c
 #utc_evas_object_image_orient.c
-utc_evas_object_image_pixels_dirty_get.c
-utc_evas_object_image_pixels_dirty_set.c
+utc_evas_object_image_pixels_dirty_get_set.c
 utc_evas_object_image_pixels_get_callback_set.c
 utc_evas_object_image_pixels_import.c
 utc_evas_object_image_preload.c
 utc_evas_object_image_region_support_get.c
 utc_evas_object_image_reload.c
 utc_evas_object_image_save.c
-utc_evas_object_image_scale_hint_get.c
-utc_evas_object_image_scale_hint_set.c
-utc_evas_object_image_size_get.c
-utc_evas_object_image_size_set.c
-utc_evas_object_image_smooth_scale_get.c
-utc_evas_object_image_smooth_scale_set.c
+utc_evas_object_image_scale_hint_get_set.c
+utc_evas_object_image_size_get_set.c
+utc_evas_object_image_smooth_scale_get_set.c
 #utc_evas_object_image_snapshot_set_get.c
-utc_evas_object_image_source_clip_get.c
-utc_evas_object_image_source_clip_set.c
+utc_evas_object_image_source_clip_get_set.c
 #utc_evas_object_image_source_events_set_get.c
-utc_evas_object_image_source_get.c
-utc_evas_object_image_source_set.c
+utc_evas_object_image_source_get_set.c
 utc_evas_object_image_source_unset.c
 utc_evas_object_image_source_visible_get.c
 utc_evas_object_image_source_visible_set.c
 utc_evas_object_image_stride_get.c
 #utc_evas_object_image_video_surface_caps_set_get.c
-utc_evas_object_image_video_surface_get.c
-utc_evas_object_image_video_surface_set.c
+utc_evas_object_image_video_surface_get_set.c
index ac371b6264ca5f9efab2f8c1791706b5c6c2320d..5291193482c6d50079a88dd986338a84ed08048b 100644 (file)
@@ -1,6 +1,4 @@
-utc_evas_object_image_add.c
-utc_evas_object_image_alpha_get.c
-utc_evas_object_image_alpha_set.c
+utc_evas_object_image_alpha_get_set.c
 utc_evas_object_image_alpha_mask_set.c
 utc_evas_object_image_animated_frame_count_get.c
 #utc_evas_object_image_animated_frame_duration_get.c
@@ -8,70 +6,50 @@ utc_evas_object_image_animated_frame_set.c
 utc_evas_object_image_animated_get.c
 utc_evas_object_image_animated_loop_count_get.c
 utc_evas_object_image_animated_loop_type_get.c
-utc_evas_object_image_border_center_fill_get.c
-utc_evas_object_image_border_center_fill_set.c
-utc_evas_object_image_border_get.c
-utc_evas_object_image_border_set.c
-utc_evas_object_image_border_scale_get.c
-utc_evas_object_image_border_scale_set.c
+utc_evas_object_image_border_center_fill_get_set.c
+utc_evas_object_image_border_get_set.c
+utc_evas_object_image_border_scale_get_set.c
 utc_evas_object_image_colorspace_get.c
 utc_evas_object_image_colorspace_set.c
-utc_evas_object_image_content_hint_get.c
-utc_evas_object_image_content_hint_set.c
+utc_evas_object_image_content_hint_get_set.c
 #utc_evas_object_image_data_convert.c
 utc_evas_object_image_data_copy_set.c
 utc_evas_object_image_data_get.c
 utc_evas_object_image_data_set.c
 utc_evas_object_image_data_update_add.c
-utc_evas_object_image_file_get.c
-utc_evas_object_image_file_set.c
-utc_evas_object_image_fill_get.c
-utc_evas_object_image_fill_set.c
-utc_evas_object_image_fill_spread_get.c
-utc_evas_object_image_fill_spread_set.c
+utc_evas_object_image_file_get_set.c
+utc_evas_object_image_fill_get_set.c
+utc_evas_object_image_fill_spread_get_set.c
 utc_evas_object_image_filled_add.c
-utc_evas_object_image_filled_get.c
-utc_evas_object_image_filled_set.c
-utc_evas_object_image_load_dpi_get.c
-utc_evas_object_image_load_dpi_set.c
+utc_evas_object_image_filled_get_set.c
+utc_evas_object_image_load_dpi_get_set.c
 utc_evas_object_image_load_error_get.c
-utc_evas_object_image_load_orientation_get.c
-utc_evas_object_image_load_orientation_set.c
-utc_evas_object_image_load_region_get.c
-utc_evas_object_image_load_region_set.c
-utc_evas_object_image_load_scale_down_get.c
-utc_evas_object_image_load_scale_down_set.c
-utc_evas_object_image_load_size_get.c
-utc_evas_object_image_load_size_set.c
+utc_evas_object_image_load_orientation_get_set.c
+utc_evas_object_image_load_region_get_set.c
+utc_evas_object_image_load_scale_down_get_set.c
+utc_evas_object_image_load_size_get_set.c
 utc_evas_object_image_memfile_set.c
 #utc_evas_object_image_mmap_set_get.c
 utc_evas_object_image_native_surface_get.c
 utc_evas_object_image_native_surface_set.c
 #utc_evas_object_image_orient.c
-utc_evas_object_image_pixels_dirty_get.c
-utc_evas_object_image_pixels_dirty_set.c
+utc_evas_object_image_pixels_dirty_get_set.c
 utc_evas_object_image_pixels_get_callback_set.c
 utc_evas_object_image_pixels_import.c
 utc_evas_object_image_preload.c
 utc_evas_object_image_region_support_get.c
 utc_evas_object_image_reload.c
 utc_evas_object_image_save.c
-utc_evas_object_image_scale_hint_get.c
-utc_evas_object_image_scale_hint_set.c
-utc_evas_object_image_size_get.c
-utc_evas_object_image_size_set.c
-utc_evas_object_image_smooth_scale_get.c
-utc_evas_object_image_smooth_scale_set.c
+utc_evas_object_image_scale_hint_get_set.c
+utc_evas_object_image_size_get_set.c
+utc_evas_object_image_smooth_scale_get_set.c
 #utc_evas_object_image_snapshot_set_get.c
-utc_evas_object_image_source_clip_get.c
-utc_evas_object_image_source_clip_set.c
+utc_evas_object_image_source_clip_get_set.c
 #utc_evas_object_image_source_events_set_get.c
-utc_evas_object_image_source_get.c
-utc_evas_object_image_source_set.c
+utc_evas_object_image_source_get_set.c
 utc_evas_object_image_source_unset.c
 utc_evas_object_image_source_visible_get.c
 utc_evas_object_image_source_visible_set.c
 utc_evas_object_image_stride_get.c
 #utc_evas_object_image_video_surface_caps_set_get.c
-utc_evas_object_image_video_surface_get.c
-utc_evas_object_image_video_surface_set.c
+utc_evas_object_image_video_surface_get_set.c
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_add.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_add.c
deleted file mode 100644 (file)
index 7389e5f..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_add evas_object_image_add()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_add
- * @{
- * @objective Positive test case checks if function creates image object properly.
- * @n Input Data: pointer to Evas object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas
- * @step 2 Get pointer to Evas from created Ecore_Evas
- * @step 3 Call tested function to add image
- *
- * @passcondition Function returns valid pointer, not NULL.
- * @}
- */
-START_TEST(utc_evas_object_image_add_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Object *obj = evas_object_image_add(evas);
-
-   if (!obj)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_add
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns NULL if it is called with NULL instead of pointer to Evas.
- * @n Input Data: NULL as pointer to Evas.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of it's argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns NULL.
- * @}
- */
-START_TEST(utc_evas_object_image_add_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(NULL, evas_object_image_add, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_add()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_add");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_add_p);
-   tcase_add_test(tcase, utc_evas_object_image_add_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get.c
deleted file mode 100644 (file)
index 0abfa30..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_alpha_get evas_object_image_alpha_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_alpha_get
- * @{
- * @objective Positive test case checks if function returns state of image's alpha channel usage properly.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set usage of alpha channel to EINA_TRUE
- * @step 4 Check if alpha channel enabled
- * @step 5 Set usage of alpha channel to EINA_FALSE
- * @step 6 Check if alpha channel disabled
- *
- * @passcondition Function returns correct state of image's alpha channel usage.
- * @}
- */
-START_TEST(utc_evas_object_image_alpha_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas_object_image_alpha_set(img, EINA_TRUE);
-
-   if (evas_object_image_alpha_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_alpha_set(img, EINA_FALSE);
-
-   if (evas_object_image_alpha_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_alpha_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_alpha_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_alpha_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_alpha_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_alpha_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_alpha_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_alpha_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_get_set.c
new file mode 100644 (file)
index 0000000..e1619c8
--- /dev/null
@@ -0,0 +1,178 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_alpha_get evas_object_image_alpha_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_alpha_get
+ * @{
+ * @objective Positive test case checks if function returns state of image's alpha channel usage properly.
+ * @n Input Data: pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set usage of alpha channel to EINA_TRUE
+ * @step 4 Check if alpha channel enabled
+ * @step 5 Set usage of alpha channel to EINA_FALSE
+ * @step 6 Check if alpha channel disabled
+ *
+ * @passcondition Function returns correct state of image's alpha channel usage.
+ * @}
+ */
+START_TEST(utc_evas_object_image_alpha_get_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   evas_object_image_alpha_set(img, EINA_TRUE);
+
+   if (evas_object_image_alpha_get(img) == EINA_FALSE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_TRUE..", __FILE__, __LINE__);
+        return;
+     }
+   evas_object_image_alpha_set(img, EINA_FALSE);
+
+   if (evas_object_image_alpha_get(img) == EINA_TRUE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   ecore_evas_free(ee);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_alpha_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_alpha_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_alpha_get, NULL) == 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 evas_object_image_alpha_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE to enable usage of alpha channel.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_alpha_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_alpha_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_add
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns NULL if it is called with NULL instead of pointer to Evas.
+ * @n Input Data: NULL as pointer to Evas.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of it's argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns NULL.
+ * @}
+ */
+START_TEST(utc_evas_object_image_add_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(NULL, evas_object_image_add, NULL) == 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_evas_object_image_alpha_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_alpha_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_alpha_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_alpha_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_alpha_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_add_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_alpha_set.c
deleted file mode 100644 (file)
index 519b5e5..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_alpha_set evas_object_image_alpha_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_alpha_set
- * @{
- * @objective Positive test case checks if function enables and disables image's alpha channel usage properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set usage of alpha channel to EINA_TRUE
- * @step 4 Check if alpha channel enabled
- * @step 5 Set usage of alpha channel to EINA_FALSE
- * @step 6 Check if alpha channel disabled
- *
- * @passcondition Function enables and disables alpha channel usage properly.
- * @}
- */
-START_TEST(utc_evas_object_image_alpha_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_alpha_set(img, EINA_TRUE);
-
-   if (evas_object_image_alpha_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_alpha_set(img, EINA_FALSE);
-
-   if (evas_object_image_alpha_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Alpha channel usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_alpha_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE to enable usage of alpha channel.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_alpha_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_alpha_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_alpha_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_alpha_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_alpha_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_alpha_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get.c
deleted file mode 100644 (file)
index 4905c81..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_center_fill_get evas_object_image_border_center_fill_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_center_fill_get
- * @{
- * @objective Positive test case checks if function returns how the center part of the given image
- * object should be drawn properly.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set center fill mode to EVAS_BORDER_FILL_SOLID
- * @step 4 Get center fill mode and compare with mode that was set
- *
- * @passcondition Set and got modes of image's center filling are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_border_center_fill_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_center_fill_set(img, EVAS_BORDER_FILL_SOLID);
-
-   if (evas_object_image_border_center_fill_get(img) != EVAS_BORDER_FILL_SOLID)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_center_fill_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EVAS_BORDER_FILL_NONE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EVAS_BORDER_FILL_NONE.
- * @}
- */
-START_TEST(utc_evas_object_image_border_center_fill_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EVAS_BORDER_FILL_NONE, evas_object_image_border_center_fill_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_center_fill_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_center_fill_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_get_set.c
new file mode 100644 (file)
index 0000000..d109b9f
--- /dev/null
@@ -0,0 +1,186 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_border_center_fill_set evas_object_image_border_center_fill_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_border_center_fill_set
+ * @{
+ * @objective Positive test case checks if function sets how the center part of the given image object
+ * should be drawn properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_BORDER_FILL_SOLID as fill mode of the image's center region.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set center fill mode to EVAS_BORDER_FILL_SOLID
+ * @step 3 Get center fill mode and compare with mode that was set
+ *
+ * @passcondition Set and got modes of image's center filling are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_center_fill_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_border_center_fill_set(img, EVAS_BORDER_FILL_SOLID);
+
+   if (evas_object_image_border_center_fill_get(img) != EVAS_BORDER_FILL_SOLID)
+     {
+        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 evas_object_image_border_center_fill_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL as pointer to image Evas_Object;
+ * @li EVAS_BORDER_FILL_NONE as fill mode.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_center_fill_set_n)
+{
+
+   evas_object_image_border_center_fill_set(NULL, EVAS_BORDER_FILL_NONE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_center_fill_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set center fill mode if it is called with incorrect fill mode argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_BORDER_FILL_NONE/-1 as fill mode for first/second call.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set center fill mode to EVAS_BORDER_FILL_NONE
+ * @step 3 Try to set center fill mode to -1
+ * @step 4 Get center fill mode and compare with mode that was set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect mode.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_border_center_fill_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_border_center_fill_set(img, EVAS_BORDER_FILL_NONE);
+   evas_object_image_border_center_fill_set(img, (Evas_Border_Fill_Mode)-1);
+
+   if (evas_object_image_border_center_fill_get(img) != EVAS_BORDER_FILL_NONE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function sets incorrect mode..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_border_center_fill_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EVAS_BORDER_FILL_NONE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EVAS_BORDER_FILL_NONE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_center_fill_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EVAS_BORDER_FILL_NONE, evas_object_image_border_center_fill_get, NULL) == 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_evas_object_image_border_center_fill_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_border_center_fill_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_center_fill_set.c
deleted file mode 100644 (file)
index d06b294..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_center_fill_set evas_object_image_border_center_fill_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_center_fill_set
- * @{
- * @objective Positive test case checks if function sets how the center part of the given image object
- * should be drawn properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_BORDER_FILL_SOLID as fill mode of the image's center region.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set center fill mode to EVAS_BORDER_FILL_SOLID
- * @step 3 Get center fill mode and compare with mode that was set
- *
- * @passcondition Set and got modes of image's center filling are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_border_center_fill_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_center_fill_set(img, EVAS_BORDER_FILL_SOLID);
-
-   if (evas_object_image_border_center_fill_get(img) != EVAS_BORDER_FILL_SOLID)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_center_fill_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL as pointer to image Evas_Object;
- * @li EVAS_BORDER_FILL_NONE as fill mode.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_border_center_fill_set_n)
-{
-
-   evas_object_image_border_center_fill_set(NULL, EVAS_BORDER_FILL_NONE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_center_fill_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set center fill mode if it is called with incorrect fill mode argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_BORDER_FILL_NONE/-1 as fill mode for first/second call.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set center fill mode to EVAS_BORDER_FILL_NONE
- * @step 3 Try to set center fill mode to -1
- * @step 4 Get center fill mode and compare with mode that was set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect mode.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_border_center_fill_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_center_fill_set(img, EVAS_BORDER_FILL_NONE);
-   evas_object_image_border_center_fill_set(img, (Evas_Border_Fill_Mode)-1);
-
-   if (evas_object_image_border_center_fill_get(img) != EVAS_BORDER_FILL_NONE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function sets incorrect mode..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_center_fill_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_center_fill_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_border_center_fill_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get.c
deleted file mode 100644 (file)
index 5f92382..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_get evas_object_image_border_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_get
- * @{
- * @objective Positive test case checks if function gets dimensions of image's border properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 4 pointers to write dimensions values: left, right, top, bottom.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image's border dimensions
- * @step 3 Get image's border dimensions and compare with set values
- *
- * @passcondition Set and got values of border's dimensions are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_border_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int l = 0, r = 0, t = 0, b = 0;
-
-   evas_object_image_border_set(img, 3, 3, 3, 3);
-   evas_object_image_border_get(img, &l, &r, &t, &b);
-
-   if (l != 3 || r != 3 || t != 3 || b != 3)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and writes
- * to output parameters correct default values if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 4 pointers to write dimensions values: left, right, top, bottom.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set to image border with left = 2, right = 2, top = 2, bottom = 2.
- * @step 3 Call function and pass (in turn) NULL instead of one from valid argument.
- *
- * @passcondition Function doesn't cause segmentation fault. All output parameters are equal 2.
- * @}
- */
-START_TEST(utc_evas_object_image_border_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int l = 1, r = 1, t = 1, b = 1;
-   evas_object_image_border_set(img, 2, 2, 2, 2);
-
-   UNITEST_FUNC_NEG(evas_object_image_border_get, img, &l, &r, &t, &b);
-
-   if (l != 2 || r != 2 || t != 2 || b != 2)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_border_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_get_set.c
new file mode 100644 (file)
index 0000000..52f9faf
--- /dev/null
@@ -0,0 +1,200 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_border_set evas_object_image_border_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_border_set
+ * @{
+ * @objective Positive test case checks if function sets dimensions of image's border properly
+ * if it is called with valid arguments.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 3 as all border's dimensions: left, right, top, bottom.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image's border dimensions
+ * @step 3 Get image's border dimensions and compare with set values
+ *
+ * @passcondition Function sets border's dimensions properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int l = 0, r = 0, t = 0, b = 0;
+
+   evas_object_image_border_set(img, 3, 3, 3, 3);
+   evas_object_image_border_get(img, &l, &r, &t, &b);
+
+   if (l != 3 || r != 3 || t != 3 || b != 3)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL as pointer to image Evas_Object;
+ * @li 3 as all border's dimensions: left, right, top, bottom.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL as its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_border_set, NULL, 3, 3, 3, 3);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set image's borders dimensions if it is called with incorrect values of these dimensions.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li -1 as all border's dimensions: left, right, top, bottom.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image's border dimensions
+ * @step 3 Get image's border dimensions and compare with ones were set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect dimensions values.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int l = 0, r = 0, t = 0, b = 0;
+
+   evas_object_image_border_set(img, -1, -1, -1, -1);
+   evas_object_image_border_get(img, &l, &r, &t, &b);
+
+   if (l || r || t || b)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and writes
+ * to output parameters correct default values if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 4 pointers to write dimensions values: left, right, top, bottom.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set to image border with left = 2, right = 2, top = 2, bottom = 2.
+ * @step 3 Call function and pass (in turn) NULL instead of one from valid argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault. All output parameters are equal 2.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int l = 1, r = 1, t = 1, b = 1;
+   evas_object_image_border_set(img, 2, 2, 2, 2);
+
+   UNITEST_FUNC_NEG(evas_object_image_border_get, img, &l, &r, &t, &b);
+
+   if (l != 2 || r != 2 || t != 2 || b != 2)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_border_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_border_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_border_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_border_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_border_set_n2);
+   tcase_add_test(tcase, utc_evas_object_image_border_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get.c
deleted file mode 100644 (file)
index 841db9a..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_scale_get evas_object_image_border_scale_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_scale_get
- * @{
- * @objective Positive test case checks if function returns scaling factor of image's border properly.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set image's border scaling factor to 1.5
- * @step 4 Get image's border scaling factor and compare with one was set
- *
- * @passcondition Function returns proper border's scaling factor that is equal to the set one.
- * @}
- */
-START_TEST(utc_evas_object_image_border_scale_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_scale_set(img, 1.5);
-   double scale = evas_object_image_border_scale_get(img);
-   ecore_evas_free(ee);
-
-   if (fabs(scale - 1.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_scale_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * correct default value if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns 0.0.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_border_scale_get_n)
-{
-
-   double scale = evas_object_image_border_scale_get(NULL);
-
-   if (fabs(scale) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_scale_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_scale_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_get_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_get_n);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_get_set.c
new file mode 100644 (file)
index 0000000..9212526
--- /dev/null
@@ -0,0 +1,236 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+#include "../../../utc_negative_unitest.h"
+
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_border_scale_set evas_object_image_border_scale_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_border_scale_set
+ * @{
+ * @objective Positive test case checks if function sets scaling factor for image's border properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1.5 as scaling factor value.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image's border scaling factor
+ * @step 3 Get image's border scaling factor and compare with one was set
+ *
+ * @passcondition Function sets border's scaling factor, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_scale_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_border_scale_set(img, 1.5);
+   double scale = evas_object_image_border_scale_get(img);
+
+   if (fabs(scale - 1.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_scale_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1.0 as scaling factor value.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_border_scale_set_n)
+{
+   evas_object_image_border_scale_set(NULL, 1.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_border_scale_set
+ * @{
+ * @objective Negative test case 2 checks if function sets negative scaling factor for image's border.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1.5/-1.0 as scaling factor value.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set correct image's border scaling factor
+ * @step 3 Set incorrect image's border scaling factor
+ * @step 4 Get image's border scaling factor and compare with correct value
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_border_scale_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_border_scale_set(img, 1.5);
+   evas_object_image_border_scale_set(img, -1.0);
+   double scale = evas_object_image_border_scale_get(img);
+
+   if (fabs(scale - 1.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_border_scale_set
+ * @{
+ * @objective Negative test case 3 checks if function sets scaling factor for image's border equal to 0.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1.5/0.0 as scaling factor value.
+ *
+ * @procedure
+ * @step 1 Set image's border scaling factor
+ * @step 2 Set correct image's border scaling factor
+ * @step 3 Set incorrect image's border scaling factor
+ * @step 4 Get image's border scaling factor and compare with correct value
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_border_scale_set_n3)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_border_scale_set(img, 1.5);
+   evas_object_image_border_scale_set(img, 0.0);
+   double scale = evas_object_image_border_scale_get(img);
+
+   if (fabs(scale - 1.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_border_scale_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * correct default value if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns 0.0.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_border_scale_get_n)
+{
+
+   double scale = evas_object_image_border_scale_get(NULL);
+
+   if (fabs(scale) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_border_scale_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_border_scale_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n2);
+#endif
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n3);
+#endif
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_border_scale_get_n);
+#endif   
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_scale_set.c
deleted file mode 100644 (file)
index ac06efc..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_scale_set evas_object_image_border_scale_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_scale_set
- * @{
- * @objective Positive test case checks if function sets scaling factor for image's border properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1.5 as scaling factor value.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image's border scaling factor
- * @step 3 Get image's border scaling factor and compare with one was set
- *
- * @passcondition Function sets border's scaling factor, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_border_scale_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_scale_set(img, 1.5);
-   double scale = evas_object_image_border_scale_get(img);
-
-   if (fabs(scale - 1.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_scale_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1.0 as scaling factor value.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_border_scale_set_n)
-{
-   evas_object_image_border_scale_set(NULL, 1.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_scale_set
- * @{
- * @objective Negative test case 2 checks if function sets negative scaling factor for image's border.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1.5/-1.0 as scaling factor value.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set correct image's border scaling factor
- * @step 3 Set incorrect image's border scaling factor
- * @step 4 Get image's border scaling factor and compare with correct value
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_border_scale_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_scale_set(img, 1.5);
-   evas_object_image_border_scale_set(img, -1.0);
-   double scale = evas_object_image_border_scale_get(img);
-
-   if (fabs(scale - 1.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-
-/**
- * @addtogroup evas_object_image_border_scale_set
- * @{
- * @objective Negative test case 3 checks if function sets scaling factor for image's border equal to 0.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1.5/0.0 as scaling factor value.
- *
- * @procedure
- * @step 1 Set image's border scaling factor
- * @step 2 Set correct image's border scaling factor
- * @step 3 Set incorrect image's border scaling factor
- * @step 4 Get image's border scaling factor and compare with correct value
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_border_scale_set_n3)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_border_scale_set(img, 1.5);
-   evas_object_image_border_scale_set(img, 0.0);
-   double scale = evas_object_image_border_scale_get(img);
-
-   if (fabs(scale - 1.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale=%f", __FILE__, __LINE__, scale);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_scale_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_scale_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n2);
-#endif
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_border_scale_set_n3);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_border_set.c
deleted file mode 100644 (file)
index 9a5744f..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_border_set evas_object_image_border_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_border_set
- * @{
- * @objective Positive test case checks if function sets dimensions of image's border properly
- * if it is called with valid arguments.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 3 as all border's dimensions: left, right, top, bottom.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image's border dimensions
- * @step 3 Get image's border dimensions and compare with set values
- *
- * @passcondition Function sets border's dimensions properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_border_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int l = 0, r = 0, t = 0, b = 0;
-
-   evas_object_image_border_set(img, 3, 3, 3, 3);
-   evas_object_image_border_get(img, &l, &r, &t, &b);
-
-   if (l != 3 || r != 3 || t != 3 || b != 3)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL as pointer to image Evas_Object;
- * @li 3 as all border's dimensions: left, right, top, bottom.
- *
- * @procedure
- * @step 1 Call function and pass NULL as its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_border_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_border_set, NULL, 3, 3, 3, 3);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_border_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set image's borders dimensions if it is called with incorrect values of these dimensions.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li -1 as all border's dimensions: left, right, top, bottom.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image's border dimensions
- * @step 3 Get image's border dimensions and compare with ones were set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect dimensions values.
- * @}
- */
-START_TEST(utc_evas_object_image_border_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int l = 0, r = 0, t = 0, b = 0;
-
-   evas_object_image_border_set(img, -1, -1, -1, -1);
-   evas_object_image_border_get(img, &l, &r, &t, &b);
-
-   if (l || r || t || b)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. l=%d, r=%d, t=%d, b=%d", __FILE__, __LINE__, l, r, t, b);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_border_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_border_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_border_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_border_set_n);
-   tcase_add_test(tcase, utc_evas_object_image_border_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get.c
deleted file mode 100644 (file)
index 3241c88..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_content_hint_get evas_object_image_content_hint_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_content_hint_get
- * @{
- * @objective Positive test case checks if function returns proper content hint setting.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set image's content hint
- * @step 4 Get image's content hint and compare with set value
- *
- * @passcondition Function gets correct content hint, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_content_hint_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_content_hint_set(img, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
-
-   if (evas_object_image_content_hint_get(img) != EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_content_hint_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * EVAS_IMAGE_CONTENT_HINT_NONE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EVAS_IMAGE_CONTENT_HINT_NONE.
- * @}
- */
-START_TEST(utc_evas_object_image_content_hint_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EVAS_IMAGE_CONTENT_HINT_NONE, evas_object_image_content_hint_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_content_hint_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_content_hint_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_content_hint_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_content_hint_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_get_set.c
new file mode 100644 (file)
index 0000000..213fd48
--- /dev/null
@@ -0,0 +1,184 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_content_hint_set evas_object_image_content_hint_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 3 Add new image to the evas
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_content_hint_set
+ * @{
+ * @objective Positive test case checks if function sets content hint setting properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_IMAGE_CONTENT_HINT_DYNAMIC as content hint value.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image's content hint
+ * @step 3 Get image's content hint and compare with set value
+ *
+ * @passcondition Function sets content hint properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_content_hint_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_content_hint_set(img, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+
+   if (evas_object_image_content_hint_get(img) != EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
+     {
+        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 evas_object_image_content_hint_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_content_hint_set_n)
+{
+   evas_object_image_content_hint_set(NULL, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_content_hint_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set incorrect content hint value.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_IMAGE_CONTENT_HINT_DYNAMIC/-1 as content hint for first/second call.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set content hint to EVAS_IMAGE_CONTENT_HINT_DYNAMIC
+ * @step 3 Try to set content hint to -1
+ * @step 4 Get content hint and compare value that was set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_content_hint_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_content_hint_set(img, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+   evas_object_image_content_hint_set(img, (Evas_Image_Content_Hint)-1);
+
+   if (evas_object_image_content_hint_get(img) != EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function sets incorrect value..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_content_hint_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * EVAS_IMAGE_CONTENT_HINT_NONE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EVAS_IMAGE_CONTENT_HINT_NONE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_content_hint_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EVAS_IMAGE_CONTENT_HINT_NONE, evas_object_image_content_hint_get, NULL) == 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_evas_object_image_content_hint_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_content_hint_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_content_hint_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_content_hint_set.c
deleted file mode 100644 (file)
index 24e51e9..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_content_hint_set evas_object_image_content_hint_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 3 Add new image to the evas
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_content_hint_set
- * @{
- * @objective Positive test case checks if function sets content hint setting properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_IMAGE_CONTENT_HINT_DYNAMIC as content hint value.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image's content hint
- * @step 3 Get image's content hint and compare with set value
- *
- * @passcondition Function sets content hint properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_content_hint_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_content_hint_set(img, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
-
-   if (evas_object_image_content_hint_get(img) != EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_content_hint_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_content_hint_set_n)
-{
-   evas_object_image_content_hint_set(NULL, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_content_hint_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set incorrect content hint value.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_IMAGE_CONTENT_HINT_DYNAMIC/-1 as content hint for first/second call.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set content hint to EVAS_IMAGE_CONTENT_HINT_DYNAMIC
- * @step 3 Try to set content hint to -1
- * @step 4 Get content hint and compare value that was set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_content_hint_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_content_hint_set(img, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
-   evas_object_image_content_hint_set(img, (Evas_Image_Content_Hint)-1);
-
-   if (evas_object_image_content_hint_get(img) != EVAS_IMAGE_CONTENT_HINT_DYNAMIC)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function sets incorrect value..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_content_hint_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_content_hint_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_content_hint_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get.c
deleted file mode 100644 (file)
index e2c6220..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_file_get evas_object_image_file_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_file_get
- * @{
- * @objective Positive test case checks if function gets image source file properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to char* to write source file's name;
- * @li NULL as pointer to write key.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set source image file
- * @step 3 Check if any error occurred via evas_object_image_load_error_get()
- * @steo 4 Get source image file
- *
- * @passcondition Function gets image file properly, set and got values are the same,
- * no errors occurred.
- * @}
- */
-START_TEST(utc_evas_object_image_file_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   const char *file_set = "canvas/evas_object_image/cube1.png";
-   const char *file_get = NULL;
-   int result = TEST_FAIL;
-
-   evas_object_image_file_set(img, file_set, NULL);
-   Evas_Load_Error err = evas_object_image_load_error_get(img);
-   evas_object_image_file_get(img, &file_get, NULL);
-
-   if (err != EVAS_LOAD_ERROR_NONE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Error occurred during file loading..", __FILE__, __LINE__);
-     }
-   else if (!file_get || strcmp(file_get, eina_file_path_sanitize(file_set)))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Got and set file are not equal..", __FILE__, __LINE__);
-     }
-   else
-     {
-        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-        result = TEST_PASS;
-     }
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_file_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to char* to write source file's name;
- * @li pointer to char* to write key of the file.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_file_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   const char *path = NULL;
-   const char *key = NULL;
-
-   UNITEST_FUNC_NEG(evas_object_image_file_get, img, &path, &key);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_file_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_file_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_file_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_file_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_get_set.c
new file mode 100644 (file)
index 0000000..29682dd
--- /dev/null
@@ -0,0 +1,181 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_file_get evas_object_image_file_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_file_get
+ * @{
+ * @objective Positive test case checks if function gets image source file properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to char* to write source file's name;
+ * @li NULL as pointer to write key.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set source image file
+ * @step 3 Check if any error occurred via evas_object_image_load_error_get()
+ * @steo 4 Get source image file
+ *
+ * @passcondition Function gets image file properly, set and got values are the same,
+ * no errors occurred.
+ * @}
+ */
+START_TEST(utc_evas_object_image_file_get_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   const char *file_set = "canvas/evas_object_image/cube1.png";
+   const char *file_get = NULL;
+   int result = TEST_FAIL;
+
+   evas_object_image_file_set(img, file_set, NULL);
+   Evas_Load_Error err = evas_object_image_load_error_get(img);
+   evas_object_image_file_get(img, &file_get, NULL);
+
+   if (err != EVAS_LOAD_ERROR_NONE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Error occurred during file loading..", __FILE__, __LINE__);
+     }
+   else if (!file_get || strcmp(file_get, eina_file_path_sanitize(file_set)))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Got and set file are not equal..", __FILE__, __LINE__);
+     }
+   else
+     {
+        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+        result = TEST_PASS;
+     }
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_file_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to char* to write source file's name;
+ * @li pointer to char* to write key of the file.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_file_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   const char *path = NULL;
+   const char *key = NULL;
+
+   UNITEST_FUNC_NEG(evas_object_image_file_get, img, &path, &key);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_file_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to Evas_Object or image file.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li "cube1.png" as source image file's name;
+ * @li NULL as key.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Call function twice and pass (in turn) NULL instead of pointer to image and source file.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_file_set_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   const char *path = "canvas/evas_object_image/cube1.png";
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_file_set, img, path, NULL);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_file_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_file_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_file_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_file_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_file_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_file_set.c
deleted file mode 100644 (file)
index ca8e331..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_file_set evas_object_image_file_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_file_set
- * @{
- * @objective Positive test case checks if function sets source file to load real image data properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li "cube1.png" as source image file's name;
- * @li NULL as key.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set source image file
- * @step 3 Check if any error occurred via evas_object_image_load_error_get()
- * @steo 4 Get source image file
- *
- * @passcondition Function sets image file properly, set and got values are the same,
- * no errors occurred.
- * @}
- */
-START_TEST(utc_evas_object_image_file_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   const char *file_set = "canvas/evas_object_image/cube1.png";
-   const char *file_get = NULL;
-   int result = TEST_FAIL;
-
-   evas_object_image_file_set(img, file_set, NULL);
-   Evas_Load_Error err = evas_object_image_load_error_get(img);
-   evas_object_image_file_get(img, &file_get, NULL);
-
-   if (err != EVAS_LOAD_ERROR_NONE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Error occurred during file loading..", __FILE__, __LINE__);
-     }
-   else if (!file_get || strcmp(file_get, eina_file_path_sanitize(file_set)))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Got and set file are not equal..", __FILE__, __LINE__);
-     }
-   else
-     {
-        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-        result = TEST_PASS;
-     }
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_file_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to Evas_Object or image file.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li "cube1.png" as source image file's name;
- * @li NULL as key.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Call function twice and pass (in turn) NULL instead of pointer to image and source file.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_file_set_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   const char *path = "canvas/evas_object_image/cube1.png";
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_file_set, img, path, NULL);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_file_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_file_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_file_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_file_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get.c
deleted file mode 100644 (file)
index 93f92db..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_fill_get evas_object_image_fill_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_fill_get
- * @{
- * @objective Positive test case checks if function gets image's drawing rectangle values properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write X coordinate to start drawing from;
- * @li pointer to write Y coordinate;
- * @li pointer to write width;
- * @li pointer to write height.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image drawing rectangle
- * @step 3 Get image drawing rectangle and compare with set values
- *
- * @passcondition Function gets drawing rectangle position and size properly, set and got values of
- * output parameters are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_fill_set(img, 1, 1, 640, 480);
-   evas_object_image_fill_get(img, &x, &y, &w, &h);
-
-   if (x != 1 || y != 1 || w != 640 || h != 480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
- * any positive values to output parameters if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write X coordinate to start drawing from;
- * @li pointer to write Y coordinate;
- * @li pointer to write width to display bound image;
- * @li pointer to write height.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault. All output parameters are equal to 0 (default value).
- * @}
- */
-START_TEST(utc_evas_object_image_fill_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   UNITEST_FUNC_NEG(evas_object_image_fill_get, img, &x, &y, &w, &h);
-
-   if (x || y || w || h)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_fill_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_fill_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_fill_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_fill_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_get_set.c
new file mode 100644 (file)
index 0000000..70e3009
--- /dev/null
@@ -0,0 +1,208 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_fill_set evas_object_image_fill_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_fill_set
+ * @{
+ * @objective Positive test case checks if function sets how to fill an image object's drawing rectangle properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1 as X coordinate to start drawing from;
+ * @li 1 as Y coordinate to start drawing from;
+ * @li 640 as width to display bound image;
+ * @li 480 as height to display bound image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image drawing rectangle
+ * @step 3 Get image drawing rectangle and compare with set values
+ *
+ * @passcondition Function sets fill drawing rectangle properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 0, y = 0, w = 0, h = 0;
+
+   evas_object_image_fill_set(img, 1, 1, 640, 480);
+   evas_object_image_fill_get(img, &x, &y, &w, &h);
+
+   if (x != 1 || y != 1 || w != 640 || h != 480)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_fill_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL pointer to image Evas_Object;
+ * @li 0 as X coordinate to start drawing from;
+ * @li 0 as Y coordinate to start drawing from;
+ * @li 640 as width to display bound image;
+ * @li 480 as height to display bound image.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_fill_set, NULL, 0, 0, 640, 480);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_fill_set
+ * @{
+ * @objective Negative test case 2 checks if function sets how to fill an image object's drawing rectangle properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1 as X coordinate to start drawing from;
+ * @li 1 as Y coordinate to start drawing from;
+ * @li -640 as width to display bound image;
+ * @li -480 as height to display bound image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set image drawing rectangle
+ * @step 3 Get image drawing rectangle and compare with set values
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 0, y = 0, w = 0, h = 0;
+
+   evas_object_image_fill_set(img, 1, 1, -640, -480);
+   evas_object_image_fill_get(img, &x, &y, &w, &h);
+
+   if (w == -640 || h == -480)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Incorrect value of size set.. w = %d, h = %d", __FILE__, __LINE__, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_fill_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
+ * any positive values to output parameters if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to write X coordinate to start drawing from;
+ * @li pointer to write Y coordinate;
+ * @li pointer to write width to display bound image;
+ * @li pointer to write height.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault. All output parameters are equal to 0 (default value).
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 0, y = 0, w = 0, h = 0;
+
+   UNITEST_FUNC_NEG(evas_object_image_fill_get, img, &x, &y, &w, &h);
+
+   if (x || y || w || h)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_fill_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_fill_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_fill_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_fill_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_fill_set_n2);
+   tcase_add_test(tcase, utc_evas_object_image_fill_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_set.c
deleted file mode 100644 (file)
index f900d1b..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_fill_set evas_object_image_fill_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_fill_set
- * @{
- * @objective Positive test case checks if function sets how to fill an image object's drawing rectangle properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1 as X coordinate to start drawing from;
- * @li 1 as Y coordinate to start drawing from;
- * @li 640 as width to display bound image;
- * @li 480 as height to display bound image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image drawing rectangle
- * @step 3 Get image drawing rectangle and compare with set values
- *
- * @passcondition Function sets fill drawing rectangle properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_fill_set(img, 1, 1, 640, 480);
-   evas_object_image_fill_get(img, &x, &y, &w, &h);
-
-   if (x != 1 || y != 1 || w != 640 || h != 480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL pointer to image Evas_Object;
- * @li 0 as X coordinate to start drawing from;
- * @li 0 as Y coordinate to start drawing from;
- * @li 640 as width to display bound image;
- * @li 480 as height to display bound image.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_fill_set, NULL, 0, 0, 640, 480);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_set
- * @{
- * @objective Negative test case 2 checks if function sets how to fill an image object's drawing rectangle properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1 as X coordinate to start drawing from;
- * @li 1 as Y coordinate to start drawing from;
- * @li -640 as width to display bound image;
- * @li -480 as height to display bound image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set image drawing rectangle
- * @step 3 Get image drawing rectangle and compare with set values
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_fill_set(img, 1, 1, -640, -480);
-   evas_object_image_fill_get(img, &x, &y, &w, &h);
-
-   if (w == -640 || h == -480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Incorrect value of size set.. w = %d, h = %d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_fill_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_fill_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_fill_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_fill_set_n);
-   tcase_add_test(tcase, utc_evas_object_image_fill_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get.c
deleted file mode 100644 (file)
index 562e6d7..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-#include <check.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_fill_spread_get evas_object_image_fill_spread_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_fill_spread_get
- * @{
- * @objective Positive test case checks if function gets tiling mode properly.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set tiling mode to EVAS_TEXTURE_REFLECT
- * @step 4 Get tiling mode and compare with value that was set
- *
- * @passcondition Set and got values of tiling mode are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_spread_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_fill_spread_set(img, EVAS_TEXTURE_REFLECT);
-
-   if (evas_object_image_fill_spread_get(img) != EVAS_TEXTURE_REFLECT)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_spread_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EVAS_TEXTURE_REFLECT if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EVAS_TEXTURE_REFLECT.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_fill_spread_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EVAS_TEXTURE_REFLECT , evas_object_image_fill_spread_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_fill_spread_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_fill_spread_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_fill_spread_get_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_fill_spread_get_n);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_get_set.c
new file mode 100644 (file)
index 0000000..a940709
--- /dev/null
@@ -0,0 +1,192 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_fill_spread_set evas_object_image_fill_spread_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_fill_spread_set
+ * @{
+ * @objective Positive test case checks if function sets tiling mode properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_TEXTURE_REFLECT as tiling mode.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set tiling mode to EVAS_TEXTURE_REFLECT
+ * @step 3 Get tiling mode and compare with value that was set
+ *
+ * @passcondition Set and got values of tiling mode are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_spread_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_fill_spread_set(img, EVAS_TEXTURE_REFLECT);
+
+   if (evas_object_image_fill_spread_get(img) != EVAS_TEXTURE_REFLECT)
+     {
+        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 evas_object_image_fill_spread_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL as pointer to image Evas_Object;
+ * @li EVAS_TEXTURE_REFLECT as tiling mode.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_fill_spread_set_n)
+{
+
+   evas_object_image_fill_spread_set(NULL, EVAS_TEXTURE_REFLECT);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_fill_spread_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set tiling mode if it is called with incorrect second argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_TEXTURE_REFLECT/-1 as tiling mode for first/second call.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set tiling mode to EVAS_TEXTURE_REFLECT
+ * @step 3 Try to set tiling mode to -1
+ * @step 4 Get tiling mode and compare with value that was set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_fill_spread_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_fill_spread_set(img, EVAS_TEXTURE_REFLECT);
+   evas_object_image_fill_spread_set(img, (Evas_Fill_Spread)-1);
+
+   if (evas_object_image_fill_spread_get(img) != EVAS_TEXTURE_REFLECT)
+     {
+        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
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_fill_spread_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EVAS_TEXTURE_REFLECT if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EVAS_TEXTURE_REFLECT.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_fill_spread_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EVAS_TEXTURE_REFLECT , evas_object_image_fill_spread_get, NULL) == TEST_FAIL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        return;
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_fill_spread_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_fill_spread_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_n2);
+#endif
+#ifdef NOT_APPROVED_FOR_BUILD
+         tcase_add_test(tcase, utc_evas_object_image_fill_spread_get_n);
+#endif
+
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_fill_spread_set.c
deleted file mode 100644 (file)
index 501723a..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_fill_spread_set evas_object_image_fill_spread_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_fill_spread_set
- * @{
- * @objective Positive test case checks if function sets tiling mode properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_TEXTURE_REFLECT as tiling mode.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set tiling mode to EVAS_TEXTURE_REFLECT
- * @step 3 Get tiling mode and compare with value that was set
- *
- * @passcondition Set and got values of tiling mode are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_spread_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_fill_spread_set(img, EVAS_TEXTURE_REFLECT);
-
-   if (evas_object_image_fill_spread_get(img) != EVAS_TEXTURE_REFLECT)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_spread_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL as pointer to image Evas_Object;
- * @li EVAS_TEXTURE_REFLECT as tiling mode.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_fill_spread_set_n)
-{
-
-   evas_object_image_fill_spread_set(NULL, EVAS_TEXTURE_REFLECT);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_fill_spread_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set tiling mode if it is called with incorrect second argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_TEXTURE_REFLECT/-1 as tiling mode for first/second call.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set tiling mode to EVAS_TEXTURE_REFLECT
- * @step 3 Try to set tiling mode to -1
- * @step 4 Get tiling mode and compare with value that was set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_fill_spread_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_fill_spread_set(img, EVAS_TEXTURE_REFLECT);
-   evas_object_image_fill_spread_set(img, (Evas_Fill_Spread)-1);
-
-   if (evas_object_image_fill_spread_get(img) != EVAS_TEXTURE_REFLECT)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_fill_spread_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_fill_spread_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_fill_spread_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get.c
deleted file mode 100644 (file)
index 06afd16..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_filled_get evas_object_image_filled_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_filled_get
- * @{
- * @objective Positive test case checks if function returns proper value of image object's fill property.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set fill property (tracking the object's size) to EINA_TRUE
- * @step 4 Check if fill property enabled
- * @step 5 Set fill property to EINA_FALSE
- * @step 6 Check if fill property disabled
- *
- * @passcondition Function returns correct state of image's fill property.
- * @}
- */
-START_TEST(utc_evas_object_image_filled_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_filled_set(img, EINA_TRUE);
-
-   if (evas_object_image_filled_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_filled_set(img, EINA_FALSE);
-
-   if (evas_object_image_filled_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_filled_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_filled_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_filled_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_filled_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_filled_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_filled_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_filled_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_get_set.c
new file mode 100644 (file)
index 0000000..0541668
--- /dev/null
@@ -0,0 +1,149 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_filled_get evas_object_image_filled_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_filled_get
+ * @{
+ * @objective Positive test case checks if function returns proper value of image object's fill property.
+ * @n Input Data: pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set fill property (tracking the object's size) to EINA_TRUE
+ * @step 4 Check if fill property enabled
+ * @step 5 Set fill property to EINA_FALSE
+ * @step 6 Check if fill property disabled
+ *
+ * @passcondition Function returns correct state of image's fill property.
+ * @}
+ */
+START_TEST(utc_evas_object_image_filled_get_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_filled_set(img, EINA_TRUE);
+
+   if (evas_object_image_filled_get(img) == EINA_FALSE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_TRUE..", __FILE__, __LINE__);
+     }
+   evas_object_image_filled_set(img, EINA_FALSE);
+
+   if (evas_object_image_filled_get(img) == EINA_TRUE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   ecore_evas_free(ee);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_filled_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_filled_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_filled_get, NULL) == 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 evas_object_image_filled_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_filled_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_filled_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_filled_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_filled_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_filled_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_filled_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_filled_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_filled_set.c
deleted file mode 100644 (file)
index 5eabd53..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_filled_set evas_object_image_filled_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_filled_set
- * @{
- * @objective Positive test case checks if function sets image object's fill property correctly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set fill property (tracking the object's size) to EINA_TRUE
- * @step 4 Check if fill property enabled
- * @step 5 Set fill property to EINA_FALSE
- * @step 6 Check if fill property disabled
- *
- * @passcondition Function enables and disables fill property correctly.
- * @}
- */
-START_TEST(utc_evas_object_image_filled_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_filled_set(img, EINA_TRUE);
-
-   if (evas_object_image_filled_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_filled_set(img, EINA_FALSE);
-
-   if (evas_object_image_filled_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Filled property is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_filled_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_filled_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_filled_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_filled_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_filled_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_filled_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_filled_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get.c
deleted file mode 100644 (file)
index 0e3636f..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_dpi_get evas_object_image_load_dpi_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_dpi_get
- * @{
- * @objective Positive test case checks if function returns proper DPI resolution of an image
- * object's source image.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set DPI resolution of the image's source image to 10.0
- * @step 4 Get DPI resolution and compare it with value that was set
- *
- * @passcondition Function returns proper DPI resolution that is equal to set value.
- * @}
- */
-START_TEST(utc_evas_object_image_load_dpi_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_dpi_set(img, 10.0);
-   double dpi = evas_object_image_load_dpi_get(img);
-   ecore_evas_free(ee);
-
-   if (fabs(dpi - 10.0) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_dpi_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * double value that not more than DBL_EPSILON if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data: NULL as pointer to Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns value that not more than DBL_EPSILON.
- * @}
- */
-START_TEST(utc_evas_object_image_load_dpi_get_n)
-{
-   double dpi = evas_object_image_load_dpi_get(NULL);
-
-   if (fabs(dpi) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_dpi_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_dpi_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_dpi_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_dpi_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_get_set.c
new file mode 100644 (file)
index 0000000..eb380ff
--- /dev/null
@@ -0,0 +1,187 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_load_dpi_set evas_object_image_load_dpi_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_load_dpi_set
+ * @{
+ * @objective Positive test case checks if function sets DPI resolution of an image object's source
+ * image properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 10.0 as DPI resolution.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set DPI resolution of the image's source image to 10.0
+ * @step 3 Get DPI resolution and compare it with value that was set
+ *
+ * @passcondition Set and got values of DPI resolution are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_dpi_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_dpi_set(img, 10.0);
+   double dpi = evas_object_image_load_dpi_get(img);
+
+   if (fabs(dpi - 10.0) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_dpi_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data: NULL instead of pointer to Evas_Object and 10.0 as DPI resolution.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_dpi_set_n)
+{
+   evas_object_image_load_dpi_set(NULL, 10.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_dpi_set
+ * @{
+ * @objective Negative test case 2 checks if function sets negative DPI resolution of an image object's source
+ * image properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 10.0/-10.0 as DPI resolution.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set DPI resolution of the image's source image to 10.0
+ * @step 3 Set DPI resolution of the image's source image to -10.0
+ * @step 4 Get DPI resolution and compare it with value that was set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_load_dpi_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_dpi_set(img, 10.0);
+   evas_object_image_load_dpi_set(img, -10.0);
+   double dpi = evas_object_image_load_dpi_get(img);
+
+   if (fabs(dpi - 10.0) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_load_dpi_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * double value that not more than DBL_EPSILON if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data: NULL as pointer to Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns value that not more than DBL_EPSILON.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_dpi_get_n)
+{
+   double dpi = evas_object_image_load_dpi_get(NULL);
+
+   if (fabs(dpi) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_load_dpi_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_load_dpi_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_load_dpi_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_dpi_set.c
deleted file mode 100644 (file)
index b770e97..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_dpi_set evas_object_image_load_dpi_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_dpi_set
- * @{
- * @objective Positive test case checks if function sets DPI resolution of an image object's source
- * image properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 10.0 as DPI resolution.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set DPI resolution of the image's source image to 10.0
- * @step 3 Get DPI resolution and compare it with value that was set
- *
- * @passcondition Set and got values of DPI resolution are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_dpi_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_dpi_set(img, 10.0);
-   double dpi = evas_object_image_load_dpi_get(img);
-
-   if (fabs(dpi - 10.0) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_dpi_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data: NULL instead of pointer to Evas_Object and 10.0 as DPI resolution.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_load_dpi_set_n)
-{
-   evas_object_image_load_dpi_set(NULL, 10.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_dpi_set
- * @{
- * @objective Negative test case 2 checks if function sets negative DPI resolution of an image object's source
- * image properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 10.0/-10.0 as DPI resolution.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set DPI resolution of the image's source image to 10.0
- * @step 3 Set DPI resolution of the image's source image to -10.0
- * @step 4 Get DPI resolution and compare it with value that was set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_load_dpi_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_dpi_set(img, 10.0);
-   evas_object_image_load_dpi_set(img, -10.0);
-   double dpi = evas_object_image_load_dpi_get(img);
-
-   if (fabs(dpi - 10.0) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. dpi=%f", __FILE__, __LINE__, dpi);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_dpi_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_dpi_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_load_dpi_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get.c
deleted file mode 100644 (file)
index 5cd09ec..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_orientation_get evas_object_image_load_orientation_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_orientation_get
- * @{
- * @objective Positive test case checks if function returns orientation value properly.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set orientation to EINA_TRUE
- * @step 4 Check if orientation is set
- * @step 5 Set orientation to EINA_FALSE
- * @step 6 Check if value is set
- *
- * @passcondition Function returns proper value of orientation that is equal to set value.
- * @}
- */
-START_TEST(utc_evas_object_image_load_orientation_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_orientation_set(img, EINA_TRUE);
-
-   if (evas_object_image_load_orientation_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_orientation_set(img, EINA_FALSE);
-
-   if (evas_object_image_load_orientation_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_orientation_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_load_orientation_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_load_orientation_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_orientation_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_orientation_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_orientation_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_orientation_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_get_set.c
new file mode 100644 (file)
index 0000000..27b22c0
--- /dev/null
@@ -0,0 +1,149 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_load_orientation_get evas_object_image_load_orientation_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_load_orientation_get
+ * @{
+ * @objective Positive test case checks if function returns orientation value properly.
+ * @n Input Data: pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set orientation to EINA_TRUE
+ * @step 4 Check if orientation is set
+ * @step 5 Set orientation to EINA_FALSE
+ * @step 6 Check if value is set
+ *
+ * @passcondition Function returns proper value of orientation that is equal to set value.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_orientation_get_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_orientation_set(img, EINA_TRUE);
+
+   if (evas_object_image_load_orientation_get(img) == EINA_FALSE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_TRUE..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_orientation_set(img, EINA_FALSE);
+
+   if (evas_object_image_load_orientation_get(img) == EINA_TRUE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   ecore_evas_free(ee);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_orientation_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_orientation_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_load_orientation_get, NULL) == 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 evas_object_image_load_orientation_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_orientation_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_load_orientation_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_load_orientation_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_load_orientation_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_load_orientation_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_load_orientation_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_load_orientation_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_orientation_set.c
deleted file mode 100644 (file)
index 341b1b8..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_orientation_set evas_object_image_load_orientation_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_orientation_set
- * @{
- * @objective Positive test case checks if function sets if the orientation information in the image
- * file should be set properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set orientation to EINA_TRUE
- * @step 4 Check if orientation is set
- * @step 5 Set orientation to EINA_FALSE
- * @step 6 Check if value is set
- *
- * @passcondition Function enables and disables orientation properly.
- * @}
- */
-START_TEST(utc_evas_object_image_load_orientation_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_orientation_set(img, EINA_TRUE);
-
-   if (evas_object_image_load_orientation_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_orientation_set(img, EINA_FALSE);
-
-   if (evas_object_image_load_orientation_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Orientation is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_orientation_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_load_orientation_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_load_orientation_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_orientation_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_orientation_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_orientation_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_orientation_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get.c
deleted file mode 100644 (file)
index 728aceb..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_region_get evas_object_image_load_region_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_region_get
- * @{
- * @objective Positive test case checks if function gets image's source region to be loaded by image
- * object properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write X coordinate of load region;
- * @li pointer to write Y coordinate;
- * @li pointer to write width;
- * @li pointer to write height.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set load region position and size
- * @step 3 Get load region position and size and compare with set values
- *
- * @passcondition Function gets load region properly, set and got values of output parameters are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_region_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_load_region_set(img, 1, 1, 10, 10);
-   evas_object_image_load_region_get(img, &x, &y, &w, &h);
-
-   if (x != 1 || y != 1 || w != 10 || h != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_region_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
- * any positive values to output parameters if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write X coordinate of load region;
- * @li pointer to write Y coordinate;
- * @li pointer to write width of load region;
- * @li pointer to write height.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault. All output parameters are equal to 0 (wasn't changed).
- * @}
- */
-START_TEST(utc_evas_object_image_load_region_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 1, y = 1, w = 1, h = 1;
-   evas_object_image_load_region_set(img, 1, 1, 10, 10);
-   UNITEST_FUNC_NEG(evas_object_image_load_region_get, img, &x, &y, &w, &h);
-
-   if (x != 1 || y != 1 || w != 10 || h != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_region_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_region_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_region_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_region_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_get_set.c
new file mode 100644 (file)
index 0000000..6dfd4fc
--- /dev/null
@@ -0,0 +1,216 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_load_region_set evas_object_image_load_region_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_load_region_set
+ * @{
+ * @objective Positive test case checks if function sets image's source region to be loaded by
+ * image object properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 1 as X coordinate of region to load;
+ * @li 1 as Y coordinate of region to load;
+ * @li 10 as width of region to load;
+ * @li 10 as height of region to load.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set load region position and size
+ * @step 4 Get load region position and size and compare with set values
+ *
+ * @passcondition Function sets load region properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_region_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 0, y = 0, w = 0, h = 0;
+
+   evas_object_image_load_region_set(img, 1, 1, 10, 10);
+   evas_object_image_load_region_get(img, &x, &y, &w, &h);
+
+   if (x != 1 || y != 1 || w != 10 || h != 10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_region_set
+ * @{
+ * @objective Negative test case 01 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object, its position and size.
+ * @n Input Data:
+ * @li NULL pointer to image Evas_Object;
+ * @li 0 as X coordinate of region to load;
+ * @li 0 as Y coordinate of region to load;
+ * @li 10 as width of region to load;
+ * @li 10 as height of region to load.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_region_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_load_region_set, NULL, 0, 0, 10, 10);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_region_set
+ * @{
+ * @objective Negative test 02 case checks if function doesn't cause segmentation fault and doesn't
+ * set incorrect values if it is called with incorrect arguments.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li -2 as X coordinate of region to load;
+ * @li -2 as Y coordinate of region to load;
+ * @li -10 as width of region to load;
+ * @li -10 as height of region to load.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set incorrect load region position and size
+ * @step 4 Get load region position and size and compare with set values
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect values.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_load_region_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 0, y = 0, w = 0, h = 0;
+
+   evas_object_image_load_region_set(img, -2, -2, -10, -10);
+   evas_object_image_load_region_get(img, &x, &y, &w, &h);
+
+   if (x == -2 || y == -2 || w == -10 || h == -10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_load_region_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
+ * any positive values to output parameters if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to write X coordinate of load region;
+ * @li pointer to write Y coordinate;
+ * @li pointer to write width of load region;
+ * @li pointer to write height.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault. All output parameters are equal to 0 (wasn't changed).
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_region_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int x = 1, y = 1, w = 1, h = 1;
+   evas_object_image_load_region_set(img, 1, 1, 10, 10);
+   UNITEST_FUNC_NEG(evas_object_image_load_region_get, img, &x, &y, &w, &h);
+
+   if (x != 1 || y != 1 || w != 10 || h != 10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_load_region_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_load_region_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_load_region_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_load_region_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_load_region_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_load_region_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_region_set.c
deleted file mode 100644 (file)
index 7867760..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_region_set evas_object_image_load_region_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_region_set
- * @{
- * @objective Positive test case checks if function sets image's source region to be loaded by
- * image object properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 1 as X coordinate of region to load;
- * @li 1 as Y coordinate of region to load;
- * @li 10 as width of region to load;
- * @li 10 as height of region to load.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set load region position and size
- * @step 4 Get load region position and size and compare with set values
- *
- * @passcondition Function sets load region properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_region_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_load_region_set(img, 1, 1, 10, 10);
-   evas_object_image_load_region_get(img, &x, &y, &w, &h);
-
-   if (x != 1 || y != 1 || w != 10 || h != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_region_set
- * @{
- * @objective Negative test case 01 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object, its position and size.
- * @n Input Data:
- * @li NULL pointer to image Evas_Object;
- * @li 0 as X coordinate of region to load;
- * @li 0 as Y coordinate of region to load;
- * @li 10 as width of region to load;
- * @li 10 as height of region to load.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_load_region_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_load_region_set, NULL, 0, 0, 10, 10);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_region_set
- * @{
- * @objective Negative test 02 case checks if function doesn't cause segmentation fault and doesn't
- * set incorrect values if it is called with incorrect arguments.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li -2 as X coordinate of region to load;
- * @li -2 as Y coordinate of region to load;
- * @li -10 as width of region to load;
- * @li -10 as height of region to load.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set incorrect load region position and size
- * @step 4 Get load region position and size and compare with set values
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect values.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_load_region_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int x = 0, y = 0, w = 0, h = 0;
-
-   evas_object_image_load_region_set(img, -2, -2, -10, -10);
-   evas_object_image_load_region_get(img, &x, &y, &w, &h);
-
-   if (x == -2 || y == -2 || w == -10 || h == -10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%d, y=%d, w=%d, h=%d", __FILE__, __LINE__, x, y, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_region_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_region_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_region_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_region_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_load_region_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get.c
deleted file mode 100644 (file)
index 3b84c61..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_scale_down_get evas_object_image_load_scale_down_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_scale_down_get
- * @{
- * @objective Positive test case checks if function returns proper scale down factor.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set scale down factor of the image's source image to 2
- * @step 4 Get scale down factor and compare it with value that was set
- *
- * @passcondition Function returns proper scale down factor that is equal to set value.
- * @}
- */
-START_TEST(utc_evas_object_image_load_scale_down_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_scale_down_set(img, 2);
-   int ret = evas_object_image_load_scale_down_get(img);
-   ecore_evas_free(ee);
-
-   if (ret != 2)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale down=%d", __FILE__, __LINE__, ret);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_scale_down_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns 0 if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns 0.
- * @}
- */
-START_TEST(utc_evas_object_image_load_scale_down_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(0, evas_object_image_load_scale_down_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_scale_down_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_scale_down_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_get_set.c
new file mode 100644 (file)
index 0000000..f2dbf0c
--- /dev/null
@@ -0,0 +1,182 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_load_scale_down_set evas_object_image_load_scale_down_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_load_scale_down_set
+ * @{
+ * @objective Positive test case checks if function sets scale down factor of an image object's
+ * source image properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 2 as scale down factor.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set scale down factor of the image's source image to 2
+ * @step 3 Get scale down factor and compare it with value that was set
+ *
+ * @passcondition Set and got values of scale down factor are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_scale_down_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_scale_down_set(img, 2);
+   int ret = evas_object_image_load_scale_down_get(img);
+
+   if (ret != 2)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale down=%d", __FILE__, __LINE__, ret);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_scale_down_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data:
+ * @li NULL instead of pointer to Evas_Object and 2 as scale down factor.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_scale_down_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_load_scale_down_set, NULL, 2);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_scale_down_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * if it is called with negative value of scale factor and doesn't set this value.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li -1 as scale down factor.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set scale down factor of the image's source image to -1
+ * @step 3 Get scale down factor of the image's source image
+ * @step 4 Compare get value with set value
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_scale_down_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_load_scale_down_set(img, -1);
+   int ret = evas_object_image_load_scale_down_get(img);
+
+   if (ret == -1)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale factor = %d", __FILE__, __LINE__, ret);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_scale_down_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns 0 if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns 0.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_scale_down_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(0, evas_object_image_load_scale_down_get, NULL) == 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_evas_object_image_load_scale_down_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_load_scale_down_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_n2);
+   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_scale_down_set.c
deleted file mode 100644 (file)
index 1165bcf..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_scale_down_set evas_object_image_load_scale_down_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_scale_down_set
- * @{
- * @objective Positive test case checks if function sets scale down factor of an image object's
- * source image properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 2 as scale down factor.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set scale down factor of the image's source image to 2
- * @step 3 Get scale down factor and compare it with value that was set
- *
- * @passcondition Set and got values of scale down factor are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_scale_down_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_scale_down_set(img, 2);
-   int ret = evas_object_image_load_scale_down_get(img);
-
-   if (ret != 2)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale down=%d", __FILE__, __LINE__, ret);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_scale_down_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data:
- * @li NULL instead of pointer to Evas_Object and 2 as scale down factor.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_load_scale_down_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_load_scale_down_set, NULL, 2);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_scale_down_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * if it is called with negative value of scale factor and doesn't set this value.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li -1 as scale down factor.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set scale down factor of the image's source image to -1
- * @step 3 Get scale down factor of the image's source image
- * @step 4 Compare get value with set value
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value.
- * @}
- */
-START_TEST(utc_evas_object_image_load_scale_down_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_load_scale_down_set(img, -1);
-   int ret = evas_object_image_load_scale_down_get(img);
-
-   if (ret == -1)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. scale factor = %d", __FILE__, __LINE__, ret);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_scale_down_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_scale_down_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_n);
-   tcase_add_test(tcase, utc_evas_object_image_load_scale_down_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get.c
deleted file mode 100644 (file)
index 54ec178..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_size_get evas_object_image_load_size_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_size_get
- * @{
- * @objective Positive test case checks if function properly gets size of an image object's source image.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write width of source image;
- * @li pointer to write height of source image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set size of source image
- * @step 3 Get size of source image and compare with set values
- *
- * @passcondition Function gets size of source image properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_size_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-
-   evas_object_image_load_size_set(img, 320, 240);
-   evas_object_image_load_size_get(img, &w, &h);
-
-   if (w != 320 || h != 240)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_size_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and set correct values
- * if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write width of source image;
- * @li pointer to write height of source image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set correct size to image
- * @step 3 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 4 Check set values
- *
- * @passcondition Function doesn't cause segmentation fault and set correct values.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_load_size_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   img = NULL;
-   int w = 0, h = 0;
-
-   evas_object_image_load_size_set(img, 10, 10);
-   UNITEST_FUNC_NEG(evas_object_image_load_size_get, img, &w, &h);
-
-   if (w != 10 || h != 10)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w = %d, h = %d", __FILE__, __LINE__, w, h);
-        return;
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_size_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_size_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_size_get_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_load_size_get_n);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_get_set.c
new file mode 100644 (file)
index 0000000..cc572ee
--- /dev/null
@@ -0,0 +1,176 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_load_size_get evas_object_image_load_size_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_load_size_get
+ * @{
+ * @objective Positive test case checks if function properly gets size of an image object's source image.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to write width of source image;
+ * @li pointer to write height of source image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set size of source image
+ * @step 3 Get size of source image and compare with set values
+ *
+ * @passcondition Function gets size of source image properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_size_get_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int w = 0, h = 0;
+
+   evas_object_image_load_size_set(img, 320, 240);
+   evas_object_image_load_size_get(img, &w, &h);
+
+   if (w != 320 || h != 240)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_load_size_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and set correct values
+ * if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to write width of source image;
+ * @li pointer to write height of source image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set correct size to image
+ * @step 3 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 4 Check set values
+ *
+ * @passcondition Function doesn't cause segmentation fault and set correct values.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_load_size_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   img = NULL;
+   int w = 0, h = 0;
+
+   evas_object_image_load_size_set(img, 10, 10);
+   UNITEST_FUNC_NEG(evas_object_image_load_size_get, img, &w, &h);
+
+   if (w != 10 || h != 10)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w = %d, h = %d", __FILE__, __LINE__, w, h);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_load_size_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li NULL/img as pointer to image Evas_Object;
+ * @li 0/320 as width of source image;
+ * @li 0/240 as height of source image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Call function once and pass NULL instead of its arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_load_size_set_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   UNITEST_FUNC_NEG(evas_object_image_load_size_set, img, 320, 240);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_load_size_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_load_size_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_load_size_get_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_load_size_get_n);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_load_size_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_load_size_set.c
deleted file mode 100644 (file)
index 34a76a3..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_load_size_set evas_object_image_load_size_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_load_size_set
- * @{
- * @objective Positive test case checks if function properly sets size of an image object's
- * source image, when loading it.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 320 as width of source image;
- * @li 240 as height of source image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set size of source image
- * @step 3 Get size of source image and compare with set values
- *
- * @passcondition Function sets size of source image properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_load_size_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-
-   evas_object_image_load_size_set(img, 320, 240);
-   evas_object_image_load_size_get(img, &w, &h);
-
-   if (w != 320 || h != 240)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_load_size_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li NULL/img as pointer to image Evas_Object;
- * @li 0/320 as width of source image;
- * @li 0/240 as height of source image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Call function once and pass NULL instead of its arguments.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_load_size_set_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   UNITEST_FUNC_NEG(evas_object_image_load_size_set, img, 320, 240);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_load_size_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_load_size_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_load_size_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_load_size_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get.c
deleted file mode 100644 (file)
index 4509105..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_pixels_dirty_get evas_object_image_pixels_dirty_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_pixels_dirty_get
- * @{
- * @objective Positive test case checks if function returns proper value of dirty flag.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set dirty flag to EINA_TRUE
- * @step 4 Check if image is marked as dirty
- * @step 5 Set dirty flag to EINA_FALSE
- * @step 6 Check if image is marked as dirty again
- *
- * @passcondition Function returns correct state that shows if image marked as dirty.
- * @}
- */
-START_TEST(utc_evas_object_image_pixels_dirty_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_pixels_dirty_set(img, EINA_TRUE);
-
-   if (evas_object_image_pixels_dirty_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_pixels_dirty_set(img, EINA_FALSE);
-
-   if (evas_object_image_pixels_dirty_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_pixels_dirty_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_pixels_dirty_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_pixels_dirty_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_pixels_dirty_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_pixels_dirty_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_get_set.c
new file mode 100644 (file)
index 0000000..96b81fa
--- /dev/null
@@ -0,0 +1,149 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_pixels_dirty_get evas_object_image_pixels_dirty_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_pixels_dirty_get
+ * @{
+ * @objective Positive test case checks if function returns proper value of dirty flag.
+ * @n Input Data: pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set dirty flag to EINA_TRUE
+ * @step 4 Check if image is marked as dirty
+ * @step 5 Set dirty flag to EINA_FALSE
+ * @step 6 Check if image is marked as dirty again
+ *
+ * @passcondition Function returns correct state that shows if image marked as dirty.
+ * @}
+ */
+START_TEST(utc_evas_object_image_pixels_dirty_get_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_pixels_dirty_set(img, EINA_TRUE);
+
+   if (evas_object_image_pixels_dirty_get(img) == EINA_FALSE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
+     }
+   evas_object_image_pixels_dirty_set(img, EINA_FALSE);
+
+   if (evas_object_image_pixels_dirty_get(img) == EINA_TRUE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   ecore_evas_free(ee);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_pixels_dirty_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_pixels_dirty_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_pixels_dirty_get, NULL) == 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 evas_object_image_pixels_dirty_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE as dirty flag.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_pixels_dirty_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_pixels_dirty_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_pixels_dirty_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_pixels_dirty_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_pixels_dirty_set.c
deleted file mode 100644 (file)
index b2035fc..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_pixels_dirty_set evas_object_image_pixels_dirty_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_pixels_dirty_set
- * @{
- * @objective Positive test case checks if function properly marks whether the given image object is dirty.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set dirty flag to EINA_TRUE
- * @step 4 Check if image is marked as dirty
- * @step 5 Set dirty flag to EINA_FALSE
- * @step 6 Check if image is marked as dirty again
- *
- * @passcondition Function marks image as dirty properly.
- * @}
- */
-START_TEST(utc_evas_object_image_pixels_dirty_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_pixels_dirty_set(img, EINA_TRUE);
-
-   if (evas_object_image_pixels_dirty_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_pixels_dirty_set(img, EINA_FALSE);
-
-   if (evas_object_image_pixels_dirty_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_pixels_dirty_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE as dirty flag.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_pixels_dirty_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_pixels_dirty_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_pixels_dirty_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_pixels_dirty_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_pixels_dirty_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get.c
deleted file mode 100644 (file)
index d62562b..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_scale_hint_get evas_object_image_scale_hint_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_scale_hint_get
- * @{
- * @objective Positive test case checks if function returns proper scale hint of a given image.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set scale hint to EVAS_IMAGE_SCALE_HINT_DYNAMIC
- * @step 4 Get scale hint and compare with value that was set
- *
- * @passcondition Set and got values of scale hint are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_scale_hint_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_scale_hint_set(img, EVAS_IMAGE_SCALE_HINT_DYNAMIC);
-
-   if (evas_object_image_scale_hint_get(img) != EVAS_IMAGE_SCALE_HINT_DYNAMIC)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_scale_hint_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * EVAS_IMAGE_SCALE_HINT_NONE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EVAS_IMAGE_SCALE_HINT_NONE.
- * @}
- */
-START_TEST(utc_evas_object_image_scale_hint_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EVAS_IMAGE_SCALE_HINT_NONE, evas_object_image_scale_hint_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_scale_hint_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_scale_hint_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_scale_hint_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_scale_hint_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_get_set.c
new file mode 100644 (file)
index 0000000..0f0a184
--- /dev/null
@@ -0,0 +1,184 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_scale_hint_set evas_object_image_scale_hint_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_scale_hint_set
+ * @{
+ * @objective Positive test case checks if function sets scale hint of a given image properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_IMAGE_SCALE_HINT_DYNAMIC as scale hint value.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set scale hint to EVAS_IMAGE_SCALE_HINT_DYNAMIC
+ * @step 3 Get scale hint and compare with value that was set
+ *
+ * @passcondition Set and got values of scale hint are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_scale_hint_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_scale_hint_set(img, EVAS_IMAGE_SCALE_HINT_DYNAMIC);
+
+   if (evas_object_image_scale_hint_get(img) != EVAS_IMAGE_SCALE_HINT_DYNAMIC)
+     {
+        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 evas_object_image_scale_hint_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL as pointer to image Evas_Object;
+ * @li EVAS_IMAGE_SCALE_HINT_NONE as scale hint.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_scale_hint_set_n)
+{
+   evas_object_image_scale_hint_set(NULL, EVAS_IMAGE_SCALE_HINT_NONE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_scale_hint_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set tiling mode if it is called with incorrect second argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li EVAS_IMAGE_SCALE_HINT_DYNAMIC/-1 as scale value for first/second call.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set scale hint to EVAS_IMAGE_SCALE_HINT_DYNAMIC
+ * @step 3 Try set scale hint to -1
+ * @step 4 Get scale hint and compare with value that was set
+ *
+ * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value -1.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_image_scale_hint_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_scale_hint_set(img, EVAS_IMAGE_SCALE_HINT_DYNAMIC);
+   evas_object_image_scale_hint_set(img, (Evas_Image_Scale_Hint)-1);
+
+   if (evas_object_image_scale_hint_get(img) != EVAS_IMAGE_SCALE_HINT_DYNAMIC)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function set incorrect value -1..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_image_scale_hint_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * EVAS_IMAGE_SCALE_HINT_NONE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EVAS_IMAGE_SCALE_HINT_NONE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_scale_hint_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EVAS_IMAGE_SCALE_HINT_NONE, evas_object_image_scale_hint_get, NULL) == 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_evas_object_image_scale_hint_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_scale_hint_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_image_scale_hint_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_scale_hint_set.c
deleted file mode 100644 (file)
index 8c374ea..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_scale_hint_set evas_object_image_scale_hint_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_scale_hint_set
- * @{
- * @objective Positive test case checks if function sets scale hint of a given image properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_IMAGE_SCALE_HINT_DYNAMIC as scale hint value.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set scale hint to EVAS_IMAGE_SCALE_HINT_DYNAMIC
- * @step 3 Get scale hint and compare with value that was set
- *
- * @passcondition Set and got values of scale hint are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_scale_hint_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_scale_hint_set(img, EVAS_IMAGE_SCALE_HINT_DYNAMIC);
-
-   if (evas_object_image_scale_hint_get(img) != EVAS_IMAGE_SCALE_HINT_DYNAMIC)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_scale_hint_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL as pointer to image Evas_Object;
- * @li EVAS_IMAGE_SCALE_HINT_NONE as scale hint.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_scale_hint_set_n)
-{
-   evas_object_image_scale_hint_set(NULL, EVAS_IMAGE_SCALE_HINT_NONE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_scale_hint_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set tiling mode if it is called with incorrect second argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EVAS_IMAGE_SCALE_HINT_DYNAMIC/-1 as scale value for first/second call.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set scale hint to EVAS_IMAGE_SCALE_HINT_DYNAMIC
- * @step 3 Try set scale hint to -1
- * @step 4 Get scale hint and compare with value that was set
- *
- * @passcondition Function doesn't cause segmentation fault and doesn't set incorrect value -1.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_image_scale_hint_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_scale_hint_set(img, EVAS_IMAGE_SCALE_HINT_DYNAMIC);
-   evas_object_image_scale_hint_set(img, (Evas_Image_Scale_Hint)-1);
-
-   if (evas_object_image_scale_hint_get(img) != EVAS_IMAGE_SCALE_HINT_DYNAMIC)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Function set incorrect value -1..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_scale_hint_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_scale_hint_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_image_scale_hint_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get.c
deleted file mode 100644 (file)
index b7dfec1..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_size_get evas_object_image_size_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_size_get
- * @{
- * @objective Positive test case checks if function gets right size of an image object.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write width of the image;
- * @li pointer to write height of the image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set size of the image
- * @step 3 Get size of the image and compare with set values
- *
- * @passcondition Function gets size of the image object properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_size_get_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-
-   evas_object_image_size_set(img, 640, 480);
-   evas_object_image_size_get(img, &w, &h);
-
-   if (w != 640 || h != 480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_size_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of any argument.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li pointer to write width of the image;
- * @li pointer to write height of the image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set size to img
- * @step 3 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_size_get_n)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-   evas_object_image_size_set(img, 640, 480);
-
-   UNITEST_FUNC_NEG(evas_object_image_size_get, img, &w, &h);
-
-   if (w != 640 || h != 480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_size_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_size_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_size_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_size_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_get_set.c
new file mode 100644 (file)
index 0000000..f51bccf
--- /dev/null
@@ -0,0 +1,203 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_size_set evas_object_image_size_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_size_set
+ * @{
+ * @objective Positive test case checks if function sets size of an image object properly.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li 640 as width of the image;
+ * @li 480 as height of the image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set size of the image
+ * @step 3 Get size of the image and compare with set values
+ *
+ * @passcondition Function sets size of the image object properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_size_set_p)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int w = 0, h = 0;
+
+   evas_object_image_size_set(img, 640, 480);
+   evas_object_image_size_get(img, &w, &h);
+
+   if (w != 640 || h != 480)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_size_set
+ * @{
+ * @objective Negative test case 1 checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data:
+ * @li NULL as pointer to image Evas_Object;
+ * @li 640 as width of the image;
+ * @li 480 as height of the image.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_size_set_n)
+{
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_size_set, NULL, 640, 480);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_size_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault and doesn't set
+ * size of a given image object if it is called with negative size values.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li -100 as width of the image;
+ * @li -200 as height of the image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Try to set size of the image to negative values
+ * @step 3 Get size of the image and compare with 1
+ *
+ * @passcondition Function doesn't cause segmentation fault and sets width and height to 1.
+ * @}
+ */
+START_TEST(utc_evas_object_image_size_set_n2)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int w = 0, h = 0;
+
+   evas_object_image_size_set(img, -100, -200);
+   evas_object_image_size_get(img, &w, &h);
+
+   if (w < 1 || h < 1)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_size_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of any argument.
+ * @n Input Data:
+ * @li pointer to image Evas_Object;
+ * @li pointer to write width of the image;
+ * @li pointer to write height of the image.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set size to img
+ * @step 3 Call function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_size_get_n)
+{
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int w = 0, h = 0;
+   evas_object_image_size_set(img, 640, 480);
+
+   UNITEST_FUNC_NEG(evas_object_image_size_get, img, &w, &h);
+
+   if (w != 640 || h != 480)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_size_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_size_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_size_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_size_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_size_set_n2);
+   tcase_add_test(tcase, utc_evas_object_image_size_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_size_set.c
deleted file mode 100644 (file)
index b6c3137..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_size_set evas_object_image_size_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_size_set
- * @{
- * @objective Positive test case checks if function sets size of an image object properly.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li 640 as width of the image;
- * @li 480 as height of the image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set size of the image
- * @step 3 Get size of the image and compare with set values
- *
- * @passcondition Function sets size of the image object properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_size_set_p)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-
-   evas_object_image_size_set(img, 640, 480);
-   evas_object_image_size_get(img, &w, &h);
-
-   if (w != 640 || h != 480)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_size_set
- * @{
- * @objective Negative test case 1 checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data:
- * @li NULL as pointer to image Evas_Object;
- * @li 640 as width of the image;
- * @li 480 as height of the image.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_size_set_n)
-{
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_size_set, NULL, 640, 480);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_size_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault and doesn't set
- * size of a given image object if it is called with negative size values.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li -100 as width of the image;
- * @li -200 as height of the image.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Try to set size of the image to negative values
- * @step 3 Get size of the image and compare with 1
- *
- * @passcondition Function doesn't cause segmentation fault and sets width and height to 1.
- * @}
- */
-START_TEST(utc_evas_object_image_size_set_n2)
-{
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int w = 0, h = 0;
-
-   evas_object_image_size_set(img, -100, -200);
-   evas_object_image_size_get(img, &w, &h);
-
-   if (w < 1 || h < 1)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. w=%d, h=%d", __FILE__, __LINE__, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_size_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_size_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_size_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_size_set_n);
-   tcase_add_test(tcase, utc_evas_object_image_size_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get.c
deleted file mode 100644 (file)
index c37cdd4..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_smooth_scale_get evas_object_image_smooth_scale_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_smooth_scale_get
- * @{
- * @objective Positive test case checks if function gets correct state whether image is set
- * to use high-quality scaling algorithm.
- * @n Input Data: pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set smooth scaling flag to EINA_TRUE
- * @step 4 Check if smooth scaling flag is enabled
- * @step 5 Set smooth scaling flag to EINA_FALSE
- * @step 6 Check if smooth scaling flag is disabled
- *
- * @passcondition Function returns correct states, set and dot values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_smooth_scale_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_smooth_scale_set(img, EINA_TRUE);
-
-   if (evas_object_image_smooth_scale_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_smooth_scale_set(img, EINA_FALSE);
-
-   if (evas_object_image_smooth_scale_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_smooth_scale_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_smooth_scale_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_smooth_scale_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_smooth_scale_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_smooth_scale_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_get_set.c
new file mode 100644 (file)
index 0000000..0b53343
--- /dev/null
@@ -0,0 +1,150 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_smooth_scale_get evas_object_image_smooth_scale_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_smooth_scale_get
+ * @{
+ * @objective Positive test case checks if function gets correct state whether image is set
+ * to use high-quality scaling algorithm.
+ * @n Input Data: pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Set smooth scaling flag to EINA_TRUE
+ * @step 4 Check if smooth scaling flag is enabled
+ * @step 5 Set smooth scaling flag to EINA_FALSE
+ * @step 6 Check if smooth scaling flag is disabled
+ *
+ * @passcondition Function returns correct states, set and dot values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_smooth_scale_get_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_image_smooth_scale_set(img, EINA_TRUE);
+
+   if (evas_object_image_smooth_scale_get(img) == EINA_FALSE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
+     }
+   evas_object_image_smooth_scale_set(img, EINA_FALSE);
+
+   if (evas_object_image_smooth_scale_get(img) == EINA_TRUE)
+     {
+        ecore_evas_free(ee);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   ecore_evas_free(ee);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_smooth_scale_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns EINA_FALSE if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_smooth_scale_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_image_smooth_scale_get, NULL) == 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 evas_object_image_smooth_scale_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to image Evas_Object.
+ * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE to enable smooth scaling.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_smooth_scale_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_image_smooth_scale_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_smooth_scale_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_smooth_scale_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_get_p);
+   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_get_n);
+   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_smooth_scale_set.c
deleted file mode 100644 (file)
index 2272f26..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_smooth_scale_set evas_object_image_smooth_scale_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_smooth_scale_set
- * @{
- * @objective Positive test case checks if function properly sets whether to use high-quality image
- * scaling algorithm on the given image object.
- * @n Input Data:
- * @li pointer to image Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set smooth scaling flag to EINA_TRUE
- * @step 4 Check if smooth scaling flag is enabled
- * @step 5 Set smooth scaling flag to EINA_FALSE
- * @step 6 Check if smooth scaling flag is disabled
- *
- * @passcondition Function enables and disables usage of high-quality image scaling algorithm properly.
- * @}
- */
-START_TEST(utc_evas_object_image_smooth_scale_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_smooth_scale_set(img, EINA_TRUE);
-
-   if (evas_object_image_smooth_scale_get(img) == EINA_FALSE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_image_smooth_scale_set(img, EINA_FALSE);
-
-   if (evas_object_image_smooth_scale_get(img) == EINA_TRUE)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Dirty flag usage is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_smooth_scale_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to image Evas_Object.
- * @n Input Data: NULL as pointer to image Evas_Object and EINA_TRUE to enable smooth scaling.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_smooth_scale_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_image_smooth_scale_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_smooth_scale_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_smooth_scale_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_smooth_scale_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get.c
deleted file mode 100644 (file)
index 5cd41ae..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_source_clip_get evas_object_image_source_clip_get()
- *
- * @precondition
- * @step 1 Initialization ecore_evas.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_source_clip_get
- * @{
- * @objective Positive test case 01: check function with correct parameter.
- * @n Input Data:
- * @li pointer to evas object.
- *
- * @procedure
- * @step 1 Create new evas object and add new image;
- * @step 2 Set image source clip (EINA_TRUE);
- * @step 3 Get image source clip;
- * @step 4 Check result. It must be EINA_TRUE.
- *
- * @passcondition: Function must returns set value (EINA_TRUE).
- * @}
- */
-START_TEST(utc_evas_object_image_source_clip_get_p_1)
-{
-   Evas *e;
-   Evas_Object *img;
-   Ecore_Evas *ee;
-   Eina_Bool res = EINA_FALSE;
-
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-   e = ecore_evas_get(ee);
-   img = evas_object_image_add(e);
-
-   evas_object_image_source_clip_set(img, EINA_TRUE);
-
-   res = evas_object_image_source_clip_get(img);
-
-   if (res != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_source_clip_get
- * @{
- * @objective Negative test case 01: invoke function with wrong parameter.
- * @n Input Data:
- * @li pointer to evas object, NULL.
- *
- * @procedure
- * @step 1 Invoke function with NULL pointer to evas object;
- * @step 2 Check returned result (mustn't be changed).
- *
- * @passcondition: There is no segmentation fault, return EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_source_clip_get_n_1)
-{
-
-   Eina_Bool res = EINA_FALSE;
-   res = evas_object_image_source_clip_get(NULL);
-
-   if (res != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_evas_object_image_source_clip_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_source_clip_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_source_clip_get_p_1);
-   tcase_add_test(tcase, utc_evas_object_image_source_clip_get_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_get_set.c
new file mode 100644 (file)
index 0000000..322d1f6
--- /dev/null
@@ -0,0 +1,134 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_source_clip_get evas_object_image_source_clip_get()
+ *
+ * @precondition
+ * @step 1 Initialization ecore_evas.
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_source_clip_get
+ * @{
+ * @objective Positive test case 01: check function with correct parameter.
+ * @n Input Data:
+ * @li pointer to evas object.
+ *
+ * @procedure
+ * @step 1 Create new evas object and add new image;
+ * @step 2 Set image source clip (EINA_TRUE);
+ * @step 3 Get image source clip;
+ * @step 4 Check result. It must be EINA_TRUE.
+ *
+ * @passcondition: Function must returns set value (EINA_TRUE).
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_clip_get_p_1)
+{
+   Evas *e;
+   Evas_Object *img;
+   Ecore_Evas *ee;
+   Eina_Bool res = EINA_FALSE;
+
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+   e = ecore_evas_get(ee);
+   img = evas_object_image_add(e);
+
+   evas_object_image_source_clip_set(img, EINA_TRUE);
+
+   res = evas_object_image_source_clip_get(img);
+
+   if (res != 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
+
+/**
+ * @addtogroup evas_object_image_source_clip_get
+ * @{
+ * @objective Negative test case 01: invoke function with wrong parameter.
+ * @n Input Data:
+ * @li pointer to evas object, NULL.
+ *
+ * @procedure
+ * @step 1 Invoke function with NULL pointer to evas object;
+ * @step 2 Check returned result (mustn't be changed).
+ *
+ * @passcondition: There is no segmentation fault, return EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_clip_get_n_1)
+{
+
+   Eina_Bool res = EINA_FALSE;
+   res = evas_object_image_source_clip_get(NULL);
+
+   if (res != 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 evas_object_image_source_clip_set
+ * @{
+ * @objective Negative test case 01: invoke function with wrong parameter.
+ * @n Input Data:
+ * @li pointer to evas object, NULL;
+ * @li source clip (EINA_TRUE).
+ *
+ * @procedure
+ * @step 1 Invoke function with NULL pointer to evas object.
+ *
+ * @passcondition: There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_clip_set_n_1)
+{
+
+   evas_object_image_source_clip_set(NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_evas_object_image_source_clip_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_source_clip_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_source_clip_get_p_1);
+   tcase_add_test(tcase, utc_evas_object_image_source_clip_get_n_1);
+   tcase_add_test(tcase, utc_evas_object_image_source_clip_set_n_1);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_clip_set.c
deleted file mode 100644 (file)
index c54d426..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_source_clip_set evas_object_image_source_clip_set()
- *
- * @precondition
- * @step 1 Initialization ecore_evas.
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_source_clip_set
- * @{
- * @objective Positive test case 01: check if function is able to set image source clip
- * @n Input Data:
- * @li pointer to evas object;
- * @li source clip (EINA_TRUE).
- *
- * @procedure
- * @step 1 Create new evas object and add new image;
- * @step 2 Set image source clip (EINA_TRUE);
- * @step 3 Get image source clip;
- * @step 4 Check result. It must be EINA_TRUE.
- *
- * @passcondition: Get function must returns set value (EINA_TRUE).
- * @}
- */
-START_TEST(utc_evas_object_image_source_clip_set_p_1)
-{
-   Evas *e;
-   Evas_Object *img;
-   Ecore_Evas *ee;
-   Eina_Bool res = EINA_FALSE;
-
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-   e = ecore_evas_get(ee);
-   img = evas_object_image_add(e);
-
-   evas_object_image_source_clip_set(img, EINA_TRUE);
-
-   res = evas_object_image_source_clip_get(img);
-
-   if (res != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_source_clip_set
- * @{
- * @objective Negative test case 01: invoke function with wrong parameter.
- * @n Input Data:
- * @li pointer to evas object, NULL;
- * @li source clip (EINA_TRUE).
- *
- * @procedure
- * @step 1 Invoke function with NULL pointer to evas object.
- *
- * @passcondition: There is no segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_source_clip_set_n_1)
-{
-
-   evas_object_image_source_clip_set(NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_evas_object_image_source_clip_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_source_clip_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_source_clip_set_p_1);
-   tcase_add_test(tcase, utc_evas_object_image_source_clip_set_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get.c
deleted file mode 100644 (file)
index 8da963b..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_source_get evas_object_image_source_get()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_source_get
- * @{
- * @objective Positive test case checks if function gets proper pointer to source image object.
- * @n Input Data: pointer to proxy image Evas_Object that has source object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Set source object on proxy image
- * @step 4 Get source image and compare with set value
- *
- * @passcondition Function sets source of the proxy image object properly and returns EINA_TRUE,
- * set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_source_get_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-   Evas_Object *src = evas_object_image_add(evas);
-
-   if (!img || ! src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_set(img, src) == EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Source image is not set..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_get(img) != src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Set and got source images don't match..", __FILE__, __LINE__);
-     }
-   else
-     {
-        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-     }
-   ecore_evas_free(ee);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_source_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * and returns NULL if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data: NULL as pointer to Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns NULL.
- * @}
- */
-START_TEST(utc_evas_object_image_source_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(NULL, evas_object_image_source_get, NULL) == TEST_FAIL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_source_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_source_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_source_get_p);
-   tcase_add_test(tcase, utc_evas_object_image_source_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_get_set.c
new file mode 100644 (file)
index 0000000..f1e8b32
--- /dev/null
@@ -0,0 +1,211 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+static Ecore_Evas *ee = NULL;
+static Evas *evas = NULL;
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_source_set evas_object_image_source_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+
+   evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+     }
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_free(ee);
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_source_set
+ * @{
+ * @objective Positive test case 1 checks if function sets source object on a proxy image properly.
+ * @n Input Data:
+ * @li pointer to proxy image Evas_Object;
+ * @li pointer to source image to use for the proxy.
+ *
+ * @procedure
+ * @step 1 Add new images to the evas
+ * @step 1 Set source object on proxy image
+ * @step 2 Get source image and compare with set value
+ *
+ * @passcondition Function sets source of the proxy image object properly and returns EINA_TRUE,
+ * set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_set_p)
+{
+   int result = TEST_FAIL;
+   Evas_Object *img = evas_object_image_add(evas);
+   Evas_Object *src = evas_object_image_add(evas);
+
+   if (!img || ! src)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   else if (evas_object_image_source_set(img, src) == EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Source image is not set..", __FILE__, __LINE__);
+     }
+   else if (evas_object_image_source_get(img) != src)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Set and got source images don't match..", __FILE__, __LINE__);
+     }
+   else
+     {
+        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+        result = TEST_PASS;
+     }
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_source_set
+ * @{
+ * @objective Positive test case 2 checks if function clears the proxy object properly
+ * if it is called with NULL instead of source image (its correct value due to documentation).
+ * @n Input Data:
+ * @li pointer to proxy image Evas_Object;
+ * @li pointer to source image and NULL for first/second call.
+ *
+ * @procedure
+ * @step 1 Add new image to the evas
+ * @step 2 Set source object on proxy image
+ * @step 3 Clear proxy - set source object to NULL
+ * @step 4 Get source image and compare with NULL
+ *
+ * @passcondition Function sets NULL source of the proxy image object properly  and returns EINA_TRUE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_set_p2)
+{
+   int result = TEST_FAIL;
+   Evas_Object *img = evas_object_image_add(evas);
+   Evas_Object *src = evas_object_image_add(evas);
+
+   if (!img || !src)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   else if (evas_object_image_source_set(img, src) == EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Source image is not set..", __FILE__, __LINE__);
+     }
+   else if (evas_object_image_source_set(img, NULL) == EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. NULL as source image is not set..", __FILE__, __LINE__);
+     }
+   else if (evas_object_image_source_get(img))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Got not NULL value..", __FILE__, __LINE__);
+     }
+   else
+     {
+        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+        result = TEST_PASS;
+     }
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_source_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * EINA_FALSE if it is called with NULL instead of pointer to Evas_Object to be used as proxy.
+ * @n Input Data: NULL instead of pointer to proxy image and valid pointer to source image.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_set_n)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   Evas_Object *src = evas_object_image_add(evas);
+   if (!src)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, evas_object_image_source_set, NULL, src);
+
+   if (result_of_testing == TEST_FAIL)
+      ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+   else
+      printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_source_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * and returns NULL if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data: NULL as pointer to Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns NULL.
+ * @}
+ */
+START_TEST(utc_evas_object_image_source_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(NULL, evas_object_image_source_get, NULL) == 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_evas_object_image_source_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_source_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_source_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_source_set_p2);
+   tcase_add_test(tcase, utc_evas_object_image_source_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_source_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_source_set.c
deleted file mode 100644 (file)
index 839f925..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-static Ecore_Evas *ee = NULL;
-static Evas *evas = NULL;
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_source_set evas_object_image_source_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- * @step 2 Create new Ecore_Evas object and get pointer to Evas from it
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-   ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_free(ee);
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_source_set
- * @{
- * @objective Positive test case 1 checks if function sets source object on a proxy image properly.
- * @n Input Data:
- * @li pointer to proxy image Evas_Object;
- * @li pointer to source image to use for the proxy.
- *
- * @procedure
- * @step 1 Add new images to the evas
- * @step 1 Set source object on proxy image
- * @step 2 Get source image and compare with set value
- *
- * @passcondition Function sets source of the proxy image object properly and returns EINA_TRUE,
- * set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_image_source_set_p)
-{
-   int result = TEST_FAIL;
-   Evas_Object *img = evas_object_image_add(evas);
-   Evas_Object *src = evas_object_image_add(evas);
-
-   if (!img || ! src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_set(img, src) == EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Source image is not set..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_get(img) != src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Set and got source images don't match..", __FILE__, __LINE__);
-     }
-   else
-     {
-        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-        result = TEST_PASS;
-     }
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_source_set
- * @{
- * @objective Positive test case 2 checks if function clears the proxy object properly
- * if it is called with NULL instead of source image (its correct value due to documentation).
- * @n Input Data:
- * @li pointer to proxy image Evas_Object;
- * @li pointer to source image and NULL for first/second call.
- *
- * @procedure
- * @step 1 Add new image to the evas
- * @step 2 Set source object on proxy image
- * @step 3 Clear proxy - set source object to NULL
- * @step 4 Get source image and compare with NULL
- *
- * @passcondition Function sets NULL source of the proxy image object properly  and returns EINA_TRUE.
- * @}
- */
-START_TEST(utc_evas_object_image_source_set_p2)
-{
-   int result = TEST_FAIL;
-   Evas_Object *img = evas_object_image_add(evas);
-   Evas_Object *src = evas_object_image_add(evas);
-
-   if (!img || !src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_set(img, src) == EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Source image is not set..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_set(img, NULL) == EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. NULL as source image is not set..", __FILE__, __LINE__);
-     }
-   else if (evas_object_image_source_get(img))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Got not NULL value..", __FILE__, __LINE__);
-     }
-   else
-     {
-        printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-        result = TEST_PASS;
-     }
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_source_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * EINA_FALSE if it is called with NULL instead of pointer to Evas_Object to be used as proxy.
- * @n Input Data: NULL instead of pointer to proxy image and valid pointer to source image.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_image_source_set_n)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   Evas_Object *src = evas_object_image_add(evas);
-   if (!src)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA_RET(EINA_FALSE, evas_object_image_source_set, NULL, src);
-
-   if (result_of_testing == TEST_FAIL)
-      ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-   else
-      printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_source_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_source_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_source_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_source_set_p2);
-   tcase_add_test(tcase, utc_evas_object_image_source_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get.c
deleted file mode 100644 (file)
index 3013f60..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-
-static void _not_do_anything()
-{
-//Not NULL pointer to function
-}
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_video_surface_get evas_object_image_video_surface_get()
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init().
- */
-
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_video_surface_get
- * @{
- * @objective Positive test case 01: Checks if function doesn't cause segmentation fault and returns set value.
- * @n Input Data:
- * @li pointer to Evas_Object.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it.
- * @step 2 Add new image to the evas.
- * @step 3 Create Evas_Video_Surface.
- * @step 4 Set Evas_Video_Surface to img.
- * @step 5 Get Evas_Video_Surface from img.
- * @step 6 Check returned value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and Evas_Video_Surface set correctly.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_image_video_surface_get_p_1)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Video_Surface surf;
-
-   surf.version = EVAS_VIDEO_SURFACE_VERSION;
-   surf.data = NULL;
-   surf.parent = NULL;
-   surf.move = _not_do_anything;
-   surf.resize = _not_do_anything;
-   surf.show = _not_do_anything;
-   surf.hide = _not_do_anything;
-   surf.update_pixels = _not_do_anything;
-
-   evas_object_image_video_surface_set(img, &surf);
-   Evas_Video_Surface surf2 = *evas_object_image_video_surface_get(img);
-   if (surf2.version != surf.version || surf2.data != surf.data || surf2.parent != surf.parent || surf2.move != surf.move || surf2.resize != surf.resize || surf2.show != surf.show || surf2.hide != surf.hide || surf2.update_pixels != surf.update_pixels)
-     {
-        ecore_evas_free(ee);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   ecore_evas_free(ee);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_video_surface_get
- * @{
- * @objective Negative test case 01: Checks if function doesn't cause segmentation fault if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data:
- * @li NULL instead of pointer to Evas_Object.
- *
- * @procedure
- * @step 1 Invoke function with wrong parameter.
- * @step 2 Check returned value. It must be NULL.
- *
- * @passcondition: Function doesn't cause segmentation fault and returns NULL.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_image_video_surface_get_n_1)
-{
-
-   Evas_Video_Surface* surf = NULL;
-
-   surf = evas_object_image_video_surface_get(NULL);
-
-   if(surf != NULL)
-   {
-      ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-      return;
-   }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   return;
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_evas_object_image_video_surface_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_video_surface_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_evas_object_image_video_surface_get_p_1);
-   tcase_add_test(tcase, utc_UIFW_evas_object_image_video_surface_get_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_get_set.c
new file mode 100644 (file)
index 0000000..802bf3e
--- /dev/null
@@ -0,0 +1,166 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+       /*TODO: create tests for evas_object_image_video_surface_get*/
+
+static void _not_do_anything()
+{
+//Not NULL pointer to function
+}
+
+/**
+ * @addtogroup evas_object_image
+ * @{
+ * @defgroup evas_object_image_video_surface_set evas_object_image_video_surface_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
+ */
+
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   ecore_evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   ecore_evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_image_video_surface_set
+ * @{
+ * @objective Positive test case checks if function doesn't cause segmentation fault
+ * @n Input Data: NULL instead of pointer to Evas_Object and NULL as video surface.
+ *
+ * @procedure
+ * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
+ * @step 2 Add new image to the evas
+ * @step 3 Create Evas_Video_Surface
+ * @step 4 Set Evas_Video_Surface to img
+ *
+ * @passcondition Function doesn't cause segmentation fault and Evas_Video_Surface set correctly.
+ * @}
+ */
+START_TEST(utc_evas_object_image_video_surface_set_p)
+{
+   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
+
+   if (!ee)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
+     }
+   Evas *evas = ecore_evas_get(ee);
+
+   if (!evas)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
+        ecore_evas_free(ee);
+     }
+   Evas_Object *img = evas_object_image_add(evas);
+
+   if (!img)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
+        ecore_evas_free(ee);
+     }
+
+   Evas_Video_Surface surf;
+
+   surf.version = EVAS_VIDEO_SURFACE_VERSION;
+   surf.data = NULL;
+   surf.parent = NULL;
+   surf.move = _not_do_anything;
+   surf.resize = _not_do_anything;
+   surf.show = _not_do_anything;
+   surf.hide = _not_do_anything;
+   surf.update_pixels = _not_do_anything;
+
+   evas_object_image_video_surface_set(img, &surf);
+
+   if (evas_object_image_video_surface_get(img) == &surf)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        ecore_evas_free(ee);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+   ecore_evas_free(ee);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_video_surface_set
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data: NULL instead of pointer to Evas_Object and NULL as video surface.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_image_video_surface_set_n)
+{
+
+   evas_object_image_video_surface_set(NULL, NULL);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_image_video_surface_get
+ * @{
+ * @objective Negative test case 01: Checks if function doesn't cause segmentation fault if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data:
+ * @li NULL instead of pointer to Evas_Object.
+ *
+ * @procedure
+ * @step 1 Invoke function with wrong parameter.
+ * @step 2 Check returned value. It must be NULL.
+ *
+ * @passcondition: Function doesn't cause segmentation fault and returns NULL.
+ * @}
+ */
+START_TEST(utc_evas_object_image_video_surface_get_n_1)
+{
+
+   Evas_Video_Surface* surf = NULL;
+
+   surf = evas_object_image_video_surface_get(NULL);
+
+   if(surf != NULL)
+   {
+      ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+   }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+   return;
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_image_video_surface_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_image_video_surface_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_image_video_surface_set_p);
+   tcase_add_test(tcase, utc_evas_object_image_video_surface_set_n);
+   tcase_add_test(tcase, utc_evas_object_image_video_surface_get_n_1);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_set.c b/TC/evas/canvas/evas_object_image/utc_evas_object_image_video_surface_set.c
deleted file mode 100644 (file)
index e5aae60..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-       /*TODO: create tests for evas_object_image_video_surface_get*/
-
-static void _not_do_anything()
-{
-//Not NULL pointer to function
-}
-
-/**
- * @addtogroup evas_object_image
- * @{
- * @defgroup evas_object_image_video_surface_set evas_object_image_video_surface_set()
- *
- *
- * @precondition
- * @step 1 Initialize Ecore_Evas library with ecore_evas_init()
- */
-
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   ecore_evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   ecore_evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_image_video_surface_set
- * @{
- * @objective Positive test case checks if function doesn't cause segmentation fault
- * @n Input Data: NULL instead of pointer to Evas_Object and NULL as video surface.
- *
- * @procedure
- * @step 1 Create new Ecore_Evas object and get pointer to Evas from it
- * @step 2 Add new image to the evas
- * @step 3 Create Evas_Video_Surface
- * @step 4 Set Evas_Video_Surface to img
- *
- * @passcondition Function doesn't cause segmentation fault and Evas_Video_Surface set correctly.
- * @}
- */
-START_TEST(utc_evas_object_image_video_surface_set_p)
-{
-   Ecore_Evas *ee = ecore_evas_new(NULL, 10, 10, 320, 240, NULL);
-
-   if (!ee)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Ecore evas is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas *evas = ecore_evas_get(ee);
-
-   if (!evas)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas object is not created..", __FILE__, __LINE__);
-        ecore_evas_free(ee);
-        return;
-     }
-   Evas_Object *img = evas_object_image_add(evas);
-
-   if (!img)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Image Evas_Object is not created..", __FILE__, __LINE__);
-        ecore_evas_free(ee);
-        return;
-     }
-
-   Evas_Video_Surface surf;
-
-   surf.version = EVAS_VIDEO_SURFACE_VERSION;
-   surf.data = NULL;
-   surf.parent = NULL;
-   surf.move = _not_do_anything;
-   surf.resize = _not_do_anything;
-   surf.show = _not_do_anything;
-   surf.hide = _not_do_anything;
-   surf.update_pixels = _not_do_anything;
-
-   evas_object_image_video_surface_set(img, &surf);
-
-   if (evas_object_image_video_surface_get(img) == &surf)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        ecore_evas_free(ee);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   ecore_evas_free(ee);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_image_video_surface_set
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data: NULL instead of pointer to Evas_Object and NULL as video surface.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_image_video_surface_set_n)
-{
-
-   evas_object_image_video_surface_set(NULL, NULL);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_image_video_surface_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_image_video_surface_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_image_video_surface_set_p);
-   tcase_add_test(tcase, utc_evas_object_image_video_surface_set_n);
-   return tcase;
-}