utc_elm_config_scroll_xxxx: Merged TCs(*_get and *_set) to reduce duplicate test... 94/188494/3
authorAbhishek Shrivastava <a.shrivastav@samsung.com>
Wed, 5 Sep 2018 09:35:08 +0000 (15:05 +0530)
committerYeongJong Lee <yj34.lee@samsung.com>
Thu, 6 Sep 2018 08:06:05 +0000 (08:06 +0000)
Change-Id: If7ff8f448e0823055d755794732dc0ca1e841043

43 files changed:
TC/elementary/scroll/tslist
TC/elementary/scroll/tslist_mobile
TC/elementary/scroll/tslist_tv
TC/elementary/scroll/tslist_wear
TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_item_valign_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_item_valign_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_item_valign_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_set.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get.c [deleted file]
TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get_set.c [new file with mode: 0644]
TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_set.c [deleted file]

index 8d2b631528fcec185bb254b2cd65e846c4516d3b..3571348ae1a5ce9ea1dcc2e246c4d9dadfa483e8 100644 (file)
@@ -1,26 +1,13 @@
-utc_elm_config_scroll_bounce_enabled_get.c
-utc_elm_config_scroll_bounce_enabled_set.c
-utc_elm_config_scroll_bounce_friction_get.c
-utc_elm_config_scroll_bounce_friction_set.c
-utc_elm_config_scroll_bring_in_scroll_friction_get.c
-utc_elm_config_scroll_bring_in_scroll_friction_set.c
-utc_elm_config_scroll_page_scroll_friction_get.c
-utc_elm_config_scroll_page_scroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_border_friction_get.c
-utc_elm_config_scroll_thumbscroll_border_friction_set.c
-utc_elm_config_scroll_thumbscroll_enabled_get.c
-utc_elm_config_scroll_thumbscroll_enabled_set.c
-utc_elm_config_scroll_thumbscroll_friction_get.c
-utc_elm_config_scroll_thumbscroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c
-utc_elm_config_scroll_thumbscroll_threshold_get.c
-utc_elm_config_scroll_thumbscroll_threshold_set.c
-utc_elm_config_scroll_zoom_friction_get.c
-utc_elm_config_scroll_zoom_friction_set.c
-utc_elm_config_scroll_item_align_enabled_get.c
-utc_elm_config_scroll_item_align_enabled_set.c
-utc_elm_config_scroll_item_valign_get.c
-utc_elm_config_scroll_item_valign_set.c
+utc_elm_config_scroll_bounce_enabled_get_set.c
+utc_elm_config_scroll_bounce_friction_get_set.c
+utc_elm_config_scroll_bring_in_scroll_friction_get_set.c
+utc_elm_config_scroll_page_scroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_border_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_enabled_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_threshold_get_set.c
+utc_elm_config_scroll_zoom_friction_get_set.c
+utc_elm_config_scroll_item_align_enabled_get_set.c
+utc_elm_config_scroll_item_valign_get_set.c
\ No newline at end of file
index 8d2b631528fcec185bb254b2cd65e846c4516d3b..3571348ae1a5ce9ea1dcc2e246c4d9dadfa483e8 100644 (file)
@@ -1,26 +1,13 @@
-utc_elm_config_scroll_bounce_enabled_get.c
-utc_elm_config_scroll_bounce_enabled_set.c
-utc_elm_config_scroll_bounce_friction_get.c
-utc_elm_config_scroll_bounce_friction_set.c
-utc_elm_config_scroll_bring_in_scroll_friction_get.c
-utc_elm_config_scroll_bring_in_scroll_friction_set.c
-utc_elm_config_scroll_page_scroll_friction_get.c
-utc_elm_config_scroll_page_scroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_border_friction_get.c
-utc_elm_config_scroll_thumbscroll_border_friction_set.c
-utc_elm_config_scroll_thumbscroll_enabled_get.c
-utc_elm_config_scroll_thumbscroll_enabled_set.c
-utc_elm_config_scroll_thumbscroll_friction_get.c
-utc_elm_config_scroll_thumbscroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c
-utc_elm_config_scroll_thumbscroll_threshold_get.c
-utc_elm_config_scroll_thumbscroll_threshold_set.c
-utc_elm_config_scroll_zoom_friction_get.c
-utc_elm_config_scroll_zoom_friction_set.c
-utc_elm_config_scroll_item_align_enabled_get.c
-utc_elm_config_scroll_item_align_enabled_set.c
-utc_elm_config_scroll_item_valign_get.c
-utc_elm_config_scroll_item_valign_set.c
+utc_elm_config_scroll_bounce_enabled_get_set.c
+utc_elm_config_scroll_bounce_friction_get_set.c
+utc_elm_config_scroll_bring_in_scroll_friction_get_set.c
+utc_elm_config_scroll_page_scroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_border_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_enabled_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_threshold_get_set.c
+utc_elm_config_scroll_zoom_friction_get_set.c
+utc_elm_config_scroll_item_align_enabled_get_set.c
+utc_elm_config_scroll_item_valign_get_set.c
\ No newline at end of file
index 94363c300f7d2a8efded090a83abb58aa9fa25f9..12a9aca54b3e0949d4b04bab93844770680982a3 100644 (file)
@@ -1,26 +1,15 @@
-utc_elm_config_scroll_bounce_enabled_get.c
-utc_elm_config_scroll_bounce_enabled_set.c
-utc_elm_config_scroll_bounce_friction_get.c
-utc_elm_config_scroll_bounce_friction_set.c
-utc_elm_config_scroll_bring_in_scroll_friction_get.c
-utc_elm_config_scroll_bring_in_scroll_friction_set.c
-utc_elm_config_scroll_page_scroll_friction_get.c
-utc_elm_config_scroll_page_scroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_border_friction_get.c
-utc_elm_config_scroll_thumbscroll_border_friction_set.c
-utc_elm_config_scroll_thumbscroll_enabled_get.c
-utc_elm_config_scroll_thumbscroll_enabled_set.c
-utc_elm_config_scroll_thumbscroll_friction_get.c
-utc_elm_config_scroll_thumbscroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c
-utc_elm_config_scroll_thumbscroll_threshold_get.c
-utc_elm_config_scroll_thumbscroll_threshold_set.c
-utc_elm_config_scroll_zoom_friction_get.c
-utc_elm_config_scroll_zoom_friction_set.c
+utc_elm_config_scroll_bounce_enabled_get_set.c
+utc_elm_config_scroll_bounce_friction_get_set.c
+utc_elm_config_scroll_bring_in_scroll_friction_get_set.c
+utc_elm_config_scroll_page_scroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_border_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_enabled_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_threshold_get_set.c
+utc_elm_config_scroll_zoom_friction_get_set.c
 #utc_elm_config_scroll_item_align_enabled_get.c
 #utc_elm_config_scroll_item_align_enabled_set.c
 #utc_elm_config_scroll_item_valign_get.c
-#utc_elm_config_scroll_item_valign_set.c
+#utc_elm_config_scroll_item_valign_set.c
\ No newline at end of file
index 8d2b631528fcec185bb254b2cd65e846c4516d3b..3571348ae1a5ce9ea1dcc2e246c4d9dadfa483e8 100644 (file)
@@ -1,26 +1,13 @@
-utc_elm_config_scroll_bounce_enabled_get.c
-utc_elm_config_scroll_bounce_enabled_set.c
-utc_elm_config_scroll_bounce_friction_get.c
-utc_elm_config_scroll_bounce_friction_set.c
-utc_elm_config_scroll_bring_in_scroll_friction_get.c
-utc_elm_config_scroll_bring_in_scroll_friction_set.c
-utc_elm_config_scroll_page_scroll_friction_get.c
-utc_elm_config_scroll_page_scroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_border_friction_get.c
-utc_elm_config_scroll_thumbscroll_border_friction_set.c
-utc_elm_config_scroll_thumbscroll_enabled_get.c
-utc_elm_config_scroll_thumbscroll_enabled_set.c
-utc_elm_config_scroll_thumbscroll_friction_get.c
-utc_elm_config_scroll_thumbscroll_friction_set.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c
-utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c
-utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c
-utc_elm_config_scroll_thumbscroll_threshold_get.c
-utc_elm_config_scroll_thumbscroll_threshold_set.c
-utc_elm_config_scroll_zoom_friction_get.c
-utc_elm_config_scroll_zoom_friction_set.c
-utc_elm_config_scroll_item_align_enabled_get.c
-utc_elm_config_scroll_item_align_enabled_set.c
-utc_elm_config_scroll_item_valign_get.c
-utc_elm_config_scroll_item_valign_set.c
+utc_elm_config_scroll_bounce_enabled_get_set.c
+utc_elm_config_scroll_bounce_friction_get_set.c
+utc_elm_config_scroll_bring_in_scroll_friction_get_set.c
+utc_elm_config_scroll_page_scroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_border_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_enabled_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c
+utc_elm_config_scroll_thumbscroll_threshold_get_set.c
+utc_elm_config_scroll_zoom_friction_get_set.c
+utc_elm_config_scroll_item_align_enabled_get_set.c
+utc_elm_config_scroll_item_valign_get_set.c
\ No newline at end of file
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get.c
deleted file mode 100644 (file)
index 10407df..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bounce_enabled_get elm_config_scroll_bounce_enabled_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bounce_enabled_get
- * @{
- * @objective Positive test checks if function get whether scrollers should bounce
- * works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Enable scroll bounce
- * @step 2 Get scroll bounce state
- * @step 3 Disable scroll bounce
- * @step 4 Get scroll bounce state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bounce_enabled_get_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_bounce_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_bounce_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   elm_config_scroll_bounce_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_bounce_enabled_get();
-   if (ret != 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_elm_config_scroll_bounce_enabled_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_enabled_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_bounce_enabled_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_get_set.c
new file mode 100644 (file)
index 0000000..c4830cb
--- /dev/null
@@ -0,0 +1,75 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_bounce_enabled_set elm_config_scroll_bounce_enabled_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_bounce_enabled_set
+ * @{
+ * @objective Positive test checks if function set whether scrollers should bounce
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Enable scroll bounce
+ * @step 2 Get scroll bounce state
+ * @step 3 Disable scroll bounce
+ * @step 4 Get scroll bounce state
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_bounce_enabled_set_p)
+{
+   Eina_Bool ret = EINA_FALSE;
+
+   elm_config_scroll_bounce_enabled_set(EINA_TRUE);
+   ret = elm_config_scroll_bounce_enabled_get();
+   if (ret != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_config_scroll_bounce_enabled_set(EINA_FALSE);
+   ret = elm_config_scroll_bounce_enabled_get();
+   if (ret != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_bounce_enabled_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_enabled_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_bounce_enabled_set_p);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_enabled_set.c
deleted file mode 100644 (file)
index 044181b..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bounce_enabled_set elm_config_scroll_bounce_enabled_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bounce_enabled_set
- * @{
- * @objective Positive test checks if function set whether scrollers should bounce
- * works properly and doesn't cause segmentation fault
- * @n Input Data: EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Enable scroll bounce
- * @step 2 Get scroll bounce state
- * @step 3 Disable scroll bounce
- * @step 4 Get scroll bounce state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bounce_enabled_set_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_bounce_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_bounce_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   elm_config_scroll_bounce_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_bounce_enabled_get();
-   if (ret != 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_elm_config_scroll_bounce_enabled_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_enabled_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_bounce_enabled_set_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get.c
deleted file mode 100644 (file)
index 3cb2928..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bounce_friction_get elm_config_scroll_bounce_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bounce_friction_get
- * @{
- * @objective Positive test checks if get bounce friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Bounce Friction to 0.75
- * @step 2 Get Bounce Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bounce_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bounce_friction_set(0.75);
-   res = elm_config_scroll_bounce_friction_get();
-   if (fabs(res - 0.75) > 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_elm_config_scroll_bounce_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_bounce_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_get_set.c
new file mode 100644 (file)
index 0000000..35b0c55
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_bounce_friction_set elm_config_scroll_bounce_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_bounce_friction_set
+ * @{
+ * @objective Positive test checks if set bounce friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.75
+ *
+ * @procedure
+ * @step 1 Set Bounce Friction to 0.75
+ * @step 2 Get Bounce Friction
+ *
+ * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_bounce_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_bounce_friction_set(0.75);
+   res = elm_config_scroll_bounce_friction_get();
+   if (fabs(res - 0.75) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_bounce_friction_set
+ * @{
+ * @objective Negative test checks if set bounce friction works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Bounce Friction to -10.0
+ * @step 2 Get Bounce Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_bounce_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_bounce_friction_set(-10.0);
+   res = elm_config_scroll_bounce_friction_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_bounce_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_bounce_friction_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_bounce_friction_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bounce_friction_set.c
deleted file mode 100644 (file)
index 1886588..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bounce_friction_set elm_config_scroll_bounce_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bounce_friction_set
- * @{
- * @objective Positive test checks if set bounce friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.75
- *
- * @procedure
- * @step 1 Set Bounce Friction to 0.75
- * @step 2 Get Bounce Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bounce_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bounce_friction_set(0.75);
-   res = elm_config_scroll_bounce_friction_get();
-   if (fabs(res - 0.75) > 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
-
-/**
- * @addtogroup elm_config_scroll_bounce_friction_set
- * @{
- * @objective Negative test checks if set bounce friction works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Bounce Friction to -10.0
- * @step 2 Get Bounce Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_bounce_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bounce_friction_set(-10.0);
-   res = elm_config_scroll_bounce_friction_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_bounce_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bounce_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_bounce_friction_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_bounce_friction_set_n);
-#endif
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get.c
deleted file mode 100644 (file)
index e0d1028..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bring_in_scroll_friction_get elm_config_scroll_bring_in_scroll_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bring_in_scroll_friction_get
- * @{
- * @objective Positive test checks if get bring-in scroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Bring-In Scroll Friction to 0.75
- * @step 2 Get Bring-In Scroll Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bring_in_scroll_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bring_in_scroll_friction_set(0.75);
-   res = elm_config_scroll_bring_in_scroll_friction_get();
-   if (fabs(res - 0.75) > 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_elm_config_scroll_bring_in_scroll_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bring_in_scroll_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_bring_in_scroll_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_get_set.c
new file mode 100644 (file)
index 0000000..6551bf5
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_bring_in_scroll_friction_set elm_config_scroll_bring_in_scroll_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_bring_in_scroll_friction_set
+ * @{
+ * @objective Positive test checks if set bring-in scroll friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.75
+ *
+ * @procedure
+ * @step 1 Set Bring-In Scroll Friction to 0.75
+ * @step 2 Get Bring-In Scroll Friction
+ *
+ * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_bring_in_scroll_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_bring_in_scroll_friction_set(0.75);
+   res = elm_config_scroll_bring_in_scroll_friction_get();
+   if (fabs(res - 0.75) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_bring_in_scroll_friction_set
+ * @{
+ * @objective Negative test checks if set bring-in scroll friction works properly and doesn't cause segmentation fault if set value is not correct
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Bring-In Scroll Friction to -10.0
+ * @step 2 Get Bring-In Scroll Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_bring_in_scroll_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_bring_in_scroll_friction_set(-10.0);
+   res = elm_config_scroll_bring_in_scroll_friction_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_bring_in_scroll_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_bring_in_scroll_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_bring_in_scroll_friction_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_bring_in_scroll_friction_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_bring_in_scroll_friction_set.c
deleted file mode 100644 (file)
index ad9386c..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_bring_in_scroll_friction_set elm_config_scroll_bring_in_scroll_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_bring_in_scroll_friction_set
- * @{
- * @objective Positive test checks if set bring-in scroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.75
- *
- * @procedure
- * @step 1 Set Bring-In Scroll Friction to 0.75
- * @step 2 Get Bring-In Scroll Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_bring_in_scroll_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bring_in_scroll_friction_set(0.75);
-   res = elm_config_scroll_bring_in_scroll_friction_get();
-   if (fabs(res - 0.75) > 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
-
-/**
- * @addtogroup elm_config_scroll_bring_in_scroll_friction_set
- * @{
- * @objective Negative test checks if set bring-in scroll friction works properly and doesn't cause segmentation fault if set value is not correct
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Bring-In Scroll Friction to -10.0
- * @step 2 Get Bring-In Scroll Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_bring_in_scroll_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_bring_in_scroll_friction_set(-10.0);
-   res = elm_config_scroll_bring_in_scroll_friction_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_bring_in_scroll_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_bring_in_scroll_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_bring_in_scroll_friction_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_bring_in_scroll_friction_set_n);
-#endif
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get.c b/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get.c
deleted file mode 100644 (file)
index e883fde..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_item_align_enabled_get elm_config_scroll_item_align_enabled_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
- /**
- * @addtogroup elm_config_scroll_item_align_enabled_get
- * @{
- * @objective Positive test checks if function get scroll item should align
- * works properly and without segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Enable scroll item align
- * @step 2 Get scroll item align state
- * @step 3 Disable scroll item align
- * @step 4 Get scroll item align state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_item_align_enabled_get_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_item_align_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_item_align_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_config_scroll_item_align_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_item_align_enabled_get();
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_item_align_enabled_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_item_align_enabled_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_item_align_enabled_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_get_set.c
new file mode 100644 (file)
index 0000000..2b993db
--- /dev/null
@@ -0,0 +1,75 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_item_align_enabled_set elm_config_scroll_item_align_enabled_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+ /**
+ * @addtogroup elm_config_scroll_item_align_enabled_set
+ * @{
+ * @objective Positive test checks if function set scroll item should align
+ * works properly and without segmentation fault
+ * @n Input Data: EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Enable scroll item align
+ * @step 2 Get scroll item align state
+ * @step 3 Disable scroll item align
+ * @step 4 Get scroll item align state
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_item_align_enabled_set_p)
+{
+   Eina_Bool ret = EINA_FALSE;
+
+   elm_config_scroll_item_align_enabled_set(EINA_TRUE);
+   ret = elm_config_scroll_item_align_enabled_get();
+   if (ret != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   elm_config_scroll_item_align_enabled_set(EINA_FALSE);
+   ret = elm_config_scroll_item_align_enabled_get();
+   if (ret != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_item_align_enabled_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_item_align_enabled_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_item_align_enabled_set_p);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_set.c b/TC/elementary/scroll/utc_elm_config_scroll_item_align_enabled_set.c
deleted file mode 100644 (file)
index dd90e3c..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_item_align_enabled_set elm_config_scroll_item_align_enabled_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
- /**
- * @addtogroup elm_config_scroll_item_align_enabled_set
- * @{
- * @objective Positive test checks if function set scroll item should align
- * works properly and without segmentation fault
- * @n Input Data: EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Enable scroll item align
- * @step 2 Get scroll item align state
- * @step 3 Disable scroll item align
- * @step 4 Get scroll item align state
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_item_align_enabled_set_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_item_align_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_item_align_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   elm_config_scroll_item_align_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_item_align_enabled_get();
-   if (ret != EINA_FALSE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_item_align_enabled_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_item_align_enabled_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_item_align_enabled_set_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_valign_get.c b/TC/elementary/scroll/utc_elm_config_scroll_item_valign_get.c
deleted file mode 100644 (file)
index 7ab15b9..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_item_valign_get elm_config_scroll_item_valign_get()
- *
- *
- * @precondition
- * @step 1 Initialize elementary
- * @step 2 Create a main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_item_valign_get
- * @{
- * @objective Positive test case checks if function call with valid values to get the scroll item vertical align
- * works properly and without segmentation fault
- * @n Input Data:
- * @li "top" as the position name
- *
- * @procedure
- * @step 1 Call elm_config_scroll_item_valign_set with valid values
- * @step 2 Get the scroll item vertical align
- *
- * @passcondition Test passes if returned value is same as specified value and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_item_valign_get_p)
-{
-
-   char *pos_name = "top";
-   char *ret = NULL;
-
-   elm_config_scroll_item_valign_set(pos_name);
-   ret = elm_config_scroll_item_valign_get();
-   if ((ret == NULL) || (strcmp(ret, pos_name) != 0))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_item_valign_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_item_valign_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_item_valign_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_valign_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_item_valign_get_set.c
new file mode 100644 (file)
index 0000000..bb0e785
--- /dev/null
@@ -0,0 +1,72 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_item_valign_set elm_config_scroll_item_valign_set()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize elementary
+ * @step 2 Create a main window
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_item_valign_set
+ * @{
+ * @objective Positive test case checks if function call with valid values to set the scroll item vertical align
+ * works properly and without segmentation fault
+ * @n Input Data:
+ * @li "top" as the position name
+ *
+ * @procedure
+ * @step 1 Call elm_config_scroll_item_valign_set with valid values
+ * @step 2 Get the scroll item vertical align
+ *
+ * @passcondition Test passes if returned value is same as specified value and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_item_valign_set_p)
+{
+
+   char *pos_name = "top";
+   char *ret = NULL;
+
+   elm_config_scroll_item_valign_set(pos_name);
+   ret = elm_config_scroll_item_valign_get();
+   if ((ret == NULL) || (strcmp(ret, pos_name) != 0))
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_item_valign_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_item_valign_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_item_valign_set_p);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_item_valign_set.c b/TC/elementary/scroll/utc_elm_config_scroll_item_valign_set.c
deleted file mode 100644 (file)
index e9b051c..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_item_valign_set elm_config_scroll_item_valign_set()
- *
- *
- * @precondition
- * @step 1 Initialize elementary
- * @step 2 Create a main window
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_item_valign_set
- * @{
- * @objective Positive test case checks if function call with valid values to set the scroll item vertical align
- * works properly and without segmentation fault
- * @n Input Data:
- * @li "top" as the position name
- *
- * @procedure
- * @step 1 Call elm_config_scroll_item_valign_set with valid values
- * @step 2 Get the scroll item vertical align
- *
- * @passcondition Test passes if returned value is same as specified value and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_item_valign_set_p)
-{
-
-   char *pos_name = "top";
-   char *ret = NULL;
-
-   elm_config_scroll_item_valign_set(pos_name);
-   ret = elm_config_scroll_item_valign_get();
-   if ((ret == NULL) || (strcmp(ret, pos_name) != 0))
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-     }
-
-   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_item_valign_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_item_valign_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_item_valign_set_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get.c
deleted file mode 100644 (file)
index cfd49db..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_page_scroll_friction_get elm_config_scroll_page_scroll_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_page_scroll_friction_get
- * @{
- * @objective Positive test checks if get page scroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Page Scroll Friction to 0.75
- * @step 2 Get Page Scroll Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_page_scroll_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_page_scroll_friction_set(0.75);
-   res = elm_config_scroll_page_scroll_friction_get();
-   if (fabs(res - 0.75) > 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_elm_config_scroll_page_scroll_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_page_scroll_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_page_scroll_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_get_set.c
new file mode 100644 (file)
index 0000000..2f43d81
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_page_scroll_friction_set elm_config_scroll_page_scroll_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_page_scroll_friction_set
+ * @{
+ * @objective Positive test checks if set page scroll friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.75
+ *
+ * @procedure
+ * @step 1 Set Page Scroll Friction to 0.75
+ * @step 2 Get Page Scroll Friction
+ *
+ * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_page_scroll_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_page_scroll_friction_set(0.75);
+   res = elm_config_scroll_page_scroll_friction_get();
+   if (fabs(res - 0.75) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_page_scroll_friction_set
+ * @{
+ * @objective Negative test checks if set page scroll friction works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Page Scroll Friction to -10.0
+ * @step 2 Get Page Scroll Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_page_scroll_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_page_scroll_friction_set(-10.0);
+   res = elm_config_scroll_page_scroll_friction_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_page_scroll_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_page_scroll_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_page_scroll_friction_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_page_scroll_friction_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_page_scroll_friction_set.c
deleted file mode 100644 (file)
index 6bc56f4..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_page_scroll_friction_set elm_config_scroll_page_scroll_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_page_scroll_friction_set
- * @{
- * @objective Positive test checks if set page scroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.75
- *
- * @procedure
- * @step 1 Set Page Scroll Friction to 0.75
- * @step 2 Get Page Scroll Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_page_scroll_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_page_scroll_friction_set(0.75);
-   res = elm_config_scroll_page_scroll_friction_get();
-   if (fabs(res - 0.75) > 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
-
-/**
- * @addtogroup elm_config_scroll_page_scroll_friction_set
- * @{
- * @objective Negative test checks if set page scroll friction works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Page Scroll Friction to -10.0
- * @step 2 Get Page Scroll Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_page_scroll_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_page_scroll_friction_set(-10.0);
-   res = elm_config_scroll_page_scroll_friction_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_page_scroll_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_page_scroll_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_page_scroll_friction_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_page_scroll_friction_set_n);
-#endif
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get.c
deleted file mode 100644 (file)
index a04cf01..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_border_friction_get elm_config_scroll_thumbscroll_border_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_border_friction_get
- * @{
- * @objective Positive test checks if get thumbscroll border friction
- * works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Thumbscroll Border Friction to 0.5
- * @step 2 Get Thumbscroll Border Friction
- *
- * @passcondition Return value is 0.5 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_border_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_border_friction_set(0.5);
-   res = elm_config_scroll_thumbscroll_border_friction_get();
-   if (fabs(res - 0.5) > 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_elm_config_scroll_thumbscroll_border_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_border_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_border_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_get_set.c
new file mode 100644 (file)
index 0000000..40c2ff4
--- /dev/null
@@ -0,0 +1,97 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_border_friction_set elm_config_scroll_thumbscroll_border_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_border_friction_set
+ * @{
+ * @objective Positive test checks if set thumbscroll border friction
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.5
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Border Friction to 0.5
+ * @step 2 Get Thumbscroll Border Friction
+ *
+ * @passcondition Return value is 0.5 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_border_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_border_friction_set(0.5);
+   res = elm_config_scroll_thumbscroll_border_friction_get();
+   if (fabs(res - 0.5) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_border_friction_set
+ * @{
+ * @objective Negative test checks if set thumbscroll border friction works
+ * properly and doesn't cause segmentation fault if passed value is not correct
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Border Friction to -10
+ * @step 2 Get Thumbscroll Border Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_border_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_border_friction_set(-10.0);
+   res = elm_config_scroll_thumbscroll_border_friction_get();
+   if (fabs(res) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_border_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_border_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_border_friction_set_p);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_border_friction_set_n);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_border_friction_set.c
deleted file mode 100644 (file)
index 42b3894..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_border_friction_set elm_config_scroll_thumbscroll_border_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_border_friction_set
- * @{
- * @objective Positive test checks if set thumbscroll border friction
- * works properly and doesn't cause segmentation fault
- * @n Input Data: 0.5
- *
- * @procedure
- * @step 1 Set Thumbscroll Border Friction to 0.5
- * @step 2 Get Thumbscroll Border Friction
- *
- * @passcondition Return value is 0.5 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_border_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_border_friction_set(0.5);
-   res = elm_config_scroll_thumbscroll_border_friction_get();
-   if (fabs(res - 0.5) > 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
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_border_friction_set
- * @{
- * @objective Negative test checks if set thumbscroll border friction works
- * properly and doesn't cause segmentation fault if passed value is not correct
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Thumbscroll Border Friction to -10
- * @step 2 Get Thumbscroll Border Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_border_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_border_friction_set(-10.0);
-   res = elm_config_scroll_thumbscroll_border_friction_get();
-   if (fabs(res) > 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_elm_config_scroll_thumbscroll_border_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_border_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_border_friction_set_p);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_border_friction_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get.c
deleted file mode 100644 (file)
index b2949b4..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_enabled_get elm_config_scroll_thumbscroll_enabled_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_enabled_get
- * @{
- * @objective Positive test checks if get whether scrollers should be draggable
- * works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set scrollers should be draggable to EINA_TRUE
- * @step 2 Get whether scrollers should be draggable
- * @step 3 Set scrollers should be draggable to EINA_FALSE
- * @step 4 Get whether scrollers should be draggable
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_enabled_get_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_thumbscroll_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_thumbscroll_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   elm_config_scroll_thumbscroll_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_thumbscroll_enabled_get();
-   if (ret != 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_elm_config_scroll_thumbscroll_enabled_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_enabled_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_enabled_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_get_set.c
new file mode 100644 (file)
index 0000000..70da89f
--- /dev/null
@@ -0,0 +1,75 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_enabled_set elm_config_scroll_thumbscroll_enabled_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_enabled_set
+ * @{
+ * @objective Positive test checks if set whether scrollers should be draggable
+ * works properly and doesn't cause segmentation fault
+ * @n Input Data: EINA_TRUE, EINA_FALSE
+ *
+ * @procedure
+ * @step 1 Set scrollers should be draggable to EINA_TRUE
+ * @step 2 Get whether scrollers should be draggable
+ * @step 3 Set scrollers should be draggable to EINA_FALSE
+ * @step 4 Get whether scrollers should be draggable
+ *
+ * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_enabled_set_p)
+{
+   Eina_Bool ret = EINA_FALSE;
+
+   elm_config_scroll_thumbscroll_enabled_set(EINA_TRUE);
+   ret = elm_config_scroll_thumbscroll_enabled_get();
+   if (ret != EINA_TRUE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   elm_config_scroll_thumbscroll_enabled_set(EINA_FALSE);
+   ret = elm_config_scroll_thumbscroll_enabled_get();
+   if (ret != EINA_FALSE)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_enabled_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_enabled_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_enabled_set_p);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_enabled_set.c
deleted file mode 100644 (file)
index b8bdb3f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_enabled_set elm_config_scroll_thumbscroll_enabled_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_enabled_set
- * @{
- * @objective Positive test checks if set whether scrollers should be draggable
- * works properly and doesn't cause segmentation fault
- * @n Input Data: EINA_TRUE, EINA_FALSE
- *
- * @procedure
- * @step 1 Set scrollers should be draggable to EINA_TRUE
- * @step 2 Get whether scrollers should be draggable
- * @step 3 Set scrollers should be draggable to EINA_FALSE
- * @step 4 Get whether scrollers should be draggable
- *
- * @passcondition Returned value is equal to EINA_TRUE at step 2 and EINA_FALSE at step 4 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_enabled_set_p)
-{
-   Eina_Bool ret = EINA_FALSE;
-
-   elm_config_scroll_thumbscroll_enabled_set(EINA_TRUE);
-   ret = elm_config_scroll_thumbscroll_enabled_get();
-   if (ret != EINA_TRUE)
-     {
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
-        return;
-     }
-   elm_config_scroll_thumbscroll_enabled_set(EINA_FALSE);
-   ret = elm_config_scroll_thumbscroll_enabled_get();
-   if (ret != 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_elm_config_scroll_thumbscroll_enabled_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_enabled_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_enabled_set_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get.c
deleted file mode 100644 (file)
index e18d416..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_friction_get elm_config_scroll_thumbscroll_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_get
- * @{
- * @objective Positive test checks if get thumbscroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Thumbscroll Friction to 0.75
- * @step 2 Get Thumbscroll Friction
- *
- * @passcondition Return value is 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_friction_set(0.75);
-   res = elm_config_scroll_thumbscroll_friction_get();
-   if (fabs(res - 0.75) > 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_elm_config_scroll_thumbscroll_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_get_set.c
new file mode 100644 (file)
index 0000000..709fea3
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_friction_set elm_config_scroll_thumbscroll_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_friction_set
+ * @{
+ * @objective Positive test checks if set thumbscroll friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.75
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Friction to 0.75
+ * @step 2 Get Thumbscroll Friction
+ *
+ * @passcondition Return value is 0.75 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_friction_set(0.75);
+   res = elm_config_scroll_thumbscroll_friction_get();
+   if (fabs(res - 0.75) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_friction_set
+ * @{
+ * @objective Negative test checks if set thumbscroll friction works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Friction to -10
+ * @step 2 Get Thumbscroll Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_thumbscroll_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_friction_set(-10.0);
+   res = elm_config_scroll_thumbscroll_friction_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_friction_set.c
deleted file mode 100644 (file)
index 3b8b423..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_friction_set elm_config_scroll_thumbscroll_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_set
- * @{
- * @objective Positive test checks if set thumbscroll friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.75
- *
- * @procedure
- * @step 1 Set Thumbscroll Friction to 0.75
- * @step 2 Get Thumbscroll Friction
- *
- * @passcondition Return value is 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_friction_set(0.75);
-   res = elm_config_scroll_thumbscroll_friction_get();
-   if (fabs(res - 0.75) > 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
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_set
- * @{
- * @objective Negative test checks if set thumbscroll friction works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Thumbscroll Friction to -10
- * @step 2 Get Thumbscroll Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_friction_set(-10.0);
-   res = elm_config_scroll_thumbscroll_friction_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_set_n);
-#endif
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get.c
deleted file mode 100644 (file)
index b8fa8aa..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_momentum_threshold_get elm_config_scroll_thumbscroll_momentum_threshold_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_momentum_threshold_get
- * @{
- * @objective Positive test checks if get thumbscroll momentum threshold works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Thumbscroll Momentum Threshold to 0.25
- * @step 2 Get Thumbscroll Momentum Threshold
- *
- * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_momentum_threshold_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_momentum_threshold_set(0.25);
-   res = elm_config_scroll_thumbscroll_momentum_threshold_get();
-   if (fabs(res - 0.25) > 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_elm_config_scroll_thumbscroll_momentum_threshold_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_momentum_threshold_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_momentum_threshold_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set.c
new file mode 100644 (file)
index 0000000..9ab0fc7
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_momentum_threshold_set elm_config_scroll_thumbscroll_momentum_threshold_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_momentum_threshold_set
+ * @{
+ * @objective Positive test checks if set thumbscroll momentum threshold works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.25
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Momentum Threshold to 0.25
+ * @step 2 Get Thumbscroll Momentum Threshold
+ *
+ * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_momentum_threshold_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_momentum_threshold_set(0.25);
+   res = elm_config_scroll_thumbscroll_momentum_threshold_get();
+   if (fabs(res - 0.25) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_momentum_threshold_set
+ * @{
+ * @objective Negative test checks if set thumbscroll momentum threshold works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Momentum Threshold to -10.0
+ * @step 2 Get Thumbscroll Momentum Threshold
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_thumbscroll_momentum_threshold_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_momentum_threshold_set(-10.0);
+   res = elm_config_scroll_thumbscroll_momentum_threshold_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_momentum_threshold_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_momentum_threshold_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_momentum_threshold_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_momentum_threshold_set.c
deleted file mode 100644 (file)
index a2d0b16..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_momentum_threshold_set elm_config_scroll_thumbscroll_momentum_threshold_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_momentum_threshold_set
- * @{
- * @objective Positive test checks if set thumbscroll momentum threshold works properly and doesn't cause segmentation fault
- * @n Input Data: 0.25
- *
- * @procedure
- * @step 1 Set Thumbscroll Momentum Threshold to 0.25
- * @step 2 Get Thumbscroll Momentum Threshold
- *
- * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_momentum_threshold_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_momentum_threshold_set(0.25);
-   res = elm_config_scroll_thumbscroll_momentum_threshold_get();
-   if (fabs(res - 0.25) > 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
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_momentum_threshold_set
- * @{
- * @objective Negative test checks if set thumbscroll momentum threshold works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Thumbscroll Momentum Threshold to -10.0
- * @step 2 Get Thumbscroll Momentum Threshold
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_thumbscroll_momentum_threshold_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_momentum_threshold_set(-10.0);
-   res = elm_config_scroll_thumbscroll_momentum_threshold_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_momentum_threshold_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_momentum_threshold_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_momentum_threshold_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_momentum_threshold_set_n);
-#endif
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get.c
deleted file mode 100644 (file)
index c1a769e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_sensitivity_friction_get elm_config_scroll_thumbscroll_sensitivity_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_get
- * @{
- * @objective Positive test checks if get thumbscroll sensitivity friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Thumbscroll Sensitivity Friction to 0.25
- * @step 2 Get Thumbscroll Sensitivity Friction
- *
- * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_sensitivity_friction_set(0.25);
-   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
-   if (fabs(res - 0.25) > 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_elm_config_scroll_thumbscroll_sensitivity_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_sensitivity_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set.c
new file mode 100644 (file)
index 0000000..90c4ac2
--- /dev/null
@@ -0,0 +1,123 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_sensitivity_friction_set elm_config_scroll_thumbscroll_sensitivity_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
+ * @{
+ * @objective Positive test checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.25
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Sensitivity Friction to 0.25
+ * @step 2 Get Thumbscroll Sensitivity Friction
+ *
+ * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_sensitivity_friction_set(0.25);
+   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
+   if (fabs(res - 0.25) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
+ * @{
+ * @objective Negative test No.1 checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault in case if set value is out of range
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Sensitivity Friction to -10
+ * @step 2 Get Thumbscroll Sensitivity Friction
+ *
+ * @passcondition Return value is 0.1 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n1)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_sensitivity_friction_set(-10.0);
+   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
+   if (fabs(res - 0.1) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
+ * @{
+ * @objective Negative test No.2 checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault in case if set value is out of range
+ * @n Input Data: 10
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Sensitivity Friction to 10
+ * @step 2 Get Thumbscroll Sensitivity Friction
+ *
+ * @passcondition Return value is 1.0 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n2)
+{
+   double res = -1.0;
+
+   elm_config_scroll_thumbscroll_sensitivity_friction_set(10.0);
+   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
+   if (fabs(res - 1) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_sensitivity_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_p);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n1);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n2);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_sensitivity_friction_set.c
deleted file mode 100644 (file)
index c0311c7..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_sensitivity_friction_set elm_config_scroll_thumbscroll_sensitivity_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
- * @{
- * @objective Positive test checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.25
- *
- * @procedure
- * @step 1 Set Thumbscroll Sensitivity Friction to 0.25
- * @step 2 Get Thumbscroll Sensitivity Friction
- *
- * @passcondition Return value is 0.25 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_sensitivity_friction_set(0.25);
-   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
-   if (fabs(res - 0.25) > 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
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
- * @{
- * @objective Negative test No.1 checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault in case if set value is out of range
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Thumbscroll Sensitivity Friction to -10
- * @step 2 Get Thumbscroll Sensitivity Friction
- *
- * @passcondition Return value is 0.1 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n1)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_sensitivity_friction_set(-10.0);
-   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
-   if (fabs(res - 0.1) > 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
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_sensitivity_friction_set
- * @{
- * @objective Negative test No.2 checks if set thumbscroll sensitivity friction works properly and doesn't cause segmentation fault in case if set value is out of range
- * @n Input Data: 10
- *
- * @procedure
- * @step 1 Set Thumbscroll Sensitivity Friction to 10
- * @step 2 Get Thumbscroll Sensitivity Friction
- *
- * @passcondition Return value is 1.0 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n2)
-{
-   double res = -1.0;
-
-   elm_config_scroll_thumbscroll_sensitivity_friction_set(10.0);
-   res = elm_config_scroll_thumbscroll_sensitivity_friction_get();
-   if (fabs(res - 1) > 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_elm_config_scroll_thumbscroll_sensitivity_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_sensitivity_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_p);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n1);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_sensitivity_friction_set_n2);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get.c
deleted file mode 100644 (file)
index d3dc786..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_threshold_get elm_config_scroll_thumbscroll_threshold_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_threshold_get
- * @{
- * @objective Positive test checks if get thumbscroll threshold works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Thumbscroll Threshold to 20
- * @step 2 Get Thumbscroll Threshold
- *
- * @passcondition Return value is 20 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_threshold_get_p)
-{
-   int res = -1;
-
-   elm_config_scroll_thumbscroll_threshold_set(20);
-   res = elm_config_scroll_thumbscroll_threshold_get();
-   if (res != 20)
-     {
-        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_elm_config_scroll_thumbscroll_threshold_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_threshold_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_threshold_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_get_set.c
new file mode 100644 (file)
index 0000000..3229d71
--- /dev/null
@@ -0,0 +1,94 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_threshold_set elm_config_scroll_thumbscroll_threshold_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_threshold_set
+ * @{
+ * @objective Positive test checks if set thumbscroll threshold works properly and doesn't cause segmentation fault
+ * @n Input Data: 20
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Threshold to 20
+ * @step 2 Get Thumbscroll Threshold
+ *
+ * @passcondition Return value is 20 and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_threshold_set_p)
+{
+   int res = -1;
+
+   elm_config_scroll_thumbscroll_threshold_set(20);
+   res = elm_config_scroll_thumbscroll_threshold_get();
+   if (res != 20)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_threshold_set
+ * @{
+ * @objective Negative test checks if set thumbscroll threshold works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Thumbscroll Threshold to -10.0
+ * @step 2 Get Thumbscroll Threshold
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_threshold_set_n)
+{
+   int res = -1;
+
+   elm_config_scroll_thumbscroll_threshold_set(-10.0);
+   res = elm_config_scroll_thumbscroll_threshold_get();
+   if (fabs(res) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_threshold_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_threshold_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_threshold_set_p);
+   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_threshold_set_n);
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_set.c b/TC/elementary/scroll/utc_elm_config_scroll_thumbscroll_threshold_set.c
deleted file mode 100644 (file)
index 71a6a67..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_thumbscroll_threshold_set elm_config_scroll_thumbscroll_threshold_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_threshold_set
- * @{
- * @objective Positive test checks if set thumbscroll threshold works properly and doesn't cause segmentation fault
- * @n Input Data: 20
- *
- * @procedure
- * @step 1 Set Thumbscroll Threshold to 20
- * @step 2 Get Thumbscroll Threshold
- *
- * @passcondition Return value is 20 and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_threshold_set_p)
-{
-   int res = -1;
-
-   elm_config_scroll_thumbscroll_threshold_set(20);
-   res = elm_config_scroll_thumbscroll_threshold_get();
-   if (res != 20)
-     {
-        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 elm_config_scroll_thumbscroll_threshold_set
- * @{
- * @objective Negative test checks if set thumbscroll threshold works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Thumbscroll Threshold to -10.0
- * @step 2 Get Thumbscroll Threshold
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_threshold_set_n)
-{
-   int res = -1;
-
-   elm_config_scroll_thumbscroll_threshold_set(-10.0);
-   res = elm_config_scroll_thumbscroll_threshold_get();
-   if (fabs(res) > 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_elm_config_scroll_thumbscroll_threshold_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_threshold_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_threshold_set_p);
-   tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_threshold_set_n);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get.c b/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get.c
deleted file mode 100644 (file)
index c664334..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_zoom_friction_get elm_config_scroll_zoom_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_zoom_friction_get
- * @{
- * @objective Positive test checks if get zoom friction works properly and doesn't cause segmentation fault
- * @n Input Data: no parameters passed to function
- *
- * @procedure
- * @step 1 Set Zoom Friction to 0.75
- * @step 2 Get Zoom Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_zoom_friction_get_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_zoom_friction_set(0.75);
-   res = elm_config_scroll_zoom_friction_get();
-   if (fabs(res - 0.75) > 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_elm_config_scroll_zoom_friction_get()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_zoom_friction_get");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-   tcase_add_test(tcase, utc_elm_config_scroll_zoom_friction_get_p);
-   return tcase;
-}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get_set.c b/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_get_set.c
new file mode 100644 (file)
index 0000000..46b6aa9
--- /dev/null
@@ -0,0 +1,102 @@
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+#include "../../utc_negative_unitest.h"
+
+/**
+ * @addtogroup elm_scroll
+ * @{
+ * @defgroup elm_config_scroll_zoom_friction_set elm_config_scroll_zoom_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+static void
+setup(void)
+{
+   printf(" ============ Startup ============ \n");
+   UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+   elm_shutdown();
+   printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_zoom_friction_set
+ * @{
+ * @objective Positive test checks if set zoom friction works properly and doesn't cause segmentation fault
+ * @n Input Data: 0.75
+ *
+ * @procedure
+ * @step 1 Set Zoom Friction to 0.75
+ * @step 2 Get Zoom Friction
+ *
+ * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_zoom_friction_set_p)
+{
+   double res = -1.0;
+
+   elm_config_scroll_zoom_friction_set(0.75);
+   res = elm_config_scroll_zoom_friction_get();
+   if (fabs(res - 0.75) > DBL_EPSILON)
+     {
+        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+     }
+   printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_zoom_friction_set
+ * @{
+ * @objective Negative test checks if set zoom friction works properly and doesn't cause segmentation fault if set value is negative
+ * @n Input Data: -10.0
+ *
+ * @procedure
+ * @step 1 Set Zoom Friction to -10.0
+ * @step 2 Get Zoom Friction
+ *
+ * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_config_scroll_zoom_friction_set_n)
+{
+   double res = -1.0;
+
+   elm_config_scroll_zoom_friction_set(-10.0);
+   res = elm_config_scroll_zoom_friction_get();
+   if (fabs(res) > 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
+#endif
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_zoom_friction_get_set()
+{
+   TCase *tcase = tcase_create("utc_elm_config_scroll_zoom_friction_get_set");
+   tcase_set_timeout(tcase, 30);
+   tcase_add_checked_fixture(tcase, setup, teardown);
+#ifdef NOT_APPROVED_FOR_BUILD
+#endif
+   tcase_add_test(tcase, utc_elm_config_scroll_zoom_friction_set_p);
+#ifdef NOT_APPROVED_FOR_BUILD
+   tcase_add_test(tcase, utc_elm_config_scroll_zoom_friction_set_n);
+#endif
+   return tcase;
+}
diff --git a/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_set.c b/TC/elementary/scroll/utc_elm_config_scroll_zoom_friction_set.c
deleted file mode 100644 (file)
index e42e177..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-#include "../../utc_negative_unitest.h"
-
-/**
- * @addtogroup elm_scroll
- * @{
- * @defgroup elm_config_scroll_zoom_friction_set elm_config_scroll_zoom_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-static void
-setup(void)
-{
-   printf(" ============ Startup ============ \n");
-   UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
-   elm_shutdown();
-   printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_zoom_friction_set
- * @{
- * @objective Positive test checks if set zoom friction works properly and doesn't cause segmentation fault
- * @n Input Data: 0.75
- *
- * @procedure
- * @step 1 Set Zoom Friction to 0.75
- * @step 2 Get Zoom Friction
- *
- * @passcondition Returned value is equal to 0.75 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_config_scroll_zoom_friction_set_p)
-{
-   double res = -1.0;
-
-   elm_config_scroll_zoom_friction_set(0.75);
-   res = elm_config_scroll_zoom_friction_get();
-   if (fabs(res - 0.75) > 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
-
-/**
- * @addtogroup elm_config_scroll_zoom_friction_set
- * @{
- * @objective Negative test checks if set zoom friction works properly and doesn't cause segmentation fault if set value is negative
- * @n Input Data: -10.0
- *
- * @procedure
- * @step 1 Set Zoom Friction to -10.0
- * @step 2 Get Zoom Friction
- *
- * @passcondition Returned value is equal to 0.0 in DBL_EPSILON range and there is no segmentation fault
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_config_scroll_zoom_friction_set_n)
-{
-   double res = -1.0;
-
-   elm_config_scroll_zoom_friction_set(-10.0);
-   res = elm_config_scroll_zoom_friction_get();
-   if (fabs(res) > 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
-#endif
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_zoom_friction_set()
-{
-   TCase *tcase = tcase_create("utc_elm_config_scroll_zoom_friction_set");
-   tcase_set_timeout(tcase, 30);
-   tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
-   tcase_add_test(tcase, utc_elm_config_scroll_zoom_friction_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
-   tcase_add_test(tcase, utc_elm_config_scroll_zoom_friction_set_n);
-#endif
-   return tcase;
-}