utc_evas_object_main_xxxx: Merge TCs to reduce duplicate test operations 13/191013/2
authorApurv Khatri <apurv.khatri@samsung.com>
Wed, 10 Oct 2018 11:38:14 +0000 (17:08 +0530)
committerHermet Park <chuneon.park@samsung.com>
Fri, 12 Oct 2018 07:40:42 +0000 (07:40 +0000)
Change-Id: Ia9cdcbe02904ee1893a1870ad54d0f137ebb0ea0

55 files changed:
TC/evas/canvas/evas_object_main/tslist
TC/evas/canvas/evas_object_main/tslist_mobile
TC/evas/canvas/evas_object_main/tslist_tv
TC/evas/canvas/evas_object_main/tslist_wear
TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_color_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_color_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_color_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_render_op_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_scale_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_scale_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_scale_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_set.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get.c [deleted file]
TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get_set.c [new file with mode: 0644]
TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_set.c [deleted file]

index 64f2d2eeef03cc955ad8488a3ec6554baed5021d..e8e9d8bebb20fc1109f1fa2206e036801b312e0c 100644 (file)
@@ -1,49 +1,32 @@
-utc_evas_object_anti_alias_set.c
-utc_evas_object_anti_alias_get.c
-utc_evas_object_color_get.c
-utc_evas_object_color_set.c
+utc_evas_object_anti_alias_get_set.c
+utc_evas_object_color_get_set.c
 utc_evas_object_del.c
 utc_evas_object_evas_get.c
-utc_evas_object_freeze_events_get.c
-utc_evas_object_freeze_events_set.c
+utc_evas_object_freeze_events_get_set.c
 utc_evas_object_geometry_get.c
 utc_evas_object_geometry_set.c
 utc_evas_object_hide.c
 utc_evas_object_move.c
-utc_evas_object_precise_is_inside_get.c
-utc_evas_object_precise_is_inside_set.c
+utc_evas_object_precise_is_inside_get_set.c
 utc_evas_object_ref.c
-utc_evas_object_render_op_set.c
-utc_evas_object_render_op_get.c
+utc_evas_object_render_op_get_set.c
 utc_evas_object_resize.c
-utc_evas_object_scale_set.c
-utc_evas_object_scale_get.c
+utc_evas_object_scale_get_set.c
 utc_evas_object_show.c
-utc_evas_object_size_hint_align_get.c
-utc_evas_object_size_hint_align_set.c
-utc_evas_object_size_hint_aspect_get.c
-utc_evas_object_size_hint_aspect_set.c
-utc_evas_object_size_hint_display_mode_get.c
-utc_evas_object_size_hint_display_mode_set.c
-utc_evas_object_size_hint_expand_get.c
-utc_evas_object_size_hint_expand_set.c
-utc_evas_object_size_hint_fill_get.c
-utc_evas_object_size_hint_fill_set.c
-utc_evas_object_size_hint_max_get.c
-utc_evas_object_size_hint_max_set.c
-utc_evas_object_size_hint_min_get.c
-utc_evas_object_size_hint_min_set.c
-utc_evas_object_size_hint_padding_get.c
-utc_evas_object_size_hint_padding_set.c
-utc_evas_object_size_hint_weight_get.c
-utc_evas_object_size_hint_weight_set.c
-utc_evas_object_static_clip_set.c
-utc_evas_object_static_clip_get.c
+utc_evas_object_size_hint_align_get_set.c
+utc_evas_object_size_hint_aspect_get_set.c
+utc_evas_object_size_hint_display_mode_get_set.c
+utc_evas_object_size_hint_expand_get_set.c
+utc_evas_object_size_hint_fill_get_set.c
+utc_evas_object_size_hint_max_get_set.c
+utc_evas_object_size_hint_min_get_set.c
+utc_evas_object_size_hint_padding_get_set.c
+utc_evas_object_size_hint_weight_get_set.c
+utc_evas_object_static_clip_get_set.c
 utc_evas_object_type_get.c
 utc_evas_object_unref.c
 utc_evas_object_visible_get.c
-utc_evas_object_pointer_mode_get.c
-utc_evas_object_pointer_mode_set.c
+utc_evas_object_pointer_mode_get_set.c
 utc_evas_object_ref_get.c
 utc_evas_object_size_hint_request.c
 utc_evas_object_is_frame_object.c
index 64f2d2eeef03cc955ad8488a3ec6554baed5021d..e8e9d8bebb20fc1109f1fa2206e036801b312e0c 100644 (file)
@@ -1,49 +1,32 @@
-utc_evas_object_anti_alias_set.c
-utc_evas_object_anti_alias_get.c
-utc_evas_object_color_get.c
-utc_evas_object_color_set.c
+utc_evas_object_anti_alias_get_set.c
+utc_evas_object_color_get_set.c
 utc_evas_object_del.c
 utc_evas_object_evas_get.c
-utc_evas_object_freeze_events_get.c
-utc_evas_object_freeze_events_set.c
+utc_evas_object_freeze_events_get_set.c
 utc_evas_object_geometry_get.c
 utc_evas_object_geometry_set.c
 utc_evas_object_hide.c
 utc_evas_object_move.c
-utc_evas_object_precise_is_inside_get.c
-utc_evas_object_precise_is_inside_set.c
+utc_evas_object_precise_is_inside_get_set.c
 utc_evas_object_ref.c
-utc_evas_object_render_op_set.c
-utc_evas_object_render_op_get.c
+utc_evas_object_render_op_get_set.c
 utc_evas_object_resize.c
-utc_evas_object_scale_set.c
-utc_evas_object_scale_get.c
+utc_evas_object_scale_get_set.c
 utc_evas_object_show.c
-utc_evas_object_size_hint_align_get.c
-utc_evas_object_size_hint_align_set.c
-utc_evas_object_size_hint_aspect_get.c
-utc_evas_object_size_hint_aspect_set.c
-utc_evas_object_size_hint_display_mode_get.c
-utc_evas_object_size_hint_display_mode_set.c
-utc_evas_object_size_hint_expand_get.c
-utc_evas_object_size_hint_expand_set.c
-utc_evas_object_size_hint_fill_get.c
-utc_evas_object_size_hint_fill_set.c
-utc_evas_object_size_hint_max_get.c
-utc_evas_object_size_hint_max_set.c
-utc_evas_object_size_hint_min_get.c
-utc_evas_object_size_hint_min_set.c
-utc_evas_object_size_hint_padding_get.c
-utc_evas_object_size_hint_padding_set.c
-utc_evas_object_size_hint_weight_get.c
-utc_evas_object_size_hint_weight_set.c
-utc_evas_object_static_clip_set.c
-utc_evas_object_static_clip_get.c
+utc_evas_object_size_hint_align_get_set.c
+utc_evas_object_size_hint_aspect_get_set.c
+utc_evas_object_size_hint_display_mode_get_set.c
+utc_evas_object_size_hint_expand_get_set.c
+utc_evas_object_size_hint_fill_get_set.c
+utc_evas_object_size_hint_max_get_set.c
+utc_evas_object_size_hint_min_get_set.c
+utc_evas_object_size_hint_padding_get_set.c
+utc_evas_object_size_hint_weight_get_set.c
+utc_evas_object_static_clip_get_set.c
 utc_evas_object_type_get.c
 utc_evas_object_unref.c
 utc_evas_object_visible_get.c
-utc_evas_object_pointer_mode_get.c
-utc_evas_object_pointer_mode_set.c
+utc_evas_object_pointer_mode_get_set.c
 utc_evas_object_ref_get.c
 utc_evas_object_size_hint_request.c
 utc_evas_object_is_frame_object.c
index f2450a21844538644645840c800c5bd627ae977b..76944e69a80e3b3195d4e6f76c0c8304da9b7447 100644 (file)
@@ -1,49 +1,32 @@
-utc_evas_object_anti_alias_set.c
-utc_evas_object_anti_alias_get.c
-utc_evas_object_color_get.c
-utc_evas_object_color_set.c
+utc_evas_object_anti_alias_get_set.c
+utc_evas_object_color_get_set.c
 utc_evas_object_del.c
 utc_evas_object_evas_get.c
-utc_evas_object_freeze_events_get.c
-utc_evas_object_freeze_events_set.c
+utc_evas_object_freeze_events_get_set.c
 utc_evas_object_geometry_get.c
 utc_evas_object_geometry_set.c
 utc_evas_object_hide.c
 utc_evas_object_move.c
-utc_evas_object_precise_is_inside_get.c
-utc_evas_object_precise_is_inside_set.c
+utc_evas_object_precise_is_inside_get_set.c
 utc_evas_object_ref.c
-utc_evas_object_render_op_set.c
-utc_evas_object_render_op_get.c
+utc_evas_object_render_op_get_set.c
 utc_evas_object_resize.c
-utc_evas_object_scale_set.c
-utc_evas_object_scale_get.c
+utc_evas_object_scale_get_set.c
 utc_evas_object_show.c
-utc_evas_object_size_hint_align_get.c
-utc_evas_object_size_hint_align_set.c
-utc_evas_object_size_hint_aspect_get.c
-utc_evas_object_size_hint_aspect_set.c
-utc_evas_object_size_hint_display_mode_get.c
-utc_evas_object_size_hint_display_mode_set.c
-utc_evas_object_size_hint_expand_get.c
-utc_evas_object_size_hint_expand_set.c
-utc_evas_object_size_hint_fill_get.c
-utc_evas_object_size_hint_fill_set.c
-utc_evas_object_size_hint_max_get.c
-utc_evas_object_size_hint_max_set.c
-utc_evas_object_size_hint_min_get.c
-utc_evas_object_size_hint_min_set.c
-utc_evas_object_size_hint_padding_get.c
-utc_evas_object_size_hint_padding_set.c
-utc_evas_object_size_hint_weight_get.c
-utc_evas_object_size_hint_weight_set.c
-utc_evas_object_static_clip_set.c
-utc_evas_object_static_clip_get.c
+utc_evas_object_size_hint_align_get_set.c
+utc_evas_object_size_hint_aspect_get_set.c
+utc_evas_object_size_hint_display_mode_get_set.c
+utc_evas_object_size_hint_expand_get_set.c
+utc_evas_object_size_hint_fill_get_set.c
+utc_evas_object_size_hint_max_get_set.c
+utc_evas_object_size_hint_min_get_set.c
+utc_evas_object_size_hint_padding_get_set.c
+utc_evas_object_size_hint_weight_get_set.c
+utc_evas_object_static_clip_get_set.c
 utc_evas_object_type_get.c
 utc_evas_object_unref.c
 utc_evas_object_visible_get.c
-utc_evas_object_pointer_mode_get.c
-utc_evas_object_pointer_mode_set.c
+utc_evas_object_pointer_mode_get_set.c
 utc_evas_object_ref_get.c
 #utc_evas_object_size_hint_request.c
 #utc_evas_object_is_frame_object.c
index 99462c2531da422a49e6d92da8b41fa144796a7e..8fa92b3cd96285467908aa7c36f8dc3b3a00f2c1 100644 (file)
@@ -1,49 +1,32 @@
-utc_evas_object_anti_alias_set.c
-utc_evas_object_anti_alias_get.c
-utc_evas_object_color_get.c
-utc_evas_object_color_set.c
+utc_evas_object_anti_alias_get_set.c
+utc_evas_object_color_get_set.c
 utc_evas_object_del.c
 utc_evas_object_evas_get.c
 utc_evas_object_geometry_set.c
-utc_evas_object_freeze_events_get.c
-utc_evas_object_freeze_events_set.c
+utc_evas_object_freeze_events_get_set.c
 utc_evas_object_geometry_get.c
 utc_evas_object_hide.c
 utc_evas_object_move.c
-utc_evas_object_precise_is_inside_get.c
-utc_evas_object_precise_is_inside_set.c
+utc_evas_object_precise_is_inside_get_set.c
 utc_evas_object_ref.c
-utc_evas_object_render_op_set.c
-utc_evas_object_render_op_get.c
+utc_evas_object_render_op_get_set.c
 utc_evas_object_resize.c
-utc_evas_object_scale_set.c
-utc_evas_object_scale_get.c
+utc_evas_object_scale_get_set.c
 utc_evas_object_show.c
-utc_evas_object_size_hint_align_get.c
-utc_evas_object_size_hint_align_set.c
-utc_evas_object_size_hint_aspect_get.c
-utc_evas_object_size_hint_aspect_set.c
-utc_evas_object_size_hint_display_mode_get.c
-utc_evas_object_size_hint_display_mode_set.c
-utc_evas_object_size_hint_expand_get.c
-utc_evas_object_size_hint_expand_set.c
-utc_evas_object_size_hint_fill_get.c
-utc_evas_object_size_hint_fill_set.c
-utc_evas_object_size_hint_max_get.c
-utc_evas_object_size_hint_max_set.c
-utc_evas_object_size_hint_min_get.c
-utc_evas_object_size_hint_min_set.c
-utc_evas_object_size_hint_padding_get.c
-utc_evas_object_size_hint_padding_set.c
-utc_evas_object_size_hint_weight_get.c
-utc_evas_object_size_hint_weight_set.c
-utc_evas_object_static_clip_set.c
-utc_evas_object_static_clip_get.c
+utc_evas_object_size_hint_align_get_set.c
+utc_evas_object_size_hint_aspect_get_set.c
+utc_evas_object_size_hint_display_mode_get_set.c
+utc_evas_object_size_hint_expand_get_set.c
+utc_evas_object_size_hint_fill_get_set.c
+utc_evas_object_size_hint_max_get_set.c
+utc_evas_object_size_hint_min_get_set.c
+utc_evas_object_size_hint_padding_get_set.c
+utc_evas_object_size_hint_weight_get_set.c
+utc_evas_object_static_clip_get_set.c
 utc_evas_object_type_get.c
 utc_evas_object_unref.c
 utc_evas_object_visible_get.c
-utc_evas_object_pointer_mode_get.c
-utc_evas_object_pointer_mode_set.c
+utc_evas_object_pointer_mode_get_set.c
 utc_evas_object_ref_get.c
 #utc_evas_object_size_hint_request.c
-#utc_evas_object_is_frame_object.c
+#utc_evas_object_is_frame_object.c
\ No newline at end of file
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get.c
deleted file mode 100644 (file)
index fddf5c2..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_anti_alias_get evas_object_anti_alias_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_anti_alias_get
- * @{
- * @objective Positive test case checks if function returns proper state of anti-aliasing of the given object.
- * @n Input Data: pointer to box Evas_Object.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set anti-aliasing of the object to EINA_TRUE
- * @step 4 Check if anti-aliasing enabled
- * @step 5 Set anti-aliasing to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function returns proper state of anti-aliasing.
- * @}
- */
-START_TEST(utc_evas_object_anti_alias_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_anti_alias_set(obj, EINA_TRUE);
-
-   if (evas_object_anti_alias_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not enabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_anti_alias_set(obj, EINA_FALSE);
-
-   if (evas_object_anti_alias_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not disabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_anti_alias_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 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 EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_anti_alias_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_anti_alias_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_anti_alias_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_anti_alias_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_anti_alias_get_p);
-   tcase_add_test(tcase, utc_evas_object_anti_alias_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_get_set.c
new file mode 100644 (file)
index 0000000..b07d804
--- /dev/null
@@ -0,0 +1,138 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_anti_alias_get evas_object_anti_alias_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_anti_alias_get
+ * @{
+ * @objective Positive test case checks if function returns proper state of anti-aliasing of the given object.
+ * @n Input Data: pointer to box Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set anti-aliasing of the object to EINA_TRUE
+ * @step 4 Check if anti-aliasing enabled
+ * @step 5 Set anti-aliasing to EINA_FALSE
+ * @step 6 Check if parameter disabled
+ *
+ * @passcondition Function returns proper state of anti-aliasing.
+ * @}
+ */
+START_TEST(utc_evas_object_anti_alias_get_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_anti_alias_set(obj, EINA_TRUE);
+
+   if (evas_object_anti_alias_get(obj) == EINA_FALSE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not enabled..", __FILE__, __LINE__);
+     }
+   evas_object_anti_alias_set(obj, EINA_FALSE);
+
+   if (evas_object_anti_alias_get(obj) == EINA_TRUE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not disabled..", __FILE__, __LINE__);
+     }
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_anti_alias_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 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 EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_anti_alias_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_anti_alias_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_anti_alias_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:
+ * @li NULL as pointer to box Evas_Object;
+ * @li EINA_TRUE to enable anti-aliasing.
+ *
+ * @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_anti_alias_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_anti_alias_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_anti_alias_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_anti_alias_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_anti_alias_get_p);
+   tcase_add_test(tcase, utc_evas_object_anti_alias_get_n);
+   tcase_add_test(tcase, utc_evas_object_anti_alias_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_anti_alias_set.c
deleted file mode 100644 (file)
index 28c1f59..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_anti_alias_set evas_object_anti_alias_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_anti_alias_set
- * @{
- * @objective Positive test case checks if function enables and disables anti-aliasing of the given object.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set anti-aliasing of the object to EINA_TRUE
- * @step 4 Check if anti-aliasing enabled
- * @step 5 Set anti-aliasing to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function enables and disables anti-aliasing state properly.
- * @}
- */
-START_TEST(utc_evas_object_anti_alias_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_anti_alias_set(obj, EINA_TRUE);
-
-   if (evas_object_anti_alias_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not enabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_anti_alias_set(obj, EINA_FALSE);
-
-   if (evas_object_anti_alias_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Anti-aliasing is not disabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_anti_alias_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:
- * @li NULL as pointer to box Evas_Object;
- * @li EINA_TRUE to enable anti-aliasing.
- *
- * @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_anti_alias_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_anti_alias_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_anti_alias_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_anti_alias_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_anti_alias_set_p);
-   tcase_add_test(tcase, utc_evas_object_anti_alias_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_color_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_color_get.c
deleted file mode 100644 (file)
index e32f088..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_color_get evas_object_color_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_color_get
- * @{
- * @objective Positive test case checks if function gets general color of the given object properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 4 pointers to integer to write red, green, blue and alpha values - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Set general color of the object
- * @step 4 Get general color of the object and compare with set values
- *
- * @passcondition Function gets color properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_color_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int r = 0, g = 0, b = 0, a = 0;
-
-   evas_object_color_set(obj, 10, 20, 30, 40);
-   evas_object_color_get(obj, &r, &g, &b, &a);
-   evas_free(evas);
-
-   if (r != 10 || g != 20 || b != 30 || a != 40)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_color_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
- * incorrect values to output parameters if it is called with NULL instead of any argument.
- * Due to documentation default values for colors part are equal to 255.
- * @n Input Data:
- * @li pointer to rectangle Evas_Object;
- * @li 4 pointers to integers to write red, green, blue and alpha values - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new rectangle object to the evas
- * @step 3 Create 4 local variables with value 255 - these are default color values
- * @step 4 Call tested function 5 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 5 Check values of output parameters
- *
- * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 255.
- * @}
- */
-START_TEST(utc_evas_object_color_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_rectangle_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int r = 255, g = 255, b = 255, a = 255;
-
-   UNITEST_FUNC_NEG(evas_object_color_get, obj, &r, &g, &b, &a);
-
-   evas_free(evas);
-
-   if (r != 255 || g != 255 || b != 255 || a != 255)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_color_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_color_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_color_get_p);
-   tcase_add_test(tcase, utc_evas_object_color_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_color_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_color_get_set.c
new file mode 100644 (file)
index 0000000..ddce798
--- /dev/null
@@ -0,0 +1,209 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_color_set evas_object_color_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_color_set
+ * @{
+ * @objective Positive test case checks if function sets general color of the given object properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 10 as red color value;
+ * @li 20 as green color value;
+ * @li 30 as blue color value;
+ * @li 40 as alpha value.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Set general color of the object
+ * @step 4 Get general color of the object and compare with set values
+ *
+ * @passcondition Function sets color properly, set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_color_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int r = 0, g = 0, b = 0, a = 0;
+
+   evas_object_color_set(obj, 10, 20, 30, 40);
+   evas_object_color_get(obj, &r, &g, &b, &a);
+   evas_free(evas);
+
+   if (r != 10 || g != 20 || b != 30 || a != 40)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_color_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;
+ * @li 10 - the same value for red, green, blue and alpha arguments.
+ *
+ * @procedure
+ * @step 1 Call function once and pass NULL instead of pointer to Evas_Object.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_color_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_color_set, NULL, 10, 10, 10, 10);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_color_set
+ * @{
+ * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
+ * and doesn't set general colors values more than 255 or less than 0.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li 500/-1 - red, green, blue and alpha values for first/second calls.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function with colors values more than 255
+ * @step 4 Get color of the object
+ * @step 5 Call tested function with colors values less than 0
+ * @step 6 Get color of the object
+ *
+ * @passcondition Function doesn't set incorrect color values. Got values aren't more than 255 or less than 0.
+ * @}
+ */
+START_TEST(utc_evas_object_color_set_n2)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int r = 0, g = 0, b = 0, a = 0;
+
+   evas_object_color_set(obj, 500, 500, 500, 500);
+   evas_object_color_get(obj, &r, &g, &b, &a);
+
+   if (r > 255 || g > 255 || b > 255 || a > 255)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
+     }
+   evas_object_color_set(obj, -1, -1, -1, -1);
+   evas_object_color_get(obj, &r, &g, &b, &a);
+   evas_free(evas);
+
+   if (r < 0 || g < 0 || b < 0 || a < 0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_color_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
+ * incorrect values to output parameters if it is called with NULL instead of any argument.
+ * Due to documentation default values for colors part are equal to 255.
+ * @n Input Data:
+ * @li pointer to rectangle Evas_Object;
+ * @li 4 pointers to integers to write red, green, blue and alpha values - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new rectangle object to the evas
+ * @step 3 Create 4 local variables with value 255 - these are default color values
+ * @step 4 Call tested function 5 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 5 Check values of output parameters
+ *
+ * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 255.
+ * @}
+ */
+START_TEST(utc_evas_object_color_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_rectangle_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   int r = 255, g = 255, b = 255, a = 255;
+
+   UNITEST_FUNC_NEG(evas_object_color_get, obj, &r, &g, &b, &a);
+
+   evas_free(evas);
+
+   if (r != 255 || g != 255 || b != 255 || a != 255)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_color_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_color_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_color_set_p);
+   tcase_add_test(tcase, utc_evas_object_color_set_n);
+   tcase_add_test(tcase, utc_evas_object_color_set_n2);
+   tcase_add_test(tcase, utc_evas_object_color_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_color_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_color_set.c
deleted file mode 100644 (file)
index 173d3b4..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_color_set evas_object_color_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_color_set
- * @{
- * @objective Positive test case checks if function sets general color of the given object properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 10 as red color value;
- * @li 20 as green color value;
- * @li 30 as blue color value;
- * @li 40 as alpha value.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Set general color of the object
- * @step 4 Get general color of the object and compare with set values
- *
- * @passcondition Function sets color properly, set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_color_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int r = 0, g = 0, b = 0, a = 0;
-
-   evas_object_color_set(obj, 10, 20, 30, 40);
-   evas_object_color_get(obj, &r, &g, &b, &a);
-   evas_free(evas);
-
-   if (r != 10 || g != 20 || b != 30 || a != 40)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_color_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;
- * @li 10 - the same value for red, green, blue and alpha arguments.
- *
- * @procedure
- * @step 1 Call function once and pass NULL instead of pointer to Evas_Object.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_color_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_color_set, NULL, 10, 10, 10, 10);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_color_set
- * @{
- * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
- * and doesn't set general colors values more than 255 or less than 0.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li 500/-1 - red, green, blue and alpha values for first/second calls.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function with colors values more than 255
- * @step 4 Get color of the object
- * @step 5 Call tested function with colors values less than 0
- * @step 6 Get color of the object
- *
- * @passcondition Function doesn't set incorrect color values. Got values aren't more than 255 or less than 0.
- * @}
- */
-START_TEST(utc_evas_object_color_set_n2)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   int r = 0, g = 0, b = 0, a = 0;
-
-   evas_object_color_set(obj, 500, 500, 500, 500);
-   evas_object_color_get(obj, &r, &g, &b, &a);
-
-   if (r > 255 || g > 255 || b > 255 || a > 255)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
-        return;
-     }
-   evas_object_color_set(obj, -1, -1, -1, -1);
-   evas_object_color_get(obj, &r, &g, &b, &a);
-   evas_free(evas);
-
-   if (r < 0 || g < 0 || b < 0 || a < 0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. r=%d, g=%d, b=%d, a=%d", __FILE__, __LINE__, r, g, b, a);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_color_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_color_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_color_set_p);
-   tcase_add_test(tcase, utc_evas_object_color_set_n);
-   tcase_add_test(tcase, utc_evas_object_color_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get.c
deleted file mode 100644 (file)
index cb2c6fb..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_freeze_events_get evas_object_freeze_events_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_freeze_events_get
- * @{
- * @objective Positive test case 1. Get freeze events state when events not freezing.
- *
- * @n Input Data:
- * @li Valid Evas_Object named obj;
- *
- * @procedure
- * @step 1 Create new Evas.
- * @step 2 Add object to Evas.
- * @step 3 Retrieve freeze events state from newly created object.
- * @step 4 Set freeze events to FALSE.
- * @step 5 Retrieve freeze events state from object.
- *
- * @passcondition  :  Retrieved freeze events state is equal to EINA_FALSE in both cases.
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_get_p_1)
-{
-   Evas* evas = evas_new();
-   Evas_Object* obj = evas_object_box_add(evas);
-   Eina_Bool freeze_from_new_obj = evas_object_freeze_events_get(obj);
-   if (freeze_from_new_obj != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        evas_free(evas);
-        return;
-     }
-   evas_object_freeze_events_set(obj, EINA_FALSE);
-   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
-   if (freeze_after_set != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        evas_free(evas);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   evas_free(evas);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_freeze_events_get
- * @{
- * @objective Positive test case 2. Get freeze events state when events was freezing.
- *
- * @n Input Data:
- * @li Valid Evas_Object named obj;
- *
- * @procedure
- * @step 1 Create new Evas.
- * @step 2 Add object to Evas.
- * @step 3 Set freeze events to TRUE.
- * @step 4 Retrieve freeze events state from object.
- *
- * @passcondition  :  Retrieved freeze events state is equal to EINA_TRUE.
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_get_p_2)
-{
-   Evas* evas = evas_new();
-   Evas_Object* obj = evas_object_box_add(evas);
-   evas_object_freeze_events_set(obj, EINA_TRUE);
-   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
-   if (freeze_after_set != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        evas_free(evas);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   evas_free(evas);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_freeze_events_get
- * @{
- * @objective Negative test case 1. Retrieve the freeze events state from NULL object.
- *
- * @n Input Data:
- * @li Invalid (NULL) Evas_Object;
- *
- * @procedure
- * @step 1 Retrieve freeze events state from NULL object.
- *
- * @passcondition  :  Function doesn't cause segmentation fault. Return EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_get_n_1)
-{
-   Eina_Bool freeze_from_null = evas_object_freeze_events_get(NULL);
-   if (freeze_from_null != 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_freeze_events_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_freeze_events_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_get_p_1);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_get_p_2);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_get_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_get_set.c
new file mode 100644 (file)
index 0000000..0a37b1b
--- /dev/null
@@ -0,0 +1,163 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_freeze_events_get evas_object_freeze_events_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_freeze_events_get
+ * @{
+ * @objective Positive test case 1. Get freeze events state when events not freezing.
+ *
+ * @n Input Data:
+ * @li Valid Evas_Object named obj;
+ *
+ * @procedure
+ * @step 1 Create new Evas.
+ * @step 2 Add object to Evas.
+ * @step 3 Retrieve freeze events state from newly created object.
+ * @step 4 Set freeze events to FALSE.
+ * @step 5 Retrieve freeze events state from object.
+ *
+ * @passcondition  :  Retrieved freeze events state is equal to EINA_FALSE in both cases.
+ * @}
+ */
+START_TEST(utc_evas_object_freeze_events_get_p_1)
+{
+   Evas* evas = evas_new();
+   Evas_Object* obj = evas_object_box_add(evas);
+   Eina_Bool freeze_from_new_obj = evas_object_freeze_events_get(obj);
+   if (freeze_from_new_obj != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        evas_free(evas);
+     }
+   evas_object_freeze_events_set(obj, EINA_FALSE);
+   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
+   if (freeze_after_set != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        evas_free(evas);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+   evas_free(evas);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_freeze_events_get
+ * @{
+ * @objective Positive test case 2. Get freeze events state when events was freezing.
+ *
+ * @n Input Data:
+ * @li Valid Evas_Object named obj;
+ *
+ * @procedure
+ * @step 1 Create new Evas.
+ * @step 2 Add object to Evas.
+ * @step 3 Set freeze events to TRUE.
+ * @step 4 Retrieve freeze events state from object.
+ *
+ * @passcondition  :  Retrieved freeze events state is equal to EINA_TRUE.
+ * @}
+ */
+START_TEST(utc_evas_object_freeze_events_get_p_2)
+{
+   Evas* evas = evas_new();
+   Evas_Object* obj = evas_object_box_add(evas);
+   evas_object_freeze_events_set(obj, EINA_TRUE);
+   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
+   if (freeze_after_set != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        evas_free(evas);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+   evas_free(evas);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_freeze_events_get
+ * @{
+ * @objective Negative test case 1. Retrieve the freeze events state from NULL object.
+ *
+ * @n Input Data:
+ * @li Invalid (NULL) Evas_Object;
+ *
+ * @procedure
+ * @step 1 Retrieve freeze events state from NULL object.
+ *
+ * @passcondition  :  Function doesn't cause segmentation fault. Return EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_freeze_events_get_n_1)
+{
+   Eina_Bool freeze_from_null = evas_object_freeze_events_get(NULL);
+   if (freeze_from_null != 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_freeze_events_set
+ * @{
+ * @objective Negative test case 1. Set freeze events state to NULL object.
+ *
+ * @n Input Data:
+ * @li Invalid (NULL) Evas_Object;
+ * @li New freeze event state (optional parameter);
+ *
+ * @procedure
+ * @step 1 Set freeze events state to NULL object.
+ *
+ * @passcondition  :  Function doesn't cause segmentation fault..
+ * @}
+ */
+START_TEST(utc_evas_object_freeze_events_set_n_1)
+{
+   evas_object_freeze_events_set(NULL, EINA_TRUE);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_freeze_events_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_freeze_events_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_freeze_events_get_p_1);
+   tcase_add_test(tcase, utc_evas_object_freeze_events_get_p_2);
+   tcase_add_test(tcase, utc_evas_object_freeze_events_get_n_1);
+   tcase_add_test(tcase, utc_evas_object_freeze_events_set_n_1);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_freeze_events_set.c
deleted file mode 100644 (file)
index 08cae77..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_freeze_events_set evas_object_freeze_events_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_freeze_events_set
- * @{
- * @objective Positive test case 1. Change freeze events state to FALSE.
- *
- * @n Input Data:
- * @li Valid Evas_Object named obj;
- * @li New freeze event state (EINA_FALSE);
- *
- * @procedure
- * @step 1 Create new Evas.
- * @step 2 Add object to Evas.
- * @step 3 Set freeze events to FALSE.
- * @step 4 Retrieve and check freeze events state from object. Should be equal to FALSE.
- *
- * @passcondition  :  Freeze events state should be equal to EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_set_p_1)
-{
-   Evas* evas = evas_new();
-   Evas_Object* obj = evas_object_box_add(evas);
-   evas_object_freeze_events_set(obj, EINA_FALSE);
-   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
-   if (freeze_after_set != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        evas_free(evas);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   evas_free(evas);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_freeze_events_set
- * @{
- * @objective Positive test case 2. Change freeze events state to TRUE.
- *
- * @n Input Data:
- * @li Valid Evas_Object named obj;
- * @li New freeze event state (EINA_TRUE);
- *
- * @procedure
- * @step 1 Create new Evas.
- * @step 2 Add object to Evas.
- * @step 3 Set freeze events to TRUE.
- * @step 4 Retrieve and check freeze events state from object. Should be equal to TRUE.
- *
- * @passcondition  :  Freeze events state should be equal to EINA_TRUE.
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_set_p_2)
-{
-   Evas* evas = evas_new();
-   Evas_Object* obj = evas_object_box_add(evas);
-   evas_object_freeze_events_set(obj, EINA_TRUE);
-   Eina_Bool freeze_after_set = evas_object_freeze_events_get(obj);
-   if (freeze_after_set != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        evas_free(evas);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   evas_free(evas);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_freeze_events_set
- * @{
- * @objective Negative test case 1. Set freeze events state to NULL object.
- *
- * @n Input Data:
- * @li Invalid (NULL) Evas_Object;
- * @li New freeze event state (optional parameter);
- *
- * @procedure
- * @step 1 Set freeze events state to NULL object.
- *
- * @passcondition  :  Function doesn't cause segmentation fault..
- * @}
- */
-START_TEST(utc_evas_object_freeze_events_set_n_1)
-{
-   evas_object_freeze_events_set(NULL, EINA_TRUE);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_freeze_events_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_freeze_events_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_set_p_1);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_set_p_2);
-   tcase_add_test(tcase, utc_evas_object_freeze_events_set_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get.c
deleted file mode 100644 (file)
index 2f53fb5..0000000
+++ /dev/null
@@ -1,258 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_pointer_mode_get evas_object_pointer_mode_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_pointer_mode_get
- * @{
- * @objective Positive test case 01: Checks if function gets pointer behavior and doesn't cause segmentation fault.
- * @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 Set EVAS_OBJECT_POINTER_MODE_AUTOGRAB pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_get_p_1)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_AUTOGRAB);
-
-   res = evas_object_pointer_mode_get(img);
-   if (res != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_get
- * @{
- * @objective Positive test case 02: Checks if function gets pointer behavior and doesn't cause segmentation fault.
- * @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 Set EVAS_OBJECT_POINTER_MODE_NOGRAB pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_get_p_2)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB);
-
-   res = evas_object_pointer_mode_get(img);
-   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_get
- * @{
- * @objective Positive test case 03: Checks if function gets pointer behavior and doesn't cause segmentation fault.
- * @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 Set EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_get_p_3)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN);
-
-   res = evas_object_pointer_mode_get(img);
-   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_get
- * @{
- * @objective Negative test case 01: Checks if function gets default pointer behavior and doesn't cause segmentation fault.
- * @n Input Data:
- * @li NULL instead of pointer to Evas_Object.
- *
- * @procedure
- * @step 1 Invoke function with NULL pointer to Evas_Object.
- *
- * @passcondition: Function doesn't cause segmentation fault and return value is EVAS_OBJECT_POINTER_MODE_AUTOGRAB.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_get_n_1)
-{
-
-   Evas_Object_Pointer_Mode res = evas_object_pointer_mode_get(NULL);
-   if (res != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
-     {
-        printf("%s\n", "EVAS_OBJECT_POINTER_MODE_AUTOGRAB\n");
-        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_pointer_mode_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_pointer_mode_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_get_p_1);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_get_p_2);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_get_p_3);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_get_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_get_set.c
new file mode 100644 (file)
index 0000000..b9ef41b
--- /dev/null
@@ -0,0 +1,271 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Ecore_Evas.h>
+#include <Evas.h>
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_pointer_mode_get evas_object_pointer_mode_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_pointer_mode_get
+ * @{
+ * @objective Positive test case 01: Checks if function gets pointer behavior and doesn't cause segmentation fault.
+ * @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 Set EVAS_OBJECT_POINTER_MODE_AUTOGRAB pointer mode.
+ * @step 4 Get pointer mode.
+ * @step 5 Check get value. It must be the same with set value.
+ *
+ * @passcondition: Function doesn't cause segmentation fault and function must return set value.
+ * @}
+ */
+START_TEST(utc_evas_object_pointer_mode_get_p_1)
+{
+
+   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
+
+   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_AUTOGRAB);
+
+   res = evas_object_pointer_mode_get(img);
+   if (res != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
+     {
+        ecore_evas_free(ee);
+        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__);
+   return;
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_pointer_mode_get
+ * @{
+ * @objective Positive test case 02: Checks if function gets pointer behavior and doesn't cause segmentation fault.
+ * @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 Set EVAS_OBJECT_POINTER_MODE_NOGRAB pointer mode.
+ * @step 4 Get pointer mode.
+ * @step 5 Check get value. It must be the same with set value.
+ *
+ * @passcondition: Function doesn't cause segmentation fault and function must return set value.
+ * @}
+ */
+START_TEST(utc_evas_object_pointer_mode_get_p_2)
+{
+
+   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
+
+   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB);
+
+   res = evas_object_pointer_mode_get(img);
+   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB)
+     {
+        ecore_evas_free(ee);
+        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__);
+   return;
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_pointer_mode_get
+ * @{
+ * @objective Positive test case 03: Checks if function gets pointer behavior and doesn't cause segmentation fault.
+ * @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 Set EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode.
+ * @step 4 Get pointer mode.
+ * @step 5 Check get value. It must be the same with set value.
+ *
+ * @passcondition: Function doesn't cause segmentation fault and function must return set value.
+ * @}
+ */
+START_TEST(utc_evas_object_pointer_mode_get_p_3)
+{
+
+   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
+
+   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN);
+
+   res = evas_object_pointer_mode_get(img);
+   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN)
+     {
+        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__);
+   return;
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_pointer_mode_get
+ * @{
+ * @objective Negative test case 01: Checks if function gets default pointer behavior and doesn't cause segmentation fault.
+ * @n Input Data:
+ * @li NULL instead of pointer to Evas_Object.
+ *
+ * @procedure
+ * @step 1 Invoke function with NULL pointer to Evas_Object.
+ *
+ * @passcondition: Function doesn't cause segmentation fault and return value is EVAS_OBJECT_POINTER_MODE_AUTOGRAB.
+ * @}
+ */
+START_TEST(utc_evas_object_pointer_mode_get_n_1)
+{
+
+   Evas_Object_Pointer_Mode res = evas_object_pointer_mode_get(NULL);
+   if (res != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
+     {
+        printf("%s\n", "EVAS_OBJECT_POINTER_MODE_AUTOGRAB\n");
+        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
+
+/**
+ * @addtogroup evas_object_pointer_mode_set
+ * @{
+ * @objective Negative test case 01: Checks if function doesn't cause segmentation fault.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li desired behavior(EVAS_OBJECT_POINTER_MODE_AUTOGRAB).
+ *
+ * @procedure
+ * @step 1 Invoke function with NULL pointer to Evas_Object.
+ *
+ * @passcondition: Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_pointer_mode_set_n_1)
+{
+   evas_object_pointer_mode_set(NULL, EVAS_OBJECT_POINTER_MODE_AUTOGRAB);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+   return;
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_evas_object_pointer_mode_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_pointer_mode_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_pointer_mode_get_p_1);
+   tcase_add_test(tcase, utc_evas_object_pointer_mode_get_p_2);
+   tcase_add_test(tcase, utc_evas_object_pointer_mode_get_p_3);
+   tcase_add_test(tcase, utc_evas_object_pointer_mode_get_n_1);
+   tcase_add_test(tcase, utc_evas_object_pointer_mode_set_n_1);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_pointer_mode_set.c
deleted file mode 100644 (file)
index 242ce58..0000000
+++ /dev/null
@@ -1,255 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Ecore_Evas.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_pointer_mode_set evas_object_pointer_mode_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_pointer_mode_set
- * @{
- * @objective Positive test case 01: Checks if function doesn't cause segmentation fault and set pointer mode correctly.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li desired behavior (EVAS_OBJECT_POINTER_MODE_AUTOGRAB).
- *
- * @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 EVAS_OBJECT_POINTER_MODE_AUTOGRAB pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and get function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_set_p_1)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_AUTOGRAB);
-
-   res = evas_object_pointer_mode_get(img);
-
-   if (res != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_set
- * @{
- * @objective Positive test case 02: Checks if function doesn't cause segmentation fault and set pointer mode correctly.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li desired behavior (EVAS_OBJECT_POINTER_MODE_NOGRAB).
- *
- * @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 EVAS_OBJECT_POINTER_MODE_NOGRAB pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and get function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_set_p_2)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB);
-
-   res = evas_object_pointer_mode_get(img);
-   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_set
- * @{
- * @objective Positive test case 03: Checks if function doesn't cause segmentation fault and set pointer mode correctly.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li desired behavior (EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN).
- *
- * @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 EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode.
- * @step 4 Get pointer mode.
- * @step 5 Check get value. It must be the same with set value.
- *
- * @passcondition: Function doesn't cause segmentation fault and get function must return set value.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_set_p_3)
-{
-
-   Evas_Object_Pointer_Mode res = EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN;
-
-   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_pointer_mode_set(img, EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN);
-
-   res = evas_object_pointer_mode_get(img);
-   if (res != EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN)
-     {
-        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__);
-   return;
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_pointer_mode_set
- * @{
- * @objective Negative test case 01: Checks if function doesn't cause segmentation fault.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li desired behavior(EVAS_OBJECT_POINTER_MODE_AUTOGRAB).
- *
- * @procedure
- * @step 1 Invoke function with NULL pointer to Evas_Object.
- *
- * @passcondition: Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_UIFW_evas_object_pointer_mode_set_n_1)
-{
-   evas_object_pointer_mode_set(NULL, EVAS_OBJECT_POINTER_MODE_AUTOGRAB);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-   return;
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_evas_object_pointer_mode_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_pointer_mode_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_set_p_1);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_set_p_2);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_set_p_3);
-   tcase_add_test(tcase, utc_UIFW_evas_object_pointer_mode_set_n_1);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get.c
deleted file mode 100644 (file)
index bea0015..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_precise_is_inside_get evas_object_precise_is_inside_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_precise_is_inside_get
- * @{
- * @objective Positive test case checks if function returns proper state of
- * precise point collision detection usage for given object.
- * @n Input Data: pointer to box Evas_Object.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set usage of precise point collision detection to EINA_TRUE
- * @step 4 Check if collision detection parameter enabled
- * @step 5 Set usage of precise point collision detection to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function returns proper state of precise point collision detection usage.
- * @}
- */
-START_TEST(utc_evas_object_precise_is_inside_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_precise_is_inside_set(obj, EINA_TRUE);
-
-   if (evas_object_precise_is_inside_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_precise_is_inside_set(obj, EINA_FALSE);
-
-   if (evas_object_precise_is_inside_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_precise_is_inside_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 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 EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_precise_is_inside_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_precise_is_inside_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_precise_is_inside_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_precise_is_inside_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_precise_is_inside_get_p);
-   tcase_add_test(tcase, utc_evas_object_precise_is_inside_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_get_set.c
new file mode 100644 (file)
index 0000000..7083f63
--- /dev/null
@@ -0,0 +1,139 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_precise_is_inside_get evas_object_precise_is_inside_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_precise_is_inside_get
+ * @{
+ * @objective Positive test case checks if function returns proper state of
+ * precise point collision detection usage for given object.
+ * @n Input Data: pointer to box Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set usage of precise point collision detection to EINA_TRUE
+ * @step 4 Check if collision detection parameter enabled
+ * @step 5 Set usage of precise point collision detection to EINA_FALSE
+ * @step 6 Check if parameter disabled
+ *
+ * @passcondition Function returns proper state of precise point collision detection usage.
+ * @}
+ */
+START_TEST(utc_evas_object_precise_is_inside_get_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_precise_is_inside_set(obj, EINA_TRUE);
+
+   if (evas_object_precise_is_inside_get(obj) == EINA_FALSE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_TRUE..", __FILE__, __LINE__);
+     }
+   evas_object_precise_is_inside_set(obj, EINA_FALSE);
+
+   if (evas_object_precise_is_inside_get(obj) == EINA_TRUE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_FALSE..", __FILE__, __LINE__);
+     }
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_precise_is_inside_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 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 EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_precise_is_inside_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_precise_is_inside_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_precise_is_inside_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:
+ * @li NULL as pointer to box Evas_Object;
+ * @li EINA_TRUE to enable usage of precise point collision detection.
+ *
+ * @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_precise_is_inside_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_precise_is_inside_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_precise_is_inside_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_precise_is_inside_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_precise_is_inside_get_p);
+   tcase_add_test(tcase, utc_evas_object_precise_is_inside_get_n);
+   tcase_add_test(tcase, utc_evas_object_precise_is_inside_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_precise_is_inside_set.c
deleted file mode 100644 (file)
index c9eeb06..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_precise_is_inside_set evas_object_precise_is_inside_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_precise_is_inside_set
- * @{
- * @objective Positive test case checks if function enables and disables usage of precise point
- * collision detection for given object properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set usage of precise point collision detection to EINA_TRUE
- * @step 4 Check if collision detection parameter enabled
- * @step 5 Set usage of precise point collision detection to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function enables and disables usage of precise point collision detection properly.
- * @}
- */
-START_TEST(utc_evas_object_precise_is_inside_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_precise_is_inside_set(obj, EINA_TRUE);
-
-   if (evas_object_precise_is_inside_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_TRUE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_precise_is_inside_set(obj, EINA_FALSE);
-
-   if (evas_object_precise_is_inside_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Point collision detection is not set to EINA_FALSE..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_precise_is_inside_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:
- * @li NULL as pointer to box Evas_Object;
- * @li EINA_TRUE to enable usage of precise point collision detection.
- *
- * @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_precise_is_inside_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_precise_is_inside_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_precise_is_inside_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_precise_is_inside_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_precise_is_inside_set_p);
-   tcase_add_test(tcase, utc_evas_object_precise_is_inside_set_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get.c
deleted file mode 100644 (file)
index f36e3cc..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_render_op_get evas_object_render_op_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_render_op_get
- * @{
- * @objective Positive test case checks if function returns proper rendering operation of the given object.
- * @n Input Data: pointer to box Evas_Object.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set rendering operation of the object
- * @step 4 Get rendering operation of the object and compare it with value that was set
- *
- * @passcondition Set and got values of rendering operation are the same.
- * @}
- */
-START_TEST(utc_evas_object_render_op_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_render_op_set(obj, EVAS_RENDER_COPY);
-   Evas_Render_Op render_op = evas_object_render_op_get(obj);
-   evas_free(evas);
-
-   if (render_op != EVAS_RENDER_COPY)
-     {
-        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_render_op_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and returns
- * EVAS_RENDER_BLEND (0) if it is called with NULL instead of pointer to Evas_Object.
- * @n Input Data: NULL as pointer to box Evas_Object.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its first argument.
- *
- * @passcondition Function doesn't cause segmentation fault and returns EVAS_RENDER_BLEND.
- * @}
- */
-START_TEST(utc_evas_object_render_op_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EVAS_RENDER_BLEND, evas_object_render_op_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_render_op_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_render_op_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_render_op_get_p);
-   tcase_add_test(tcase, utc_evas_object_render_op_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_get_set.c
new file mode 100644 (file)
index 0000000..93611e1
--- /dev/null
@@ -0,0 +1,192 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_render_op_set evas_object_render_op_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_render_op_set
+ * @{
+ * @objective Positive test case checks if function sets rendering operation of given object properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_RENDER_COPY as operation of rendering.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set rendering operation of the object
+ * @step 4 Get rendering operation of the object and compare it with value that was set
+ * @step 5 Repeat steps 3 and 4 one more time with another enum for better coverage
+ *
+ * @passcondition Set and got values of rendering operation are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_render_op_set_p)
+{
+   Evas *evas = evas_new();
+   evas_output_method_set(evas, evas_render_method_lookup("buffer"));
+
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_render_op_set(obj, EVAS_RENDER_COPY);
+   Evas_Render_Op render_op = evas_object_render_op_get(obj);
+
+   if (render_op != EVAS_RENDER_COPY)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+#if 0 /** EVAS_RENDER_ADD_REL is DEPRECATED. */
+   evas_object_render_op_set(obj, EVAS_RENDER_ADD_REL);
+   render_op = evas_object_render_op_get(obj);
+
+   if (render_op != EVAS_RENDER_ADD_REL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : // (%d) //ADD_REL(%d) Test has failed..", __FILE__, __LINE__, render_op, EVAS_RENDER_ADD_REL);
+        return;
+     }
+#endif // DEPRECATED.
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_render_op_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 as pointer to box Evas_Object;
+ * @li EVAS_RENDER_COPY as operation of rendering.
+ *
+ * @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_render_op_set_n)
+{
+
+   evas_object_render_op_set(NULL, EVAS_RENDER_COPY);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_render_op_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set rendering operation if it is called with incorrect second argument.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_RENDER_COPY/-1 as rendering operation for first/second call.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set rendering operation to EVAS_RENDER_COPY
+ * @step 4 Try to set rendering operation to -1
+ * @step 5 Get rendering type 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_render_op_set_n2)
+{
+   Evas *evas = evas_new();
+   evas_output_method_set(evas, evas_render_method_lookup("buffer"));
+
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_render_op_set(obj, EVAS_RENDER_COPY);
+   evas_object_render_op_set(obj, (Evas_Render_Op)-1);
+
+   if (evas_object_render_op_get(obj) != EVAS_RENDER_COPY)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_render_op_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and returns
+ * EVAS_RENDER_BLEND (0) if it is called with NULL instead of pointer to Evas_Object.
+ * @n Input Data: NULL as pointer to box Evas_Object.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its first argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault and returns EVAS_RENDER_BLEND.
+ * @}
+ */
+START_TEST(utc_evas_object_render_op_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EVAS_RENDER_BLEND, evas_object_render_op_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_render_op_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_render_op_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_render_op_set_p);
+   tcase_add_test(tcase, utc_evas_object_render_op_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_render_op_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_render_op_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_render_op_set.c
deleted file mode 100644 (file)
index 4e901fb..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_render_op_set evas_object_render_op_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_render_op_set
- * @{
- * @objective Positive test case checks if function sets rendering operation of given object properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_RENDER_COPY as operation of rendering.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set rendering operation of the object
- * @step 4 Get rendering operation of the object and compare it with value that was set
- * @step 5 Repeat steps 3 and 4 one more time with another enum for better coverage
- *
- * @passcondition Set and got values of rendering operation are the same.
- * @}
- */
-START_TEST(utc_evas_object_render_op_set_p)
-{
-   Evas *evas = evas_new();
-   evas_output_method_set(evas, evas_render_method_lookup("buffer"));
-
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_render_op_set(obj, EVAS_RENDER_COPY);
-   Evas_Render_Op render_op = evas_object_render_op_get(obj);
-
-   if (render_op != EVAS_RENDER_COPY)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-#if 0 /** EVAS_RENDER_ADD_REL is DEPRECATED. */
-   evas_object_render_op_set(obj, EVAS_RENDER_ADD_REL);
-   render_op = evas_object_render_op_get(obj);
-
-   if (render_op != EVAS_RENDER_ADD_REL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : // (%d) //ADD_REL(%d) Test has failed..", __FILE__, __LINE__, render_op, EVAS_RENDER_ADD_REL);
-        return;
-     }
-#endif // DEPRECATED.
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_render_op_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 as pointer to box Evas_Object;
- * @li EVAS_RENDER_COPY as operation of rendering.
- *
- * @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_render_op_set_n)
-{
-
-   evas_object_render_op_set(NULL, EVAS_RENDER_COPY);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_render_op_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set rendering operation if it is called with incorrect second argument.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_RENDER_COPY/-1 as rendering operation for first/second call.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set rendering operation to EVAS_RENDER_COPY
- * @step 4 Try to set rendering operation to -1
- * @step 5 Get rendering type 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_render_op_set_n2)
-{
-   Evas *evas = evas_new();
-   evas_output_method_set(evas, evas_render_method_lookup("buffer"));
-
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_render_op_set(obj, EVAS_RENDER_COPY);
-   evas_object_render_op_set(obj, (Evas_Render_Op)-1);
-
-   if (evas_object_render_op_get(obj) != EVAS_RENDER_COPY)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_render_op_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_render_op_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_render_op_set_p);
-   tcase_add_test(tcase, utc_evas_object_render_op_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_render_op_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_scale_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_scale_get.c
deleted file mode 100644 (file)
index d5cccd9..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_scale_get evas_object_scale_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_scale_get
- * @{
- * @objective Positive test case checks if function returns proper scaling factor for the given object.
- * @n Input Data: pointer to text Evas_Object.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new text object to the evas
- * @step 3 Set scaling factor of the object
- * @step 4 Get scaling factor of the object and compare it with value that was set
- *
- * @passcondition Set and got values of scaling factor are the same.
- * @}
- */
-START_TEST(utc_evas_object_scale_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_text_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_scale_set(obj, 0.5);
-   double scale = evas_object_scale_get(obj);
-   evas_free(evas);
-
-   if (fabs(scale - 0.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_scale_get
- * @{
- * @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.
- *
- * @procedure
- * @step 1 Call function and pass NULL instead of its argument.
- *
- * @passcondition Function must return 0.0 and doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_scale_get_n)
-{
-   double scale_get = 0.0;
-
-   scale_get = evas_object_scale_get(NULL);
-   if (fabs(scale_get) > DBL_EPSILON)
-     {
-        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_scale_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_scale_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_scale_get_p);
-   tcase_add_test(tcase, utc_evas_object_scale_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_scale_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_scale_get_set.c
new file mode 100644 (file)
index 0000000..4439f89
--- /dev/null
@@ -0,0 +1,169 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_scale_set evas_object_scale_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_scale_set
+ * @{
+ * @objective Positive test case checks if function sets the scaling factor for the given object properly.
+ * @n Input Data:
+ * @li pointer to text Evas_Object;
+ * @li 0.5 as scaling factor.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new text object to the evas
+ * @step 3 Set scaling factor of the object
+ * @step 4 Get scaling factor of the object and compare it with value that was set
+ *
+ * @passcondition Set and got values of scaling factor are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_scale_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_text_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_scale_set(obj, 0.5);
+   double scale = evas_object_scale_get(obj);
+   evas_free(evas);
+
+   if (fabs(scale - 0.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_scale_set
+ * @{
+ * @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: NULL instead of pointer to Evas_Object and 1.0 as scaling 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_scale_set_n)
+{
+
+   evas_object_scale_set(NULL, 1.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_scale_set
+ * @{
+ * @objective Negative test case 02 checks if function doesn't cause segmentation fault
+ * if it is called with proper Evas_Object but with negative values of scale.
+ * @n Input Data: pointer to Evas_Object, negative values of scale -1.0.
+ * @li pointer to Evas_Object;
+ * @li -1.0 as object's scale;
+ *
+ * @procedure
+ * @step 1 Create new evas
+ * @step 2 Add text object to the evas
+ * @step 3 Call function once with negative values of scale
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_scale_set_n2)
+{
+
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_text_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_scale_set(obj, -1.0);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_scale_get
+ * @{
+ * @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.
+ *
+ * @procedure
+ * @step 1 Call function and pass NULL instead of its argument.
+ *
+ * @passcondition Function must return 0.0 and doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_scale_get_n)
+{
+   double scale_get = 0.0;
+
+   scale_get = evas_object_scale_get(NULL);
+   if (fabs(scale_get) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. ", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_scale_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_scale_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_scale_set_p);
+   tcase_add_test(tcase, utc_evas_object_scale_set_n);
+   tcase_add_test(tcase, utc_evas_object_scale_set_n2);
+   tcase_add_test(tcase, utc_evas_object_scale_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_scale_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_scale_set.c
deleted file mode 100644 (file)
index 31ae82b..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_scale_set evas_object_scale_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_scale_set
- * @{
- * @objective Positive test case checks if function sets the scaling factor for the given object properly.
- * @n Input Data:
- * @li pointer to text Evas_Object;
- * @li 0.5 as scaling factor.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new text object to the evas
- * @step 3 Set scaling factor of the object
- * @step 4 Get scaling factor of the object and compare it with value that was set
- *
- * @passcondition Set and got values of scaling factor are the same.
- * @}
- */
-START_TEST(utc_evas_object_scale_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_text_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_scale_set(obj, 0.5);
-   double scale = evas_object_scale_get(obj);
-   evas_free(evas);
-
-   if (fabs(scale - 0.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_scale_set
- * @{
- * @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: NULL instead of pointer to Evas_Object and 1.0 as scaling 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_scale_set_n)
-{
-
-   evas_object_scale_set(NULL, 1.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_scale_set
- * @{
- * @objective Negative test case 02 checks if function doesn't cause segmentation fault
- * if it is called with proper Evas_Object but with negative values of scale.
- * @n Input Data: pointer to Evas_Object, negative values of scale -1.0.
- * @li pointer to Evas_Object;
- * @li -1.0 as object's scale;
- *
- * @procedure
- * @step 1 Create new evas
- * @step 2 Add text object to the evas
- * @step 3 Call function once with negative values of scale
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_scale_set_n2)
-{
-
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_text_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_scale_set(obj, -1.0);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_scale_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_scale_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_scale_set_p);
-   tcase_add_test(tcase, utc_evas_object_scale_set_n);
-   tcase_add_test(tcase, utc_evas_object_scale_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get.c
deleted file mode 100644 (file)
index 4f72d21..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_align_get evas_object_size_hint_align_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_align_get
- * @{
- * @objective Positive test case checks if function gets the hints for the object's alignment properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to double variables to write horizontal and vertical alignment hints.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set alignment hints of the object - 0.6 as horizontal and 0.7 as vertical alignment.
- * @step 4 Get alignment hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of alignment hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_align_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_align_set(obj, 0.6, 0.7);
-   evas_object_size_hint_align_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_align_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
- * incorrect values to output parameters if it is called with NULL instead of any argument.
- * Due to documentation default alignment hint values are 0.5 for both axis.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to double variables to write horizontal and vertical hints values - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Create 2 local variables with value 0.5 - these are default alignment hints values
- * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 5 Check values of output parameters
- *
- * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.5.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_align_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.5, y = 0.5;
-
-   evas_object_size_hint_align_set(obj, x, y);
-   UNITEST_FUNC_NEG(evas_object_size_hint_align_get, obj, &x, &y);
-
-   evas_free(evas);
-
-   if (fabs(x - 0.5) > DBL_EPSILON || fabs(y - 0.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_align_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_align_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_get_set.c
new file mode 100644 (file)
index 0000000..ce6df8e
--- /dev/null
@@ -0,0 +1,255 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_align_set evas_object_size_hint_align_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_align_set
+ * @{
+ * @objective Positive test case 1 checks if function sets the hints for the object's alignment properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 0.6 as horizontal alignment hint;
+ * @li 0.7 as vertical alignment hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set alignment hints of the object
+ * @step 4 Get alignment hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of alignment hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_align_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_align_set(obj, 0.6, 0.7);
+   evas_object_size_hint_align_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_align_set
+ * @{
+ * @objective Positive test case 2 checks if function sets the hints for the object's alignment properly
+ * if it is called with special value EVAS_HINT_FILL as hints.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_HINT_FILL as horizontal and horizontal alignment hints.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set alignment hints of the object to special value EVAS_HINT_FILL
+ * @step 4 Get alignment hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of alignment hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_align_set_p2)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   evas_object_size_hint_align_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - EVAS_HINT_FILL) > DBL_EPSILON || fabs(y - EVAS_HINT_FILL) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_align_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 0.0 as alignment hints.
+ *
+ * @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_size_hint_align_set_n)
+{
+
+   evas_object_size_hint_align_set(NULL, 0.0, 0.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_align_set
+ * @{
+ * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
+ * and doesn't set alignment hints values more than 1.0 or less than 0.0 (but not equal EVAS_HINT_FILL).
+ * Due to documentations accepted values are in the 0.0 to 1.0 range.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li 1.1/-0.1 - horizontal and vertical alignment hints for first/second calls.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function with alignment hints more than 1.0
+ * @step 4 Get alignment hints of the object
+ * @step 5 Call tested function with alignment hints less than 0.0
+ * @step 6 Get alignment hints of the object
+ *
+ * @passcondition Function doesn't set incorrect alignment hints values. Got values aren't more than 1.0 or less than 0.0.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_size_hint_align_set_n2)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_align_set(obj, 1.1, 1.1);
+   evas_object_size_hint_align_get(obj, &x, &y);
+
+   if (x > 1.0 || y > 1.0)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   evas_object_size_hint_align_set(obj, -0.1, -0.1);
+   evas_object_size_hint_align_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (x < 0.0 || y < 0.0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_size_hint_align_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
+ * incorrect values to output parameters if it is called with NULL instead of any argument.
+ * Due to documentation default alignment hint values are 0.5 for both axis.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 2 pointers to double variables to write horizontal and vertical hints values - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Create 2 local variables with value 0.5 - these are default alignment hints values
+ * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 5 Check values of output parameters
+ *
+ * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.5.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_align_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.5, y = 0.5;
+
+   evas_object_size_hint_align_set(obj, x, y);
+   UNITEST_FUNC_NEG(evas_object_size_hint_align_get, obj, &x, &y);
+
+   evas_free(evas);
+
+   if (fabs(x - 0.5) > DBL_EPSILON || fabs(y - 0.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_align_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_align_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_p2);
+   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_size_hint_align_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_align_set.c
deleted file mode 100644 (file)
index a13b91a..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_align_set evas_object_size_hint_align_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_align_set
- * @{
- * @objective Positive test case 1 checks if function sets the hints for the object's alignment properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 0.6 as horizontal alignment hint;
- * @li 0.7 as vertical alignment hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set alignment hints of the object
- * @step 4 Get alignment hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of alignment hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_align_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_align_set(obj, 0.6, 0.7);
-   evas_object_size_hint_align_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_align_set
- * @{
- * @objective Positive test case 2 checks if function sets the hints for the object's alignment properly
- * if it is called with special value EVAS_HINT_FILL as hints.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_HINT_FILL as horizontal and horizontal alignment hints.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set alignment hints of the object to special value EVAS_HINT_FILL
- * @step 4 Get alignment hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of alignment hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_align_set_p2)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, EVAS_HINT_FILL);
-   evas_object_size_hint_align_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - EVAS_HINT_FILL) > DBL_EPSILON || fabs(y - EVAS_HINT_FILL) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_align_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 0.0 as alignment hints.
- *
- * @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_size_hint_align_set_n)
-{
-
-   evas_object_size_hint_align_set(NULL, 0.0, 0.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_align_set
- * @{
- * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
- * and doesn't set alignment hints values more than 1.0 or less than 0.0 (but not equal EVAS_HINT_FILL).
- * Due to documentations accepted values are in the 0.0 to 1.0 range.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li 1.1/-0.1 - horizontal and vertical alignment hints for first/second calls.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function with alignment hints more than 1.0
- * @step 4 Get alignment hints of the object
- * @step 5 Call tested function with alignment hints less than 0.0
- * @step 6 Get alignment hints of the object
- *
- * @passcondition Function doesn't set incorrect alignment hints values. Got values aren't more than 1.0 or less than 0.0.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_size_hint_align_set_n2)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_align_set(obj, 1.1, 1.1);
-   evas_object_size_hint_align_get(obj, &x, &y);
-
-   if (x > 1.0 || y > 1.0)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   evas_object_size_hint_align_set(obj, -0.1, -0.1);
-   evas_object_size_hint_align_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (x < 0.0 || y < 0.0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_align_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_align_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_p2);
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_size_hint_align_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get.c
deleted file mode 100644 (file)
index 90602f5..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_aspect_get evas_object_size_hint_aspect_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_aspect_get
- * @{
- * @objective Positive test case checks if function gets the hints for the object's aspect ratio properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 3 pointers to write aspect ratio type, width and height - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set aspect ratio hints of the object - type, width and height of aspect ratio
- * @step 4 Get aspect ratio hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of aspect ratio hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_aspect_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
-
-   evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_VERTICAL, 100, 200);
-   evas_object_size_hint_aspect_get(obj, &aspect, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200 || aspect != EVAS_ASPECT_CONTROL_VERTICAL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. aspect=%d, w=%d, h=%d", __FILE__, __LINE__, aspect, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_aspect_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 box Evas_Object;
- * @li 3 pointers to write aspect ratio type, width and height - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function 4 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_aspect_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
-
-   evas_object_size_hint_aspect_get(NULL, &aspect, &w, &h);
-   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to object..", __FILE__, __LINE__);
-   if (w != 0 || h != 0 || aspect != EVAS_ASPECT_CONTROL_NONE )
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. aspect=%d, w=%d, h=%d", __FILE__, __LINE__, aspect, w, h);
-        return;
-     }
-   evas_object_size_hint_aspect_get(obj, NULL, &w, &h);
-   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect type..", __FILE__, __LINE__);
-   evas_object_size_hint_aspect_get(obj, &aspect, NULL, &h);
-   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect width..", __FILE__, __LINE__);
-   evas_object_size_hint_aspect_get(obj, &aspect, &w, NULL);
-   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect height..", __FILE__, __LINE__);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_aspect_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_aspect_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_get_set.c
new file mode 100644 (file)
index 0000000..5bf1d37
--- /dev/null
@@ -0,0 +1,209 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_aspect_set evas_object_size_hint_aspect_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_aspect_set
+ * @{
+ * @objective Positive test case checks if function sets hints for the object's aspect ratio properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_ASPECT_CONTROL_VERTICAL as type of aspect ratio;
+ * @li 100 as aspect ratio width;
+ * @li 200 as aspect ratio height.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set aspect ratio hints of the object - type, width and height of aspect ratio
+ * @step 4 Get aspect ratio hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of aspect ratio hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_aspect_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
+
+   evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_VERTICAL, 100, 200);
+   evas_object_size_hint_aspect_get(obj, &aspect, &w, &h);
+   evas_free(evas);
+
+   if (w != 100 || h != 200 || aspect != EVAS_ASPECT_CONTROL_VERTICAL)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. aspect=%d, w=%d, h=%d", __FILE__, __LINE__, aspect, w, h);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_aspect_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 as pointer to Evas_Object;
+ * @li EVAS_ASPECT_CONTROL_NONE as type of aspect ratio;
+ * @li 0 as aspect ratio width and height.
+ *
+ * @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_size_hint_aspect_set_n)
+{
+
+   evas_object_size_hint_aspect_set(NULL, EVAS_ASPECT_CONTROL_NONE, 0, 0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_aspect_set
+ * @{
+ * @objective Negative test case 2 checks if function doesn't cause segmentation fault
+ * and doesn't set aspect ratio hints if it is called with incorrect second argument.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_ASPECT_CONTROL_NONE/-1 as aspect ratio hint for first/second call.
+ * @li 0 as aspect ratio width and height.
+ *
+ * @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 aspect ratio hint to EVAS_ASPECT_CONTROL_NONE
+ * @step 4 Try to set aspect ratio hint to -1
+ * @step 5 Get aspect ratio hint 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_size_hint_aspect_set_n2)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
+
+   evas_object_size_hint_aspect_set(obj, aspect, 0, 0);
+   evas_object_size_hint_aspect_set(obj, (Evas_Aspect_Control)-1, 0, 0);
+   evas_object_size_hint_aspect_get(obj, &aspect, NULL, NULL);
+   evas_free(evas);
+
+   if (aspect != EVAS_ASPECT_CONTROL_NONE)
+     {
+        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_size_hint_aspect_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 box Evas_Object;
+ * @li 3 pointers to write aspect ratio type, width and height - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function 4 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_aspect_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
+
+   evas_object_size_hint_aspect_get(NULL, &aspect, &w, &h);
+   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to object..", __FILE__, __LINE__);
+   if (w != 0 || h != 0 || aspect != EVAS_ASPECT_CONTROL_NONE )
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. aspect=%d, w=%d, h=%d", __FILE__, __LINE__, aspect, w, h);
+     }
+   evas_object_size_hint_aspect_get(obj, NULL, &w, &h);
+   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect type..", __FILE__, __LINE__);
+   evas_object_size_hint_aspect_get(obj, &aspect, NULL, &h);
+   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect width..", __FILE__, __LINE__);
+   evas_object_size_hint_aspect_get(obj, &aspect, &w, NULL);
+   printf("[TET_MSG]:: %s[%d] : Function is called with NULL as pointer to write aspect height..", __FILE__, __LINE__);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_aspect_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_aspect_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_aspect_set.c
deleted file mode 100644 (file)
index 933d1fa..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_aspect_set evas_object_size_hint_aspect_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_aspect_set
- * @{
- * @objective Positive test case checks if function sets hints for the object's aspect ratio properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_ASPECT_CONTROL_VERTICAL as type of aspect ratio;
- * @li 100 as aspect ratio width;
- * @li 200 as aspect ratio height.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set aspect ratio hints of the object - type, width and height of aspect ratio
- * @step 4 Get aspect ratio hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of aspect ratio hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_aspect_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
-
-   evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_VERTICAL, 100, 200);
-   evas_object_size_hint_aspect_get(obj, &aspect, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200 || aspect != EVAS_ASPECT_CONTROL_VERTICAL)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. aspect=%d, w=%d, h=%d", __FILE__, __LINE__, aspect, w, h);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_aspect_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 as pointer to Evas_Object;
- * @li EVAS_ASPECT_CONTROL_NONE as type of aspect ratio;
- * @li 0 as aspect ratio width and height.
- *
- * @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_size_hint_aspect_set_n)
-{
-
-   evas_object_size_hint_aspect_set(NULL, EVAS_ASPECT_CONTROL_NONE, 0, 0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_aspect_set
- * @{
- * @objective Negative test case 2 checks if function doesn't cause segmentation fault
- * and doesn't set aspect ratio hints if it is called with incorrect second argument.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_ASPECT_CONTROL_NONE/-1 as aspect ratio hint for first/second call.
- * @li 0 as aspect ratio width and height.
- *
- * @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 aspect ratio hint to EVAS_ASPECT_CONTROL_NONE
- * @step 4 Try to set aspect ratio hint to -1
- * @step 5 Get aspect ratio hint 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_size_hint_aspect_set_n2)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE;
-
-   evas_object_size_hint_aspect_set(obj, aspect, 0, 0);
-   evas_object_size_hint_aspect_set(obj, (Evas_Aspect_Control)-1, 0, 0);
-   evas_object_size_hint_aspect_get(obj, &aspect, NULL, NULL);
-   evas_free(evas);
-
-   if (aspect != EVAS_ASPECT_CONTROL_NONE)
-     {
-        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_size_hint_aspect_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_aspect_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_size_hint_aspect_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get.c
deleted file mode 100644 (file)
index ba53969..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-#include <check.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_display_mode_get evas_object_size_hint_display_mode_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_display_mode_get
- * @{
- * @objective Positive test case 01: checks if function gets the hints for the object's display properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set display hints of the object to EVAS_DISPLAY_MODE_COMPRESS.
- * @step 4 Get display hints of the object and compare them with value that was set
- *
- * @passcondition Set and got values of display hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_display_mode_get_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Display_Mode display_mode;
-   evas_object_size_hint_display_mode_set(obj, EVAS_DISPLAY_MODE_COMPRESS);
-   display_mode = evas_object_size_hint_display_mode_get(obj);
-   evas_free(evas);
-
-   if (display_mode != EVAS_DISPLAY_MODE_COMPRESS)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed. Expected %d but got %d",  __FILE__, __LINE__, EVAS_DISPLAY_MODE_COMPRESS, display_mode);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_display_mode_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_display_mode_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_display_mode_get_p_01);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_get_set.c
new file mode 100644 (file)
index 0000000..791ff8b
--- /dev/null
@@ -0,0 +1,103 @@
+#include <check.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_display_mode_set evas_object_size_hint_display_mode_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_display_mode_set
+ * @{
+ * @objective Positive test case 01: checks if function sets the hints for the object's display properly.
+ * @n Input Data:
+ * @li Pointer to Evas_Object;
+ * @li The display mode hint
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set display hints of the object to EVAS_DISPLAY_MODE_COMPRESS.
+ * @step 4 Get display hints of the object and compare them with value that was set
+ *
+ * @passcondition Set and got values of display hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_display_mode_set_p_01)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   Evas_Display_Mode display_mode;
+   evas_object_size_hint_display_mode_set(obj, EVAS_DISPLAY_MODE_COMPRESS);
+   display_mode = evas_object_size_hint_display_mode_get(obj);
+   evas_free(evas);
+
+   if (display_mode != EVAS_DISPLAY_MODE_COMPRESS)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed. Expected %d but got %d",  __FILE__, __LINE__, EVAS_DISPLAY_MODE_COMPRESS, display_mode);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_display_mode_set
+ * @{
+ * @objective Negative test case 01: checks if function doesn't cause segmentation fault
+ * if it is called with NULL instead of object argument.
+ * @li NULL instead of pointer to Evas_Object;
+ * @li The display mode hint
+ *
+ * @procedure
+ * @step 1 Call the function with NULL instead of the object argument.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_display_mode_set_n_01)
+{
+
+   evas_object_size_hint_display_mode_set(NULL, EVAS_DISPLAY_MODE_COMPRESS);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_display_mode_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_display_mode_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_display_mode_set_p_01);
+   tcase_add_test(tcase, utc_evas_object_size_hint_display_mode_set_n_01);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_display_mode_set.c
deleted file mode 100644 (file)
index 1df9fea..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#include <check.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_display_mode_set evas_object_size_hint_display_mode_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_display_mode_set
- * @{
- * @objective Positive test case 01: checks if function sets the hints for the object's display properly.
- * @n Input Data:
- * @li Pointer to Evas_Object;
- * @li The display mode hint
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set display hints of the object to EVAS_DISPLAY_MODE_COMPRESS.
- * @step 4 Get display hints of the object and compare them with value that was set
- *
- * @passcondition Set and got values of display hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_display_mode_set_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   Evas_Display_Mode display_mode;
-   evas_object_size_hint_display_mode_set(obj, EVAS_DISPLAY_MODE_COMPRESS);
-   display_mode = evas_object_size_hint_display_mode_get(obj);
-   evas_free(evas);
-
-   if (display_mode != EVAS_DISPLAY_MODE_COMPRESS)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed. Expected %d but got %d",  __FILE__, __LINE__, EVAS_DISPLAY_MODE_COMPRESS, display_mode);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_display_mode_set
- * @{
- * @objective Negative test case 01: checks if function doesn't cause segmentation fault
- * if it is called with NULL instead of object argument.
- * @li NULL instead of pointer to Evas_Object;
- * @li The display mode hint
- *
- * @procedure
- * @step 1 Call the function with NULL instead of the object argument.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_display_mode_set_n_01)
-{
-
-   evas_object_size_hint_display_mode_set(NULL, EVAS_DISPLAY_MODE_COMPRESS);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_display_mode_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_display_mode_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_display_mode_set_p_01);
-   tcase_add_test(tcase, utc_evas_object_size_hint_display_mode_set_n_01);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get.c
deleted file mode 100644 (file)
index 3a6781b..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_expand_get evas_object_size_hint_expand_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_expand_get
- * @{
- * @objective Positive test case 01: checks if function gets the hints for the object's expand properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to double variables to write horizontal and vertical expand hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set expand hints of the object
- * @step 4 Get expand hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of expand hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_expand_get_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_expand_set(obj, 0.6, 0.7);
-   evas_object_size_hint_expand_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_expand_get
- * @{
- * @objective Negative test case 01: checks if function doesn't cause segmentation fault and doesn't set
- * incorrect values to output parameters if it is called with NULL instead of any argument.
- * Due to documentation default expand hint values are 0.0 for both axis.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li Pointer to double variables to write horizontal output parameter.
- * @li Pointer to double variables to write vertical output parameter.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Create 2 local variables with value 0.0 - these are default expand hints values
- * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 5 Check values of output parameters
- *
- * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.0.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_expand_get_n_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_expand_get(NULL, &x, &y);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to object..", __FILE__, __LINE__);
-   evas_object_size_hint_expand_get(obj, NULL, &y);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write horizontal expand..", __FILE__, __LINE__);
-   evas_object_size_hint_expand_get(obj, &x, NULL);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write vertical expand..", __FILE__, __LINE__);
-
-   evas_free(evas);
-
-   if (x || y)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_expand_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_expand_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_expand_get_p_01);
-   tcase_add_test(tcase, utc_evas_object_size_hint_expand_get_n_01);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_get_set.c
new file mode 100644 (file)
index 0000000..8fb4cbb
--- /dev/null
@@ -0,0 +1,210 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_expand_set evas_object_size_hint_expand_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_expand_set
+ * @{
+ * @objective Positive test case 01: checks if function sets the hints for the object's expand properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 0.6 as horizontal expand hint;
+ * @li 0.7 as vertical expand hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set expand hints of the object
+ * @step 4 Get expand hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of expand hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_expand_set_p_01)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_expand_set(obj, 0.6, 0.7);
+   evas_object_size_hint_expand_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_expand_set
+ * @{
+ * @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;
+ * @li 0.0 as horizontal expand hints.
+ * @li 0.0 as vertical expand hints.
+ *
+ * @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_size_hint_expand_set_n_01)
+{
+
+   evas_object_size_hint_expand_set(NULL, 0.0, 0.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_expand_set
+ * @{
+ * @objective Negative test case 02: checks whether function doesn't cause segmentation fault
+ * and doesn't set negative expand hints values.
+ * Due to documentations accepted values must be nonnegative.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li -0.1 as horizontal expand hints.
+ * @li -0.1 as vertical expand hints.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function with negative expand hints
+ * @step 4 Get expand hints of the object
+ *
+ * @passcondition Function doesn't set incorrect expand hints values and there is no segfault. Got values aren't less than 0.0.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_size_hint_expand_set_n_02)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_expand_set(obj, -0.1, -0.1);
+   evas_object_size_hint_expand_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (x < 0.0 || y < 0.0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_size_hint_expand_get
+ * @{
+ * @objective Negative test case 01: checks if function doesn't cause segmentation fault and doesn't set
+ * incorrect values to output parameters if it is called with NULL instead of any argument.
+ * Due to documentation default expand hint values are 0.0 for both axis.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li Pointer to double variables to write horizontal output parameter.
+ * @li Pointer to double variables to write vertical output parameter.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Create 2 local variables with value 0.0 - these are default expand hints values
+ * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 5 Check values of output parameters
+ *
+ * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.0.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_expand_get_n_01)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_expand_get(NULL, &x, &y);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to object..", __FILE__, __LINE__);
+   evas_object_size_hint_expand_get(obj, NULL, &y);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write horizontal expand..", __FILE__, __LINE__);
+   evas_object_size_hint_expand_get(obj, &x, NULL);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write vertical expand..", __FILE__, __LINE__);
+
+   evas_free(evas);
+
+   if (x || y)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_expand_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_expand_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_p_01);
+   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_n_01);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_n_02);
+#endif
+   tcase_add_test(tcase, utc_evas_object_size_hint_expand_get_n_01);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_expand_set.c
deleted file mode 100644 (file)
index e582b84..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_expand_set evas_object_size_hint_expand_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_expand_set
- * @{
- * @objective Positive test case 01: checks if function sets the hints for the object's expand properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 0.6 as horizontal expand hint;
- * @li 0.7 as vertical expand hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set expand hints of the object
- * @step 4 Get expand hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of expand hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_expand_set_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_expand_set(obj, 0.6, 0.7);
-   evas_object_size_hint_expand_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_expand_set
- * @{
- * @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;
- * @li 0.0 as horizontal expand hints.
- * @li 0.0 as vertical expand hints.
- *
- * @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_size_hint_expand_set_n_01)
-{
-
-   evas_object_size_hint_expand_set(NULL, 0.0, 0.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_expand_set
- * @{
- * @objective Negative test case 02: checks whether function doesn't cause segmentation fault
- * and doesn't set negative expand hints values.
- * Due to documentations accepted values must be nonnegative.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li -0.1 as horizontal expand hints.
- * @li -0.1 as vertical expand hints.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function with negative expand hints
- * @step 4 Get expand hints of the object
- *
- * @passcondition Function doesn't set incorrect expand hints values and there is no segfault. Got values aren't less than 0.0.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_size_hint_expand_set_n_02)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_expand_set(obj, -0.1, -0.1);
-   evas_object_size_hint_expand_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (x < 0.0 || y < 0.0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_expand_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_expand_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_p_01);
-   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_n_01);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_size_hint_expand_set_n_02);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get.c
deleted file mode 100644 (file)
index daae971..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_fill_get evas_object_size_hint_fill_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_fill_get
- * @{
- * @objective Positive test case 01: checks if function gets the hints for the object's fill properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li Pointer to double variables to write horizontal hint value - output parameter.
- * @li Pointer to double variables to write vertical hint value - output parameter.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set fill hints of the object - 0.6 as horizontal and 0.7 as vertical fill.
- * @step 4 Get fill hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of fill hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_fill_get_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_fill_set(obj, 0.6, 0.7);
-   evas_object_size_hint_fill_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_fill_get
- * @{
- * @objective Negative test case 01: checks if function doesn't cause segmentation fault and doesn't set
- * incorrect values to output parameters if it is called with NULL instead of any argument.
- * Due to documentation default fill hint values are 0.5 for both axis.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li Pointer to double variables to write horizontal hint value - output parameter.
- * @li Pointer to double variables to write vertical hint value - output parameter.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Create 2 local variables with value 0.5 - these are default fill hints values
- * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 5 Check values of output parameters
- *
- * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.5.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_fill_get_n_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.5, y = 0.5;
-
-   evas_object_size_hint_fill_set(obj, x, y);
-   UNITEST_FUNC_NEG(evas_object_size_hint_fill_get, obj, &x, &y);
-
-   evas_free(evas);
-
-   if (fabs(x - 0.5) > DBL_EPSILON || fabs(y - 0.5) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_fill_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_fill_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_get_p_01);
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_get_n_01);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_get_set.c
new file mode 100644 (file)
index 0000000..7a6a9ca
--- /dev/null
@@ -0,0 +1,264 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_fill_set evas_object_size_hint_fill_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_fill_set
+ * @{
+ * @objective Positive test case 01: checks if function sets the hints for the object's fill properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 0.6 as horizontal fill hint;
+ * @li 0.7 as vertical fill hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set fill hints of the object
+ * @step 4 Get fill hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of fill hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_fill_set_p_01)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_fill_set(obj, 0.6, 0.7);
+   evas_object_size_hint_fill_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_fill_set
+ * @{
+ * @objective Positive test case 02: checks if function sets the hints for the object's fill properly
+ * if it is called with special value EVAS_HINT_FILL as hints.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li EVAS_HINT_FILL as horizontal fill hint.
+ * @li EVAS_HINT_FILL as vertical fill hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set fill hints of the object to special value EVAS_HINT_FILL
+ * @step 4 Get fill hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of fill hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_fill_set_p_02)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_fill_set(obj, EVAS_HINT_FILL, EVAS_HINT_FILL);
+   evas_object_size_hint_fill_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - EVAS_HINT_FILL) > DBL_EPSILON || fabs(y - EVAS_HINT_FILL) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_fill_set
+ * @{
+ * @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
+ * @li 0.0 as horizontal hint.
+ * @li 0.0 as vertical hint.
+ *
+ * @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_size_hint_fill_set_n_01)
+{
+
+   evas_object_size_hint_fill_set(NULL, 0.0, 0.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_fill_set
+ * @{
+ * @objective Negative test case 02: checks whether function doesn't cause segmentation fault
+ * and doesn't set fill hints values more than 1.0 or less than 0.0 (but not equal EVAS_HINT_FILL).
+ * Due to documentations accepted values are in the 0.0 to 1.0 range.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li 1.1/-0.1 - horizontal fill hints for first/second calls.
+ * @li 1.1/-0.1 - vertical fill hints for first/second calls.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function with fill hints more than 1.0
+ * @step 4 Get fill hints of the object
+ * @step 5 Call tested function with fill hints less than 0.0
+ * @step 6 Get fill hints of the object
+ *
+ * @passcondition Function doesn't set incorrect fill hints values. Got values aren't more than 1.0 or less than 0.0.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_size_hint_fill_set_n_02)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+        return;
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_fill_set(obj, 1.1, 1.1);
+   evas_object_size_hint_fill_get(obj, &x, &y);
+
+   if (x > 1.0 || y > 1.0)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+        return;
+     }
+   evas_object_size_hint_fill_set(obj, -0.1, -0.1);
+   evas_object_size_hint_fill_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (x < 0.0 || y < 0.0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+        return;
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_size_hint_fill_get
+ * @{
+ * @objective Negative test case 01: checks if function doesn't cause segmentation fault and doesn't set
+ * incorrect values to output parameters if it is called with NULL instead of any argument.
+ * Due to documentation default fill hint values are 0.5 for both axis.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li Pointer to double variables to write horizontal hint value - output parameter.
+ * @li Pointer to double variables to write vertical hint value - output parameter.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Create 2 local variables with value 0.5 - these are default fill hints values
+ * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 5 Check values of output parameters
+ *
+ * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.5.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_fill_get_n_01)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.5, y = 0.5;
+
+   evas_object_size_hint_fill_set(obj, x, y);
+   UNITEST_FUNC_NEG(evas_object_size_hint_fill_get, obj, &x, &y);
+
+   evas_free(evas);
+
+   if (fabs(x - 0.5) > DBL_EPSILON || fabs(y - 0.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_fill_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_fill_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_p_01);
+   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_p_02);
+   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_n_01);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_n_02);
+#endif
+   tcase_add_test(tcase, utc_evas_object_size_hint_fill_get_n_01);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_fill_set.c
deleted file mode 100644 (file)
index 27dad96..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_fill_set evas_object_size_hint_fill_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_fill_set
- * @{
- * @objective Positive test case 01: checks if function sets the hints for the object's fill properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 0.6 as horizontal fill hint;
- * @li 0.7 as vertical fill hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set fill hints of the object
- * @step 4 Get fill hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of fill hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_fill_set_p_01)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_fill_set(obj, 0.6, 0.7);
-   evas_object_size_hint_fill_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_fill_set
- * @{
- * @objective Positive test case 02: checks if function sets the hints for the object's fill properly
- * if it is called with special value EVAS_HINT_FILL as hints.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EVAS_HINT_FILL as horizontal fill hint.
- * @li EVAS_HINT_FILL as vertical fill hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set fill hints of the object to special value EVAS_HINT_FILL
- * @step 4 Get fill hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of fill hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_fill_set_p_02)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_fill_set(obj, EVAS_HINT_FILL, EVAS_HINT_FILL);
-   evas_object_size_hint_fill_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - EVAS_HINT_FILL) > DBL_EPSILON || fabs(y - EVAS_HINT_FILL) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_fill_set
- * @{
- * @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
- * @li 0.0 as horizontal hint.
- * @li 0.0 as vertical hint.
- *
- * @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_size_hint_fill_set_n_01)
-{
-
-   evas_object_size_hint_fill_set(NULL, 0.0, 0.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_fill_set
- * @{
- * @objective Negative test case 02: checks whether function doesn't cause segmentation fault
- * and doesn't set fill hints values more than 1.0 or less than 0.0 (but not equal EVAS_HINT_FILL).
- * Due to documentations accepted values are in the 0.0 to 1.0 range.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li 1.1/-0.1 - horizontal fill hints for first/second calls.
- * @li 1.1/-0.1 - vertical fill hints for first/second calls.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function with fill hints more than 1.0
- * @step 4 Get fill hints of the object
- * @step 5 Call tested function with fill hints less than 0.0
- * @step 6 Get fill hints of the object
- *
- * @passcondition Function doesn't set incorrect fill hints values. Got values aren't more than 1.0 or less than 0.0.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_size_hint_fill_set_n_02)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_fill_set(obj, 1.1, 1.1);
-   evas_object_size_hint_fill_get(obj, &x, &y);
-
-   if (x > 1.0 || y > 1.0)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   evas_object_size_hint_fill_set(obj, -0.1, -0.1);
-   evas_object_size_hint_fill_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (x < 0.0 || y < 0.0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_fill_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_fill_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_p_01);
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_p_02);
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_n_01);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_size_hint_fill_set_n_02);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get.c
deleted file mode 100644 (file)
index 524fae4..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_max_get evas_object_size_hint_max_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_max_get
- * @{
- * @objective Positive test case checks if function gets the hints for the object's maximum size properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to integer to write maximum width and height hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set maximum size hints of the object
- * @step 4 Get maximum size hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of maximum size hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_max_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   evas_object_size_hint_max_set(obj, 100, 200);
-   evas_object_size_hint_max_get(obj, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200)
-     {
-        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_size_hint_max_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 box Evas_Object;
- * @li 2 pointers to integer to write maximum width and height hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas object
- * @step 2 Add new box to the evas
- * @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_size_hint_max_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   UNITEST_FUNC_NEG(evas_object_size_hint_max_get, obj, &w, &h);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_max_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_max_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_max_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_max_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_get_set.c
new file mode 100644 (file)
index 0000000..c166710
--- /dev/null
@@ -0,0 +1,183 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_max_set evas_object_size_hint_max_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_max_set
+ * @{
+ * @objective Positive test case checks if function sets the hints for the object's maximum size properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 100 as maximum width hint;
+ * @li 200 as maximum height hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set maximum size hints of the object
+ * @step 4 Get maximum size hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of maximum size hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_max_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+
+   evas_object_size_hint_max_set(obj, 100, 200);
+   evas_object_size_hint_max_get(obj, &w, &h);
+   evas_free(evas);
+
+   if (w != 100 || h != 200)
+     {
+        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_size_hint_max_set
+ * @{
+ * @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 as pointer to Evas_Object;
+ * @li 0 as maximum width and height hints.
+ *
+ * @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_size_hint_max_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_size_hint_max_set, NULL, 0, 0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_max_set
+ * @{
+ * @objective Negative test case 02 checks if function doesn't cause segmentation fault
+ * if it is called with proper Evas_Object but with negative values of hints for an object's maximum size.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li -100 as maximum width and height hints;
+ *
+ * @procedure
+ * @step 1 Create new evas
+ * @step 2 Add text object to the evas
+ * @step 3 Call function once with negative values of hints for an object's maximum size
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_max_set_n2)
+{
+
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_text_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   evas_object_size_hint_max_set(obj, -100, -100);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_max_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 box Evas_Object;
+ * @li 2 pointers to integer to write maximum width and height hints - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas object
+ * @step 2 Add new box to the evas
+ * @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_size_hint_max_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+
+   UNITEST_FUNC_NEG(evas_object_size_hint_max_get, obj, &w, &h);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_max_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_max_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_n);
+   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_n2);
+   tcase_add_test(tcase, utc_evas_object_size_hint_max_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_max_set.c
deleted file mode 100644 (file)
index 6ca6af3..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_max_set evas_object_size_hint_max_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_max_set
- * @{
- * @objective Positive test case checks if function sets the hints for the object's maximum size properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 100 as maximum width hint;
- * @li 200 as maximum height hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set maximum size hints of the object
- * @step 4 Get maximum size hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of maximum size hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_max_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   evas_object_size_hint_max_set(obj, 100, 200);
-   evas_object_size_hint_max_get(obj, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200)
-     {
-        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_size_hint_max_set
- * @{
- * @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 as pointer to Evas_Object;
- * @li 0 as maximum width and height hints.
- *
- * @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_size_hint_max_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_size_hint_max_set, NULL, 0, 0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_max_set
- * @{
- * @objective Negative test case 02 checks if function doesn't cause segmentation fault
- * if it is called with proper Evas_Object but with negative values of hints for an object's maximum size.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li -100 as maximum width and height hints;
- *
- * @procedure
- * @step 1 Create new evas
- * @step 2 Add text object to the evas
- * @step 3 Call function once with negative values of hints for an object's maximum size
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_max_set_n2)
-{
-
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_text_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas_object_size_hint_max_set(obj, -100, -100);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_max_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_max_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_n);
-   tcase_add_test(tcase, utc_evas_object_size_hint_max_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get.c
deleted file mode 100644 (file)
index f4fb62c..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_min_get evas_object_size_hint_min_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_min_get
- * @{
- * @objective Positive test case checks if function gets the hints for the object's minimum size properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to integer to write minimum width and height hints values - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set minimum size hints of the object
- * @step 4 Get minimum size hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of minimum size hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_min_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   evas_object_size_hint_min_set(obj, 100, 200);
-   evas_object_size_hint_min_get(obj, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200)
-     {
-        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_size_hint_min_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 box Evas_Object;
- * @li 2 pointers to integer to write minimum width and height hints values - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas object
- * @step 2 Add new box to the evas
- * @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_size_hint_min_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   UNITEST_FUNC_NEG(evas_object_size_hint_min_get, obj, &w, &h);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_min_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_min_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_min_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_min_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_get_set.c
new file mode 100644 (file)
index 0000000..6942cbe
--- /dev/null
@@ -0,0 +1,183 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_min_set evas_object_size_hint_min_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_min_set
+ * @{
+ * @objective Positive test case checks if function sets the hints for the object's minimum size properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 100 as minimum width hint;
+ * @li 200 as minimum height hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set minimum size hints of the object
+ * @step 4 Get minimum size hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of minimum size hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_min_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+
+   evas_object_size_hint_min_set(obj, 100, 200);
+   evas_object_size_hint_min_get(obj, &w, &h);
+   evas_free(evas);
+
+   if (w != 100 || h != 200)
+     {
+        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_size_hint_min_set
+ * @{
+ * @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 as pointer to Evas_Object;
+ * @li 0 as minimum width and height hints.
+ *
+ * @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_size_hint_min_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_size_hint_min_set, NULL, 0, 0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_min_set
+ * @{
+ * @objective Negative test case 02 checks if function doesn't cause segmentation fault
+ * if it is called with proper Evas_Object but with negative values of hints for an object's minimum size.
+ * @n Input Data:
+ * @lipointer to Evas_Object;
+ * @li -100 as minimum width and height hints;
+ *
+ * @procedure
+ * @step 1 Create new evas
+ * @step 2 Add text object to the evas
+ * @step 3 Call function once with negative values of hints for an object's minimum size
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_min_set_n2)
+{
+
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_text_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   evas_object_size_hint_min_set(obj, -100, -100);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_min_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 box Evas_Object;
+ * @li 2 pointers to integer to write minimum width and height hints values - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas object
+ * @step 2 Add new box to the evas
+ * @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_size_hint_min_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord w = 0, h = 0;
+
+   UNITEST_FUNC_NEG(evas_object_size_hint_min_get, obj, &w, &h);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_min_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_min_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_n);
+   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_n2);
+   tcase_add_test(tcase, utc_evas_object_size_hint_min_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_min_set.c
deleted file mode 100644 (file)
index b57cac5..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_min_set evas_object_size_hint_min_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_min_set
- * @{
- * @objective Positive test case checks if function sets the hints for the object's minimum size properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 100 as minimum width hint;
- * @li 200 as minimum height hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set minimum size hints of the object
- * @step 4 Get minimum size hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of minimum size hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_min_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord w = 0, h = 0;
-
-   evas_object_size_hint_min_set(obj, 100, 200);
-   evas_object_size_hint_min_get(obj, &w, &h);
-   evas_free(evas);
-
-   if (w != 100 || h != 200)
-     {
-        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_size_hint_min_set
- * @{
- * @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 as pointer to Evas_Object;
- * @li 0 as minimum width and height hints.
- *
- * @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_size_hint_min_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_size_hint_min_set, NULL, 0, 0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_min_set
- * @{
- * @objective Negative test case 02 checks if function doesn't cause segmentation fault
- * if it is called with proper Evas_Object but with negative values of hints for an object's minimum size.
- * @n Input Data:
- * @lipointer to Evas_Object;
- * @li -100 as minimum width and height hints;
- *
- * @procedure
- * @step 1 Create new evas
- * @step 2 Add text object to the evas
- * @step 3 Call function once with negative values of hints for an object's minimum size
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_min_set_n2)
-{
-
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_text_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas_object_size_hint_min_set(obj, -100, -100);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_min_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_min_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_n);
-   tcase_add_test(tcase, utc_evas_object_size_hint_min_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get.c
deleted file mode 100644 (file)
index c8688b3..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_padding_get evas_object_size_hint_padding_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_padding_get
- * @{
- * @objective Positive test case checks if function gets hints for the object's padding space properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 4 pointers to integer to write left, right, top and bottom padding hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Set padding hints of the object
- * @step 4 Get padding hints of the object and compare with set values
- *
- * @passcondition Set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_padding_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord l = 0, r = 0, t = 0, b = 0;
-
-   evas_object_size_hint_padding_set(obj, 1, 2, 3, 4);
-   evas_object_size_hint_padding_get(obj, &l, &r, &t, &b);
-   evas_free(evas);
-
-   if (l != 1 || r != 2 || t != 3 || b != 4)
-     {
-        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_size_hint_padding_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 Evas_Object;
- * @li 4 pointers to integer to write left, right, top and bottom padding hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas object.
- * @step 2 Create new box Evas_Object.
- * @step 3 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_padding_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord l = 0, r = 0, t = 0, b = 0;
-
-   UNITEST_FUNC_NEG(evas_object_size_hint_padding_get, obj, &l, &r, &t, &b);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_padding_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_padding_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_padding_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_padding_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_get_set.c
new file mode 100644 (file)
index 0000000..dc7350c
--- /dev/null
@@ -0,0 +1,183 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_padding_set evas_object_size_hint_padding_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_padding_set
+ * @{
+ * @objective Positive test case checks if function sets hints for the object's padding space properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 1 as left padding;
+ * @li 2 as right padding;
+ * @li 3 as top padding;
+ * @li 4 as bottom padding.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Set padding hints of the object
+ * @step 4 Get padding hints of the object and compare with set values
+ *
+ * @passcondition Set and got values are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_padding_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord l = 0, r = 0, t = 0, b = 0;
+
+   evas_object_size_hint_padding_set(obj, 1, 2, 3, 4);
+   evas_object_size_hint_padding_get(obj, &l, &r, &t, &b);
+   evas_free(evas);
+
+   if (l != 1 || r != 2 || t != 3 || b != 4)
+     {
+        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_size_hint_padding_set
+ * @{
+ * @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: NULL instead of pointer to Evas_Object and 0 as padding hints.
+ *
+ * @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_size_hint_padding_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_size_hint_padding_set, NULL, 0, 0, 0, 0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_padding_set
+ * @{
+ * @objective Negative test case 02 checks if function doesn't cause segmentation fault
+ * if it is called with proper Evas_Object but with negative values of padding hints.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li -5 as padding hints;
+ *
+ * @procedure
+ * @step 1 Create new evas
+ * @step 2 Add box object to the evas
+ * @step 3 Call function once with negative values of padding hints
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_padding_set_n2)
+{
+
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+
+   evas_object_size_hint_padding_set(obj, -5, -5, -5, -5);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_padding_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 Evas_Object;
+ * @li 4 pointers to integer to write left, right, top and bottom padding hints - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas object.
+ * @step 2 Create new box Evas_Object.
+ * @step 3 Call function 5 times and pass (in turn) NULL instead of one from valid arguments.
+ *
+ * @passcondition Function doesn't cause segmentation fault.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_padding_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   Evas_Coord l = 0, r = 0, t = 0, b = 0;
+
+   UNITEST_FUNC_NEG(evas_object_size_hint_padding_get, obj, &l, &r, &t, &b);
+
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_padding_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_padding_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_n);
+   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_n2);
+   tcase_add_test(tcase, utc_evas_object_size_hint_padding_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_padding_set.c
deleted file mode 100644 (file)
index 60412c6..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_padding_set evas_object_size_hint_padding_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_padding_set
- * @{
- * @objective Positive test case checks if function sets hints for the object's padding space properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 1 as left padding;
- * @li 2 as right padding;
- * @li 3 as top padding;
- * @li 4 as bottom padding.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Set padding hints of the object
- * @step 4 Get padding hints of the object and compare with set values
- *
- * @passcondition Set and got values are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_padding_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   Evas_Coord l = 0, r = 0, t = 0, b = 0;
-
-   evas_object_size_hint_padding_set(obj, 1, 2, 3, 4);
-   evas_object_size_hint_padding_get(obj, &l, &r, &t, &b);
-   evas_free(evas);
-
-   if (l != 1 || r != 2 || t != 3 || b != 4)
-     {
-        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_size_hint_padding_set
- * @{
- * @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: NULL instead of pointer to Evas_Object and 0 as padding hints.
- *
- * @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_size_hint_padding_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0, 0, 0, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_size_hint_padding_set, NULL, 0, 0, 0, 0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_padding_set
- * @{
- * @objective Negative test case 02 checks if function doesn't cause segmentation fault
- * if it is called with proper Evas_Object but with negative values of padding hints.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li -5 as padding hints;
- *
- * @procedure
- * @step 1 Create new evas
- * @step 2 Add box object to the evas
- * @step 3 Call function once with negative values of padding hints
- *
- * @passcondition Function doesn't cause segmentation fault.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_padding_set_n2)
-{
-
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-
-   evas_object_size_hint_padding_set(obj, -5, -5, -5, -5);
-
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_padding_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_padding_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_n);
-   tcase_add_test(tcase, utc_evas_object_size_hint_padding_set_n2);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get.c
deleted file mode 100644 (file)
index f99ee03..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_weight_get evas_object_size_hint_weight_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_weight_get
- * @{
- * @objective Positive test case checks if function gets the hints for the object's weight properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to double variables to write horizontal and vertical weight hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set weight hints of the object
- * @step 4 Get weight hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of weight hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_weight_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_weight_set(obj, 0.6, 0.7);
-   evas_object_size_hint_weight_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_weight_get
- * @{
- * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
- * incorrect values to output parameters if it is called with NULL instead of any argument.
- * Due to documentation default weight hint values are 0.0 for both axis.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 2 pointers to double variables to write horizontal and vertical hints - output parameters.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Create 2 local variables with value 0.0 - these are default weight hints values
- * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
- * @step 5 Check values of output parameters
- *
- * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.0.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_weight_get_n)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_weight_get(NULL, &x, &y);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to object..", __FILE__, __LINE__);
-   evas_object_size_hint_weight_get(obj, NULL, &y);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write horizontal weight..", __FILE__, __LINE__);
-   evas_object_size_hint_weight_get(obj, &x, NULL);
-   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write vertical weight..", __FILE__, __LINE__);
-
-   evas_free(evas);
-
-   if (x || y)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_weight_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_weight_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_weight_get_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_weight_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_get_set.c
new file mode 100644 (file)
index 0000000..ab6e13e
--- /dev/null
@@ -0,0 +1,207 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include <math.h>
+#include <float.h>
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_size_hint_weight_set evas_object_size_hint_weight_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_size_hint_weight_set
+ * @{
+ * @objective Positive test case checks if function sets the hints for the object's weight properly.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 0.6 as horizontal weight hint;
+ * @li 0.7 as vertical weight hint.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set weight hints of the object
+ * @step 4 Get weight hints of the object and compare them with values that were set
+ *
+ * @passcondition Set and got values of weight hints are the same.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_weight_set_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_weight_set(obj, 0.6, 0.7);
+   evas_object_size_hint_weight_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_weight_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;
+ * @li 0.0 as horizontal and vertical weight hints.
+ *
+ * @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_size_hint_weight_set_n)
+{
+
+   evas_object_size_hint_weight_set(NULL, 0.0, 0.0);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_size_hint_weight_set
+ * @{
+ * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
+ * and doesn't set negative weight hints values.
+ * Due to documentations accepted values must be nonnegative.
+ * @n Input Data:
+ * @li pointer to Evas_Object;
+ * @li -0.1 as horizontal and vertical weight hints.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Call tested function with negative weight hints
+ * @step 4 Get weight hints of the object
+ *
+ * @passcondition Function doesn't set incorrect weight hints values. Got values aren't less than 0.0.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_evas_object_size_hint_weight_set_n2)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_weight_set(obj, -0.1, -0.1);
+   evas_object_size_hint_weight_get(obj, &x, &y);
+   evas_free(evas);
+
+   if (x < 0.0 || y < 0.0)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @addtogroup evas_object_size_hint_weight_get
+ * @{
+ * @objective Negative test case checks if function doesn't cause segmentation fault and doesn't set
+ * incorrect values to output parameters if it is called with NULL instead of any argument.
+ * Due to documentation default weight hint values are 0.0 for both axis.
+ * @n Input Data:
+ * @li pointer to box Evas_Object;
+ * @li 2 pointers to double variables to write horizontal and vertical hints - output parameters.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box object to the evas
+ * @step 3 Create 2 local variables with value 0.0 - these are default weight hints values
+ * @step 4 Call tested function 3 times and pass (in turn) NULL instead of one from valid arguments.
+ * @step 5 Check values of output parameters
+ *
+ * @passcondition Function doesn't cause segmentation fault. Output parameter must be equal to 0.0.
+ * @}
+ */
+START_TEST(utc_evas_object_size_hint_weight_get_n)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   double x = 0.0, y = 0.0;
+
+   evas_object_size_hint_weight_get(NULL, &x, &y);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to object..", __FILE__, __LINE__);
+   evas_object_size_hint_weight_get(obj, NULL, &y);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write horizontal weight..", __FILE__, __LINE__);
+   evas_object_size_hint_weight_get(obj, &x, NULL);
+   printf("[TET_MSG]:: %s[%d] : Function was called with NULL as pointer to write vertical weight..", __FILE__, __LINE__);
+
+   evas_free(evas);
+
+   if (x || y)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_size_hint_weight_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_size_hint_weight_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_p);
+   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_n2);
+#endif
+   tcase_add_test(tcase, utc_evas_object_size_hint_weight_get_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_size_hint_weight_set.c
deleted file mode 100644 (file)
index aa9525e..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include <math.h>
-#include <float.h>
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_size_hint_weight_set evas_object_size_hint_weight_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_size_hint_weight_set
- * @{
- * @objective Positive test case checks if function sets the hints for the object's weight properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li 0.6 as horizontal weight hint;
- * @li 0.7 as vertical weight hint.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set weight hints of the object
- * @step 4 Get weight hints of the object and compare them with values that were set
- *
- * @passcondition Set and got values of weight hints are the same.
- * @}
- */
-START_TEST(utc_evas_object_size_hint_weight_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_weight_set(obj, 0.6, 0.7);
-   evas_object_size_hint_weight_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (fabs(x - 0.6) > DBL_EPSILON || fabs(y - 0.7) > DBL_EPSILON)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_weight_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;
- * @li 0.0 as horizontal and vertical weight hints.
- *
- * @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_size_hint_weight_set_n)
-{
-
-   evas_object_size_hint_weight_set(NULL, 0.0, 0.0);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_size_hint_weight_set
- * @{
- * @objective Negative test case 2 checks whether function doesn't cause segmentation fault
- * and doesn't set negative weight hints values.
- * Due to documentations accepted values must be nonnegative.
- * @n Input Data:
- * @li pointer to Evas_Object;
- * @li -0.1 as horizontal and vertical weight hints.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box object to the evas
- * @step 3 Call tested function with negative weight hints
- * @step 4 Get weight hints of the object
- *
- * @passcondition Function doesn't set incorrect weight hints values. Got values aren't less than 0.0.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_evas_object_size_hint_weight_set_n2)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   double x = 0.0, y = 0.0;
-
-   evas_object_size_hint_weight_set(obj, -0.1, -0.1);
-   evas_object_size_hint_weight_get(obj, &x, &y);
-   evas_free(evas);
-
-   if (x < 0.0 || y < 0.0)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. x=%f, y=%f", __FILE__, __LINE__, x, y);
-        return;
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-/**
- *@}
- */
-
-TCase * _utc_evas_object_size_hint_weight_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_size_hint_weight_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_p);
-   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_n);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_evas_object_size_hint_weight_set_n2);
-#endif
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get.c b/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get.c
deleted file mode 100644 (file)
index 57c58d2..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_static_clip_get evas_object_static_clip_get()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_static_clip_get
- * @{
- * @objective Positive test case checks if function returns proper state of static clipper
- * hint flag of the given object.
- * @n Input Data: pointer to box Evas_Object.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set static clipper hint flag of the object to EINA_TRUE
- * @step 4 Check if the hint flag enabled
- * @step 5 Set "static clipper" hint flag to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function returns proper state of static clipper hint flag.
- * @}
- */
-START_TEST(utc_evas_object_static_clip_get_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_static_clip_set(obj, EINA_TRUE);
-
-   if (evas_object_static_clip_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not enabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_static_clip_set(obj, EINA_FALSE);
-
-   if (evas_object_static_clip_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not disabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_static_clip_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 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 EINA_FALSE.
- * @}
- */
-START_TEST(utc_evas_object_static_clip_get_n)
-{
-
-   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_static_clip_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_static_clip_get()
-{
-   TCase *tcase = tcase_create("utc_evas_object_static_clip_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_static_clip_get_p);
-   tcase_add_test(tcase, utc_evas_object_static_clip_get_n);
-   return tcase;
-}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_get_set.c
new file mode 100644 (file)
index 0000000..a1ee1f6
--- /dev/null
@@ -0,0 +1,139 @@
+#include <check.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+#include "../../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup evas_object_main
+ * @{
+ * @defgroup evas_object_static_clip_get evas_object_static_clip_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize with evas_init().
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   evas_init();
+}
+
+static void
+teardown(void)
+{
+   printf(" ============ Cleanup ============ \n");
+   evas_shutdown();
+}
+
+/**
+ * @addtogroup evas_object_static_clip_get
+ * @{
+ * @objective Positive test case checks if function returns proper state of static clipper
+ * hint flag of the given object.
+ * @n Input Data: pointer to box Evas_Object.
+ *
+ * @procedure
+ * @step 1 Create new Evas
+ * @step 2 Add new box to the evas
+ * @step 3 Set static clipper hint flag of the object to EINA_TRUE
+ * @step 4 Check if the hint flag enabled
+ * @step 5 Set "static clipper" hint flag to EINA_FALSE
+ * @step 6 Check if parameter disabled
+ *
+ * @passcondition Function returns proper state of static clipper hint flag.
+ * @}
+ */
+START_TEST(utc_evas_object_static_clip_get_p)
+{
+   Evas *evas = evas_new();
+   Evas_Object *obj = evas_object_box_add(evas);
+
+   if (!obj)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
+     }
+   evas_object_static_clip_set(obj, EINA_TRUE);
+
+   if (evas_object_static_clip_get(obj) == EINA_FALSE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not enabled..", __FILE__, __LINE__);
+     }
+   evas_object_static_clip_set(obj, EINA_FALSE);
+
+   if (evas_object_static_clip_get(obj) == EINA_TRUE)
+     {
+        evas_free(evas);
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not disabled..", __FILE__, __LINE__);
+     }
+   evas_free(evas);
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup evas_object_static_clip_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 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 EINA_FALSE.
+ * @}
+ */
+START_TEST(utc_evas_object_static_clip_get_n)
+{
+
+   if (UNITEST_FUNC_NEG_RET(EINA_FALSE, evas_object_static_clip_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_static_clip_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:
+ * @li NULL as pointer to box Evas_Object;
+ * @li EINA_TRUE to enable static clipper hint 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_static_clip_set_n)
+{
+
+   CREATE_CHECKED_ARGS_ARRAY(1, 0);
+   UNITEST_FUNC_NEG_CA(evas_object_static_clip_set, NULL, EINA_TRUE);
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_evas_object_static_clip_get_set()
+{
+   TCase *tcase = tcase_create("utc_evas_object_static_clip_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_evas_object_static_clip_get_p);
+   tcase_add_test(tcase, utc_evas_object_static_clip_get_n);
+   tcase_add_test(tcase, utc_evas_object_static_clip_set_n);
+   return tcase;
+}
diff --git a/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_set.c b/TC/evas/canvas/evas_object_main/utc_evas_object_static_clip_set.c
deleted file mode 100644 (file)
index b030e74..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-#include <check.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "../../../utc_negative_unitest.h"
-
-/**
- * @addtogroup evas_object_main
- * @{
- * @defgroup evas_object_static_clip_set evas_object_static_clip_set()
- *
- *
- * @precondition
- * @step 1 Initialize with evas_init().
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   evas_init();
-}
-
-static void
-teardown(void)
-{
-   printf(" ============ Cleanup ============ \n");
-   evas_shutdown();
-}
-
-/**
- * @addtogroup evas_object_static_clip_set
- * @{
- * @objective Positive test case checks if function enables and disables state of static clipper
- * hint flag of the given object properly.
- * @n Input Data:
- * @li pointer to box Evas_Object;
- * @li EINA_TRUE/EINA_FALSE for first/second call.
- *
- * @procedure
- * @step 1 Create new Evas
- * @step 2 Add new box to the evas
- * @step 3 Set static clipper hint flag of the object to EINA_TRUE
- * @step 4 Check if the hint flag enabled
- * @step 5 Set static clipper hint flag to EINA_FALSE
- * @step 6 Check if parameter disabled
- *
- * @passcondition Function enables and disables state of static clipper hint flag properly.
- * @}
- */
-START_TEST(utc_evas_object_static_clip_set_p)
-{
-   Evas *evas = evas_new();
-   Evas_Object *obj = evas_object_box_add(evas);
-
-   if (!obj)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Evas_Object is not created..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_static_clip_set(obj, EINA_TRUE);
-
-   if (evas_object_static_clip_get(obj) == EINA_FALSE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not enabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_object_static_clip_set(obj, EINA_FALSE);
-
-   if (evas_object_static_clip_get(obj) == EINA_TRUE)
-     {
-        evas_free(evas);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.. Static-clipper hint is not disabled..", __FILE__, __LINE__);
-        return;
-     }
-   evas_free(evas);
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup evas_object_static_clip_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:
- * @li NULL as pointer to box Evas_Object;
- * @li EINA_TRUE to enable static clipper hint 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_static_clip_set_n)
-{
-
-   CREATE_CHECKED_ARGS_ARRAY(1, 0);
-   UNITEST_FUNC_NEG_CA(evas_object_static_clip_set, NULL, EINA_TRUE);
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_evas_object_static_clip_set()
-{
-   TCase *tcase = tcase_create("utc_evas_object_static_clip_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_evas_object_static_clip_set_p);
-   tcase_add_test(tcase, utc_evas_object_static_clip_set_n);
-   return tcase;
-}