--- /dev/null
+#!/bin/sh
+
+TMPSTR=$0
+SCRIPT=${TMPSTR##*/}
+
+if [ $# -lt 3 ]; then
+ echo "Usage) $SCRIPT module_name winset_name api_name"
+ exit 1
+fi
+
+MODULE=$1
+WINSET=$2
+API=$3
+TEMPLATE=utc_MODULE_API_func.c.in
+TESTCASE=utc_${MODULE}_${API}_func
+
+sed -e '
+ s^@API@^'"$API"'^g
+ s^@MODULE@^'"$MODULE"'^g
+ ' $TEMPLATE > $TESTCASE.c
+
+if [ ! -e "$TESTCASE.c" ]; then
+ echo "Failed"
+ exit 1
+fi
+
+echo "/elm_ts/$WINSET/$TESTCASE" >> tslist
+
+echo "Testcase file is $TESTCASE.c"
+echo "$TESTCASE is added to tslist"
+echo "Done"
+echo "please put \"$TESTCASE\" as Target in Makefile"
--- /dev/null
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_add_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_content_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_content_unset_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_custom_widget_base_theme_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_content_min_limit_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_region_show_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_policy_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_policy_get_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_region_get_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_child_size_get_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_bounce_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_page_relative_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_page_size_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_region_bring_in_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_page_move_set_func
+/elm_ts/elm_scroller/utc_UIFW_elm_scroller_propagate_events_set_func
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_@MODULE@_@API@_func_01(void);
+static void utc_@MODULE@_@API@_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_@MODULE@_@API@_func_01, POSITIVE_TC_IDX },
+ { utc_@MODULE@_@API@_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of @API@()
+ */
+static void utc_@MODULE@_@API@_func_01(void)
+{
+ int r = 0;
+
+/*
+ r = @API@(...);
+*/
+ if (!r) {
+ tet_infoline("@API@() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init @API@()
+ */
+static void utc_@MODULE@_@API@_func_02(void)
+{
+ int r = 0;
+
+/*
+ r = @API@(...);
+*/
+ if (r) {
+ tet_infoline("@API@() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_add_func_01(void);
+static void utc_UIFW_elm_scroller_add_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_add_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_add()
+ */
+static void utc_UIFW_elm_scroller_add_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+ TET_CHECK_PASS(NULL, test_scroller);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Add a new scroller to the parent.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_add()
+ */
+static void utc_UIFW_elm_scroller_add_func_02(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(NULL);
+ TET_CHECK_FAIL(NULL, test_scroller);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Adding a new scroller to the parent has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_bounce_set_func_01(void);
+static void utc_UIFW_elm_scroller_bounce_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_bounce_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_bounce_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_bounce_set()
+ */
+static void utc_UIFW_elm_scroller_bounce_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_bounce_set(test_scroller, EINA_FALSE, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Setting bouncing behavior has succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_bounce_set()
+ */
+static void utc_UIFW_elm_scroller_bounce_set_func_02(void)
+{
+ //Current return type of this API is "Void"
+ elm_scroller_bounce_set(NULL, EINA_TRUE, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting bouncing behavior has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_child_size_get_func_01(void);
+static void utc_UIFW_elm_scroller_child_size_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_child_size_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_child_size_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_child_size_get()
+ */
+static void utc_UIFW_elm_scroller_child_size_get_func_01(void)
+{
+ Evas_Coord x, y, w, h, vw, vh;
+ Evas_Object *test_scroller = NULL;
+ Evas_Object *tb = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+ tb = elm_table_add(main_win);
+ elm_scroller_content_set(test_scroller, tb);
+
+ elm_scroller_region_get(test_scroller, &x, &y, &w, &h);
+
+ // Current return type of this API is "Void".
+ elm_scroller_child_size_get(test_scroller, &vw, &vh);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Getting the size of the content child object has succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_child_size_get()
+ */
+static void utc_UIFW_elm_scroller_child_size_get_func_02(void)
+{
+ Evas_Coord vw, vh;
+
+ // Current return type of this API is "Void".
+ elm_scroller_child_size_get(NULL, &vw, &vh);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Getting the size of the content child object has failed.");
+}
+
+
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_content_min_limit_func_01(void);
+static void utc_UIFW_elm_scroller_content_min_limit_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_content_min_limit_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_content_min_limit_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_content_min_limit()
+ */
+static void utc_UIFW_elm_scroller_content_min_limit_func_01(void)
+{
+ int r = 0;
+
+/*
+ r = elm_scroller_content_min_limit(...);
+*/
+ if (!r) {
+ tet_infoline("elm_scroller_content_min_limit() failed in positive test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_content_min_limit()
+ */
+static void utc_UIFW_elm_scroller_content_min_limit_func_02(void)
+{
+ int r = 0;
+
+/*
+ r = elm_scroller_content_min_limit(...);
+*/
+ if (r) {
+ tet_infoline("elm_scroller_content_min_limit() failed in negative test case");
+ tet_result(TET_FAIL);
+ return;
+ }
+ tet_result(TET_PASS);
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_content_set_func_01(void);
+static void utc_UIFW_elm_scroller_content_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_content_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_content_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_content_set()
+ */
+static void utc_UIFW_elm_scroller_content_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+ Evas_Object *tb = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+ tb = elm_table_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_content_set(test_scroller, tb);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Set the content of the scroller widget.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_content_set()
+ */
+static void utc_UIFW_elm_scroller_content_set_func_02(void)
+{
+
+ // Current return type of this API is "Void"
+ elm_scroller_content_set(NULL, NULL);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting the content of the scroller widget has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_content_unset_func_01(void);
+static void utc_UIFW_elm_scroller_content_unset_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_content_unset_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_content_unset_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_content_unset()
+ */
+static void utc_UIFW_elm_scroller_content_unset_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+ Evas_Object *tb = NULL;
+ Evas_Object *rc = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+ tb = elm_table_add(main_win);
+ elm_scroller_content_set(test_scroller, tb);
+
+ rc = elm_scroller_content_unset(test_scroller);
+ TET_CHECK_PASS(NULL, rc);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Unset the content of the scroller widget.");
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_content_unset()
+ */
+static void utc_UIFW_elm_scroller_content_unset_func_02(void)
+{
+ Evas_Object *test_scroller = NULL;
+ Evas_Object *rc = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ rc = elm_scroller_content_unset(test_scroller);
+ TET_CHECK_FAIL(NULL, rc);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Unseting the content of the scroller widget has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_01(void);
+static void utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_custom_widget_base_theme_set()
+ */
+static void utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_custom_widget_base_theme_set(test_scroller, "list", "base");
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Set the custom theme elements for the scroller");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_custom_widget_base_theme_set()
+ */
+static void utc_UIFW_elm_scroller_custom_widget_base_theme_set_func_02(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_custom_widget_base_theme_set(test_scroller, NULL, NULL);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting the custom theme elements for the scroller has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_page_move_set_func_01(void);
+static void utc_UIFW_elm_scroller_page_move_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_page_move_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_page_move_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_page_move_set()
+ */
+static void utc_UIFW_elm_scroller_page_move_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void".
+ elm_scroller_page_move_set(test_scroller, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Setting scroll only one page had succeed.");
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_page_move_set()
+ */
+static void utc_UIFW_elm_scroller_page_move_set_func_02(void)
+{
+ // Current return type of this API is "Void".
+ elm_scroller_page_move_set(NULL, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting scroll only one page had failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_page_relative_set_func_01(void);
+static void utc_UIFW_elm_scroller_page_relative_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_page_relative_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_page_relative_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_page_relative_set()
+ */
+static void utc_UIFW_elm_scroller_page_relative_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void."
+ elm_scroller_page_relative_set(test_scroller, 1.0, 1.0);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Setting scoller page size relative to viewport size had succeed.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_page_relative_set()
+ */
+static void utc_UIFW_elm_scroller_page_relative_set_func_02(void)
+{
+ // Current return type of this API is "Void".
+ elm_scroller_page_relative_set(NULL, 1.0, 1.0);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting scoller page size relative to viewport size had failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_page_size_set_func_01(void);
+static void utc_UIFW_elm_scroller_page_size_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_page_size_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_page_size_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_page_size_set()
+ */
+static void utc_UIFW_elm_scroller_page_size_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void."
+ elm_scroller_page_size_set(test_scroller, 200, 200);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Setting scroller page size had succeed.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_page_size_set()
+ */
+static void utc_UIFW_elm_scroller_page_size_set_func_02(void)
+{
+ // Current return type of this API is "Void".
+ elm_scroller_page_size_set(NULL, 1.0, 1.0);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting scoller page size had failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_policy_get_func_01(void);
+static void utc_UIFW_elm_scroller_policy_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_policy_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_policy_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_policy_get()
+ */
+static void utc_UIFW_elm_scroller_policy_get_func_01(void)
+{
+ Elm_Scroller_Policy policy_h;
+ Elm_Scroller_Policy policy_v;
+
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_policy_get(test_scroller, &policy_h, &policy_v);
+
+ switch(policy_h)
+ {
+ case ELM_SCROLLER_POLICY_AUTO:
+ case ELM_SCROLLER_POLICY_ON:
+ case ELM_SCROLLER_POLICY_OFF:
+ case ELM_SCROLLER_POLICY_LAST:
+ {
+ switch(policy_v)
+ {
+ case ELM_SCROLLER_POLICY_AUTO:
+ case ELM_SCROLLER_POLICY_ON:
+ case ELM_SCROLLER_POLICY_OFF:
+ case ELM_SCROLLER_POLICY_LAST:
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Get the scroller scrollbar policy.");
+ default:
+ tet_result(TET_FAIL);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: FAIL, Getting the scroller scrollbar policy has failed.");
+
+ }
+ }
+ default:
+ tet_result(TET_FAIL);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: FAIL, Getting the scroller scrollbar policy has failed.");
+
+ }
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_policy_get()
+ */
+static void utc_UIFW_elm_scroller_policy_get_func_02(void)
+{
+ Elm_Scroller_Policy *policy_h;
+ Elm_Scroller_Policy *policy_v;
+
+ // Current return type of this API is "Void"
+ elm_scroller_policy_get(NULL, policy_h, policy_v);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Getting the scroller scrollbar policy has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_policy_set_func_01(void);
+static void utc_UIFW_elm_scroller_policy_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_policy_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_policy_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_policy_set()
+ */
+static void utc_UIFW_elm_scroller_policy_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void"
+ elm_scroller_policy_set(test_scroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Set the scroller scrollbar policy.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_policy_set()
+ */
+static void utc_UIFW_elm_scroller_policy_set_func_02(void)
+{
+ // Current return type of this API is "Void"
+ elm_scroller_policy_set(NULL, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting the scroller scrollbar policy has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_propagate_events_set_func_01(void);
+static void utc_UIFW_elm_scroller_propagate_events_set_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_propagate_events_set_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_propagate_events_set_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_propagate_events_set()
+ */
+static void utc_UIFW_elm_scroller_propagate_events_set_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void".
+ elm_scroller_propagate_events_set(test_scroller, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Setting events propagation had succeed.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_propagate_events_set()
+ */
+static void utc_UIFW_elm_scroller_propagate_events_set_func_02(void)
+{
+ // Current return type of this API is "Void".
+ elm_scroller_propagate_events_set(NULL, EINA_TRUE);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Setting events propagation had failed.");
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_region_bring_in_func_01(void);
+static void utc_UIFW_elm_scroller_region_bring_in_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_region_bring_in_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_region_bring_in_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_region_bring_in()
+ */
+static void utc_UIFW_elm_scroller_region_bring_in_func_01(void)
+{
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void."
+ elm_scroller_region_bring_in(test_scroller, 0, 0, 480, 800);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Showing a specific virtual region within the scroller content object had succeed.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_region_bring_in()
+ */
+static void utc_UIFW_elm_scroller_region_bring_in_func_02(void)
+{
+ // Current return type of this API is "Void".
+ elm_scroller_region_bring_in(NULL, 0, 0, 480, 800);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Showing a specific virtual region within the scroller content object had failed.");
+
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_region_get_func_01(void);
+static void utc_UIFW_elm_scroller_region_get_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_region_get_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_region_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_region_get()
+ */
+static void utc_UIFW_elm_scroller_region_get_func_01(void)
+{
+ int x, y, w, h;
+
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+
+ // Current return type of this API is "Void".
+ elm_scroller_region_get(test_scroller, &x, &y, &w, &h);
+
+ if ( x < 0 || y < 0 || w < 0 || h < 0 ) {
+ tet_result(TET_FAIL);
+ tet_infoline("[[[ TET_MSG ]]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: FAIL, Getting the currently visible content region has failed.");
+ } else {
+ tet_result(TET_PASS);
+ tet_infoline("[[[ TET_MSG ]]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Getting the currently visible content region had succeed.");
+ }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_region_get()
+ */
+static void utc_UIFW_elm_scroller_region_get_func_02(void)
+{
+ int x, y, w, h;
+
+ // Current return type of this API is "Void"
+ elm_scroller_region_get(NULL, &x, &y, &w, &h);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Getting the currently visible content region has failed.");
+
+}
--- /dev/null
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err == (x1)) \
+ { \
+ tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+// For checking the result of the negative test case.
+#define TET_CHECK_FAIL(x1, y...) \
+{ \
+ Evas_Object *err = y; \
+ if (err != (x1)) \
+ { \
+ tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
+ tet_result(TET_FAIL); \
+ return; \
+ } \
+}
+
+
+Evas_Object *main_win;
+
+static void startup(void);
+static void cleanup(void);
+
+void (*tet_startup)(void) = startup;
+void (*tet_cleanup)(void) = cleanup;
+
+static void utc_UIFW_elm_scroller_region_show_func_01(void);
+static void utc_UIFW_elm_scroller_region_show_func_02(void);
+
+enum {
+ POSITIVE_TC_IDX = 0x01,
+ NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+ { utc_UIFW_elm_scroller_region_show_func_01, POSITIVE_TC_IDX },
+ { utc_UIFW_elm_scroller_region_show_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0 }
+};
+
+static void startup(void)
+{
+ tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
+ elm_init(0, NULL);
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ evas_object_show(main_win);
+}
+
+static void cleanup(void)
+{
+ if ( NULL != main_win ) {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
+}
+
+/**
+ * @brief Positive test case of elm_scroller_region_show()
+ */
+static void utc_UIFW_elm_scroller_region_show_func_01(void)
+{
+ int x, y, w, h;
+
+ Evas_Object *test_scroller = NULL;
+
+ test_scroller = elm_scroller_add(main_win);
+ elm_scroller_region_get(test_scroller, &x, &y, &w, &h);
+
+ // Current return type of this API is "Void"
+ elm_scroller_region_show(test_scroller, x, y, w, h);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_01, [TYPE]: Positive, [RESULT]: PASS, Show a specific virtual region within the scroller content object.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scroller_region_show()
+ */
+static void utc_UIFW_elm_scroller_region_show_func_02(void)
+{
+ // Current return type of this API is "Void"
+ elm_scroller_region_show(NULL, 0, 0, 0, 0);
+
+ tet_result(TET_PASS);
+ tet_infoline("[[ TET_MSG ]]::[ID]: TC_02, [TYPE]: Negative, [RESULT]: PASS, Showing a specific virtual region within the scroller content object has failed.");
+
+}