[UTC SegmentControl] Testcases added for slider.
authorPrince Kr Dubey <prince.dubey@samsung.com>
Tue, 26 Oct 2010 09:43:08 +0000 (15:13 +0530)
committerPrince Kr Dubey <prince.dubey@samsung.com>
Tue, 26 Oct 2010 09:43:08 +0000 (15:13 +0530)
32 files changed:
TC/elm_ts/slider/Makefile [new file with mode: 0644]
TC/elm_ts/slider/tc_gen.sh [new file with mode: 0644]
TC/elm_ts/slider/tslist [new file with mode: 0644]
TC/elm_ts/slider/utc_MODULE_API_func.c.in [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_add_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_icon_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_icon_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_function_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_show_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_label_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_label_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_value_animated_set_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_value_get_func.c [new file with mode: 0644]
TC/elm_ts/slider/utc_UIFW_elm_slider_value_set_func.c [new file with mode: 0644]
TC/tet_scen_arm
TC/tet_scen_i686

diff --git a/TC/elm_ts/slider/Makefile b/TC/elm_ts/slider/Makefile
new file mode 100644 (file)
index 0000000..89e587b
--- /dev/null
@@ -0,0 +1,50 @@
+CC ?= gcc
+
+TARGETS = utc_UIFW_elm_slider_add_func \
+               utc_UIFW_elm_slider_end_icon_get_func \
+               utc_UIFW_elm_slider_end_icon_set_func \
+               utc_UIFW_elm_slider_end_label_get_func \
+               utc_UIFW_elm_slider_end_label_set_func \
+               utc_UIFW_elm_slider_horizontal_get_func \
+               utc_UIFW_elm_slider_horizontal_set_func \
+               utc_UIFW_elm_slider_icon_get_func \
+               utc_UIFW_elm_slider_icon_set_func \
+               utc_UIFW_elm_slider_indicator_format_function_set_func \
+               utc_UIFW_elm_slider_indicator_format_get_func \
+               utc_UIFW_elm_slider_indicator_format_set_func \
+               utc_UIFW_elm_slider_indicator_show_set_func \
+        utc_UIFW_elm_slider_inverted_get_func \
+        utc_UIFW_elm_slider_inverted_set_func \
+               utc_UIFW_elm_slider_label_get_func \
+               utc_UIFW_elm_slider_label_set_func \
+        utc_UIFW_elm_slider_min_max_get_func \
+        utc_UIFW_elm_slider_min_max_set_func \
+               utc_UIFW_elm_slider_span_size_get_func \
+               utc_UIFW_elm_slider_span_size_set_func \
+        utc_UIFW_elm_slider_unit_format_get_func \
+        utc_UIFW_elm_slider_unit_format_set_func \
+               utc_UIFW_elm_slider_value_animated_set_func \
+               utc_UIFW_elm_slider_value_get_func \
+        utc_UIFW_elm_slider_value_set_func 
+                
+
+PKGS = elementary
+
+LDFLAGS = `pkg-config --libs $(PKGS)`
+LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+
+CFLAGS = -I. `pkg-config --cflags $(PKGS)`
+CFLAGS += -I$(TET_ROOT)/inc/tet3
+CFLAGS += -Wall
+
+all: $(TARGETS)
+
+$(TARGET): %: %.c
+       $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
+clean:
+       rm -f $(TARGETS)
+       rm -f tet_captured
+       rm -f *~
diff --git a/TC/elm_ts/slider/tc_gen.sh b/TC/elm_ts/slider/tc_gen.sh
new file mode 100644 (file)
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/slider/tslist b/TC/elm_ts/slider/tslist
new file mode 100644 (file)
index 0000000..bba9ba5
--- /dev/null
@@ -0,0 +1,26 @@
+/elm_ts/slider/utc_UIFW_elm_slider_add_func
+/elm_ts/slider/utc_UIFW_elm_slider_end_icon_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_end_icon_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_end_label_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_end_label_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_horizontal_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_horizontal_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_icon_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_icon_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_function_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_indicator_show_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_inverted_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_inverted_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_label_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_label_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_min_max_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_min_max_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_span_size_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_span_size_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_unit_format_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_unit_format_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_value_animated_set_func
+/elm_ts/slider/utc_UIFW_elm_slider_value_get_func
+/elm_ts/slider/utc_UIFW_elm_slider_value_set_func
diff --git a/TC/elm_ts/slider/utc_MODULE_API_func.c.in b/TC/elm_ts/slider/utc_MODULE_API_func.c.in
new file mode 100644 (file)
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/slider/utc_UIFW_elm_slider_add_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_add_func.c
new file mode 100644 (file)
index 0000000..1ca00d3
--- /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_slider_add_func_01(void);
+static void utc_UIFW_elm_slider_add_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_add_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_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_slider_add()
+ */
+static void utc_UIFW_elm_slider_add_func_01(void)
+{
+        Evas_Object *slider;
+
+       slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+       if (!slider) {
+               tet_infoline("elm_slider_add() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_add()
+ */
+static void utc_UIFW_elm_slider_add_func_02(void)
+{
+        Evas_Object *slider;
+
+        slider = elm_slider_add(NULL);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+       if (slider) {
+               tet_infoline("elm_slider_add() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_get_func.c
new file mode 100644 (file)
index 0000000..4189cb4
--- /dev/null
@@ -0,0 +1,132 @@
+#include <tet_api.h>
+#include <Elementary.h>
+#define ICON_DIR "usr/share/beat_winset_test/icon"
+// 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_slider_end_icon_get_func_01(void);
+static void utc_UIFW_elm_slider_end_icon_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_end_icon_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_end_icon_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_slider_end_icon_get()
+ */
+static void utc_UIFW_elm_slider_end_icon_get_func_01(void)
+{
+        Evas_Object *icon, *ret_icon = NULL;
+        Evas_Object *slider;
+        char buf[255] = {0,};
+
+        icon = elm_icon_add(main_win);
+        snprintf (buf, sizeof(buf), "%s/00_brightness_right.png", ICON_DIR);
+        elm_icon_file_set(icon, buf, NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+        elm_slider_end_icon_set(slider, icon);
+        ret_icon = elm_slider_end_icon_get(slider);
+
+       if (!ret_icon) {
+               tet_infoline("elm_slider_end_icon_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_end_icon_get()
+ */
+static void utc_UIFW_elm_slider_end_icon_get_func_02(void)
+{
+        Evas_Object *icon, *ret_icon;
+        Evas_Object *slider;
+        char buf[255] = {0,};
+
+        icon = elm_icon_add(main_win);
+        snprintf (buf, sizeof(buf), "%s/00_brightness_right.png", ICON_DIR);
+        elm_icon_file_set(icon, buf, NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+        elm_slider_end_icon_set(slider, icon);
+        ret_icon = elm_slider_end_icon_get(NULL);
+
+       if (ret_icon) {
+               tet_infoline("elm_slider_end_icon_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_end_icon_set_func.c
new file mode 100644 (file)
index 0000000..7f61b5d
--- /dev/null
@@ -0,0 +1,118 @@
+#include <tet_api.h>
+#include <Elementary.h>
+#define ICON_DIR "usr/share/beat_winset_test/icon"
+// 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_slider_end_icon_set_func_01(void);
+static void utc_UIFW_elm_slider_end_icon_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_end_icon_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_end_icon_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_slider_end_icon_set()
+ */
+static void utc_UIFW_elm_slider_end_icon_set_func_01(void)
+{
+        Evas_Object *icon, *ret_icon;
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        icon = elm_icon_add(main_win);
+        elm_icon_file_set(icon, ICON_DIR"/00_brightness_right.png", NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        ret = elm_slider_end_icon_set(slider, icon);
+        ret_icon = elm_slider_end_icon_get(slider);
+
+        if (!ret_icon && !ret) {
+              tet_infoline("elm_slider_end_icon_set() failed in positive test case");
+              tet_result(TET_FAIL);
+             return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_end_icon_set()
+ */
+static void utc_UIFW_elm_slider_end_icon_set_func_02(void)
+{
+        Evas_Object *icon, *ret_icon;
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        icon = elm_icon_add(main_win);
+        elm_icon_file_set(icon, ICON_DIR"/00_brightness_right.png", NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        ret = elm_slider_end_icon_set(slider, NULL);
+        ret_icon = elm_slider_end_icon_get(slider);
+
+       if (ret_icon && ret) {
+               tet_infoline("elm_slider_end_icon_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_get_func.c
new file mode 100644 (file)
index 0000000..040a52e
--- /dev/null
@@ -0,0 +1,110 @@
+#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_slider_end_label_get_func_01(void);
+static void utc_UIFW_elm_slider_end_label_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_end_label_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_end_label_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_slider_end_label_get()
+ */
+static void utc_UIFW_elm_slider_end_label_get_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_end_label_set(slider, "Hello!!!");
+       ret = elm_slider_end_label_get(slider);
+
+       if (!ret && !strcmp(ret, "Hello!!!")) {
+               tet_infoline("elm_slider_end_label_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_end_label_get()
+ */
+static void utc_UIFW_elm_slider_end_label_get_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_end_label_set(slider, "Hello!!!");
+        ret = elm_slider_end_label_get(NULL);
+
+        if (ret) {
+               tet_infoline("elm_slider_end_label_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_end_label_set_func.c
new file mode 100644 (file)
index 0000000..fd9c02f
--- /dev/null
@@ -0,0 +1,110 @@
+#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_slider_end_label_set_func_01(void);
+static void utc_UIFW_elm_slider_end_label_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_end_label_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_end_label_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_slider_end_label_set()
+ */
+static void utc_UIFW_elm_slider_end_label_set_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_end_label_set(slider, "Hello!!!");
+        ret = elm_slider_end_label_get(slider);
+
+        if (!ret && !strcmp(ret, "Hello!!!")) {
+               tet_infoline("elm_slider_end_label_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_end_label_set()
+ */
+static void utc_UIFW_elm_slider_end_label_set_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_end_label_set(NULL, "Hello!!!");
+        ret = elm_slider_end_label_get(slider);
+
+        if (ret) {
+               tet_infoline("elm_slider_end_label_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_get_func.c
new file mode 100644 (file)
index 0000000..acdd534
--- /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_slider_horizontal_get_func_01(void);
+static void utc_UIFW_elm_slider_horizontal_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_horizontal_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_horizontal_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_slider_horizontal_get()
+ */
+static void utc_UIFW_elm_slider_horizontal_get_func_01(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_horizontal_set(slider, EINA_TRUE);
+        ret = elm_slider_horizontal_get(slider);
+
+       if (!ret) {
+               tet_infoline("elm_slider_horizontal_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_horizontal_get()
+ */
+static void utc_UIFW_elm_slider_horizontal_get_func_02(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_horizontal_set(slider, EINA_TRUE);
+        ret = elm_slider_horizontal_get(NULL);
+
+         if (ret) {
+               tet_infoline("elm_slider_horizontal_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_horizontal_set_func.c
new file mode 100644 (file)
index 0000000..c773e8e
--- /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_slider_horizontal_set_func_01(void);
+static void utc_UIFW_elm_slider_horizontal_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_horizontal_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_horizontal_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_slider_horizontal_set()
+ */
+static void utc_UIFW_elm_slider_horizontal_set_func_01(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_horizontal_set(slider, EINA_TRUE);
+        ret = elm_slider_horizontal_get(slider);
+
+        if (!ret) {
+               tet_infoline("elm_slider_horizontal_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_horizontal_set()
+ */
+static void utc_UIFW_elm_slider_horizontal_set_func_02(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret1 = EINA_TRUE;
+        Eina_Bool ret2 = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_horizontal_set(slider, EINA_FALSE);
+        ret1 = elm_slider_horizontal_get(slider);
+        elm_slider_horizontal_set(NULL, EINA_TRUE);
+        ret2 = elm_slider_horizontal_get(slider);
+
+        if (!ret1 && ret2) {
+               tet_infoline("elm_slider_horizontal_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_icon_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_icon_get_func.c
new file mode 100644 (file)
index 0000000..35e6c45
--- /dev/null
@@ -0,0 +1,117 @@
+#include <tet_api.h>
+#include <Elementary.h>
+#define ICON_DIR "usr/share/beat_winset_test/icon"
+
+// 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_slider_icon_get_func_01(void);
+static void utc_UIFW_elm_slider_icon_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_icon_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_icon_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_slider_icon_get()
+ */
+static void utc_UIFW_elm_slider_icon_get_func_01(void)
+{
+        Evas_Object *icon, *ret_icon;
+        Evas_Object *slider;
+
+        icon = elm_icon_add(main_win);
+        elm_icon_file_set(icon, ICON_DIR"/00_brightness_right.png", NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        elm_slider_icon_set(slider, icon);
+        ret_icon = elm_slider_icon_get(slider);
+
+        if (!ret_icon) {
+               tet_infoline("elm_slider_icon_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_icon_get()
+ */
+static void utc_UIFW_elm_slider_icon_get_func_02(void)
+{
+        Evas_Object *icon, *ret_icon = NULL;
+        Evas_Object *slider;
+
+        icon = elm_icon_add(main_win);
+        elm_icon_file_set(icon, ICON_DIR"/00_brightness_right.png", NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        elm_slider_icon_set(slider, icon);
+        ret_icon = elm_slider_icon_get(NULL);
+
+        if (ret_icon) {
+               tet_infoline("elm_slider_icon_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_icon_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_icon_set_func.c
new file mode 100644 (file)
index 0000000..c5b29a8
--- /dev/null
@@ -0,0 +1,131 @@
+#include <tet_api.h>
+#include <Elementary.h>
+#define ICON_DIR "usr/share/beat_winset_test/icon"
+
+// 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_slider_icon_set_func_01(void);
+static void utc_UIFW_elm_slider_icon_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_icon_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_icon_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_slider_icon_set()
+ */
+static void utc_UIFW_elm_slider_icon_set_func_01(void)
+{
+        Evas_Object *icon, *ret_icon;
+        Evas_Object *slider;
+        char buf[255] = {0,};
+
+        icon = elm_icon_add(main_win);
+        snprintf (buf, sizeof(buf), "%s/00_brightness_right.png", ICON_DIR);
+        elm_icon_file_set(icon, buf, NULL);
+        evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 1, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+        elm_slider_icon_set(slider, icon);
+        ret_icon = elm_slider_icon_get(slider);
+
+        if (!ret_icon) {
+               tet_infoline("elm_slider_icon_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_icon_set()
+ */
+static void utc_UIFW_elm_slider_icon_set_func_02(void)
+{
+         Evas_Object *icon, *ret_icon;
+         Evas_Object *slider;
+
+         icon = elm_icon_add(main_win);
+         elm_icon_file_set(icon, ICON_DIR"/00_brightness_right.png", NULL);
+         evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
+
+         slider = elm_slider_add(main_win);
+         elm_slider_min_max_set(slider, 1, 9);
+         elm_slider_label_set(slider, "Text");
+         elm_slider_value_set(slider, 3);
+         evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+         evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+         elm_slider_icon_set(NULL, icon);
+         ret_icon = elm_slider_icon_get(slider);
+
+         if (!ret_icon) {
+               tet_infoline("elm_slider_icon_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_function_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_function_set_func.c
new file mode 100644 (file)
index 0000000..72f5cf3
--- /dev/null
@@ -0,0 +1,116 @@
+#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_slider_indicator_format_function_set_func_01(void);
+static void utc_UIFW_elm_slider_indicator_format_function_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_indicator_format_function_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_indicator_format_function_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 ============ ");
+}
+
+static const char *format_func (double val)
+{
+   const char *format = "%1.0f";
+   return format;
+}
+
+/**
+ * @brief Positive test case of elm_slider_indicator_format_function_set()
+ */
+static void utc_UIFW_elm_slider_indicator_format_function_set_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_function_set(slider, format_func);
+        ret_for = elm_slider_indicator_format_get(slider);
+
+       if (!slider) {
+               tet_infoline("elm_slider_indicator_format_function_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_indicator_format_function_set()
+ */
+static void utc_UIFW_elm_slider_indicator_format_function_set_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_function_set(NULL, format_func);
+        ret_for = elm_slider_indicator_format_get(slider);
+
+        if (!slider) {
+               tet_infoline("elm_slider_indicator_format_function_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_get_func.c
new file mode 100644 (file)
index 0000000..1aa3185
--- /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_slider_indicator_format_get_func_01(void);
+static void utc_UIFW_elm_slider_indicator_format_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_indicator_format_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_indicator_format_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_slider_indicator_format_get()
+ */
+static void utc_UIFW_elm_slider_indicator_format_get_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_set(slider, "%1.0f");
+        ret_for = elm_slider_indicator_format_get(slider);
+
+        if (strcmp(ret_for, "%1.0f")) {
+               tet_infoline("elm_slider_indicator_format_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_indicator_format_get()
+ */
+static void utc_UIFW_elm_slider_indicator_format_get_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_set(slider, "%1.0f");
+        ret_for = elm_slider_indicator_format_get(NULL);
+
+        if (ret_for) {
+               tet_infoline("elm_slider_indicator_format_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_format_set_func.c
new file mode 100644 (file)
index 0000000..8147d96
--- /dev/null
@@ -0,0 +1,110 @@
+#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_slider_indicator_format_set_func_01(void);
+static void utc_UIFW_elm_slider_indicator_format_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_indicator_format_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_indicator_format_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_slider_indicator_format_set()
+ */
+static void utc_UIFW_elm_slider_indicator_format_set_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_set(slider, "%1.0f");
+        ret_for = elm_slider_indicator_format_get(slider);
+
+        if (strcmp(ret_for, "%1.0f")) {
+               tet_infoline("elm_slider_indicator_format_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_indicator_format_set()
+ */
+static void utc_UIFW_elm_slider_indicator_format_set_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret_for = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_indicator_format_set(NULL, "%1.0f");
+        ret_for = elm_slider_indicator_format_get(slider);
+
+        if (ret_for) {
+               tet_infoline("elm_slider_indicator_format_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_show_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_indicator_show_set_func.c
new file mode 100644 (file)
index 0000000..203ebaa
--- /dev/null
@@ -0,0 +1,114 @@
+#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_slider_indicator_show_set_func_01(void);
+static void utc_UIFW_elm_slider_indicator_show_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_indicator_show_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_indicator_show_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_slider_indicator_show_set()
+ */
+static void utc_UIFW_elm_slider_indicator_show_set_func_01(void)
+{
+        Evas_Object *slider;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(slider, EINA_TRUE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+       if (!slider) {
+               tet_infoline("elm_slider_indicator_show_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_indicator_show_set()
+ */
+static void utc_UIFW_elm_slider_indicator_show_set_func_02(void)
+{
+        Evas_Object *slider;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(NULL, EINA_TRUE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+       if (!slider) {
+               tet_infoline("elm_slider_indicator_show_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_get_func.c
new file mode 100644 (file)
index 0000000..0d5388c
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_inverted_get_func_01(void);
+static void utc_UIFW_elm_slider_inverted_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_inverted_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_inverted_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_slider_inverted_get()
+ */
+static void utc_UIFW_elm_slider_inverted_get_func_01(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(slider, EINA_TRUE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_inverted_set(slider, EINA_TRUE);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_inverted_get(slider);
+
+       if (!ret) {
+               tet_infoline("elm_slider_inverted_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_inverted_get()
+ */
+static void utc_UIFW_elm_slider_inverted_get_func_02(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(slider, EINA_TRUE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_inverted_set(slider, EINA_TRUE);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_inverted_get(NULL);
+
+       if (ret) {
+               tet_infoline("elm_slider_inverted_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_inverted_set_func.c
new file mode 100644 (file)
index 0000000..e9d5f91
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_inverted_set_func_01(void);
+static void utc_UIFW_elm_slider_inverted_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_inverted_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_inverted_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_slider_inverted_set()
+ */
+static void utc_UIFW_elm_slider_inverted_set_func_01(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_FALSE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(slider, EINA_TRUE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_inverted_set(slider, EINA_TRUE);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_inverted_get(slider);
+
+         if (!ret) {
+               tet_infoline("elm_slider_inverted_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_inverted_set()
+ */
+static void utc_UIFW_elm_slider_inverted_set_func_02(void)
+{
+        Evas_Object *slider;
+        Eina_Bool ret = EINA_TRUE;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_indicator_show_set(slider, EINA_FALSE);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_inverted_set(NULL, EINA_TRUE);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_inverted_get(slider);
+
+         if (ret) {
+               tet_infoline("elm_slider_inverted_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_label_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_label_get_func.c
new file mode 100644 (file)
index 0000000..2c541c2
--- /dev/null
@@ -0,0 +1,116 @@
+#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_slider_label_get_func_01(void);
+static void utc_UIFW_elm_slider_label_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_label_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_label_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_slider_label_get()
+ */
+static void utc_UIFW_elm_slider_label_get_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_label_get(slider);
+
+       if (!ret) {
+               tet_infoline("elm_slider_label_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_label_get()
+ */
+static void utc_UIFW_elm_slider_label_get_func_02(void)
+{
+        Evas_Object *slider;
+        const char * ret = NULL;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_label_get(NULL);
+
+         if (ret) {
+               tet_infoline("elm_slider_label_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_label_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_label_set_func.c
new file mode 100644 (file)
index 0000000..df79bf8
--- /dev/null
@@ -0,0 +1,116 @@
+#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_slider_label_set_func_01(void);
+static void utc_UIFW_elm_slider_label_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_label_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_label_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_slider_label_set()
+ */
+static void utc_UIFW_elm_slider_label_set_func_01(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_label_get(slider);
+
+        if (!ret) {
+               tet_infoline("elm_slider_label_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_label_set()
+ */
+static void utc_UIFW_elm_slider_label_set_func_02(void)
+{
+        Evas_Object *slider;
+        const char *ret = NULL;
+
+        slider = elm_slider_add(main_win);
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(NULL, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        ret = elm_slider_label_get(slider);
+
+        if (ret) {
+               tet_infoline("elm_slider_label_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_get_func.c
new file mode 100644 (file)
index 0000000..d4911a8
--- /dev/null
@@ -0,0 +1,118 @@
+#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_slider_min_max_get_func_01(void);
+static void utc_UIFW_elm_slider_min_max_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_min_max_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_min_max_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_slider_min_max_get()
+ */
+static void utc_UIFW_elm_slider_min_max_get_func_01(void)
+{
+        Evas_Object *slider;
+        double min = 0.0, max = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 1, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        elm_slider_min_max_get(slider, &min, &max);
+
+        if (!(min == 1) || !(max == 9)) {
+               tet_infoline("elm_slider_min_max_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_min_max_get()
+ */
+static void utc_UIFW_elm_slider_min_max_get_func_02(void)
+{
+        Evas_Object *slider;
+        double min = 0.0, max = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 1, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        elm_slider_min_max_get(NULL, &min, &max);
+
+         if ((min == 1) || (max == 9)) {
+               tet_infoline("elm_slider_min_max_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_min_max_set_func.c
new file mode 100644 (file)
index 0000000..02d69be
--- /dev/null
@@ -0,0 +1,118 @@
+#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_slider_min_max_set_func_01(void);
+static void utc_UIFW_elm_slider_min_max_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_min_max_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_min_max_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_slider_min_max_set()
+ */
+static void utc_UIFW_elm_slider_min_max_set_func_01(void)
+{
+        Evas_Object *slider;
+        double min = 0.0, max = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 1, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        elm_slider_min_max_get(slider, &min, &max);
+
+         if (!(min == 1) || !(max == 9)) {
+               tet_infoline("elm_slider_min_max_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_min_max_set()
+ */
+static void utc_UIFW_elm_slider_min_max_set_func_02(void)
+{
+        Evas_Object *slider;
+        double min = 0.0, max = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(NULL, 1, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        elm_slider_min_max_get(slider, &min, &max);
+
+        if ((min == 1) || (max == 9)) {
+               tet_infoline("elm_slider_min_max_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_get_func.c
new file mode 100644 (file)
index 0000000..c870f51
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_span_size_get_func_01(void);
+static void utc_UIFW_elm_slider_span_size_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_span_size_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_span_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_slider_span_size_get()
+ */
+static void utc_UIFW_elm_slider_span_size_get_func_01(void)
+{
+        Evas_Object *slider;
+        Evas_Coord size = 0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_span_size_set(slider, 120);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        size = elm_slider_span_size_get(slider);
+
+       if (!(size == 120)) {
+               tet_infoline("elm_slider_span_size_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_span_size_get()
+ */
+static void utc_UIFW_elm_slider_span_size_get_func_02(void)
+{
+        Evas_Object *slider;
+        Evas_Coord size = 0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_span_size_set(slider, 120);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        size = elm_slider_span_size_get(NULL);
+
+         if ((size == 120)) {
+               tet_infoline("elm_slider_span_size_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_span_size_set_func.c
new file mode 100644 (file)
index 0000000..b93c199
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_span_size_set_func_01(void);
+static void utc_UIFW_elm_slider_span_size_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_span_size_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_span_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_slider_span_size_set()
+ */
+static void utc_UIFW_elm_slider_span_size_set_func_01(void)
+{
+        Evas_Object *slider;
+        Evas_Coord size = 0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_span_size_set(slider, 120);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        size = elm_slider_span_size_get(slider);
+
+        if (!(size == 120)) {
+               tet_infoline("elm_slider_span_size_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_span_size_set()
+ */
+static void utc_UIFW_elm_slider_span_size_set_func_02(void)
+{
+        Evas_Object *slider;
+        Evas_Coord size = 0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_span_size_set(NULL, 120);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        size = elm_slider_span_size_get(slider);
+
+        if (size) {
+               tet_infoline("elm_slider_span_size_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_get_func.c
new file mode 100644 (file)
index 0000000..3414302
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_unit_format_get_func_01(void);
+static void utc_UIFW_elm_slider_unit_format_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_unit_format_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_unit_format_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_slider_unit_format_get()
+ */
+static void utc_UIFW_elm_slider_unit_format_get_func_01(void)
+{
+        Evas_Object *slider;
+        const char *unit = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_unit_format_set(slider, "%1.2f meters");
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        unit = elm_slider_unit_format_get(slider);
+
+       if (!unit || strcmp(unit, "%1.2f meters")) {
+               tet_infoline("elm_slider_unit_format_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_unit_format_get()
+ */
+static void utc_UIFW_elm_slider_unit_format_get_func_02(void)
+{
+        Evas_Object *slider;
+        const char *unit = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_unit_format_set(slider, "%1.2f meters");
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        unit = elm_slider_unit_format_get(NULL);
+
+        if (unit) {
+               tet_infoline("elm_slider_unit_format_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_unit_format_set_func.c
new file mode 100644 (file)
index 0000000..aab95a9
--- /dev/null
@@ -0,0 +1,120 @@
+#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_slider_unit_format_set_func_01(void);
+static void utc_UIFW_elm_slider_unit_format_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_unit_format_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_unit_format_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_slider_unit_format_set()
+ */
+static void utc_UIFW_elm_slider_unit_format_set_func_01(void)
+{
+        Evas_Object *slider;
+        const char *unit = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_unit_format_set(slider, "%1.2f meters");
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        unit = elm_slider_unit_format_get(slider);
+
+        if (!unit || strcmp(unit, "%1.2f meters")) {
+               tet_infoline("elm_slider_unit_format_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_unit_format_set()
+ */
+static void utc_UIFW_elm_slider_unit_format_set_func_02(void)
+{
+        Evas_Object *slider;
+        const char *unit = NULL;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_unit_format_set(NULL, "%1.2f meters");
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        unit = elm_slider_unit_format_get(slider);
+
+        if (unit) {
+               tet_infoline("elm_slider_unit_format_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_value_animated_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_value_animated_set_func.c
new file mode 100644 (file)
index 0000000..5cc1fdd
--- /dev/null
@@ -0,0 +1,116 @@
+#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_slider_value_animated_set_func_01(void);
+static void utc_UIFW_elm_slider_value_animated_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_value_animated_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_value_animated_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_slider_value_animated_set()
+ */
+static void utc_UIFW_elm_slider_value_animated_set_func_01(void)
+{
+        Evas_Object *slider;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_value_animated_set(slider, 0.5);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+        if (!slider) {
+               tet_infoline("elm_slider_value_animated_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_value_animated_set()
+ */
+static void utc_UIFW_elm_slider_value_animated_set_func_02(void)
+{
+        Evas_Object *slider;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        elm_slider_value_animated_set(NULL, 0.5);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+
+         if (!slider) {
+               tet_infoline("elm_slider_value_animated_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_value_get_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_value_get_func.c
new file mode 100644 (file)
index 0000000..af6e6ca
--- /dev/null
@@ -0,0 +1,118 @@
+#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_slider_value_get_func_01(void);
+static void utc_UIFW_elm_slider_value_get_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_value_get_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_value_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_slider_value_get()
+ */
+static void utc_UIFW_elm_slider_value_get_func_01(void)
+{
+        Evas_Object *slider;
+        double value = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        value = elm_slider_value_get(slider);
+
+       if (!(value == 3)) {
+               tet_infoline("elm_slider_value_get() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_value_get()
+ */
+static void utc_UIFW_elm_slider_value_get_func_02(void)
+{
+        Evas_Object *slider;
+        double value = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        value = elm_slider_value_get(NULL);
+
+        if ((value == 3)) {
+               tet_infoline("elm_slider_value_get() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
diff --git a/TC/elm_ts/slider/utc_UIFW_elm_slider_value_set_func.c b/TC/elm_ts/slider/utc_UIFW_elm_slider_value_set_func.c
new file mode 100644 (file)
index 0000000..0b7da43
--- /dev/null
@@ -0,0 +1,118 @@
+#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_slider_value_set_func_01(void);
+static void utc_UIFW_elm_slider_value_set_func_02(void);
+
+enum {
+       POSITIVE_TC_IDX = 0x01,
+       NEGATIVE_TC_IDX,
+};
+
+struct tet_testlist tet_testlist[] = {
+       { utc_UIFW_elm_slider_value_set_func_01, POSITIVE_TC_IDX },
+       { utc_UIFW_elm_slider_value_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_slider_value_set()
+ */
+static void utc_UIFW_elm_slider_value_set_func_01(void)
+{
+        Evas_Object *slider;
+        double value = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(slider, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        value = elm_slider_value_get(slider);
+
+        if (!(value == 3)) {
+               tet_infoline("elm_slider_value_set() failed in positive test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
+
+/**
+ * @brief Negative test case of ug_init elm_slider_value_set()
+ */
+static void utc_UIFW_elm_slider_value_set_func_02(void)
+{
+        Evas_Object *slider;
+        double value = 0.0;
+
+        slider = elm_slider_add(main_win);
+
+        elm_slider_min_max_set(slider, 0, 9);
+        elm_slider_label_set(slider, "Text");
+        elm_slider_value_set(NULL, 3);
+        evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
+        evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
+        value = elm_slider_value_get(slider);
+
+        if (value) {
+               tet_infoline("elm_slider_value_set() failed in negative test case");
+               tet_result(TET_FAIL);
+               return;
+       }
+       tet_result(TET_PASS);
+}
index 696ea04..5c532ec 100644 (file)
@@ -28,8 +28,11 @@ elm
        :include:/elm_ts/toggle/tslist
        :include:/elm_ts/panes/tslist
        :include:/elm_ts/controlbar/tslist
-       :include:/elm_ts/segmentcontrol/tslist
+       :include:/elm_ts/index/tslist
+       :include:/elm_ts/nocontents/tslist
        :include:/elm_ts/scroller/tslist
+       :include:/elm_ts/segmentcontrol/tslist
+       :include:/elm_ts/slider/tslist
        :include:/elm_ts/dialoguegroup/tslist
        :include:/elm_ts/navigationbar_ex/tslist
        :include:/elm_ts/multibuttonentry/tslist
index 29fa9f6..e5d5a42 100755 (executable)
@@ -32,7 +32,10 @@ elm
        :include:/elm_ts/panes/tslist
        :include:/elm_ts/controlbar/tslist
        :include:/elm_ts/scroller/tslist
+       :include:/elm_ts/index/tslist
+       :include:/elm_ts/nocontents/tslist
        :include:/elm_ts/segmentcontrol/tslist
+       :include:/elm_ts/slider/tslist
 
 
 #yhkim