[Merge conflict resolved]
authorshilpa singh <shilpa.singh@samsung.com>
Thu, 15 Mar 2012 08:20:00 +0000 (13:50 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Thu, 15 Mar 2012 09:00:37 +0000 (14:30 +0530)
[elm_colorpalette and elm_searchbar]: removal from Test cases.
Change-Id: I08a69404f3e01ce31313442532e56c3d017abc8f

20 files changed:
TC/elm_ts/colorpalette/Makefile [deleted file]
TC/elm_ts/colorpalette/tc_gen.sh [deleted file]
TC/elm_ts/colorpalette/tslist [deleted file]
TC/elm_ts/colorpalette/utc_MODULE_API_func.c.in [deleted file]
TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_add_func.c [deleted file]
TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_color_set_func.c [deleted file]
TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_row_column_set_func.c [deleted file]
TC/elm_ts/searchbar/Makefile [deleted file]
TC/elm_ts/searchbar/tc_gen.sh [deleted file]
TC/elm_ts/searchbar/tslist [deleted file]
TC/elm_ts/searchbar/utc_MODULE_API_func.c.in [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_add_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_boundary_rect_set_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_animation_set_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_set_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_clear_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_entry_get_func.c [deleted file]
TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_text_get_func.c [deleted file]
TC/tet_scen_arm
TC/tet_scen_i386

diff --git a/TC/elm_ts/colorpalette/Makefile b/TC/elm_ts/colorpalette/Makefile
deleted file mode 100755 (executable)
index 04fd270..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-CC ?= gcc
-
-TARGETS = utc_UIFW_elm_colorpalette_add_func \
-         utc_UIFW_elm_colorpalette_color_set_func \
-         utc_UIFW_elm_colorpalette_row_column_set_func
-
-PKGS = elementary evas
-
-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)
-
-$(TARGETS): %: %.c
-       $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-
-clean:
-       rm -f $(TARGETS)
-       rm -f tet_captured
-       rm -f tet_lock
-       rm -f *~
diff --git a/TC/elm_ts/colorpalette/tc_gen.sh b/TC/elm_ts/colorpalette/tc_gen.sh
deleted file mode 100755 (executable)
index a55200a..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/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/colorpalette/tslist b/TC/elm_ts/colorpalette/tslist
deleted file mode 100644 (file)
index 92ea4cf..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_add_func
-/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_color_set_func
-/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_row_column_set_func
diff --git a/TC/elm_ts/colorpalette/utc_MODULE_API_func.c.in b/TC/elm_ts/colorpalette/utc_MODULE_API_func.c.in
deleted file mode 100755 (executable)
index af5c0cc..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#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 },
-};
-
-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/colorpalette/utc_UIFW_elm_colorpalette_add_func.c b/TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_add_func.c
deleted file mode 100644 (file)
index d09e002..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#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_colorpalette_add_func_01(void);
-static void utc_UIFW_elm_colorpalette_add_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_colorpalette_add_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_colorpalette_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_colorpalette_add()
- */
-static void utc_UIFW_elm_colorpalette_add_func_01(void)
-{
-       Evas_Object *colorpalette = NULL;
-
-       colorpalette = elm_colorpalette_add(main_win);
-
-       if (!colorpalette) {
-               tet_infoline("elm_colorpalette_add() failed in positive test case");
-               tet_result(TET_FAIL);
-               return;
-       }
-       evas_object_del(colorpalette);
-       colorpalette = NULL;
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init elm_colorpalette_add()
- */
-static void utc_UIFW_elm_colorpalette_add_func_02(void)
-{
-       Evas_Object *colorpalette = NULL;
-
-
-       colorpalette = elm_colorpalette_add(NULL);
-
-       if (colorpalette) {
-               tet_infoline("elm_colorpalette_add() failed in negative test case");
-               tet_result(TET_FAIL);
-               evas_object_del(colorpalette);
-               colorpalette = NULL;
-               return;
-       }
-       tet_result(TET_PASS);
-}
diff --git a/TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_color_set_func.c b/TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_color_set_func.c
deleted file mode 100644 (file)
index 0811657..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-#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;
-Evas_Object *colorpalette;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_colorpalette_color_set_func_01(void);
-static void utc_UIFW_elm_colorpalette_color_set_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_colorpalette_color_set_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_colorpalette_color_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);
-       colorpalette = elm_colorpalette_add(main_win);
-       evas_object_show(colorpalette);
-}
-
-static void cleanup(void)
-{
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-       else if ( NULL != colorpalette ) {
-               evas_object_del(colorpalette);
-               colorpalette = NULL;
-       }
-       elm_shutdown();
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_colorpalette_color_set()
- */
-static void utc_UIFW_elm_colorpalette_color_set_func_01(void)
-{
-       Elm_Colorpalette_Color color_set[5];
-
-       color_set[ 0 ].r = 255;
-       color_set[ 0 ].g = 90;
-       color_set[ 0 ].b = 18;
-
-       color_set[ 1 ].r = 255;
-       color_set[ 1 ].g = 213;
-       color_set[ 1 ].b = 0;
-
-       color_set[ 2 ].r = 146;
-       color_set[ 2 ].g = 255;
-       color_set[ 2 ].b = 11;
-
-       color_set[ 3 ].r = 9;
-       color_set[ 3 ].g = 186;
-       color_set[ 3 ].b = 10;
-
-       color_set[ 4 ].r = 86;
-       color_set[ 4 ].g = 201;
-       color_set[ 4 ].b = 242;
-
-       elm_colorpalette_color_set(colorpalette, 5, color_set);
-
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init elm_colorpalette_color_set()
- */
-static void utc_UIFW_elm_colorpalette_color_set_func_02(void)
-{
-       Elm_Colorpalette_Color color_set[5];
-
-       color_set[ 0 ].r = 255;
-       color_set[ 0 ].g = 90;
-       color_set[ 0 ].b = 18;
-
-       color_set[ 1 ].r = 255;
-       color_set[ 1 ].g = 213;
-       color_set[ 1 ].b = 0;
-
-       color_set[ 2 ].r = 146;
-       color_set[ 2 ].g = 255;
-       color_set[ 2 ].b = 11;
-
-       color_set[ 3 ].r = 9;
-       color_set[ 3 ].g = 186;
-       color_set[ 3 ].b = 10;
-
-       color_set[ 4 ].r = 86;
-       color_set[ 4 ].g = 201;
-       color_set[ 4 ].b = 242;
-
-       elm_colorpalette_color_set(NULL, 5, color_set);
-
-       tet_result(TET_PASS);
-}
diff --git a/TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_row_column_set_func.c b/TC/elm_ts/colorpalette/utc_UIFW_elm_colorpalette_row_column_set_func.c
deleted file mode 100644 (file)
index ca2cd47..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#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;
-Evas_Object *colorpalette;
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_colorpalette_row_column_set_func_01(void);
-static void utc_UIFW_elm_colorpalette_row_column_set_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_colorpalette_row_column_set_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_colorpalette_row_column_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);
-       colorpalette = elm_colorpalette_add(main_win);
-       evas_object_show(colorpalette);
-}
-
-static void cleanup(void)
-{
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-       else if ( NULL != colorpalette ) {
-               evas_object_del(colorpalette);
-               colorpalette = NULL;
-       }
-       elm_shutdown();
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-/**
- * @brief Positive test case of elm_colorpalette_row_column_set()
- */
-static void utc_UIFW_elm_colorpalette_row_column_set_func_01(void)
-{
-       elm_colorpalette_row_column_set(colorpalette, 2, 5);
-       tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init elm_colorpalette_row_column_set()
- */
-static void utc_UIFW_elm_colorpalette_row_column_set_func_02(void)
-{
-       elm_colorpalette_row_column_set(NULL, 2, 5);
-       tet_result(TET_PASS);
-}
diff --git a/TC/elm_ts/searchbar/Makefile b/TC/elm_ts/searchbar/Makefile
deleted file mode 100755 (executable)
index 4e3ce65..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-CC ?= gcc
-
-TARGETS = utc_UIFW_elm_searchbar_add_func \
-       utc_UIFW_elm_searchbar_boundary_rect_set_func \
-       utc_UIFW_elm_searchbar_cancel_button_animation_set_func \
-       utc_UIFW_elm_searchbar_cancel_button_set_func \
-       utc_UIFW_elm_searchbar_clear_func \
-       utc_UIFW_elm_searchbar_entry_get_func \
-       utc_UIFW_elm_searchbar_text_get_func 
-
-PKGS = elementary evas
-
-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)
-
-$(TARGETS): %: %.c
-       $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
-
-clean:
-       rm -f *~ *.o tet_captured tet_lock $(TARGETS)
diff --git a/TC/elm_ts/searchbar/tc_gen.sh b/TC/elm_ts/searchbar/tc_gen.sh
deleted file mode 100755 (executable)
index a55200a..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/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/searchbar/tslist b/TC/elm_ts/searchbar/tslist
deleted file mode 100755 (executable)
index d98ed2b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_set_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_add_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_boundary_rect_set_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_animation_set_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_clear_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_entry_get_func
-/elm_ts/searchbar/utc_UIFW_elm_searchbar_text_get_func
diff --git a/TC/elm_ts/searchbar/utc_MODULE_API_func.c.in b/TC/elm_ts/searchbar/utc_MODULE_API_func.c.in
deleted file mode 100755 (executable)
index da52d9f..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-#include <tet_api.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; \
-               } \
-}
-
-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 },
-};
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-
-/**
- * @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/searchbar/utc_UIFW_elm_searchbar_add_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_add_func.c
deleted file mode 100755 (executable)
index df55e85..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_add_func_01(void);
-static void utc_UIFW_elm_searchbar_add_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_add_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_add_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_add()
- */
-static void utc_UIFW_elm_searchbar_add_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       TET_CHECK_PASS(NULL, test_eo);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, An SearchBar is added successfully.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_add()
- */
-static void utc_UIFW_elm_searchbar_add_func_02(void)
-{
-       test_eo = elm_searchbar_add(NULL);
-       TET_CHECK_FAIL(NULL, test_eo);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Adding an SearchBar has failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_boundary_rect_set_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_boundary_rect_set_func.c
deleted file mode 100755 (executable)
index 1c59d6e..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_boundary_rect_set_func_01(void);
-static void utc_UIFW_elm_searchbar_boundary_rect_set_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_boundary_rect_set_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_boundary_rect_set_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_boundary_rect_set()
- */
-static void utc_UIFW_elm_searchbar_boundary_rect_set_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       elm_searchbar_boundary_rect_set(test_eo, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting boundary rect of SearchBar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_boundary_rect_set()
- */
-static void utc_UIFW_elm_searchbar_boundary_rect_set_func_02(void)
-{
-       test_eo = elm_searchbar_add(NULL);
-       elm_searchbar_boundary_rect_set(NULL, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting boundary rect of SearchBar is failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_animation_set_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_animation_set_func.c
deleted file mode 100755 (executable)
index 8969f28..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_cancel_button_animation_set_func_01(void);
-static void utc_UIFW_elm_searchbar_cancel_button_animation_set_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_cancel_button_animation_set_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_cancel_button_animation_set_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_cancel_button_animation_set()
- */
-static void utc_UIFW_elm_searchbar_cancel_button_animation_set_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       elm_searchbar_cancel_button_animation_set(test_eo, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting cancel button animation flag of SearchBar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_cancel_button_animation_set()
- */
-static void utc_UIFW_elm_searchbar_cancel_button_animation_set_func_02(void)
-{
-       test_eo = elm_searchbar_add(NULL);
-       elm_searchbar_cancel_button_animation_set(NULL, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting cancel button animation flag of SearchBar is failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_set_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_cancel_button_set_func.c
deleted file mode 100755 (executable)
index 93d0981..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_cancel_button_set_func_01(void);
-static void utc_UIFW_elm_searchbar_cancel_button_set_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_cancel_button_set_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_cancel_button_set_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_cancel_button_set()
- */
-static void utc_UIFW_elm_searchbar_cancel_button_set_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       elm_searchbar_cancel_button_set(test_eo, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting cancel button showing flag of searchbar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_cancel_button_set()
- */
-static void utc_UIFW_elm_searchbar_cancel_button_set_func_02(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       elm_searchbar_cancel_button_set(NULL, EINA_TRUE);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting cancel button showing flag of searchbar is failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_clear_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_clear_func.c
deleted file mode 100755 (executable)
index 5c2ab4e..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_clear_func_01(void);
-static void utc_UIFW_elm_searchbar_clear_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_clear_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_clear_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_clear()
- */
-static void utc_UIFW_elm_searchbar_clear_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       elm_searchbar_clear(test_eo);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Clearing text of SearchBar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_clear()
- */
-static void utc_UIFW_elm_searchbar_clear_func_02(void)
-{
-       test_eo = elm_searchbar_add(NULL);
-       elm_searchbar_clear(NULL);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Clearing text of SearchBar is failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_entry_get_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_entry_get_func.c
deleted file mode 100755 (executable)
index e497a7a..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_entry_get_func_01(void);
-static void utc_UIFW_elm_searchbar_entry_get_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_entry_get_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_entry_get_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_entry_get()
- */
-static void utc_UIFW_elm_searchbar_entry_get_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       Evas_Object *en = NULL;
-       en = elm_searchbar_entry_get(test_eo);
-       TET_CHECK_PASS(NULL, en);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting entry of SearchBar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_entry_get()
- */
-static void utc_UIFW_elm_searchbar_entry_get_func_02(void)
-{
-       //test_eo = elm_searchbar_add(NULL);
-       Evas_Object *en = NULL;
-       en = elm_searchbar_entry_get(NULL);
-       TET_CHECK_FAIL(NULL, en);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting entry of SearchBar is failed.");
-}
diff --git a/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_text_get_func.c b/TC/elm_ts/searchbar/utc_UIFW_elm_searchbar_text_get_func.c
deleted file mode 100755 (executable)
index a36907b..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-#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; \
-               } \
-}
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_UIFW_elm_searchbar_text_get_func_01(void);
-static void utc_UIFW_elm_searchbar_text_get_func_02(void);
-
-enum {
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
-       { utc_UIFW_elm_searchbar_text_get_func_01, POSITIVE_TC_IDX },
-       { utc_UIFW_elm_searchbar_text_get_func_02, NEGATIVE_TC_IDX },
-       { NULL, 0}
-};
-
-// Declare the global variables
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-// Declare internal functions
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-
-// Delete main window
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
-       elm_exit();
-}
-
-// Do precondition.
-void _elm_precondition(void)
-{
-       elm_init(0, NULL);
-
-       main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
-       elm_win_title_set(main_win, "Elementary Unit Test Suite");
-       evas_object_smart_callback_add(main_win, "delete,request", _win_del, NULL);
-       main_bg = elm_bg_add(main_win);
-       evas_object_size_hint_weight_set(main_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       elm_win_resize_object_add(main_win, main_bg);
-       evas_object_show(main_bg);
-
-       // set an initial window size
-       evas_object_resize(main_win, 320, 480);
-       // show the window
-       evas_object_show(main_win);
-
-       //elm_run();
-}
-
-
-// Start up function for each test purpose
-static void
-startup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
-       // Elm precondition
-       _elm_precondition();
-
-       // Test precondition
-       test_win = elm_win_add(NULL, "SearchBar", ELM_WIN_BASIC);
-       elm_win_title_set(test_win, "SearchBar");
-       elm_win_autodel_set(test_win, 1);
-
-       test_bg = elm_bg_add(test_win);
-       elm_win_resize_object_add(test_win, test_bg);
-       evas_object_size_hint_weight_set(test_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-       evas_object_show(test_bg);
-
-       evas_object_resize(test_win, 480, 800);
-       evas_object_show(test_win);
-
-       tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-// Clean up function for each test purpose
-static void
-cleanup()
-{
-       tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-
-       // Clean up the used resources.
-       if ( NULL != main_win ) {
-               evas_object_del(main_win);
-               main_win = NULL;
-       }
-
-       if ( NULL != main_bg ) {
-               evas_object_del(main_bg);
-               main_bg = NULL;
-       }
-
-       if ( NULL != test_win ) {
-               evas_object_del(test_win);
-               test_win = NULL;
-       }
-
-       if ( NULL != test_bg ) {
-               evas_object_del(test_bg);
-               test_bg = NULL;
-       }
-
-       if ( NULL != test_eo ) {
-               evas_object_del(test_eo);
-               test_eo = NULL;
-       }
-
-       // clean up and shut down
-       elm_shutdown(); ;
-
-       tet_infoline("[[ TET_MSG ]]:: ========= TC COMPLETE  ========== ");
-}
-
-/**
- * @brief Positive test case of elm_searchbar_text_get()
- */
-static void utc_UIFW_elm_searchbar_text_get_func_01(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       char *ret_str = NULL;
-       elm_searchbar_text_set(test_eo, "test string");
-       ret_str = elm_searchbar_text_get(test_eo);
-       TET_CHECK_PASS(NULL, ret_str);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Getting text of SearchBar is success.");
-}
-
-/**
- * @brief Negative test case of ug_init elm_searchbar_text_get()
- */
-static void utc_UIFW_elm_searchbar_text_get_func_02(void)
-{
-       test_eo = elm_searchbar_add(test_win);
-       char *ret_str = NULL;
-       elm_searchbar_text_set(test_eo, NULL);
-       ret_str = elm_searchbar_text_get(NULL);
-       TET_CHECK_FAIL(NULL, ret_str);
-
-       tet_result(TET_PASS);
-       tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Getting text of SearchBar is failed.");
-}
index 9031f99..4406a31 100644 (file)
@@ -8,14 +8,12 @@ all
 # EFL 
 elm
    :include:/elm_ts/imageslider/tslist
-   :include:/elm_ts/colorpalette/tslist
    :include:/elm_ts/colorselector/tslist
    :include:/elm_ts/gengrid/tslist
    :include:/elm_ts/genlist/tslist
    :include:/elm_ts/button/tslist
    :include:/elm_ts/popup/tslist
    :include:/elm_ts/label/tslist
-   :include:/elm_ts/searchbar/tslist
    :include:/elm_ts/datefield/tslist
    :include:/elm_ts/calendar/tslist
    :include:/elm_ts/check/tslist
index 7c59dee..1b0eb2d 100644 (file)
@@ -8,14 +8,12 @@ all
 # EFL
 elm
    :include:/elm_ts/imageslider/tslist
-   :include:/elm_ts/colorpalette/tslist
    :include:/elm_ts/colorselector/tslist
    :include:/elm_ts/gengrid/tslist
    :include:/elm_ts/genlist/tslist
    :include:/elm_ts/button/tslist
    :include:/elm_ts/popup/tslist
    :include:/elm_ts/label/tslist
-   :include:/elm_ts/searchbar/tslist
    :include:/elm_ts/datefield/tslist
    :include:/elm_ts/calendar/tslist
    :include:/elm_ts/check/tslist