[TC] Updated. Warnings/Errors are removed.
Change-Id: I02aab7c1b87915f3df211845f378be95a1210e65
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_conformant_add_func_01, POSITIVE_TC_conf },\r
{ utc_UIFW_elm_conformant_add_func_02, NEGATIVE_TC_conf },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_conformant_content_set_func_01, POSITIVE_TC_conf },\r
{ utc_UIFW_elm_conformant_content_set_func_02, NEGATIVE_TC_conf },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_conformant_content_unset_func_01, POSITIVE_TC_conf },\r
{ utc_UIFW_elm_conformant_content_unset_func_02, NEGATIVE_TC_conf },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_nocontents_add_func_01, POSITIVE_TC_no_contents },\r
{ utc_UIFW_elm_nocontents_add_func_02, NEGATIVE_TC_no_contents },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_nocontents_custom_get_func_01, POSITIVE_TC_no_contents },\r
{ utc_UIFW_elm_nocontents_custom_get_func_02, NEGATIVE_TC_no_contents },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_nocontents_custom_set_func_01, POSITIVE_TC_no_contents },\r
{ utc_UIFW_elm_nocontents_custom_set_func_02, NEGATIVE_TC_no_contents },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_nocontents_label_get_func_01, POSITIVE_TC_nocont },\r
{ utc_UIFW_elm_nocontents_label_get_func_02, NEGATIVE_TC_nocont },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {\r
{ utc_UIFW_elm_nocontents_label_set_func_01, POSITIVE_TC_nocont },\r
{ utc_UIFW_elm_nocontents_label_set_func_02, NEGATIVE_TC_nocont },\r
+ { NULL, 0}\r
};\r
\r
static void startup(void)\r
struct tet_testlist tet_testlist[] = {
{ utc_UIFW_elm_page_control_add_func_01, POSITIVE_TC_IDX },
{ utc_UIFW_elm_page_control_add_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0}
};
static void startup(void)
struct tet_testlist tet_testlist[] = {
{ utc_UIFW_elm_page_control_page_id_get_func_01, POSITIVE_TC_IDX },
{ utc_UIFW_elm_page_control_page_id_get_func_02, NEGATIVE_TC_IDX },
+ { NULL, 0}
};
static void startup(void)
+++ /dev/null
-CC ?= gcc
-
-TARGETS = utc_UIFW_elm_selectioninfo_add_func \
- utc_UIFW_elm_selectioninfo_checked_count_get_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)
+++ /dev/null
-/elm_ts/selectioninfo/utc_UIFW_elm_selectioninfo_add_func
-/elm_ts/selectioninfo/utc_UIFW_elm_selectioninfo_checked_count_get_func
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err == (x1)) \
- { \
- tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-// For checking the result of the negative test case.
-#define TET_CHECK_FAIL(x1, y...) \
-{ \
- Evas_Object *err = y; \
- if (err != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
- elm_exit();
-}
-
-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);
-
- evas_object_resize(main_win, 320, 480);
- evas_object_show(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_selectioninfo_add_func_01(void);
-static void utc_UIFW_elm_selectioninfo_add_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_selectioninfo_add_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_selectioninfo_add_func_02, NEGATIVE_TC_IDX },
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
- _elm_precondition();
-
- test_win = elm_win_add(NULL, "Selection Info", ELM_WIN_BASIC);
- elm_win_title_set(test_win, "Selection Info");
- 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");
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- main_win = NULL;
- }
-
- if ( NULL != main_bg ) {
- main_bg = NULL;
- }
-
- if ( NULL != test_win ) {
- test_win = NULL;
- }
-
- if ( NULL != test_bg ) {
- test_bg = NULL;
- }
-
- if ( NULL != test_eo ) {
- test_eo = NULL;
- }
-
- elm_exit();
-
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-static void utc_UIFW_elm_selectioninfo_add_func_01(void)
-{
- test_eo = NULL;
- test_eo = elm_selectioninfo_add(test_win);
- TET_CHECK_PASS(NULL, test_eo);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, elm_selectioninfo_add");
-}
-
-static void utc_UIFW_elm_selectioninfo_add_func_02(void)
-{
- test_eo = NULL;
- test_eo = elm_selectioninfo_add(NULL);
- TET_CHECK_FAIL(NULL, test_eo);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, elm_selectioninfo_add");
-}
+++ /dev/null
-#include <tet_api.h>
-#include <Elementary.h>
-
-// Definitions
-// For checking the result of the positive test case.
-#define TET_CHECK_PASS(x1, y...) \
-{ \
- if (y == (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...) \
-{ \
- if (y != (x1)) \
- { \
- tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \
- tet_result(TET_FAIL); \
- return; \
- } \
-}
-
-Evas_Object *main_win, *main_bg;
-Evas_Object *test_win, *test_bg;
-Evas_Object *test_eo = NULL;
-Eina_Bool state_pointer[10] = {0};
-
-void _elm_precondition(void);
-static void _win_del(void *data, Evas_Object *obj, void *event_info);
-
-static void _win_del(void *data, Evas_Object *obj, void *event_info)
-{
- elm_exit();
-}
-
-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);
-
- evas_object_resize(main_win, 320, 480);
- evas_object_show(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_selectioninfo_checked_count_get_func_01(void);
-static void utc_UIFW_elm_selectioninfo_checked_count_get_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_UIFW_elm_selectioninfo_checked_count_get_func_01, POSITIVE_TC_IDX },
- { utc_UIFW_elm_selectioninfo_checked_count_get_func_02, NEGATIVE_TC_IDX },
-};
-
-static void startup(void)
-{
- tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ ");
-
- _elm_precondition();
-
- test_win = elm_win_add(NULL, "Page Control", ELM_WIN_BASIC);
- elm_win_title_set(test_win, "Page Control");
- 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);
-
- test_eo = elm_selectioninfo_add(test_win);
-
- int i;
- for (i = 0; i < 10 ; i++)
- state_pointer[i] = EINA_FALSE;
-
- elm_selectioninfo_check_state_set(test_eo, &state_pointer[0], 10);
-
- tet_infoline("[[ TET_MSG ]]:: Completing startup");
-}
-
-static void cleanup(void)
-{
- if ( NULL != main_win ) {
- main_win = NULL;
- }
-
- if ( NULL != main_bg ) {
- main_bg = NULL;
- }
-
- if ( NULL != test_win ) {
- test_win = NULL;
- }
-
- if ( NULL != test_bg ) {
- test_bg = NULL;
- }
-
- if ( NULL != test_eo ) {
- test_eo = NULL;
- }
-
- elm_exit();
-
- tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
-}
-
-static void utc_UIFW_elm_selectioninfo_checked_count_get_func_01(void)
-{
- int checked_count = -1;
- checked_count = elm_selectioninfo_checked_count_get(test_eo);
- TET_CHECK_PASS(-1, checked_count);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, elm_selectioninfo_checked_count_get");
-}
-
-static void utc_UIFW_elm_selectioninfo_checked_count_get_func_02(void)
-{
- int checked_count = -1;
- checked_count = elm_selectioninfo_checked_count_get(NULL);
- TET_CHECK_FAIL(-1, checked_count);
-
- tet_result(TET_PASS);
- tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, elm_selectioninfo_checked_count_get");
-}
:include:/elm_ts/gengrid/tslist
:include:/elm_ts/genlist/tslist
:include:/elm_ts/pagecontrol/tslist
- :include:/elm_ts/selectioninfo/tslist
:include:/elm_ts/button/tslist
:include:/elm_ts/popup/tslist
:include:/elm_ts/label/tslist
:include:/elm_ts/slidingdrawer/tslist
:include:/elm_ts/stackedicon/tslist
:include:/elm_ts/progressbar/tslist
+ :include:/elm_ts/conformant/tslist
#yhkim
ch
# 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/pagecontrol/tslist
- :include:/elm_ts/selectioninfo/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/bubble/tslist
- :include:/elm_ts/navigationbar/tslist
- :include:/elm_ts/calendar/tslist
- :include:/elm_ts/check/tslist
- :include:/elm_ts/radio/tslist
- :include:/elm_ts/toggle/tslist
- :include:/elm_ts/panes/tslist
- :include:/elm_ts/controlbar/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
- :include:/elm_ts/animator/tslist
- :include:/elm_ts/editfield/tslist
- :include:/elm_ts/box/tslist
- :include:/elm_ts/scrolled_entry/tslist
- :include:/elm_ts/entry/tslist
- :include:/elm_ts/dayselector/tslist
- :include:/elm_ts/ctxpopup/tslist
- :include:/elm_ts/slidingdrawer/tslist
+ :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/pagecontrol/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/bubble/tslist
+ :include:/elm_ts/navigationbar/tslist
+ :include:/elm_ts/calendar/tslist
+ :include:/elm_ts/check/tslist
+ :include:/elm_ts/radio/tslist
+ :include:/elm_ts/toggle/tslist
+ :include:/elm_ts/panes/tslist
+ :include:/elm_ts/controlbar/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
+ :include:/elm_ts/animator/tslist
+ :include:/elm_ts/editfield/tslist
+ :include:/elm_ts/box/tslist
+ :include:/elm_ts/scrolled_entry/tslist
+ :include:/elm_ts/entry/tslist
+ :include:/elm_ts/dayselector/tslist
+ :include:/elm_ts/tickernoti/tslist
+ :include:/elm_ts/transit/tslist
+ :include:/elm_ts/actionslider/tslist
+ :include:/elm_ts/ctxpopup/tslist
+ :include:/elm_ts/slidingdrawer/tslist
+ :include:/elm_ts/stackedicon/tslist
+ :include:/elm_ts/progressbar/tslist
+ :include:/elm_ts/conformant/tslist
#yhkim
ch