From: WooHyun Jung Date: Tue, 25 Jan 2011 04:52:13 +0000 (+0900) Subject: [TC] scrolled_entry - Deprecated APIs are deleted X-Git-Tag: REL_I9200_20110603-1~440^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a00d8589b449b6ac45bd0235875f6ebd831ca65a;p=framework%2Fuifw%2Felementary.git [TC] scrolled_entry - Deprecated APIs are deleted --- diff --git a/TC/elm_ts/scrolled_entry/Makefile b/TC/elm_ts/scrolled_entry/Makefile index a5e1e4d..0fbada5 100755 --- a/TC/elm_ts/scrolled_entry/Makefile +++ b/TC/elm_ts/scrolled_entry/Makefile @@ -31,7 +31,6 @@ TARGETS = utc_UIFW_elm_scrolled_entry_add_func \ utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func \ utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func \ utc_UIFW_elm_scrolled_entry_line_wrap_set_func \ - utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func \ utc_UIFW_elm_scrolled_entry_password_get_func \ utc_UIFW_elm_scrolled_entry_password_set_func \ utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func \ diff --git a/TC/elm_ts/scrolled_entry/tslist b/TC/elm_ts/scrolled_entry/tslist index 9c81127..b2467a8 100644 --- a/TC/elm_ts/scrolled_entry/tslist +++ b/TC/elm_ts/scrolled_entry/tslist @@ -29,7 +29,6 @@ /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_input_panel_layout_set_func /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_char_wrap_set_func /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_line_wrap_set_func -/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_get_func /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_set_func /elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_password_show_last_character_set_func diff --git a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func.c b/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func.c deleted file mode 100644 index 9731c45..0000000 --- a/TC/elm_ts/scrolled_entry/utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func.c +++ /dev/null @@ -1,94 +0,0 @@ -#include -#include - -// Definitions -// For checking the result of the positive test case. -#define TET_CHECK_PASS(x1, y...) \ -{ \ - const char *err = y; \ - if (err == (x1)) \ - { \ - tet_printf("[TET_CHECK_PASS]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \ - tet_result(TET_FAIL); \ - return; \ - } \ -} - -// For checking the result of the negative test case. -#define TET_CHECK_FAIL(x1, y...) \ -{ \ - const char *err = y; \ - if (err != (x1)) \ - { \ - tet_printf("[TET_CHECK_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__); \ - tet_result(TET_FAIL); \ - return; \ - } \ -} - - -Evas_Object *main_win; - -static void startup(void); -static void cleanup(void); - -void (*tet_startup)(void) = startup; -void (*tet_cleanup)(void) = cleanup; - -static void utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_01(void); -static void utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_02(void); - -enum { - POSITIVE_TC_IDX = 0x01, - NEGATIVE_TC_IDX, -}; - -struct tet_testlist tet_testlist[] = { - { utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_01, POSITIVE_TC_IDX }, - { utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_02, NEGATIVE_TC_IDX }, - { NULL, 0 } -}; - -static void startup(void) -{ - tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ "); - elm_init(0, NULL); - main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC); - evas_object_show(main_win); -} - -static void cleanup(void) -{ - if ( NULL != main_win ) { - evas_object_del(main_win); - main_win = NULL; - } - elm_shutdown(); - tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ "); -} - -/** - * @brief Positive test case of elm_scrolled_entry_maximum_bytes_set() - */ -static void utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_01(void) -{ - Evas_Object *test_en = elm_scrolled_entry_add(main_win); - - elm_scrolled_entry_maximum_bytes_set(test_en, 100); - - tet_result(TET_PASS); - tet_infoline("[[ TET_MSG ]]::[ID]:TC_01, [TYPE]: Positive, [RESULT]:PASS, Setting a maximum bytes limit at currently shown in scrolled entry is succeed."); - -} - -/** - * @brief Negative test case of ug_init elm_scrolled_entry_maximum_bytes_set() - */ -static void utc_UIFW_elm_scrolled_entry_maximum_bytes_set_func_02(void) -{ - elm_scrolled_entry_maximum_bytes_set(NULL, 100); - - tet_result(TET_PASS); - tet_infoline("[[ TET_MSG ]]::[ID]:TC_02, [TYPE]: Negative, [RESULT]:PASS, Setting a maximum bytes limit at currently shown is scrolled entry is failed."); - -}