-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
-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
-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
-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
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}
+++ /dev/null
-#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;
-}
--- /dev/null
+#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;
+}
+++ /dev/null
-#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;
-}