From 1d4d73ef1228d7cff2a7793d81008fb6febc3306 Mon Sep 17 00:00:00 2001 From: Prince Kr Dubey Date: Tue, 19 Apr 2011 13:55:49 +0530 Subject: [PATCH] [TC] Build options are modified as per SBS. Some clean up and updation. Change-Id: I11b4344d740840304689e979af9a25bafd053782 --- TC/elm_ts/actionslider/Makefile | 17 ++-- .../utc_UIFW_elm_actionslider_hold_func.c | 2 +- TC/elm_ts/button/Makefile | 9 +- TC/elm_ts/calendar/Makefile | 13 +-- TC/elm_ts/calendar/tslist | 3 - ...IFW_elm_calendar_text_saturday_color_set_func.c | 101 --------------------- ..._UIFW_elm_calendar_text_sunday_color_set_func.c | 101 --------------------- ...UIFW_elm_calendar_text_weekday_color_set_func.c | 101 --------------------- TC/elm_ts/check/Makefile | 9 +- TC/elm_ts/colorpalette/Makefile | 9 +- TC/elm_ts/colorselector/Makefile | 13 +-- TC/elm_ts/conformant/Makefile | 7 +- TC/elm_ts/datefield/Makefile | 7 +- .../utc_UIFW_elm_datefield_date_set_func.c | 6 +- TC/elm_ts/dayselector/Makefile | 7 +- TC/elm_ts/imageslider/Makefile | 6 +- TC/elm_ts/navigationbar/Makefile | 9 +- TC/elm_ts/navigationbar_ex/Makefile | 7 +- TC/elm_ts/nocontents/Makefile | 7 +- TC/elm_ts/pagecontrol/Makefile | 9 +- TC/elm_ts/panes/Makefile | 7 +- TC/elm_ts/popup/Makefile | 7 +- TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c | 2 +- TC/elm_ts/popup/utc_UIFW_elm_popup_run_func.c | 4 +- TC/elm_ts/progressbar/Makefile | 7 +- TC/elm_ts/radio/Makefile | 7 +- TC/elm_ts/searchbar/Makefile | 6 +- TC/elm_ts/segmentcontrol/Makefile | 7 +- TC/elm_ts/slider/Makefile | 7 +- TC/elm_ts/slidingdrawer/Makefile | 7 +- TC/elm_ts/tickernoti/Makefile | 7 +- TC/elm_ts/toggle/Makefile | 7 +- 32 files changed, 119 insertions(+), 399 deletions(-) delete mode 100644 TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_saturday_color_set_func.c delete mode 100644 TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_sunday_color_set_func.c delete mode 100644 TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_weekday_color_set_func.c diff --git a/TC/elm_ts/actionslider/Makefile b/TC/elm_ts/actionslider/Makefile index 41bd9f0..dbbd7f8 100755 --- a/TC/elm_ts/actionslider/Makefile +++ b/TC/elm_ts/actionslider/Makefile @@ -1,12 +1,12 @@ CC ?= gcc -TARGETS = utc_elm_actionslider_add_func \ - utc_elm_actionslider_indicator_pos_set_func \ - utc_elm_actionslider_magnet_pos_set_func \ - utc_elm_actionslider_label_set_func \ - utc_elm_actionslider_hold_func +TARGETS = utc_UIFW_elm_actionslider_add_func \ + utc_UIFW_elm_actionslider_indicator_pos_set_func \ + utc_UIFW_elm_actionslider_magnet_pos_set_func \ + utc_UIFW_elm_actionslider_label_set_func \ + utc_UIFW_elm_actionslider_hold_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -19,10 +19,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/actionslider/utc_UIFW_elm_actionslider_hold_func.c b/TC/elm_ts/actionslider/utc_UIFW_elm_actionslider_hold_func.c index c4d0f22..1090e01 100644 --- a/TC/elm_ts/actionslider/utc_UIFW_elm_actionslider_hold_func.c +++ b/TC/elm_ts/actionslider/utc_UIFW_elm_actionslider_hold_func.c @@ -87,7 +87,7 @@ static void utc_UIFW_elm_actionslider_hold_func_01(void) */ static void utc_UIFW_elm_actionslider_hold_func_02(void) { - elm_actionslider_hold(actionslider, NULL); + elm_actionslider_hold(NULL, EINA_FALSE); tet_result(TET_PASS); } diff --git a/TC/elm_ts/button/Makefile b/TC/elm_ts/button/Makefile index bec4458..47dc760 100755 --- a/TC/elm_ts/button/Makefile +++ b/TC/elm_ts/button/Makefile @@ -7,11 +7,11 @@ TARGETS = utc_UIFW_elm_button_add_func \ utc_UIFW_elm_button_label_get_for_state_func \ utc_UIFW_elm_button_icon_set_func \ utc_UIFW_elm_button_icon_get_func \ - utc_UIFW_elm_button_auto_repeat_set_func \ + utc_UIFW_elm_button_autorepeat_set_func \ utc_UIFW_elm_button_autorepeat_initial_timeout_set_func \ utc_UIFW_elm_button_autorepeat_gap_timeout_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -24,10 +24,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/calendar/Makefile b/TC/elm_ts/calendar/Makefile index 8fe9f0f..30c8cf5 100755 --- a/TC/elm_ts/calendar/Makefile +++ b/TC/elm_ts/calendar/Makefile @@ -16,11 +16,9 @@ TARGETS = utc_UIFW_elm_calendar_add_func \ utc_UIFW_elm_calendar_format_function_set_func \ utc_UIFW_elm_calendar_mark_del_func \ utc_UIFW_elm_calendar_marks_clear_func \ - utc_UIFW_elm_calendar_marks_draw_func \ - utc_UIFW_elm_calendar_text_weekday_color_set_func \ - utc_UIFW_elm_calendar_text_sunday_color_set_func + utc_UIFW_elm_calendar_marks_draw_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -33,8 +31,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/calendar/tslist b/TC/elm_ts/calendar/tslist index b14653c..7d35368 100644 --- a/TC/elm_ts/calendar/tslist +++ b/TC/elm_ts/calendar/tslist @@ -15,6 +15,3 @@ /elm_ts/calendar/utc_UIFW_elm_calendar_mark_del_func /elm_ts/calendar/utc_UIFW_elm_calendar_marks_clear_func /elm_ts/calendar/utc_UIFW_elm_calendar_marks_draw_func -/elm_ts/calendar/utc_UIFW_elm_calendar_text_weekday_color_set_func -/elm_ts/calendar/utc_UIFW_elm_calendar_text_saturday_color_set_func -/elm_ts/calendar/utc_UIFW_elm_calendar_text_sunday_color_set_func diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_saturday_color_set_func.c b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_saturday_color_set_func.c deleted file mode 100644 index 471f391..0000000 --- a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_saturday_color_set_func.c +++ /dev/null @@ -1,101 +0,0 @@ -#include -#include - -// 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 = NULL; - -static void startup(void); -static void cleanup(void); - -void (*tet_startup)(void) = startup; -void (*tet_cleanup)(void) = cleanup; - -static void utc_UIFW_elm_calendar_text_saturday_color_set_func_01(void); -static void utc_UIFW_elm_calendar_text_saturday_color_set_func_02(void); - -enum { - POSITIVE_TC_IDX = 0x01, - NEGATIVE_TC_IDX, -}; - -struct tet_testlist tet_testlist[] = { - { utc_UIFW_elm_calendar_text_saturday_color_set_func_01, POSITIVE_TC_IDX }, - { utc_UIFW_elm_calendar_text_saturday_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); -} - -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_calendar_text_saturday_color_set() - */ -static void utc_UIFW_elm_calendar_text_saturday_color_set_func_01(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_saturday_color_set(test_eo, 2); - - TET_CHECK_PASS(NULL, test_eo); - - tet_result(TET_PASS); - tet_infoline("elm_calendar_text_saturday_color_set() passed in positive test case"); - evas_object_del(test_eo); - test_eo = NULL; -} - -/** - * @brief Negative test case of ug_init elm_calendar_text_saturday_color_set() - */ -static void utc_UIFW_elm_calendar_text_saturday_color_set_func_02(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_saturday_color_set(NULL, 2); - tet_infoline("elm_calendar_text_saturday_color_set() passed in negative test case"); - evas_object_del(test_eo); - test_eo = NULL; - tet_result(TET_PASS); -} diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_sunday_color_set_func.c b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_sunday_color_set_func.c deleted file mode 100644 index b587b8f..0000000 --- a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_sunday_color_set_func.c +++ /dev/null @@ -1,101 +0,0 @@ -#include -#include - -// 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 = NULL; - -static void startup(void); -static void cleanup(void); - -void (*tet_startup)(void) = startup; -void (*tet_cleanup)(void) = cleanup; - -static void utc_UIFW_elm_calendar_text_sunday_color_set_func_01(void); -static void utc_UIFW_elm_calendar_text_sunday_color_set_func_02(void); - -enum { - POSITIVE_TC_IDX = 0x01, - NEGATIVE_TC_IDX, -}; - -struct tet_testlist tet_testlist[] = { - { utc_UIFW_elm_calendar_text_sunday_color_set_func_01, POSITIVE_TC_IDX }, - { utc_UIFW_elm_calendar_text_sunday_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); -} - -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_calendar_text_sunday_color_set() - */ -static void utc_UIFW_elm_calendar_text_sunday_color_set_func_01(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_sunday_color_set(test_eo, 3); - - TET_CHECK_PASS(NULL, test_eo); - - tet_result(TET_PASS); - tet_infoline("elm_calendar_text_sunday_color_set() passed in positive test case"); - evas_object_del(test_eo); - test_eo = NULL; -} - -/** - * @brief Negative test case of ug_init elm_calendar_text_sunday_color_set() - */ -static void utc_UIFW_elm_calendar_text_sunday_color_set_func_02(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_sunday_color_set(NULL, 3); - tet_infoline("elm_calendar_text_sunday_color_set() passed in negative test case"); - evas_object_del(test_eo); - test_eo = NULL; - tet_result(TET_PASS); -} diff --git a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_weekday_color_set_func.c b/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_weekday_color_set_func.c deleted file mode 100644 index a374a6f..0000000 --- a/TC/elm_ts/calendar/utc_UIFW_elm_calendar_text_weekday_color_set_func.c +++ /dev/null @@ -1,101 +0,0 @@ -#include -#include - -// 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 = NULL; - -static void startup(void); -static void cleanup(void); - -void (*tet_startup)(void) = startup; -void (*tet_cleanup)(void) = cleanup; - -static void utc_UIFW_elm_calendar_text_weekday_color_set_func_01(void); -static void utc_UIFW_elm_calendar_text_weekday_color_set_func_02(void); - -enum { - POSITIVE_TC_IDX = 0x01, - NEGATIVE_TC_IDX, -}; - -struct tet_testlist tet_testlist[] = { - { utc_UIFW_elm_calendar_text_weekday_color_set_func_01, POSITIVE_TC_IDX }, - { utc_UIFW_elm_calendar_text_weekday_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); -} - -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_calendar_text_weekday_color_set() - */ -static void utc_UIFW_elm_calendar_text_weekday_color_set_func_01(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_weekday_color_set(test_eo, 1); - - TET_CHECK_PASS(NULL, test_eo); - - tet_result(TET_PASS); - tet_infoline("elm_calendar_text_weekday_color_set() passed in positive test case"); - evas_object_del(test_eo); - test_eo = NULL; -} - -/** - * @brief Negative test case of ug_init elm_calendar_text_weekday_color_set() - */ -static void utc_UIFW_elm_calendar_text_weekday_color_set_func_02(void) -{ - Evas_Object *test_eo = NULL; - test_eo = elm_calendar_add(main_win); - elm_calendar_text_weekday_color_set(NULL, 1); - tet_infoline("elm_calendar_text_weekday_color_set() passed in negative test case"); - evas_object_del(test_eo); - test_eo = NULL; - tet_result(TET_PASS); -} diff --git a/TC/elm_ts/check/Makefile b/TC/elm_ts/check/Makefile index 202cb6e..23f479f 100755 --- a/TC/elm_ts/check/Makefile +++ b/TC/elm_ts/check/Makefile @@ -7,9 +7,9 @@ TARGETS = utc_UIFW_elm_check_add_func \ utc_UIFW_elm_check_icon_get_func \ utc_UIFW_elm_check_state_set_func \ utc_UIFW_elm_check_state_get_func \ - utc_UIFW_elm_toggle_state_pointer_set_func + utc_UIFW_elm_check_state_pointer_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -22,10 +22,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/Makefile b/TC/elm_ts/colorpalette/Makefile index 85d0923..04fd270 100755 --- a/TC/elm_ts/colorpalette/Makefile +++ b/TC/elm_ts/colorpalette/Makefile @@ -4,7 +4,7 @@ TARGETS = utc_UIFW_elm_colorpalette_add_func \ utc_UIFW_elm_colorpalette_color_set_func \ utc_UIFW_elm_colorpalette_row_column_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -17,8 +17,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/colorselector/Makefile b/TC/elm_ts/colorselector/Makefile index 0c2bf31..3ebc704 100755 --- a/TC/elm_ts/colorselector/Makefile +++ b/TC/elm_ts/colorselector/Makefile @@ -1,10 +1,10 @@ CC ?= gcc TARGETS = utc_UIFW_elm_colorselector_add_func \ - utc_UIFW_elm_colorselector_color_set_func \ - utc_UIFW_elm_colorselector_color_get_func + utc_UIFW_elm_colorselector_color_get_func \ + utc_UIFW_elm_colorselector_color_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -17,10 +17,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) clean: rm -f $(TARGETS) - rm -f tet_captured + rm -f tet_captured + rm -f tet_lock rm -f *~ diff --git a/TC/elm_ts/conformant/Makefile b/TC/elm_ts/conformant/Makefile index 657ed9f..6d8ee69 100755 --- a/TC/elm_ts/conformant/Makefile +++ b/TC/elm_ts/conformant/Makefile @@ -4,7 +4,7 @@ TARGETS = utc_UIFW_elm_conformant_add_func \ utc_UIFW_elm_conformant_content_set_func \ utc_UIFW_elm_conformant_content_unset_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -17,10 +17,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/datefield/Makefile b/TC/elm_ts/datefield/Makefile index 89ed697..07cae8e 100755 --- a/TC/elm_ts/datefield/Makefile +++ b/TC/elm_ts/datefield/Makefile @@ -12,7 +12,7 @@ TARGETS = utc_UIFW_elm_datefield_add_func \ utc_UIFW_elm_datefield_input_panel_state_callback_add_func \ utc_UIFW_elm_datefield_input_panel_state_callback_del_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -25,10 +25,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/datefield/utc_UIFW_elm_datefield_date_set_func.c b/TC/elm_ts/datefield/utc_UIFW_elm_datefield_date_set_func.c index d2165eb..3eabdc0 100644 --- a/TC/elm_ts/datefield/utc_UIFW_elm_datefield_date_set_func.c +++ b/TC/elm_ts/datefield/utc_UIFW_elm_datefield_date_set_func.c @@ -82,7 +82,7 @@ static void utc_UIFW_elm_datefield_date_set_func_01(void) datefield = elm_datefield_add(main_win); elm_datefield_date_set(datefield, 2010, 10, 14, 1, 36); elm_datefield_date_get(datefield, &year, &month, &day, &hour, &min); - + if (!(year == 2010 && month == 10 && day == 14 && hour == 1 && min == 36)) { tet_infoline("elm_datefield_date_set() failed in positive test case"); tet_result(TET_FAIL); @@ -104,10 +104,10 @@ static void utc_UIFW_elm_datefield_date_set_func_02(void) int year, month, day, hour, min; datefield = elm_datefield_add(main_win); - elm_datefield_date_set(datefield, 3000, 13, 50, 28, 70); + elm_datefield_date_set(NULL, 2010, 10, 14, 1, 36); elm_datefield_date_get(datefield, &year, &month, &day, &hour, &min); - if (!(year <= 2099 && month <= 12 && day <= 31 && hour <= 23 && min <= 59)) { + if ((year == 2010 && month == 10 && day == 14 && hour == 1 && min <= 36)) { tet_infoline("elm_datefield_date_set() failed in negative test case"); tet_result(TET_FAIL); return; diff --git a/TC/elm_ts/dayselector/Makefile b/TC/elm_ts/dayselector/Makefile index 2bd827b..2dca895 100755 --- a/TC/elm_ts/dayselector/Makefile +++ b/TC/elm_ts/dayselector/Makefile @@ -5,7 +5,7 @@ TARGETS = utc_UIFW_elm_dayselector_add_func \ utc_UIFW_elm_dayselector_check_state_get_func \ -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -18,10 +18,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/imageslider/Makefile b/TC/elm_ts/imageslider/Makefile index 994b984..51ffada 100755 --- a/TC/elm_ts/imageslider/Makefile +++ b/TC/elm_ts/imageslider/Makefile @@ -14,7 +14,7 @@ TARGETS = utc_UIFW_elm_imageslider_add_func \ utc_UIFW_elm_imageslider_next_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -27,8 +27,8 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) clean: rm -f *~ *.o tet_captured tet_lock $(TARGETS) diff --git a/TC/elm_ts/navigationbar/Makefile b/TC/elm_ts/navigationbar/Makefile index 9b66bcf..dd423ec 100755 --- a/TC/elm_ts/navigationbar/Makefile +++ b/TC/elm_ts/navigationbar/Makefile @@ -18,7 +18,7 @@ TARGETS = utc_UIFW_elm_navigationbar_add_func \ utc_UIFW_elm_navigationbar_animation_disabled_set_func \ utc_UIFW_elm_navigationbar_title_object_list_unset_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -31,10 +31,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) clean: rm -f $(TARGETS) rm -f tet_captured - rm -f *~ + rm -f tet_lock + rm -f *~ \ No newline at end of file diff --git a/TC/elm_ts/navigationbar_ex/Makefile b/TC/elm_ts/navigationbar_ex/Makefile index 82aa3ae..ce891b1 100755 --- a/TC/elm_ts/navigationbar_ex/Makefile +++ b/TC/elm_ts/navigationbar_ex/Makefile @@ -23,7 +23,7 @@ TARGETS = utc_UIFW_elm_navigationbar_ex_add_func \ utc_UIFW_elm_navigationbar_ex_item_content_get_func \ utc_UIFW_elm_navigationbar_ex_delete_on_pop_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -36,10 +36,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/nocontents/Makefile b/TC/elm_ts/nocontents/Makefile index 29c32b6..94e938d 100755 --- a/TC/elm_ts/nocontents/Makefile +++ b/TC/elm_ts/nocontents/Makefile @@ -7,7 +7,7 @@ TARGETS = utc_UIFW_elm_nocontents_add_func \ utc_UIFW_elm_nocontents_label_get_func \ utc_UIFW_elm_nocontents_label_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -20,10 +20,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/pagecontrol/Makefile b/TC/elm_ts/pagecontrol/Makefile index 8658b72..2f69533 100755 --- a/TC/elm_ts/pagecontrol/Makefile +++ b/TC/elm_ts/pagecontrol/Makefile @@ -3,7 +3,7 @@ CC ?= gcc TARGETS = utc_UIFW_elm_page_control_add_func \ utc_UIFW_elm_page_control_page_id_get_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -16,8 +16,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/panes/Makefile b/TC/elm_ts/panes/Makefile index 49d779e..ea12c97 100755 --- a/TC/elm_ts/panes/Makefile +++ b/TC/elm_ts/panes/Makefile @@ -14,7 +14,7 @@ TARGETS = utc_UIFW_elm_panes_add_func \ utc_UIFW_elm_panes_fixed_set_func \ utc_UIFW_elm_panes_fixed_get_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -27,10 +27,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/popup/Makefile b/TC/elm_ts/popup/Makefile index 2dffa5b..a2a9236 100755 --- a/TC/elm_ts/popup/Makefile +++ b/TC/elm_ts/popup/Makefile @@ -17,7 +17,7 @@ TARGETS = utc_UIFW_elm_popup_add_func \ utc_UIFW_elm_popup_orient_set_func \ utc_UIFW_elm_popup_run_func -PKGS = elementary +PKGS = elementary evas ecore LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -30,10 +30,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/popup/utc_UIFW_elm_popup_add_func.c b/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c index 244138f..75f0764 100644 --- a/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c +++ b/TC/elm_ts/popup/utc_UIFW_elm_popup_add_func.c @@ -45,7 +45,7 @@ enum { struct tet_testlist tet_testlist[] = { { utc_UIFW_elm_popup_add_func_01, POSITIVE_TC_IDX }, - { utc_UIFW_elm_popup_add_func_02, POSITIVE_TC_IDX }, + { utc_UIFW_elm_popup_add_func_02, NEGATIVE_TC_IDX }, { NULL, 0 } }; diff --git a/TC/elm_ts/popup/utc_UIFW_elm_popup_run_func.c b/TC/elm_ts/popup/utc_UIFW_elm_popup_run_func.c index ce206f2..1d01403 100644 --- a/TC/elm_ts/popup/utc_UIFW_elm_popup_run_func.c +++ b/TC/elm_ts/popup/utc_UIFW_elm_popup_run_func.c @@ -74,12 +74,12 @@ static void cleanup(void) tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ "); } -static int +static Eina_Bool _exit_timer_popup(void *data) { printf("\n\nexiting timer\n"); elm_popup_response((Evas_Object *)data, ELM_POPUP_RESPONSE_NONE); - return 0; + return EINA_FALSE; } diff --git a/TC/elm_ts/progressbar/Makefile b/TC/elm_ts/progressbar/Makefile index bc0f6a3..f4f4c8b 100644 --- a/TC/elm_ts/progressbar/Makefile +++ b/TC/elm_ts/progressbar/Makefile @@ -11,7 +11,7 @@ TARGETS = utc_UIFW_elm_progressbar_add_func \ utc_UIFW_elm_progressbar_horizontal_get_func \ utc_UIFW_elm_progressbar_inverted_get_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -24,10 +24,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/radio/Makefile b/TC/elm_ts/radio/Makefile index 8435510..181ef90 100755 --- a/TC/elm_ts/radio/Makefile +++ b/TC/elm_ts/radio/Makefile @@ -11,7 +11,7 @@ TARGETS = utc_UIFW_elm_radio_add_func \ utc_UIFW_elm_radio_value_get_func \ utc_UIFW_elm_radio_value_pointer_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -24,10 +24,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/searchbar/Makefile b/TC/elm_ts/searchbar/Makefile index 5aa7d7d..4e3ce65 100755 --- a/TC/elm_ts/searchbar/Makefile +++ b/TC/elm_ts/searchbar/Makefile @@ -8,7 +8,7 @@ TARGETS = utc_UIFW_elm_searchbar_add_func \ utc_UIFW_elm_searchbar_entry_get_func \ utc_UIFW_elm_searchbar_text_get_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -21,8 +21,8 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) clean: rm -f *~ *.o tet_captured tet_lock $(TARGETS) diff --git a/TC/elm_ts/segmentcontrol/Makefile b/TC/elm_ts/segmentcontrol/Makefile index 82cab4c..baa9a8f 100644 --- a/TC/elm_ts/segmentcontrol/Makefile +++ b/TC/elm_ts/segmentcontrol/Makefile @@ -16,7 +16,7 @@ TARGETS = utc_UIFW_elm_segment_control_add_func \ utc_UIFW_elm_segment_control_item_selected_get_func \ utc_UIFW_elm_segment_control_item_selected_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -29,10 +29,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/slider/Makefile b/TC/elm_ts/slider/Makefile index 3975ea3..951bb7a 100644 --- a/TC/elm_ts/slider/Makefile +++ b/TC/elm_ts/slider/Makefile @@ -25,7 +25,7 @@ TARGETS = utc_UIFW_elm_slider_add_func \ utc_UIFW_elm_slider_value_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -38,10 +38,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/slidingdrawer/Makefile b/TC/elm_ts/slidingdrawer/Makefile index a5a9ec5..faa554f 100755 --- a/TC/elm_ts/slidingdrawer/Makefile +++ b/TC/elm_ts/slidingdrawer/Makefile @@ -7,7 +7,7 @@ TARGETS = utc_UIFW_elm_slidingdrawer_add_func \ utc_UIFW_elm_slidingdrawer_max_drag_value_set_func \ utc_UIFW_elm_slidingdrawer_drag_value_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -20,10 +20,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/tickernoti/Makefile b/TC/elm_ts/tickernoti/Makefile index 6da26e9..2cf4291 100755 --- a/TC/elm_ts/tickernoti/Makefile +++ b/TC/elm_ts/tickernoti/Makefile @@ -17,7 +17,7 @@ TARGETS = utc_UIFW_elm_tickernoti_add_func \ utc_UIFW_elm_tickernoti_mode_set_func \ utc_UIFW_elm_tickernoti_mode_get_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -30,10 +30,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(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/toggle/Makefile b/TC/elm_ts/toggle/Makefile index 4b38415..9b5f7b0 100755 --- a/TC/elm_ts/toggle/Makefile +++ b/TC/elm_ts/toggle/Makefile @@ -12,7 +12,7 @@ TARGETS = utc_UIFW_elm_toggle_add_func \ utc_UIFW_elm_toggle_state_pointer_set_func -PKGS = elementary +PKGS = elementary evas LDFLAGS = `pkg-config --libs $(PKGS)` LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o @@ -25,10 +25,11 @@ CFLAGS += -Wall all: $(TARGETS) -$(TARGET): %: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) +$(TARGETS): %: %.c + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) clean: rm -f $(TARGETS) rm -f tet_captured + rm -f tet_lock rm -f *~ -- 2.7.4