[Scrolled entry] Create unit test cases.
authorMyoungWoon Roy Kim <myoungwoon.kim@samsung.com>
Tue, 26 Oct 2010 06:13:17 +0000 (15:13 +0900)
committerMyoungWoon Roy Kim <myoungwoon.kim@samsung.com>
Tue, 26 Oct 2010 06:13:17 +0000 (15:13 +0900)
26 files changed:
TC/elm_ts/scrolled_entry/tc_gen.sh [new file with mode: 0755]
TC/elm_ts/scrolled_entry/tslist [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_MODULE_API_func.c.in [new file with mode: 0755]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_add_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_begin_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_down_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_end_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_next_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_prev_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_up_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_get_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_get_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_insert_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_all_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_none_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_get_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_get_func.c [new file with mode: 0644]
TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_set_func.c [new file with mode: 0644]

diff --git a/TC/elm_ts/scrolled_entry/tc_gen.sh b/TC/elm_ts/scrolled_entry/tc_gen.sh
new file mode 100755 (executable)
index 0000000..a55200a
--- /dev/null
@@ -0,0 +1,32 @@
+#!/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"
diff --git a/TC/elm_ts/scrolled_entry/tslist b/TC/elm_ts/scrolled_entry/tslist
new file mode 100644 (file)
index 0000000..99d3daa
--- /dev/null
@@ -0,0 +1,23 @@
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_add_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_get_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_get_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_get_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_insert_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_get_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_none_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_all_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_next_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_prev_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_up_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_down_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_begin_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_end_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func
+/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func
diff --git a/TC/elm_ts/scrolled_entry/utc_MODULE_API_func.c.in b/TC/elm_ts/scrolled_entry/utc_MODULE_API_func.c.in
new file mode 100755 (executable)
index 0000000..6c6febe
--- /dev/null
@@ -0,0 +1,104 @@
+#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);
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_add_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_add_func.c
new file mode 100644 (file)
index 0000000..0ddcfd1
--- /dev/null
@@ -0,0 +1,94 @@
+#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_scrolled_entry_add_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_add_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_add_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_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_scrolled_entry_add()
+ */
+static void utc_UIFW_elm_scrolled_entry_add_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       TET_CHECK_PASS(NULL, test_en);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, An Scrolled entry is added successfully.");
+       
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_add()
+ */
+static void utc_UIFW_elm_scrolled_entry_add_func_02(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(NULL);
+       TET_CHECK_FAIL(NULL, test_en);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Adding an Scrolled entry has failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_begin_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_begin_set_func.c
new file mode 100644 (file)
index 0000000..8dad7d1
--- /dev/null
@@ -0,0 +1,97 @@
+#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_scrolled_entry_cursor_begin_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_begin_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_scrolled_entry_cursor_begin_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
+
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_begin_set(test_en);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the beginning of the scrolled entry had succeed.");
+       
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_begin_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_begin_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_begin_set(NULL);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the beginning of the scrolled entry had failed.");
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_down_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_down_func.c
new file mode 100644 (file)
index 0000000..c00f746
--- /dev/null
@@ -0,0 +1,111 @@
+#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_scrolled_entry_cursor_down_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_down_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_down_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_down_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_scrolled_entry_cursor_down()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_down_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
+       elm_scrolled_entry_cursor_begin_set(test_en);
+
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_down(test_en);
+
+       if (result == EINA_TRUE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor one line down within the entry had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor one line down within the entry had failed.");
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_down()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_down_func_02(void)
+{
+       Eina_Bool result;
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_down(NULL);
+
+       if (result == EINA_FALSE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor one line down within the entry had failed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negetive, [RESULT]:FAIL, Error occurs while moving the cursor one line down within the entry.");
+       }
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_end_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_end_set_func.c
new file mode 100644 (file)
index 0000000..6feeb14
--- /dev/null
@@ -0,0 +1,96 @@
+#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_scrolled_entry_cursor_end_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_end_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_end_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_scrolled_entry_cursor_end_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
+
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_end_set(test_en);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the end of the scrolled entry had succeed.");
+       
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_end_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_end_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_end_set(NULL);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the end of the scrolled entry had failed.");
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func.c
new file mode 100644 (file)
index 0000000..c7d4a92
--- /dev/null
@@ -0,0 +1,98 @@
+#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_scrolled_entry_cursor_line_begin_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_line_begin_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_scrolled_entry_cursor_line_begin_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
+       elm_scrolled_entry_cursor_begin_set(test_en);
+       elm_scrolled_entry_cursor_line_end_set(test_en);
+
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_line_begin_set(test_en);      
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the beginning of the current line had succeed.");
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_line_begin_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_line_begin_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_line_begin_set(NULL);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the beginning of the current line had failed.");
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func.c
new file mode 100644 (file)
index 0000000..83060b2
--- /dev/null
@@ -0,0 +1,97 @@
+#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_scrolled_entry_cursor_line_end_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_line_end_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_scrolled_entry_cursor_line_end_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br> test scrolled entry");
+       elm_scrolled_entry_cursor_begin_set(test_en);
+       elm_scrolled_entry_cursor_line_begin_set(test_en);
+
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_line_end_set(test_en);        
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor to the end of the current line had succeed.");
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_line_end_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_line_end_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_cursor_line_end_set(NULL);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor to the end of the current line had failed.");
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_next_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_next_func.c
new file mode 100644 (file)
index 0000000..d5f0909
--- /dev/null
@@ -0,0 +1,112 @@
+#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_scrolled_entry_cursor_next_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_next_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_next_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_next_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_scrolled_entry_cursor_next()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_next_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_next(test_en);
+
+       if (result == EINA_TRUE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor on place to the right within the entry had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor on place to the right within the entry had failed.");
+       }
+
+}
+       
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_next()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_next_func_02(void)
+{
+       Eina_Bool result;
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_next(NULL);
+
+       if (result == EINA_FALSE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor on place to the right within the entry had failed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negetive, [RESULT]:FAIL, Error occurs while moving the cursor on place to the right within the entry.");
+       }
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_prev_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_prev_func.c
new file mode 100644 (file)
index 0000000..d6e63de
--- /dev/null
@@ -0,0 +1,111 @@
+#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_scrolled_entry_cursor_prev_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_prev_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_prev_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_scrolled_entry_cursor_prev()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_prev(test_en);
+
+       if (result == EINA_TRUE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor on place to the left within the entry had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor on place to the left within the entry had failed.");
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_prev()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_prev_func_02(void)
+{
+       Eina_Bool result;
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_prev(NULL);
+
+       if (result == EINA_FALSE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor on place to the left within the entry had failed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while moving the cursor on place to the left within the entry.");
+       }
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_up_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_cursor_up_func.c
new file mode 100644 (file)
index 0000000..1d7f919
--- /dev/null
@@ -0,0 +1,111 @@
+#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_scrolled_entry_cursor_up_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_cursor_up_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_cursor_up_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_cursor_up_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_scrolled_entry_cursor_up()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_up_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is<br>test scrolled entry");
+
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_up(test_en);
+
+       if (result == EINA_TRUE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Moving the cursor one line up within the entry had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Moving the cursor one line up within the entry had failed.");
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_cursor_up()
+ */
+static void utc_UIFW_elm_scrolled_entry_cursor_up_func_02(void)
+{
+       Eina_Bool result;
+       // Current return type of this API is "void"
+       result = elm_scrolled_entry_cursor_up(NULL);
+
+       if (result == EINA_FALSE)
+       {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Moving the cursor one line up within the entry had failed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while moving the cursor one line up within the entry.");
+
+       }
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_get_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_get_func.c
new file mode 100644 (file)
index 0000000..bcec387
--- /dev/null
@@ -0,0 +1,107 @@
+#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_scrolled_entry_editable_get_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_editable_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_editable_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_editable_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_scrolled_entry_editable_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_editable_get_func_01(void)
+{
+       Eina_Bool result;
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       elm_scrolled_entry_editable_set(test_en, EINA_TRUE);
+       result = elm_scrolled_entry_editable_get(test_en);
+
+       if (result == EINA_TRUE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the editable attribute of the scrolled entry had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Getting the editable attribute of the scrolled entry had failed.");   
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_editable_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_editable_get_func_02(void)
+{
+       Eina_Bool result;
+
+       result = elm_scrolled_entry_editable_get(NULL);
+
+       if (result == EINA_FALSE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the editable attribute of the scrolled entry had failed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Error occurs while getting the editable attribute of the scrolled entry.");   
+       }
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_editable_set_func.c
new file mode 100644 (file)
index 0000000..7216730
--- /dev/null
@@ -0,0 +1,98 @@
+#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_scrolled_entry_editable_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_editable_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_editable_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_editable_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_scrolled_entry_editable_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_editable_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_editable_set(test_en, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the editable attribute of the scrolled entry had succeed.");
+
+       
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_editable_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_editable_set_func_02(void)
+{
+       // Current return type of this API is "void".
+       elm_scrolled_entry_editable_set(NULL, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the editable attribute of the scrolled entry had failed.");
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_get_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_get_func.c
new file mode 100644 (file)
index 0000000..fff134a
--- /dev/null
@@ -0,0 +1,98 @@
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+       const char *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...) \
+{ \
+       const char *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_scrolled_entry_entry_get_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_entry_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_entry_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_entry_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_scrolled_entry_entry_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_get_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       elm_scrolled_entry_entry_set(test_en, "This is test entry");
+
+       const char *s = elm_scrolled_entry_entry_get(test_en);
+       TET_CHECK_PASS(NULL, s);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the text currently shown in scrolled entry had succeed.");
+       
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_entry_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_get_func_02(void)
+{
+       const char *s = elm_scrolled_entry_entry_get(NULL);
+       TET_CHECK_FAIL(NULL, s);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the text currently shown is scrolled entry had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_insert_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_insert_func.c
new file mode 100644 (file)
index 0000000..59207b5
--- /dev/null
@@ -0,0 +1,97 @@
+#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_scrolled_entry_entry_insert_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_entry_insert_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_entry_insert_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_entry_insert_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_scrolled_entry_entry_insert()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_insert_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_entry_insert(test_en, "Insert some <b>BOLD</b> text");
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Inserting text at the beginning of the scrolled entry had succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_entry_insert()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_insert_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_entry_insert(NULL, "This is negative test case");
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Inserting test at the beginning of the scrolled entry had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_entry_set_func.c
new file mode 100644 (file)
index 0000000..ece8e94
--- /dev/null
@@ -0,0 +1,96 @@
+#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_scrolled_entry_entry_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_entry_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_entry_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_entry_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_scrolled_entry_entry_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_entry_set(test_en, "This is the test entry");
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the text displaed within the scrolled entry had succeed.");
+       
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_entry_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_entry_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_entry_set(NULL, "This is Negative test case");
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the text displayed within the scrolled entry had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func.c
new file mode 100644 (file)
index 0000000..fb8024c
--- /dev/null
@@ -0,0 +1,98 @@
+#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_scrolled_entry_line_char_wrap_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_line_char_wrap_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_scrolled_entry_line_char_wrap_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_line_char_wrap_set(test_en, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Enabling character line wrapping in the scrolled entry object had succeed.");
+       
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_line_char_wrap_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func_02(void)
+{
+       // Current return type of this API is "void".
+       elm_scrolled_entry_line_char_wrap_set(NULL, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Enabling character line wrapping in the scrolled entry object had succeed.");
+
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func.c
new file mode 100644 (file)
index 0000000..04ce089
--- /dev/null
@@ -0,0 +1,96 @@
+#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_scrolled_entry_line_wrap_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_line_wrap_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_line_wrap_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_scrolled_entry_line_wrap_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       // Current return type of this API is "void"
+       elm_scrolled_entry_line_wrap_set(test_en, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Enabling word line wrapping in the scrolled entry object had succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_line_wrap_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_line_wrap_set_func_02(void)
+{
+       // Current return type of this API is "void"
+       elm_scrolled_entry_line_wrap_set(NULL, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Enabling word line wrapping in the scrolled entry object had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func.c
new file mode 100644 (file)
index 0000000..eaff140
--- /dev/null
@@ -0,0 +1,108 @@
+#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_scrolled_entry_password_get_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_password_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_password_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_password_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_scrolled_entry_password_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_password_get_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_password_set(test_en, EINA_TRUE);
+       
+       result = elm_scrolled_entry_password_get(test_en);
+
+       if ( result == EINA_TRUE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the status that the scrolled entry is on password mode had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Getting the status that the scrolled entry is on password mode had failed.");
+       
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_password_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_password_get_func_02(void)
+{
+       Eina_Bool result;
+
+       result = elm_scrolled_entry_password_get(NULL);
+
+       if ( result == EINA_FALSE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, In case that the scrolled entry is NULL, this API should return FALSE.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry is on password mode.");
+       }
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func.c
new file mode 100644 (file)
index 0000000..735acb6
--- /dev/null
@@ -0,0 +1,97 @@
+#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_scrolled_entry_password_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_password_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_password_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_password_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_scrolled_entry_password_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_password_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       
+       // Current return type of this API is "void".
+       elm_scrolled_entry_password_set(test_en, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the scrolled entry object to password mode had succeed.");
+
+}
+
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_password_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_password_set_func_02(void)
+{
+       // Current return type of this API is "void".
+       elm_scrolled_entry_password_set(NULL, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the scrolled entry object to password mode had failed.");
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_all_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_all_func.c
new file mode 100644 (file)
index 0000000..0916688
--- /dev/null
@@ -0,0 +1,97 @@
+#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_scrolled_entry_select_all_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_select_all_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_select_all_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_select_all_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_scrolled_entry_select_all()
+ */
+static void utc_UIFW_elm_scrolled_entry_select_all_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_select_all(test_en);
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Selecting all text within the scrolled entry had succeed.");
+
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_select_all()
+ */
+static void utc_UIFW_elm_scrolled_entry_select_all_func_02(void)
+{
+       // Current return type of this API is "void".
+       elm_scrolled_entry_select_all(NULL);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Selecting all text within the scrolled entry had failed.");
+
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_none_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_select_none_func.c
new file mode 100644 (file)
index 0000000..c61fdd8
--- /dev/null
@@ -0,0 +1,98 @@
+#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_scrolled_entry_select_none_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_select_none_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_select_none_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_select_none_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_scrolled_entry_select_none()
+ */
+static void utc_UIFW_elm_scrolled_entry_select_none_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+       elm_scrolled_entry_select_all(test_en);
+
+       // Current return type of this API is "void".
+       elm_scrolled_entry_select_none(test_en);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Dropping any existing test selection within the scrolled entry had succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_select_none()
+ */
+static void utc_UIFW_elm_scrolled_entry_select_none_func_02(void)
+{
+       // Current return type of this API is "void".
+       elm_scrolled_entry_select_none(NULL);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Negative, [RESULT]:PASS, Dropping any existing test selection within the scrolled entry had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_get_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_selection_get_func.c
new file mode 100644 (file)
index 0000000..6040072
--- /dev/null
@@ -0,0 +1,98 @@
+#include <tet_api.h>
+#include <Elementary.h>
+
+// Definitions
+// For checking the result of the positive test case.
+#define TET_CHECK_PASS(x1, y...) \
+{ \
+       const char *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...) \
+{ \
+       const char *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_scrolled_entry_selection_get_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_selection_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_selection_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_selection_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_scrolled_entry_selection_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_selection_get_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+       elm_scrolled_entry_entry_set(test_en, "This is test scrolled entry");
+       elm_scrolled_entry_select_all(test_en);
+
+       const char *s = elm_scrolled_entry_selection_get(test_en);
+       TET_CHECK_PASS(NULL, s);
+       
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting all selected text within scrolled entry had succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_selection_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_selection_get_func_02(void)
+{
+       const char *s = elm_scrolled_entry_selection_get(NULL);
+       TET_CHECK_FAIL(NULL, s);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting all selected text within scrolled entry had failed.");
+       
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_get_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_get_func.c
new file mode 100644 (file)
index 0000000..6255edd
--- /dev/null
@@ -0,0 +1,107 @@
+#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_scrolled_entry_single_line_get_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_single_line_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_single_line_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_single_line_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_scrolled_entry_single_line_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_single_line_get_func_01(void)
+{
+       Eina_Bool result;
+
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       elm_scrolled_entry_single_line_set(test_en, EINA_TRUE);
+       result = elm_scrolled_entry_single_line_get(test_en);
+
+       if (result == EINA_TRUE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting the status that the scrolled entry has been set to single line mode had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry has been set to single line mode.");
+       }
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_single_line_get()
+ */
+static void utc_UIFW_elm_scrolled_entry_single_line_get_func_02(void)
+{
+       Eina_Bool result;
+
+       result = elm_scrolled_entry_single_line_get(NULL);
+
+       if (result == EINA_FALSE) {
+               tet_result(TET_PASS);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting the status that the scrolled entry has been set to single line mode had succeed.");
+       } else {
+               tet_result(TET_FAIL);
+               tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:FAIL, Error occurs while getting the status that the scrolled entry has been set to single line mode.");
+       }
+}
diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_single_line_set_func.c
new file mode 100644 (file)
index 0000000..7fd6328
--- /dev/null
@@ -0,0 +1,96 @@
+#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_scrolled_entry_single_line_set_func_01(void);
+static void utc_UIFW_elm_scrolled_entry_single_line_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_scrolled_entry_single_line_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_scrolled_entry_single_line_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_scrolled_entry_single_line_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_single_line_set_func_01(void)
+{
+       Evas_Object *test_en = elm_scrolled_entry_add(main_win);
+
+       // Current return type of this target API is "Void".
+       elm_scrolled_entry_single_line_set(test_en, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting the scrolled entry object not to line wrap had succeed.");
+
+}
+
+/**
+ * @brief Negative test case of ug_init elm_scrolled_entry_single_line_set()
+ */
+static void utc_UIFW_elm_scrolled_entry_single_line_set_func_02(void)
+{
+       // Current return type of this target API is "Void".
+       elm_scrolled_entry_single_line_set(NULL, EINA_TRUE);
+
+       tet_result(TET_PASS);
+       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting the scrolled entry object no to line wrap had failed.");
+
+}